@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');


:root{
    --premier-couleur: #0051D4;
    --text-couleur: #0a0a0a;
    --text-Blanc:#ffffff;
    --text-jaune: #FDBD27;
    --max-lageur: 1200px;
    --extra-blanc: #f1f2ff;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.section_container{
    max-width: var(--max-lageur);
    margin: auto;
    padding: 5rem 1rem;
}

.btn{
    padding: .75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--text-Blanc);
    background-image: linear-gradient(
        to bottom,
        var(--text-couleur),
        var(--premier-couleur)
    );
    border-radius: 5px ;
    transition: 0.3s;
    cursor: pointer;

}

.btn:hover{
    background-color: #FDBD27;
    letter-spacing: 2px;
}

img{
    display: flex;
    width: 100%;
}

a{
    text-decoration: none;
    transition: 0.3s ;
}

html,body{
    scroll-behavior: smooth;
}


body{
    font-family: "Fredoka", sans-serif;
}

.header{
   isolation: isolate;
  
}

header{
     background-color: var(--text-jaune);
}

nav{
    position: absolute;
    width: 100%;
    max-width: var(--max-lageur);
    top: 0;
    left: 50%;
    transform: translate(-50%);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9;
}

.nav_logo a img{
    max-width: 80px;
}

.nav_logo .logo-color {
    display: none;
}

.nav_link{
    list-style: none;
    position: absolute;
    right: 1rem;
    top: 75px;
    width: 100%;
    max-width: 350px;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-direction: column;
    background-color: var(--premier-couleur);
    border-radius: 1rem;
    display: none;
}

.nav_link.open{
    display: flex;
}

.nav_link a{
    white-space: nowrap;
    font-weight: 500;
    color:#FDBD27 ;
}

.nav_link a:hover{
    color: var(--text-Blanc);
}

.nav_menu_btn{
    padding: 5px 11px;
    font-size: 1.5rem;
    color: var(--text-Blanc);
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--text-Blanc);
    border-radius: 5px;
}


.header_container{
    display: grid;
}

.header_image{
    position: relative;
    isolation: isolate;
    min-height: max(75vh, 500px);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header_image::after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--premier-couleur);
    z-index: 1;
    animation: scroll-right 0.5s 0.3s linear forwards;
}

.header_image.reveal{
    background-image: url(image/akey2.png);
    filter: drop-shadow(20px 20px 15px var(--text-couleur));
}

.header_image.header_image.reveal::after{
     left: unset;
     right: 0;
     animation: scroll-left 0.5s linear forwards;
}

@keyframes scroll-right{
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
}


@keyframes scroll-left{
    0%{
        width: 100%;
    }
    100%{
        width: 0;
    }
}

.header_content{
    text-align: center;
    padding: 4rem 1rem;
 
    }


.header_content h3{
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    padding: .5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--premier-couleur);
    background-color: var(--white);
    border-radius: 5rem;
    box-shadow: 5px 5px 10px var(--premier-couleur);
   

}

.header_content h1 span{
    position: relative;
    isolation: isolate;
}
.header_content h1 span::before{
    position: absolute;
    content: "";
    top: 0;
    left: -1rem;
    height: 100%;
    width: calc(100% + 4rem);
    z-index: -1;

}
.header_content h1 span::before{
    background-color: var(--premier-couleur);
    filter: drop-shadow(20px  20px 20px var(--text-couleur));
}




.header_content h1{
   margin-bottom: 1rem;
   font-size: 4rem;
   font-weight: 900;
   list-style: 5.2rem;
   color: #FDBD27;
   text-align: center;
}

.header_content h2{
    margin-bottom: 2rem;
    font-size: 4rem;
    font-weight: 700;
    line-height: 3rem;
    color: var(--text-couleur);

}

.header_content p{
    margin-bottom: 2rem;
    color: var(--text-couleur);
}



.deals{
    background-color: var(--extra-light);
}

.deals_container .section_description{
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 4rem;
}

.deals_tabs{
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.deals_header{
    text-align: center;
    padding: 4rem 1rem;
}

.deals_header h1 span{
    position: relative;
    isolation: isolate;
}

.deals_header h1 span::before{
    position: absolute;
    content: "";
    top: 0;
    left: -1rem;
    height: 100%;
    width: calc(100% + 4rem);
    z-index: -1;
}

.deals_header h1 span::before{
    background-color: var(--premier-couleur);
    filter: drop-shadow(20px  20px 20px var(--text-couleur));
}

.deals_header h1{
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-weight: 900;
    list-style: 5.2rem;
    color: #FDBD27;
    text-align: center;
 }

.deals_header p{
    margin-top: 3rem;
    color: var(--text-couleur);
}










.deals_tabs .btns{
    font-weight: 600;
    color: var(--premier-couleur);
    background-color: var(--text-jaune);
}

.deals_tabs .btns.active{
    color: var(--text-jaune);
    background-color: var(--premier-couleur);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.deals_container .tab_content{
    display: none;
    gap: 1rem;
    animation: fadeEffect 1s ;
}

.deals_container .tab_content.active{
    display: grid;
}     

@keyframes fadeEffect{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.deals_card{
    padding: 1rem;
    background-color: var(--text-Blanc);
    border-radius: 1rem;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

   .deals_card img{
    margin-bottom: 1rem;
    transition: 0.3s;
   }
   
    .deals_card img:hover{
    transform: scale(1.1);
   }


  

 

   


   

   .btns {
    color: var(--premier-couleur);
    background-color: var(--text-jaune);
    padding: 10px;
    border: none;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;

    text-decoration: none;
   }

   .btns:hover{
    
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
   }

   .deals_card_footer{
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  



   

   .deals_card_footer a:hover{
    color: var(--primary-color-dark);
   }













 .about{
    background-color: #FDBD27;
 }

 .about_container{
    padding-block: 1rem 0 ;
    display: grid;
    gap: 2rem;
    overflow: hidden;
 }


 .about_image img{
    max-width: 1200px;
    margin-inline: auto;
    filter: drop-shadow(20px 20px 15px var(--text-couleur));
 }

 .about_content{
    padding-bottom: 4rem;
 }

 .about_content h2{
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: 800;
    line-height: 5.75rem;
    
 }

 .about_content h2 span{
    position: relative;
    isolation: isolate;
 }

 .about_content h2 span::before{
    position: absolute;
    content: "";
    top: 0;
    left: -1rem;
    height: calc(100% - 10px);
    width: calc(100% + 4rem);
    background-color: var(--premier-couleur);
    filter: drop-shadow(20px 20px 15px var(--text-couleur));
    transform: rotate(-2deg);
    z-index: -1;

 }

 .about_btn .btn{
    filter: drop-shadow(20px 20px 15px var(--text-couleur));
 }

 .about_content p{
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-couleur);
 }




 .about_video video {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 20px auto;
  }
  








 .kontak_container .section_header{
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 1rem;
    color: var(--premier-couleur);
    text-align: center;
    line-height: 3.25rem;
    font-size: 4rem;
 }

 .kontak_container p{
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--premier-couleur);
    text-align: center;

 }

 .kontak_container form{
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
    padding: 5px;
    display: block;
    align-items: center;
    background-color: var(--text-Blanc);
    border-radius: 5px;
 }

 .kontak_container .btn{
    margin: 10px;
    filter: drop-shadow(10px 10px 10px var(--text-couleur));
  
 }

 .kontak_container input{
    width: 100%;
    padding-inline: 1rem;
    outline: none;
    padding: 5px;
    padding-bottom: 10px;
    margin: 15px;
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-couleur);
 }

 .kontak_container input:nth-child(3){
    padding-bottom: 30px;
 }


 .kontak_container input::placeholder{
    font-style: italic;
 }




 footer {
    background-color: var(--text-jaune);
    color: var(--premier-couleur);
    padding: 40px 20px;
    font-size: 1rem;
  }
  
  .footer_container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    border-top: 1px solid #444;
  }
  
  .footer_links, .footer_contact, .footer_social, .footer_terms {
    flex: 1;
    min-width: 250px;
  }
  
  .footer_links h3, .footer_contact h3, .footer_social h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 15px;
  }
  
  .footer_links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer_links ul li {
    margin: 10px 0;
  }
  
  .footer_links ul li a {
    text-decoration: none;
    color:var(--text-couleur);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .footer_links ul li a:hover {
    color: var(--primary-color);
  }
  
  .footer_contact p {
    margin: 10px 0;
    color: var(--text-couleur);
  }
  
  .footer_social .social_icons {
    display: flex;
    gap: 20px;
  }
  
  .footer_social .social_icons a {
    color: var(--premier-couleur);
    filter: drop-shadow(10px 10px 10px var(--text-couleur));
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  
  .footer_social .social_icons a:hover {
    color: var(--text-couleur);
  }
  
  .footer_terms {
    text-align: center;
    margin-top: 20px;
  }
  
  .footer_terms a {
    text-decoration: none;
    color: var(--text-couleur);
    font-weight: 500;
  }
  
  .footer_terms a:hover {
    color: #FFD700;
  }
  






 






@media (width > 540px){

.header_image{
    min-height: max(75vh, 550px);
}

.article_container{
    grid-template-columns:repeat(2, 1fr) ;
}
.article h2{
    margin-top: 5rem;
}

.footer_container{
    grid-template-columns: repeat(2, 1fr);
}

.deals_container .tab_content{
    grid-template-columns: repeat(1, 1fr);
}

}




@media (width > 768px){
    nav{
        padding: 2rem 1rem ;
    }

    .nav_logo .logo-color{
        display: flex;
    }

    .nav_logo .logo-blanc{
        display: none;
    }


    .nav_menu_btn{
        display: none;
    }

    .nav_link{
        padding: 0.75rem 2rem ;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        gap: 3rem;
        flex-direction: row;
        max-width: fit-content;
        border-radius: 5rem;
        background-color: var(--premier-couleur);
    }

    .header_container{
        display: grid;
        grid-template-columns:
        minmax(1rem, 1fr)
        minmax(0, calc(var(--max-lageur)* 0.4))
        minmax(0, calc(var(--max-lageur)* 0.6))
        minmax(1rem, 1fr);
        align-items: center;       
    }

    .header_image{
        min-height: max(75vh, 650px);
        grid-area: 1/3/2/5;
    }

    .header_content{
        text-align: left;
        padding-top: 10rem;
        grid-column: 2/3;
    }

    .header_content h1{
        font-size: 5rem;
        line-height: 4rem; 
        margin-bottom: 2rem;
        
    }

    .header_content h3{
        background-color: var(--premier-couleur);
        color: var(--text-jaune);
        margin-right: 7rem;
       
    }


    

    .header_content h2{
        font-size: 5rem;
        line-height: 4rem;
    }

    .about_image img{
        padding-top: 13rem;
        filter: drop-shadow(20px 20px 15px var(--text-couleur));     
     }





.header_image.reveal{
    max-width: 600px;
    margin-left: 10rem;
}

.article_container{
    grid-template-columns:repeat(3, 1fr) ;
}

.about_container{
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.about_content{
    padding-block: 4rem;
}




.deals_container .tab_content{
    grid-template-columns: repeat(3, 1fr);
}



.about_video video {
    
    max-width: 600px;
    height: 25rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 20px auto;
    padding-right: 1rem ;
  }
  



}

@media (width > 1024px){
    .nav_link{
        padding:.75rem ;
        gap: 4rem;
    }

    .article_container{
       gap: 1.5rem;
    }

    .article_card{
        padding: 2rem ;
    }
   
        .deals_container .tab_content{
            gap: 1.5rem;
        }
    
        .deals_card{
            padding: 1.5rem;
        }
    

}


