*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{

    font-family: "Libre Franklin", sans-serif;
    overflow-x: hidden;
    color: white;
    line-height: 2em;
}

/*Header style*/
header {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1000;
    transition: top 0.2s ease-in-out;
    backdrop-filter: blur(8px); 
    background-color: #1e1e1ecd;
    /*background: transparent;*/
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header.hide {
    top: -100px;
}

#nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: 100%;
    height: 80px;
    padding: 1rem 2rem;
    position: relative;
    background: transparent;
}

#logo {
    position: absolute;
    top: 5px;
    left: 20px;
    width: 75px;
    z-index: 2;
}

#logo img {
    width: 100%;
    height: auto;
}

#nav-menu ul {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 0;
    background: transparent; 
}

#nav-menu ul li {
    list-style: none;
}

#nav-menu ul li a {
    display: block;
    padding: 15px;
    min-width: 150px;
    white-space: nowrap;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: color 0.2s ease-in;
}

#nav-menu ul li a:hover {
    color: hsl(91, 89%, 63%);
}

#dropdown {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 100%;
}

#down {
    position: relative;
}

/*
#down a{
    background:transparent;
}*/

#down .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background-color: #1e1e1ead;
    backdrop-filter: blur(8px);
    z-index: 1;
}

#down:hover .dropdown-content {
    display: block;
}

.dropdown-content li a {
    display: block;
    padding: 15px;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}

@media screen and (max-width: 1160px) and (min-width: 801px) {
    #nav-menu {
        padding: 0.5rem 1rem;
    }

    #logo {
        width: 60px;
    }

    #nav-menu ul li a {
        min-width: 100px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 800px) {
    .hamburger {
        display: block;
    }

    #nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        display: none;
        /*background: #caf93e; */
    }

    #nav-menu ul.show {
        display: flex;
    }

    #logo {
        width: 60px;
    }

    #nav-menu ul li a {
        width: 100%;
        padding: 1rem;
        text-align: center;
        background-color: #1e1e1ead;
        color: white;
    }

    #dropdown {
        flex-direction: column;
        align-items: stretch;
    }

    #down .dropdown-content {
        position: static;
        width: 100%;
        background-color: rgba(50, 50, 50, 0.95);
    }

    #dropdown .dropdown-content li a {
        color: white;
        background: transparent;
    }

    #down:hover .dropdown-content {
        display: none; 
    }
}


/*Hero style*/

#hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
  }
  
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    z-index: 0;
    
}

.container-above {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding-left: 6vw;
    padding-top: 20vh;
    padding-bottom: 1rem;
    max-width: 55%;
    box-sizing: border-box;
    color: #fff;
}

.container-above h1 {
    font-size: clamp(2.5rem, 8vw, 10rem);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    word-wrap: break-word;
    /*-webkit-text-stroke: 1px black;*/
    /*background: -webkit-linear-gradient(rgb(16, 182, 16), hsl(120, 75%, 68%));*/
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #beff49;
    /*background-image: url("images/inifiniteButterflies.jpg");
    background-size: 120%;  
    animation: bg-animation 60s cubic-bezier(.14,.52,.72,.27) infinite;*/
}

.container-above p {
    font-size: clamp(2rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    line-height: 1.6;
    /*-webkit-text-stroke: 1px #1E1E1E;*/
    -webkit-text-fill-color: white;
}

.container-above button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    width: 220px;
    padding: 1.3rem 1.5rem;
    letter-spacing: 1px;
    border: 2px solid white;
    border-radius: 25px;
    background-color: transparent;
    color: white;
    text-align: center;
    transition: all 0.2s ease-in;
    cursor: pointer;
}

.container-above button:hover {
    background-color: white;
    color: #1E1E1E;
}

/*Hero responsive*/
@media (max-width: 1024px) {
    .container-above {
    padding-left: 4vw;
    padding-top: 18vh;
    max-width: 80%;
    }

  .container-above h1 {
    font-size: clamp(2rem, 6vw, 4rem);
  }

  .container-above p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
  }
}
    
@media (max-width: 768px) {
    .hero-background{
        object-fit:cover;
    }

    .container-above {
      padding-left: 5vw;
      padding-top: 15vh;
      max-width: 90%;
    }

    .container-above h1 {
      font-size: clamp(1.8rem, 6vw, 3rem);
    }

    .container-above p {
      font-size: clamp(0.9rem, 1.8vw, 1rem);
    }

    .container-above button {
      width: 130px;
      height: 50px;
      font-size: 14px;
    }
}
  
@media (max-width: 480px) {
    #hero-section {
      min-height: auto;
      padding: 60px 0;
    }

    .hero-background{
        object-fit:cover;
    }

    .container-above {
      padding-left: 5vw;
      padding-top: 10vh;
      max-width: 95%;
    }

    .container-above h1 {
      font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .container-above p {
      font-size: smaller;
    }

    .container-above button {
      width: 100%;
      height: 50px;
      font-size: 14px;
    }
}
  
/*main*/
.description{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;   
}

.container-section .description h2{
    margin-bottom: 3%;
    color: rgb(16, 182, 16);
}

.description p{
    color: #1E1E1E;
}

.sections{
    margin: 0;
    padding: 5%;
}

.container-section{
    display: flex;
    flex-direction: column;
}

.sections .container-section .description h2{
    font-size: 4rem;
}

@media(max-width: 768px){
    .sections .container-section .description h2{
        font-size: 2.5rem;
    }
    .description p{
        font-size: smaller;
    }
}

/*Accueil et partenaire style*/
#accueil-section {
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

.actus-container {
    display: flex;
    flex-direction: row;
    align-items: stretch; 
    width: 100%;
    height: 40vw;
    align-items: center;
  }

.actus-container h2, .services-container h2{
  text-align: center;
  padding: 1rem;
}

#actu-text-container {
    position: relative;
    overflow: hidden;
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column; 
    background-color: white;
    color: #1E1E1E;
}

#actu-text-container::before{
    content: "";
    position: absolute;
    top: -100px;
    left: 0;
    width: 200px; 
    height: 100%;
    background-image: url('specific/motif3.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    opacity: 0.6; 
    pointer-events: none;
    z-index: 0;
}

#actu-text-container *{
    position: relative;
    z-index: 1;
}

#actu-text-container ul{
    /*line-height: 50px;*/
}

#actu-text-container ul a{
    text-decoration: none;
    color: #1E1E1E;
    font-weight: bold;
    transition: 0.2s ease-in;
}

#actu-text-container ul a:hover{
    color: #369944;
    text-decoration: underline;
}

#actu-img-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 100%; 
    display: flex;
    align-items: stretch;
}
  
.img-actus {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}
  
.img-actus.active {
    opacity: 1;
}
  
.img-actus img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
  
.actus-container h2, .partenaires-container h2 {
    color: rgb(16, 182, 16);
    font-size: 4rem;
    margin-bottom: 2rem;
}
  
.actus-container p {
    color: white;
}
  
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: rgb(39, 36, 36);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25%;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.2s ease-in, color 0.2s ease-in;
}
  
.slider-btn:hover {
    color: white;
    transition: 0.2s ease-in;
}
  
.slider-btn.prev {
    left: 10px;
    background-color: rgba(39, 36, 36, 0.564);
}
  
.slider-btn.next {
    right: 10px;
    background-color: rgba(39, 36, 36, 0.564);
}
  
.slider-btn.prev:hover{
    background-color: rgb(39, 36, 36);
}

.slider-btn.next:hover{
    background-color: rgb(39, 36, 36);
}


@media(max-width: 768px){
    .actus-container{
        height: 90%;
    }

    .actus-container h2, .partenaires-container h2{
        font-size: 2.5rem;
    }
    .actus-container h2{
        padding-top: 2rem;
    }
    .actus-container p{
        padding-bottom: 2rem;
    }
    #actu-text-container::before {
        display: none;
    }   
}

/*Partenaires style*/
#partenaires-section {
    background-color: white;
    padding: 0 5%;
}
  
.partenaires-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: auto;
    min-height: 90vh; 
    padding: 2em 0; 
}
  
.partenaires-desc p{
    color: rgb(33, 32, 32);
}

.partenaires-logo {         
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 2em;
    padding-top: 3em;
    padding-bottom: 3em;
}

.container-logos{
    max-width: 10%;
}

.partenaires-logo img{
    /*border: 1px solid black;*/
    color: rgb(39, 38, 38);
    width: 100%;
}

@media (max-width: 768px) {
    .actus-container {
      flex-direction: column;
    }
    .actus-container img{
        
    }
  
    #actu-text-container p{
        font-size: smaller;
    }

    #actu-img-container {
      height: 250px;
      max-width: 100%;
    }

    .partenaires-desc{
        display: flex;
        flex-direction: column;
    }

    .partenaires-desc h2{
        /*padding-top: 3rem;*/
    }

    .partenaires-desc p{
        font-size: smaller;
    }

    .partenaires-logo{
        flex-wrap: wrap;        
        gap: 1em;               
        justify-content: center;    
        padding-bottom: 5em;
    }

    .container-logos{
        max-width: 15%;
    }

    .partenaires-logo img {
        max-width: 120px;       
        width: 100%;            
      }
}

@media(max-width: 460px){
    .container-logos{
        max-width: 15%;
    }
}

/*A propos style*/
#apropos-section{
    background-color: white;
    display: flex;
    justify-content: center;
}

.container-faq {
    max-width: 90%;
    /*margin: 0 auto; */
}
  
.faq-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.faq-header h2 {
    font-size: 4rem;
    text-align: left;
    margin-bottom: 3%;
    color: rgb(16, 182, 16);
}
  
.faq-header p {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 30px;
    color: rgb(39,37,37);
}
  
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.faq-question {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    width: 100%;
    padding: 5px 0;
    cursor: pointer;
    position: relative;
    color: white;
    color: rgb(39, 38, 38);
}

.faq-item .faq-question:hover{
    color: hsl(120, 85%, 30%);
    transition: 0.2s ease;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
  
.faq-question.active::after {
    content: "−";
}
  
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
  
.faq-answer.show {
    max-height: 400px;
    opacity: 1;
}
  
.faq-answer p {
    margin: 5px 0 0 0;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(39, 37, 37, 0.83);
}
  
/*Responsive a propos*/
@media(max-width: 768px){
    .faq-header h2{
        font-size: 2.5rem;
    }
    .faq-header p{
        font-size: smaller;
    }
    .faq-answer p{
        font-size: smaller;
    }
}

@media screen and (max-width: 600px) {
  .faq-question {
    font-size: 1rem;
  }
}
  

/*Equipe-style*/
.section-break{
    display: flex;
    justify-content: center;

}

.line-break{
    height: 1px;
    background-color: rgb(192, 192, 192);
    width: 30%;
}

#nos-equipes-sections {
    background-color: white;

}

.nos-equipes-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nos-equipes-container h2 {
    color: rgb(16, 182, 16);
    font-size: 3rem;
    margin-bottom: 25px;
}

.nos-equipes-container p {
    color: #1e1e1e;
    margin-bottom: 3rem;
}

.text-after{
    padding: 1rem;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.team-list{

}

.team-card {
    /*background: #262525;*/
    color: #1e1e1e;
    border-left: 5px solid rgb(222, 222, 222);
    width: 400px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease-in-out;
    
}

.team-card:hover{
    transform:translateY(-15px);
    border-left: 5px solid #379b45;
    
}

.team-img {
    width: 100%;
    height: 300px;
    padding-bottom: 1rem;
    padding: 50px 0 0 0;
    background-color: rgb(255, 255, 255);
    object-fit: contain;
}

.team-name {
    width: 100%;
    text-align: center;
    /*background-color: #2e7d32;*/
    padding: 2rem 0;
}

.team-job {
    color: #cdcac9;
    font-weight: 500;
    /*margin: 1.5rem 0 3rem;*/
}

.team-job-desc {
    font-size: 1rem;
    padding-bottom: 5%;
}

/* Responsive team*/
@media (max-width: 768px) {
    .nos-equipes-container p {
      font-size: smaller;
    }

    .team-job {
      font-size: 1rem;
    }

    .team-job-desc{
      font-size: smaller;
    }
}

@media (max-width: 480px) {
    .nos-equipes-container h2{
        font-size: 2rem;
    }

    .nos-equipes-container p{
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .team-container {
      flex-direction: column;
      align-items: center;
    }

    .team-card {
      width: 250px;

      padding: 0;
    }

    .team-img {
      width: 100%;
      height: 100%;
      padding: 1rem 0 0 0;
    }

    .team-name{
      font-size: smaller;
      padding: 1rem 0;
    }

    .team-job{

    }

    .more-button {
      width: 100%;
      text-align: center;
    }
}

/*Service style*/
#services-section{
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-bottom: 3rem;
    height: auto;
}

.services-container {
    display: flex;
    flex-direction: row; 
    align-items: stretch;
    width: 100%;
    height: 90%;
}
  
#services-text-container {
    flex: 1;
    color: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #1E1E1E;
    height: auto;
}
  
#services-img-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: auto;
    display: flex;
    align-items: stretch;
}
  
.img-services {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}
  
.img-services.active {
    opacity: 1;
}
  
.img-services img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
  
.services-container h2 {
    color: rgb(16, 182, 16);
    font-size: 4rem;
    margin-bottom: 25px;
}
  
.services-container p {
    color: white;
}

.service-button-container {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start; 
    
}

.service-button-container a{
    color:#1E1E1E;
    padding: 1rem 2rem;
    border-radius: 25px;
    background-color: white;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

.service-button-container a:hover{
    background-color: rgb(225, 225, 225);
}

.services-imgText {
    width: 100%;
    height: auto; 
    display: flex;
    flex-direction: column;
    gap: 1rem; 
    margin-bottom: 2rem; 
}

.service-list{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
}

.services-individual{      
    width: 7rem;
    height: 7rem;
    flex: 0 0 auto;
}

.services-individual img{
    width: 100%;
    height: 100%;
}

/*Responsive service*/
@media (max-width: 768px) {
    .actus-container,
    .services-container {
      flex-direction: column;
    }
    
    .services-container{
        height: auto;
    }

    #actu-img-container,
    #services-img-container {
      flex: none;
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9; 
      position: relative;
      overflow: hidden;
    }
  
    .services-container h2{
        font-size: 2.5rem;
    }

    #actu-text-container,
    #services-text-container {
      flex: none;
      width: 100%;
      padding: 20px;
    }
    
    #services-text-container h2{
        padding-top: 2rem;
    }

    #services-text-container p{
        font-size: smaller;
        padding-bottom: 1rem;
    }

    .img-actus img,
    .img-services img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  
    .img-actus,
    .img-services {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.7s ease-in-out;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    .img-actus.active,
    .img-services.active {
      opacity: 1;
    }
  
    .services-individual {
    width: 5rem;
    height: 5rem;
  }

    .slider-btn {
      font-size: 20px;
      padding: 8px 12px;
    }
  }
  
@media(max-width: 480px){
    #actu-text-container{
        font-size: smaller;
    }
    .services-container{
      height: auto;
    }

    #services-text-container{
        text-align: center;
        align-items: center;
    }

    .service-list{
        justify-content: center;
    }

    .services-individual {
    width: 4rem;
    height: 4rem;
    }

    .service-button-container{
        padding: 0;
    }

    .service-button-container a{
        padding: 1rem;
    }
}

/*Portfolio style*/
#portfolio-section{
    background: white;
    padding: 5% 0 0 0;
}

span{
    font-weight: bold;
}

#portfolio-description{
    display: flex;
    flex-direction: column;
    padding: 0 5%;
}

.portfolio-container{
    color: #1E1E1E;
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
}

.animation-port{
    margin-top: 3rem;
}

#container-architecture{
    margin-top: 2rem;
}

.portfolio-desc{
    display: flex;
    width: 100%;
    max-height: 90vw;
}

.portfolio-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 5%;
    width: 50vw;
}

.portfolio-title h3{
    font-size: 2.5rem;
}

.portfolio-title p{
    margin-top: 2rem;
    max-width: 400px;
}

.portfolio-img{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 500px;
    align-items: center;
    overflow: hidden;
}

.portfolio-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.portfolio-img img:hover{
    z-index: 1;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.portfolio-img iframe{
    width: 100%;
    height: 100%;
}

.btn-plus{
    margin: 3rem 0;
}

.btn-plus a{
    padding: 20px 50px;
    font-weight: bold;
    border: 1px solid white;
    border-radius: 25px;
    text-decoration: none;
    background-color: #1E1E1E;
    color: white;
    transition: 0.2s ease-in;
}

.btn-plus a:hover{
    border: 1px solid #1E1E1E;
    background-color: white;
    color: #1E1E1E;
}

/*Responsive portfolio*/
@media screen and (max-width: 768px){
    .portfolio-desc{
        flex-direction: column;
        max-height: none;
    }

    .portfolio-title{
        width: 90vw;
        margin: 2rem auto;
        align-items: center;
        text-align: center;
    }

    .portfolio-title h3{
        font-size: 1.3rem;
    }

    .portfolio-title p{
        font-size: smaller;
    }

    #video-ambovo{
        height: 500px;
    }

    .portfolio-img{
        flex-direction: column;
        height: auto;
    }

    .portfolio-img img:hover{
        transform: scale(1);
    }

    .portfolio-img img{
        width: 90%;
        height: auto;
        margin-bottom: 1rem;
    }

    .portfolio-img img:not(:last-child){
        margin-bottom: 1rem;
    }
}

@media(max-width: 600px){
    #video-ambovo{
        height: 350px;
    }
}

@media(max-width: 480px){
    .portfolio-title p{
        font-size: 0.9rem;
    }
    .portfolio-img{
        flex-direction: column;
    }
    
    #video-ambovo{
        width: 100%;
        height: 250px;
    }
}

/*Produit style*/
#produits-section{
    background-color: #1E1E1E;
}
  
#container-produit .description p{
    color: white;
}
  
#produits-show{
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 20px;
    padding: 20px 0;
}
  
.produits-up{
    position: relative;
    width: 400px;       /*19rem*/
    min-width: 15vw;
    height: auto;
    min-height: 200px;
    margin: 20px;
    border-radius: 25px;   
    overflow: hidden;
    transition: transform 0.3s ease;
}
  
.produits-up:hover{
    transform: scale(1.02);
}
  
.produits-img{
    width: 100%;
    height: 100%;
    display: block;
    background-color: #212020;
}
  
#rahona-img{
    object-fit: contain;
}

.overlay{
    position: absolute;
    inset: 0;
    background-color: #323232bc;
    height: 0;
    width: 100%;
    overflow: hidden;
    transition: height 0.5s ease;
    border-radius: 25px;
    backdrop-filter: blur(2px);
}
  
.produits-up:hover .overlay{
    height: 100%;
}
  
.overlay h3, .overlay p{
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.overlay h3{
    color: #beff49;
    top: 30%;
    font-size: 2vw;
    font-weight: 800;
    width: 100%;
}

.overlay p{
    color:white;
    top: 60%;
    width: 70%;
    line-height: 1em;
}
  
/*Responsive produit*/
@media (min-width: 768px) and (max-width: 1200px){
  #produits-show {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px){
    .produits-up{
        width: 18rem;
        height: auto;
    }

    .overlay h3{
      font-size: 7vw;
    }

    .overlay p{
      font-size: smaller;
      line-height: 1em;
    }
}
  
@media(max-width: 460px){
    .overlay p{
        line-height: 0.8em; 
    }
}

/*contact style*/
#contact-section{
    background-color: white;
}

.address-container{
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-list{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: 25px;
  padding: 16px;
}

.contact-icon svg{
  min-width: 24px;
  height: 24px;
  fill: #1f1f1f;
}

.contact-text h3{
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: #1f1f1f;
}

.contact-text p{
  margin: 0;
  font-size: 0.95rem;
  color: #1f1f1fcc;
}

.contact-text a{
  color: #1f1f1fcc;
  text-decoration: none;
  transition: 0.2s ease-in;
}

.contact-text a:hover{
  text-decoration: underline;
  color: hsl(120, 85%, 30%);
}

/*Responsive contact*/
@media (max-width: 480px){
  .contact-list{
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-icon{
    margin-bottom: 8px;
  }
}

#google-map{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

#google-map iframe{
    border-radius: 15px;
}

@media screen and (max-width: 1100px){
    .container-contact {
        grid-template-columns: 1fr; 
        padding-bottom: 3%;
    }

    .contact-text{
        font-size: smaller;
    }

    #google-map{
        display: flex;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
}

@media screen and (max-width: 693px){
    .address-container{
        font-size: smaller;
        display: flex;
        justify-content: center;
    }
    .adress-container, #google-map{
        padding-left: 0;
        margin: 2rem 1rem;
    }

    .contact-list{
        flex-direction: column;
        align-items: flex-start;
    }


    .contact-text{
        display: flex;
        flex-direction: column;
    }

    #contact-pro{
        
    }

    .contact-aft p{
        display: flex;
        justify-content: center;
    }

    #google-map{
        display: flex;
        justify-content: center;
        width: auto;
        height: auto;
        
    }

    #google-map .real-map{
        width: 100%;
    }
    .btn-plus a {
        padding: 1rem 3rem; 
    }
}

/*toTop button*/
#btn-top{
    display: none;
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 99;
    border: none;
    border-radius: 50%;
    outline: none;
    background: rgb(39, 38, 38);
    opacity: 60%;
    color: white;
    cursor: pointer;
    padding: 15px;
    font-size: 15px;
    transition: 0.2s ease-in-out;
}

#btn-top:hover{
    opacity: 100%;
    background-color: rgba(47, 45, 45, 0.823);
}

#btn-top img{
    width: 20px
}

@media(max-width: 462px){
    #btn-top{
        display: none !important;
    }
}

/*footer style*/
footer{
    position: relative;
    background: rgb(33, 32, 32);
}

.footer-section{
    display: flex;
    flex-direction: row;
    justify-content:space-around; 
    text-align: center;
    font-size: small;
    padding-top: 2rem;
}

.footer-contact ul li{
    list-style-type: none;
    color: #ccc;
}

.footer-contact ul li a{
    text-decoration: none;
    color: #ccc;
    transition: 0.2s ease-in;
}

.footer-contact ul li a:hover{
    text-decoration: underline;
    color: #9ef54d;
}

.footer-links{
    display: flex;
    flex-direction: column;
}

.footer-links-icons ul{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding-top: 2%;
}

.footer-links-icons ul li a{
    display: inline-block;
}

.footer-more{
    display: flex;
    flex-direction: column;
}

.footer-more ul, .footer-links ul{
    list-style-type: none;
}

.footer-more ul li a, .footer-links ul li a{
    color: #ccc;
    text-decoration: none;
}

.footer-more ul li a:hover{
    color: hsl(91, 89%, 63%);
    text-decoration: underline;
    transition: 0.2s ease-in;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #ccc;
  }

/*Responsive footer*/
@media(max-width:768px){
    .footer-section{
        display: flex;
        flex-direction: column;
    }

    .footer-section .footer-contact ul, .footer-more ul, .footer-links ul{
        font-size: smaller;
    }   

    .footer-contact ul, .footer-more ul{
        padding-bottom: 15%;
    }

    .footer-contact ul{
        line-height: 2rem;
    }

    .footer-contact ul li{
        padding-top: 2%;
    }
    .footer-contact, .footer-more, .footer-links{
        margin: auto;
    }
    .footer-links{
        width: auto;
    }
    .footer-links ul{

    }
}
