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

html{
	scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #FFF ;
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 2.2;
    overflow-x: hidden;

}

p, a{
    font-weight: 200;
}

h1{
    font-size: 42px;
    font-weight: 600;
}

h2{
    font-size: 34px;
    font-weight: 400;
}

h3{
    font-size: 26px;
    font-weight: 400;
}

a, li a{
    color: inherit;
    text-decoration: none;
}

ul{
    list-style: none;
}

header{
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    nav{
        display: flex;
        justify-content: space-between;
        width: 100%;
        z-index: 999;
        position: absolute;
        left: 0;
        top: 0;
        margin: auto;
        padding: 40px 70px;
        img{
            width: 60px;
            height: auto;
        }
        ul{
            display: flex;
            gap:20px;
            li a:hover{
                text-decoration: underline;
            }
        }
        
    }
}
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
  }
  
  .menu-toggle span {
    height: 3px;
    background: white;
    border-radius: 2px;
    width: 100%;
    display: block;
  }
  
main{
    #nom{
        padding: 7% 10% 2% 10%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        ul{
            display: flex;
            gap: 20px;
            img{
                height: 30px;
                width: auto;
            }
        }
    }
    #nos-partenaires {
        background-color: white;
        padding: 20px 0;
        overflow: hidden;
      }
      
      .slider {
        height: 100px;
        width: 100%;
        overflow: hidden;
        position: relative;
      }
      
      .slide-track {
        display: flex;
        width: max-content;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
      }
      
      .slide {
        width: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .slide img {
        height: 80px;
        object-fit: contain;
        filter: brightness(1) contrast(1.1);
        transition: transform 0.3s ease;
      }

      #apropos{
        padding: 0 10% 5% 10%;
        h2{
            border-bottom: #86A5FF 1px solid;
            padding-bottom: 1px;
            width: fit-content;
            margin: 0 auto 5% auto;
            text-align: center;
        }
        p{
            text-align: center;
        }    
    }

      #moments-captures{
        padding: 0 10% 5% 10%;
        hr{
            border-bottom: #86A5FF 1px solid;
            padding-bottom: 1px;
            margin: 0 24% 5% 24%;
            text-align: center;
        }
        .carousel {
            z-index: 999;
            position: relative;
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            overflow: hidden;
            display: flex;
            align-items: center;
            margin-top: 2vh;
        }
        
        .carousel-images {
            display: flex;
            transition: transform 0.5s ease-in-out;
            width: calc(100% * 7);
            height: 450px;
        }
        
        .carousel-images img {
            width: 33.33%;
            flex-shrink: 0;
            object-fit: cover;
        }
        
        /* Flèches */
        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 2em;
            color: #D5AE5F;
            background: rgba(0, 0, 0, 0.5);
            border: none;
            cursor: pointer;
            z-index: 2;
            padding: 10px;
            border-radius: 50%; 
        }
        
        .left-arrow {
            left: 10px;
        }
        
        .right-arrow {
            right: 10px;
        } 
      }
        
    
}

footer{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100vw;
    padding: 5% 0;
    row-gap: 10px;
    h4{
        font-size: 24px;
        font-weight: 400;
        border-bottom: 1px solid #86A5FF;
        padding-bottom: 1px;
        width: fit-content;
        text-align: center;
    }
    ul{
        display: flex;
        gap: 40px;
        li img{
            width: auto;
            height: 30px;   
        }
        li a:hover{
            text-decoration: underline;
        }
    }
    .reseaux{
            border-bottom: 1px solid #86A5FF;
            padding-bottom: 10px;
            width: fit-content;
            text-align: center;
    }
    .droits a{
        text-decoration: underline;
    }
}


@media screen and (max-width: 768px) {
    nav {
      padding: 20px;
    }
  
    .menu-toggle {
      display: flex;
    }
  
    .menu {
      position: absolute;
      top: 80px;
      right: 0;
      background: rgba(0, 0, 0, 0.95);
      flex-direction: column;
      width: 100%;
      align-items: center;
      display: none;
      gap: 30px;
      padding: 30px 0;
    }
  
    .menu.active {
      display: flex;
    }
  
    .menu li a {
      color: white;
      font-size: 20px;
    }

     h1{
        width: 80%;
        margin-top: 100px;
        margin-bottom: 40px;
    }

    #nom{
        flex-direction: column;
        text-align: center;
        line-height: normal;
        margin-bottom: 40px;
    }

    .carousel-images {
        height: 300px;
    }
    .carousel-images img {
        height: 300px;
    }
    
  }
