@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #F9F9F9;
    color: black;
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

ul {
    padding-left: 0;
}

/*--------------------- Barre de navigation ---------------------*/

header{
    padding: 0.5vw 4vw;
    background-color: #EFEFEF;
    box-shadow: 0px 8px 10px 0px rgba(122, 144, 173, 0.527);   
}

.header-container{
    max-width: 1400px;
    display: flex;
    flex: 1 0 67%;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    width: 100%;
    height: inherit;
}

.header-logo {
    width: auto;
}

.header-logo a{
    display: inline-block;
    max-width: 100%;
    width: 100%;
    max-height: 80px;
}

.logo {
    width: 100%;
    max-width: 100%;
    max-height: 80px;
}

.header-nav {
    text-align: right;
    margin-left: auto;
    padding-left: 2.5vw;
    flex-grow: 1;
    flex-shrink: 1;
}

header nav{
    justify-content: flex-end;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
}

nav .onglets {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    width: max-content;
}

nav .onglets a {
    text-decoration: none;
    color: #03401d;
    font-size: 1.1rem;
}

nav .onglets a:hover {
    border-bottom: 2px solid #03401d;
}

nav .onglets li, nav .button {
    margin-left: 2vw;
}

.header-don {
    padding: 1.2em 2em;
    border: none;
    color: #F9F9F9;
    background-color: #005a27;
    border-radius: 2em;
    font-size: 15px;
    cursor: pointer;
    outline: none;
}


.header-don:hover {
    background-color: #03401d;
    transform: scale(1.02);
}

.header-don a{
    text-decoration: none;
    color: #F9F9F9;
    font-size: 1.1rem;
}

/*--------------------- Accueil ---------------------*/

.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px; 
    text-align: center;
    position: relative;
    width: 70%;  
    max-width: 700px;  
    height: 80%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-photo {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 30px;
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px; 
    color: #333;
    cursor: pointer;
}

.modal.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

/*--------------------- Landing ---------------------*/

.landing-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    align-items: center;
    font-size: 18px;
}

.landing-wrapper {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

.landing-title {
    margin: 0px 0px 30px 0px;
    font-size: 50px;
    color: #005a27;
}

.landing-description {
    margin-top: 0;
    margin-bottom: 26px;
    width: 40%;
}

.landing-img {
    position: relative;
    max-width: 1745px; 
    min-width: 85%;
    max-height: 650px;
    overflow: hidden;
    margin-bottom: 20px;
}

.landing-photo {
    position: relative;
    width: 100%; 
    max-height: 650px;
    object-position: center;
    object-fit: cover;
    filter: brightness(60%);
}

/*--------------------- Caroussel ---------------------*/

.carousel{
    background-color: #005a27;
    padding : 10px 0;
    margin-top: 20px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    text-align: center;
  }
  
  .carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
    min-width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .slide h2, .slide h3, .slide p{
    color: #F9F9F9;
  }

  .slide img{
    width: 400px;
  }

  .slide h3 {
    margin-bottom: 0;
  }

  .slide p {
    width: 762px;
  }

  .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    font-size: 30px;
    background: none;
    color: #F9F9F9;
    border: none;
    cursor: pointer;
  }

  .carousel-button:hover{
    color : lightslategray
  }
  
  .carousel-button.left {
    left: 10px;
  }
  
  .carousel-button.right {
    right: 10px;
  }

/*--------------------- Remerciements ---------------------*/

.thank-you-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #042914, #005a27);
    animation: backgroundWave 20s linear infinite; 
    text-align: center;
    margin-top: 100px;
}

.thank-you-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #042914, #005a27);
    animation: waveEffect 15s ease-in-out infinite; 
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    color: white;
    font-family: 'Arial', sans-serif;
    opacity: 0;
    animation: fadeIn 3s forwards;
}

@keyframes waveEffect {
    0% {
        background: radial-gradient(circle, #042914, #005a27);
        transform: scale(1);
    }
    50% {
        background: radial-gradient(circle, #005a27, #042914);
        transform: scale(1.1);
    }
    100% {
        background: radial-gradient(circle, #042914, #005a27);
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}