/* Désactivation du scroll */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: "greycliff-cf", sans-serif;
    font-weight: 200;
    font-style: normal;
    text-align: center;
}

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

.logo {
    max-width: 150px;
    margin-bottom: 20px;
    animation: rotateLogo 3s cubic-bezier(0.10, 0, 0.05, 1) infinite;
}

@keyframes rotateLogo {
    0% { transform: rotate(0deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


h1 {
    font-size: 3rem;
    font-weight: lighter;
    margin-bottom: 60px;
    color: #fce693;
}

.contact-btn {
    z-index: 99;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: #fce693;
    color: Black;
    padding: 5px 30px;
    text-decoration: none;
    font-weight: bold;
    font-weight: lighter;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s;
}


.icon {
    margin-right: 10px;
    color: #333333;
}

footer {
    position: absolute;
    bottom: 50px;
    font-size: 0.9rem;
}


.hero {
    height: 150vh;
    display: flex;
    align-items: center;
    width: 100%;
    color: #fff;
    text-align: left;
    padding-top: 122px;
    position: absolute;
    overflow: hidden;
}

.hero .content {
    width: 80%;
    margin-left: 10%;
}

.hero h1 {
    font-size: 5em;
    line-height: normal;
    color: #F9E390;
}

.hero p {
    width: 60%;
}



.background-video {
    position: absolute;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; /* Met la vidéo derrière le contenu */
    transform: translate(-50%, -19%);
}

.social-buttons {
    position: absolute; /* Permet de positionner les boutons sans déplacer le contenu */
    right: 20px; /* Ajustez la distance à partir de la droite selon vos besoins */
    top: 50%; /* Centrer verticalement */
    transform: translateY(-50%); /* Ajustement pour un centrage parfait */
    margin-right: 10%;
    display: grid;
    row-gap: 10px;
    margin-top: 100px;
    z-index: 5;
}

.social-buttons a {
    margin: 10px; /* Espacement entre les icônes */
    color: #F9E390;
    font-size: 1.2em;
}

.social-buttons img {
    width: 30px; /* Ajustez la taille des logos */
    height: auto; /* Garde les proportions */
}

.social-icon:hover {
    transform: scale(1.3); /* Agrandissement au survol */
    color: White;
    transition: ease-in 0.2s;
}



/* Section grille à trois colonnes alignée verticalement */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 80%;
    margin: 0 auto;
    padding: 40px 0;
}

/* Élément individuel de la grille */
.grid-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Assure un espacement vertical optimal */
    align-items: center;
    background-color: transparent;
    padding: 20px;
    text-align: center;
    color: #fff;
    position: relative;
}

/* Icône */
.grid-item i {
    font-size: 3em;
    margin-bottom: 10px;
    color: #F9E390;
}

/* Texte */
.grid-item p {
    font-size: 1.2em;
    flex-grow: 1; /* Le texte occupe l'espace restant */
    margin-bottom: 15px;
}

/* Bouton */
.grid-item .learn-more {
    display: inline-block;
    margin-top: auto; /* Pousse le bouton vers le bas */
    text-decoration: none;
    color: #000000;
    background-color: #F9E390;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.grid-item .learn-more:hover {
    background-color: #d8c06c;
}

.learn-more {
    font-size: 1em;
                /* Texte du bouton en blanc */
    color: #333;
    text-decoration: none;   /* Retirer la ligne sous le texte */
    background-color: #F9E390;  /* Inverser les couleurs au survol */
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}


#space {
    margin-top: 12%;

}
