@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Condensed', sans-serif;
}
body {
    transition: 0.5s;
}
a{
    text-decoration: 0;
}
#logo{
    position: relative;
    margin: 1.5%;
    width: 80px;
    height: 80px;
    border-radius: 15px;
}
.header-home {
    background-color: #fffffeec;
    position: relative;
}
h1 {
    font-size: 60px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 35px 0;
    text-transform: capitalize;
}

/* menu */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}
.logo {
    text-transform: capitalize;
    color: #000;
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
}

header .logo_link {
    display: flex;
    align-items: center;
}
.menu_link {
    margin-left: 60px;
}
.menu_link a {
    margin: 0 10px;
    font-size: 15px;
    color: #42310a;
}
.menu_link .aactive {
    color: #f26440;
}
.link_buttons a{
    margin-left: 15px;
}
.link_buttons a:first-child {
    color: #fff;

}
.orange_link {
    padding: 8px 30px;
    background-color: #080808;
    border-radius: 4px;
    text-transform: capitalize;
}

/*home*/
.home {
    margin-top: 50px;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    height: 500px;
    position: relative;
}
.home .left {
    width: 30%;
    display: flex;
    flex-direction: column;
    font-size: 60%;
}
.home .left p {
    margin: 25px 0;
    color: #f8f8f8;
    letter-spacing: 0.5px;
    line-height: 25px;
}
.home .right {
    width: 100%;
    height: 100%;
    transition:0.5s;
}
.home .right .salader {
    transition:0.5s;
    object-fit: cover;
}
.home .right .salader img {
    width: 100%;
    height: 100%;
    transition:0.5s ease;
    object-fit: cover;
}
.statistiques {
    position: absolute;
    bottom: -130px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    padding: 20px 10%;
    animation-duration: 4s;
    animation-name: statistiques1;
}
@keyframes statistiques1 {
    from{ right: -500px; }
    to{ right: 0px; }}
.statistiques span {
    text-align: center;
}
.statistiques span h2 {
    color: #0c6618;
    font-size: 150%;
}
.statistiques span p {
    color: #999;
    text-transform: capitalize;
}
.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 120px;
    padding: 20px 5%;
}
.about .image {
    width: 30%;
}
.about .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.about .content {
    width: 65%;
}
.about .content h2 {
    margin: 16px 0;
    font-size: 44px;
}
.about .content p {
    color: #0e0d0d;
    text-align: justify;
    letter-spacing: 0.5px;
    line-height: 18px;
    margin: 5% 0%;
}
.why_us {
    padding: 20px 4%;
    display: flex;
    flex-direction: column;
}
.why_us h2{
    font-size: 20px;
}
.why_us img {
    width: 60px;
}
.boxlove{
    text-align: center;
    color: #f8f8f8;
    border-radius: 15px;
    transition: all 0.8s;
    position: relative;
}
.boxlove:nth-child(1){
    background-color: #080808;
    animation-duration: 4s;
    animation-name: boxlove1 ;
    transition: all 0.2s;
}
@keyframes boxlove1 {
   from{ left: -500px; }
   to{ left: 0px; }}
.boxlove:nth-child(2){
    background-color: #070707d0;
    animation-duration: 3s;
    animation-name: boxlove2 ;
    transition: all 0.4s;
}
@keyframes boxlove2{
   from{ left: -700px; }
   to{ left: 0px; }}
   .boxlove:nth-child(3){
    background-color: #0303038f;
    animation-duration: 2s;
    animation-name: boxlove3 ;
    transition: all 0.4s;
}
@keyframes boxlove3{
   from{ left: -800px; }
   to{ left: 0px; }}
   .boxlove:nth-child(4){
    background-color: #08080863;
    animation-duration: 1s;
    animation-name: boxlove4 ;
    transition: all 0.4s;
}
@keyframes boxlove4{
   from{ left: -900px; }
   to{ left: 0px; }}
.boxlove:hover{
    border-radius: 15px;
    color: #ffffff60;
    transition: 0.9s;
    background-color: #00000054;
}
.list_box {
    width: 100%;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill,265px);
    grid-gap: 10px;
}
.list_box .box{
    text-align: center;
    background-color: #FAF8F4;
    border-radius: 4px;
    padding: 50px 20px;
    margin: 10px;
    height: 80%;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    border-radius: 15px;
    transition: all 4s;
}
.list_box .box:hover{
    background-color: #faf8f479;
    transition: all 4s;
}
.list_box .box h2 {
    margin: 10px 0;
    color: #f26440;
    letter-spacing: 1px;
    text-transform: capitalize;
}
.list_box .box p {
    color: #999;
}
.sidebar , #main {
    display: none;
}
/*responsive*/

@media (max-width:935px) {
    header{
        padding: 20px;
        margin: 0;
        height: auto;
    }
    .link_buttons {
        display: none;
    }
    .menu_link {
        display: none;
    }
    /*responsive menu*/
    .sidebar , #main {
        display: block;
    }
    .sidebar{
        height: 100%;
        width:0;
        position: fixed;
        z-index: 1000;
        top: 0;
        left: 0;background-color: #111;
        overflow-x: hidden;
        padding-top: 60px;
        transition: 0.5s;
        display: flex;
        flex-direction: column;

    }
    .sidebar img , #main img {
        width: 20px;

    }
    .sidebar a{
        padding: 15px;
        font-size: 15px;
        color: #fff;
        transform: 0.3s;
    }
    .sidebar a:hover {
        background-color: #f26440;
    }
    .sidebar .closebtn {
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
    }
    .openbtn img {
        width: 20px;
        margin-right: 10px;
    }
    .openbtn {
        background-color: #f26440;
        border: 0;
        display: flex;
        align-items: center;
        color: #fff;
        font-size: 15px;
        padding: 10px 15px;
        border-radius: 5px;
        box-shadow: 0 0 5px rgba(0,0,0,0.1);
        cursor: pointer;
        transition: 0.5s;
    }
    .openbtn:hover {
        background-color: #111;
    }
}
.why_us h2{
    font-size: 28px;
    margin: 1%;
}
@media (max-width:588px) {
    .home {
        margin: 25px;
        flex-direction: column-reverse;
        height: auto;
        padding-bottom: 25px;
    }
    .home p , .home h1 {
        margin: 0;
    }
    .home .left , .home .right {
        width: 100%;
        height: fit-content;
    }
    .home .right {
        height: auto;
    }
    .statistiques{
        bottom:-100px;
    }
    .statistiques h2 {
        font-size: 15px;
    }
    .statistiques p {
        font-size: 12px;
    }
    .about {
        flex-direction: column;
    }
    .about .image , .about .content {
        width: 100%;
    }
}