* {
    box-sizing: border-box;
}

/* ANIMATIONS */

@keyframes wiggle {
    0% {
      transform: rotate(0);
    }
    25% {
      transform: rotate(-10deg);
    }
    50% {
      transform: rotate(10deg);
    }
    75% {
      transform: rotate(-5deg);
    }
    100% {
      transform: rotate(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        z-index: -1;
        display: none; 
    }
}

.wiggle-animation {
    animation: wiggle 2s infinite;
}

.logowait {
    width: 30%; /* Taille de votre logo */
    height: 30%; /* Taille de votre logo */
    background-image: url('./img/official_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: fadeOut 4s forwards ease-out;
}

.intro-screen {
    background-color: black;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1007; /* Pour s'assurer que l'écran d'introduction soit au-dessus du contenu */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOut 1s forwards; /* Animation de fade out après 2 secondes */
}

body {
    background-color: black;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

.sectionFrame {
    width: auto;
    height: 100vh;
}

.navbar {
    position: fixed;
    width: 100%;
    min-height: 90px;
    background-color: black;
    top: 0;
    z-index: 1001;
    transition: all 0.4s ease;
    padding-top: 10px;
/*  opacity: 90% disabled; */
}

.navbar ul {
    padding: 0;
    list-style-type: none;
   /*  flex: 2; */
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-end;
}
  
.navbar li {
    text-align: center;
    color: white;
    flex: 1;
}

.navbar li:hover {
    transform: scale(1.05);
    transition: 0.1s ease-out;
}

.navbar li:active {
    transform: scale(1);
    transition: 0.1s ease-out;
}
  
nav a {
   /*  display: inline-block; */
    font-size: 2rem;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
}

li.miniMenu {
    display: none;
    padding-right: 20px;
}

@media only screen and (max-width: 1350px) {
    .nav-links a {
        display: none;
    }

    li.miniMenu {
        display: block !important;
    }

    li.miniMenu > a {
        display: block;
    }

    .nav-links.responsiveNav a {
        display: block !important;
        font-size: 4rem;
        text-align: left !important; 
    }

    .nav-links.responsiveNav {
        background-color: rgba(0, 0, 0, 0.1);
        flex-flow: column wrap !important;
    }

    .logo.responsiveLogo {
        display: none !important;
    }
}

@media only screen and (max-width: 800px) {
    .logo img {
        width: 240px;
    }

    .logo {
        float: left;
        margin-left: 14px;
        margin-right: 7px;
        font-size: 1.5em;
        height: 10px;
        margin-top: 4px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .launchFullScreen {
        display: block !important;
    }

    .subsection img {
        margin-bottom: 15px !important;
    }
    
    .supsection img {
        margin-bottom: 15px !important;
    }
}


#videoblock {
    height: 100vh;
    background-color: black;
    overflow: hidden;
}

#videoblock video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit la section avec la vidéo tout en préservant les proportions */
}

.sectionFrame {
    color: white;
}

q {
    font-style: italic;
}

.logo {
    float: left;
    margin-left: 28px;
    margin-right: 14px;
    font-size: 1.5em;
    height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#about {
    background-color: white; /* Fallback color for older browsers */
    background-size: cover;
    color: black;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 30px;
    padding-right: 10%;
    padding-left: 10%;
    padding-bottom: 4%;
    height: fit-content;
    overflow: auto;
    font-weight: 1000;
}


.subsection img {
    float: left;
/*     margin-right: 10px;
     */
    margin: 5px 10px 5px 0;
}

.supsection img {
    float: right;
/*     margin-left: 10px; */
    margin: 5px 0 5px 10px;
}

h2 {
    font-size: 30px;
    margin-bottom: 20px;
    margin-top: 0;
    padding-top: 19px;
}

#about p {
    font-size: 18px;
    line-height: 1.6;
}

#about img {
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media only screen and (max-width: 1200px) {
    #about {
        padding-right: 20px;
        padding-left: 20px;
    }
}

#footer {
    background: rgb(98,98,102);
    background: -moz-radial-gradient(circle, rgba(98,98,102,0.2869748583026961) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-radial-gradient(circle, rgba(98,98,102,0.2869748583026961) 0%, rgba(0,0,0,1) 100%);
    background: radial-gradient(circle, rgba(98,98,102,0.2869748583026961) 0%, rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#626266",endColorstr="#000000",GradientType=1);     max-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer p {
    margin-top: 0;
    margin-bottom: 0;
    padding: 8px 0 8px 0;
}

#karl {
    float: left;
}

.launchFullScreen {
    display: none;
    bottom: 10px;
    right: 15px;
    position: absolute;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.launchFullScreen img {
/*     width: 10%; */
    height: 10%;
/*     min-width: 50px; */
    min-height: 50px;
}

.launchFullScreen:hover {
    transform: scale(1.5);
    transition: 0.2s ease-out;
}

.launchFullScreen:active {
    transform: scale(1.3);
    transition: 0.1s ease-out;
}

.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.custom-play-button img {
    width: 90px; /* Taille de votre icône de lecture */
    height: 90px; /* Taille de votre icône de lecture */
}