/* Le code CSS de la démo */

section {
    height: 500px;
    background-color: #eee;
}

.parent {
    border: none;
    position: relative;
    margin: auto;
    top: 2.5em;
    width: 300px;
    height: 425px;
    font-size: 1.4rem;
    font-family: 'Sanchez', serif;
     overflow : hidden;
     transition : all 5s;
     
}

.absolute {
    position: absolute;
}

.photo {
    width: 100%;
    left: 0;
    right: 0;
}

.Prix {
    /*display:none;*/
    width: 130px;
    left: -130px;
    top: 200px;
    bottom: 105px;
    background-color: #E8541F;
    color: #fff;
    z-index: 2;
    padding: 1em;
    /*display:flex;*/
    /*justify-content: space-between;*/
    /*flex-direction: column;*/
    opacity: 0;
    
    transition : all 3s;
    /*transition-property: transform;*/
    /*transition-duration: 5s;*/
    /*transition-property: opacity;*/
    /*transition-duration: 2s;*/
}

.euro {
    font-size: 3.6rem;
    margin-bottom: 2em;
}

.Promo {
    right: 0;
    left: 0;
    bottom: 0;
    top: 300px;
    background-color: #F69933;
    color: #E8541F;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2em 1em 1em;

}

span {
    font-size: 5rem;
    position: absolute;
    top: 15px;
    left: 10px;
}

p {
    margin: 0
}

.Promo p:first-child {
    margin-bottom: 1em;
}
.parent:hover {
    border-radius : 5em;
    box-shadow: 20px 20px 20px 15px;
}
.parent:hover .Prix {
    display: inline-block;
    opacity: 1;
    /*width: 130px;*/
    transform:translateX(130px);
    animation-direction: normal;
    animation-fill-mode: forwards;


}
