@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --primary: #92C832;
    --primary-dark-10 : #83b42d;
    --primary-dark-20 : #75a028;
    --primary-dark-30 : #668c23;
    --primary-dark-40 : #58781e;
    --primary-dark-50 : #496419;
    --primary-dark-60 : #3a5014;
    --primary-dark-70 : #2c3c0f;
    --primary-dark-80 : #1d280a;
    --primary-dark-90 : #0f1405;

    --primary-light-10 : #9dce47;
    --primary-light-20 : #a8d35b;
    --primary-light-30 : #b3d970;
    --primary-light-40 : #bede84;
    --primary-light-50 : #c9e499;
    --primary-light-60 : #d3e9ad;
    --primary-light-70 : #deefc2;
    --primary-light-80 : #e9f4d6;
    --primary-light-90 : #f4faeb;

    --text: #333333;
    --light-text: #666666;
    --secondary-background: #eeeeee;
}

html {
    scroll-behavior: smooth;
}

html * {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

/* ------------------------ Toast notification ------------------------ */

.toasts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
}

.toast {
    position: relative;
    background-color: var(--primary-light-90);
    border-radius: 20px;
    padding: 50px;
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    padding: 40px;
    margin-bottom: 10px;
    text-align: justify;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    min-width: 400px;
    max-width: 400px;
}

.toast h1{
    font-size: 25px;
    margin-bottom: 30px;
}

.toast h1::after {
    content: '';
    position: absolute;
    left: 30%;
    width: 40%;
    height: 0.1em;
    top: 2.9em;
    background-color: var(--primary);
    transform: skewY(-2deg);
}

.yellow {
    background-color: #ffd035;
}

.action {
    font-size: 75px;
    margin-bottom: 20px;
    color: black;
    -webkit-text-fill-color: var(--primary);
    -webkit-text-stroke: 2px black;
}

.action-img {
    display: flex;
    flex-direction: row;
}

.toast h3 {
    font-size: 20px;
    font-style: italic;
    margin-top: 20px;
    text-align: center;
}

.toast img {
    height: 25px;
    margin-top: 10px;
    margin: 10px;
}

.not-visible {
    display: none;
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;

    z-index: 8;
}

.btn-close i {
    font-size: 25px;
    color: var(--text);
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-out.active {
    opacity: 1;
}

.toast-fade-in {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease, transform 1s ease;
}

.toast-fade-in.active {
    opacity: 1;
    transform: translateX(0);
}

/* ------------------------ Header ------------------------ */

header {
    position: fixed;
    top: 0;

    z-index: 5;

    width: 100%;
    height: 70px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    user-select: none;

    transition: background-color 0.3s;
}

header div{
    margin-left: 50px;
    margin-right: 50px;
}

header a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.title-container a {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: white;
}

.menu-container {
    display: flex;
    
    justify-content: space-between;
    align-items: center;

    height: 45px;
    width: 800px;
}

.menu-container a {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;

    position: relative;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.burger {
    display: none;
    color: white;
}

.burger-menu {
    display: none;

    position: absolute;
    top: 70px;
    left: 0;

    width: 100%;
    height: 100vh;

    padding-bottom: 100px;
    padding-top: 30px;

    background-color: var(--secondary-background);

    list-style: none;

    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.burger-menu a {
    position: relative;

    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    color: var(--light-text);

    text-decoration: none;
}

.burger-menu a::before {
    content: '';
    position: absolute;
    bottom: -3px; 
    left: 0;
    width: 0%;
    height: 5px; 
    background-color: var(--primary);
    transition: width 0.3s;
}

.burger-menu a:hover::before {
    width: 100%;
}

.burger-menu-active {
    display: flex;
}

header.sticky .title-container a {
    color: var(--primary);
}

header.sticky .menu-container a {
    color: var(--text);
}

header.sticky .menu-container a::before {
    background-color: var(--primary);
}

header.sticky .burger {
    color: var(--text);
}

.menu-container a::before {
    content: '';
    position: absolute;
    bottom: -3px; 
    left: 0;
    width: 0%;
    height: 2px; 
    background-color: white; 
    transition: width 0.3s;
}

.menu-container a:hover::before {
    width: 100%;
}

.sticky {
    background-color: var(--secondary-background);
}

/* ------------------------ Welcome ------------------------ */

.welcome-container {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent), url('../img/trees.jpg') no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    
    width: 100%;
    height: 100vh;
}

.welcome-container h1 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 80px;
    color: white;

    text-align: center;

    max-width: 70%;
}

.welcome-container h2 {
    font-family: 'Roboto', sans-serif;
    color: white;
    font-size: 30px;
    font-weight: 300;

    text-align: center;

    margin-top: 20px;
    max-width: 70%;
}

.arrow {
    margin-top: 80px;
}

.arrow span {
    display: block;
    width: 1.5vw;
    height: 1.5vw;
    border-bottom: 5px solid white;
    border-right: 5px solid white;
    transform: rotate(45deg);

    margin: -10px;
    animation: animate 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

/* ------------------------ Sections ------------------------ */

.fade-in * {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.active * {
    opacity: 1;
    transform: translateY(0);
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-family: 'Roboto', sans-serif;

    height: 100vh;
}

section h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 80px;
    font-weight: 400;

    margin-bottom: 100px;
}

section h1::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: -5%;
    width: 110%;
    height: 0.30em;
    background-color: var(--primary);
    opacity: 0.75;
    z-index: -1;
    border-radius: 0.5em;
}

section p {
    font-size: 30px;
    font-weight: 300;
    
    color: var(--text);

    width: 50%;

    text-align: justify;
}

.container {
    display: flex;
    flex-direction: row;

    width: 100%;

    justify-content: space-around;
    align-items: center;
}

/* ------------------------ Presentation ------------------------ */

.presentation img {
    max-width: 80%;
    max-height: 550px;
    width: auto;
    height: auto;

    border-radius: 20px;

    box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.25);
}

/* ------------------------ Services ------------------------ */

.services {
    height: auto;
    padding: 50px 0;
}

.service-card a {
    color: var(--primary-light-10);

    transition: color 0.3s;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;

    width: 90%;
}

.service-card {
    flex: 1 1 400px;
    flex-direction: column;
    justify-content: center;
    margin: 10px;
    padding: 20px;
    border-radius: 10px;

    text-align: center;

    background-color: var(--primary-light-80);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.hasLink:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);

    cursor: pointer;
}

.service-title {
    display: flex;

    justify-content: center;
    align-items: center;

    margin-bottom: 20px;
}

.service-title h3 {
    margin-left: 20px;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 75px;
    height: 75px;

    border-radius: 50%;
    
    background-color: var(--primary-light-30);    
}

.service-card i {
    font-size: 40px;
    color: var(--primary-light-80);
}

.service-card ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.service-card ul li {
    margin-bottom: 10px;
    line-height: 1.5;
    padding-left: 30px;
}

.service-card ul li i {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    color: var(--primary-light-40);
}

.notice {
    margin-top: 20px;
    font-size: 20px;
    color: var(--text);
    text-align: center;
}

.notice-vacc {
    font-size: 15px;
    width: 100%;
    color: var(--text);
}

.calendar-icon {
    position: absolute;
    right: 10px;
    top: 10px;
}

.calendar-icon i {
    font-size: 30px;
    color: var(--text);
}

/* ------------------------ Horaires ------------------------ */

.horaires div {
    justify-content: center;
}

.horaires img {
    max-width: 80%;
    max-height: 550px;
    width: auto;
    height: auto;

    border-radius: 20px;

    box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.25);

    margin-right: 75px;
}

.horaires ul {
    list-style-type: none;
    font-size: 30px;
}

.horaires ul li {
    margin-bottom: 20px;
    font-size: 20px;
}

.horaires h2 {
    font-size: 25px;
}

.horaires ul h3 {
    text-align: center;
    margin-bottom: 40px;
}

.horaires ul h3::after {
    content: '';
    position: absolute;
    bottom: -0.25em;
    left: 0;
    width: 100%;
    height: 0.15em;
    background-color: var(--primary);

}

.horaires ul li i {
    color: var(--primary);
}

/* ------------------------ Equipe ------------------------ */

.equipe {
    height: auto;
}

.team-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 30px;
    height: 400px;
}

.team-card h2 {
    font-size: 30px;
    margin-top: 10px;
}

.team-card p {
    text-align: center;
    font-size: 20px;
}

.team-card img {
    margin-top: 20px;

    max-width: 100%;
    max-height: 250px;

    border: 3px solid var(--primary);
}

/* ------------------------ Galerie ------------------------ */

.galerie {
    height: auto;
}

.gallery-container {
    width: 100%;

    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
}

.gallery-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 480px;
    height: 480px;
    object-fit: cover;
}

/* ------------------------ Contact ------------------------ */

.contact iframe {
    max-width: 80%;
    width: 800px;
    height: 450px;

    border-radius: 10px;
    box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.25);
}

.contact ul {
    list-style-type: none;

    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 400;
}

.contact ul li {
    display: flex;
    flex-direction: row;

    margin-bottom: 30px;

    align-items: center;
}

.contact i {
    margin-right: 20px;
    font-size: 40px;
}

.contact a {
    text-decoration: none;
    color: black;
}

.contact a::after, #contact span::after {
    content: '';
    position: absolute;
    bottom: -0.1em;
    left: 0;
    width: 100%;
    height: 0.2em;
    background-color: var(--primary);
    opacity: 0.4;
    z-index: -1;
    transition: height 0.3s;
}

.contact a:hover::after, #contact span:hover::after {
    height: 0.6em;
}

.fa-instagram {
    background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -o-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.fa-facebook {
    color: #1877F2;
}

.dimmer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 6;
}

.not-visible {
    display: none;
}

.float {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 7;
}

.btn-close {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;

    z-index: 8;
}

.fa-xmark {
    color: white;
    font-size: 50px;
}

.button-rdv {
    background-color: var(--primary);
    border: none;
    color: white;
    padding: 15px 32px;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
}

.button-rdv:hover {
    background-color: var(--primary-light-20);
}


/* ------------------------ Footer ------------------------ */

footer {
    display: flex;
    flex-direction: column;

    align-items: center;

    font-family: 'Roboto', sans-serif;

    background-color: var(--secondary-background);

    padding: 30px 0;
}

.footer-container {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 0 auto;
}

.footer-container::after {
    content: '';
    position: absolute;
    bottom: -1em;
    left: 25%;
    width: 50%;
    height: 0.2em;
    border-radius: 50px;
    background-color: var(--primary);
}

.footer-section {
    margin: 0 20px;
}

.footer-logo {
    max-width: 100%;
    max-height: 550px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.footer-section p {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 5px;
}

.footer-section ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.tpg {
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.tpg-14, .tpg-18, .tpg-3, .tpg-11 {
    display: inline-block;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
}

.tpg-14 {
    background-color: #5A1E82;
}

.tpg-18 {
    background-color: #B82F89;
}

.tpg-3 {
    background-color: #B82F89;
}

.tpg-11 {
    background-color: #82419E;
}

.social-icons a {
    font-size: 40px;
    margin-right: 10px;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 5px;
}

.social-icons {
    display: flex;
}

/* ------------------------ Media ------------------------ */

@media screen and (max-width: 1120px) {
    .menu-container {
        display: none; 
    }

    .burger {
        display: block;
    }

    section {
        height: auto;
        margin-bottom: 50px;
    }

    section p {
        margin-bottom: 50px;
    }

    section img {
        margin-bottom: 50px;
    }

    .team-card {
        height: 350px;
    }

    .team-card img {
        margin-bottom: 0px;
    }

    .contact ul {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 1020px) {
    .welcome-container {
        margin-bottom: 50px;
    }

    section {
        margin-bottom: 50px;
    }

    section h1 {
        margin-bottom: 80px;
    }

    section p {
        width: 80%;
    }

    .container {
        flex-direction: column;
    }

    .service-card {
        flex: 1 1 200px;
        margin: 0;
        margin-bottom: 20px;
    }

    .horaires img {
        margin-right: 0;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin: 20px 0;
    }

    .footer-section {
        text-align: center;
    }

    .social-icons {
        display: flex;
    }
}

@media screen and (max-width: 768px) {
    .welcome-container h1 {
        font-size: 60px;
    }

    .welcome-container h2 {
        font-size: 24px;
    }

    section h1 {
        font-size: 60px;
    }

    section p {
        font-size: 30px;
    }

    .contact ul {
        font-size: 24px;
    }

    .contact i {
        font-size: 35px;
    }
}

@media screen and (max-width: 576px) {
    .title-container h1 {
        font-size: 25px;
    }

    .welcome-container h1 {
        font-size: 40px;
    }

    .welcome-container h2 {
        font-size: 20px;
    }

    section h1 {
        font-size: 40px;
        margin-bottom: 50px;
    }

    section p {
        font-size: 20px;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-item img {
        width: 250px;
        height: 250px;
    }

    .contact ul {
        font-size: 20px;
    }

    .contact i {
        font-size: 25px;
    }
}

@media screen and (max-height: 770px) {
    section {
        height: auto;
    }
}

/* ------------------------ Anchors ------------------------ */

#presentation::before, #services::before, #horaires::before, #equipe::before, #galerie::before, #contact::before {
    content: '';
    display: block;
    height: 75px;
    margin-top: 75px;
    visibility: hidden;
}