@import url(style.css);
/*Section presentation*/
.presentation{
    text-align: center;
    background-image: linear-gradient(to right,#DCDCDC, #78777E,  #78777E, #DCDCDC);
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.presentation h1{
    color: var(--white-color);
    font-size: 3.5rem;
    letter-spacing: 1.5rem;
}
.presentation p{
    color: var(--white-color);
    font-weight: 600;
}
/*Premiere section*/
.premiere{
    width: 100%;
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    gap: 70px;
    justify-content: center;
}
.premiere .description-apropos{
    width: 40%;
}
.premiere .description-apropos h2{
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    letter-spacing: 1rem;
}
.premiere .description-apropos p{
    margin-top: 10px;
    line-height: 3rem;
    text-align: justify;
}
.premiere figure{
    width: 40%;
}
.premiere figure img{
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 5px solid transparent;
    box-shadow: 5px -5px 0 0 var(--orange-color);
    transition: .3s ease-in-out;
}.premiere figure img:hover{
    transform: scale(1.1);
    transition: .3s ease-in-out;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
}

/*Deuxieme section*/
.deuxieme{
    width: 100%;
    margin-top: 50px;
    display: flex;
    gap: 70px;
    justify-content: center;
    margin-bottom: 60px;
}
.deuxieme .description-apropos{
    width: 40%;
}
.deuxieme .description-apropos h2{
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    letter-spacing: 1rem;
}
.deuxieme .description-apropos p{
    margin-top: 10px;
    line-height: 3rem;
    text-align: justify;
}
.deuxieme figure{
    width: 40%;
}
.deuxieme figure img{
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 5px solid transparent;
    box-shadow: 5px -5px 0 0 var(--orange-color);
    transition: .3s ease-in-out;
}
.deuxieme figure img:hover{
    transform: scale(1.1) ;
    transition: .3s ease-in-out;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
}
/*Troisième-section*/
.troisieme-section{
    width: 100%;
    height: 300px;
    background-image: url(../asset/burger-apropos.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.troisieme-section p{
    font-family: 'Pecita', sans-serif;;
    font-size: 2.5rem;
    color: var(--black-color);
    background-color: #F2F2F2;
    padding: 0 7px;
    border: #DCDCDC solid 1px;
    text-transform: uppercase;
}
.troisieme-section .btn-apropos{
    display: flex;
    gap: 20px;
}
.troisieme-section button{
    margin-top: 20px;
    padding: 15px 40px;
    background-color: var(--orange-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    font: 1.5rem 'Montserrat', sans-serif;
    cursor: pointer;
    transition: ease-in-out .3s ;
}
.troisieme-section button:hover{
    background-color: var(--yellow-color);
    color: var(--black-color);
    transition: ease-in-out .3s ;
}


/*Ecran de moins de 768px*/
@media screen and (max-width: 768px){
    .premiere{
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .premiere .description-apropos h1{
        font-size: 2.5rem;
    }
    .premiere .description-apropos p{
        text-align: justify;
    }
    .premiere .description-apropos{
        width: 90%;
    }
    .premiere figure{
        width: 300px;
    }
    .deuxieme{
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .deuxieme .description-apropos{
        width: 90%;
    }
    .deuxieme .description-apropos h2{
        font-size: 2.5rem;
    }
    .deuxieme .description-apropos p{
        text-align: justify;
    }
    .deuxieme figure{
        width: 300px;
        order: 2;
    }
    /*Troisième-section*/
    .troisieme-section{
        background-size: calc(1000px);
    }
    .troisieme-section p{
        font-size: 1.7rem;
        text-align: center;
    }
    .troisieme-section .btn-apropos{
        display: flex;
        flex-direction: column;
        gap: 0;
    }
}