@font-face {
    font-family: 'marianne';
    src: url(../font/Marianne-Regular.woff) format('woff');

}




.form-container {
    position: absolute;
    margin-top: 0px;
    padding: 100px;

    flex: 1;
    text-align: left;

    background-color: rgb(0, 0, 0);
    border-radius: 8px;
    color: white;


}

.form-container input {
    background-color: white;
    color: black;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 15px;
}

.form-container textarea {
    background-color: white;
    color: black;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 15px;
}

.form-container button {
    background-color: white;
    color: black;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 15px;
}

.form-container button:hover {
    background-color: black;
    color: white;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 15px;
}

.contact {
    position: relative;
    /* Permet de placer des enfants en position absolue */
    height: 700px;
    background-color: rgb(0, 0, 0);
    color: white;
}





.video-container {
    margin-top: 50px;
    position: relative;
    display: flex;


    max-width: 100%;
    height: 300px;
    flex-direction: row;
    gap: 2px;


    animation: slide 60s linear infinite;
    /* hauteur fixe */




}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.video-container video {
    width: 33%;
    height: 300px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 1000px) {
    * {
        font-size: 14px;
        /* Taille de police plus petite pour les écrans plus petits */
    }

    .video-container {
        animation: none;
        margin: auto;
        max-width: 90%;
        gap: 2px;
    }



    video:nth-child(1),


    video:nth-child(5) {
        display: none;
    }

    body {
        max-width: 100%;
        margin: 5px;
    }




}















.bttn {
    display: inline-block;
    padding: 10px 20px;
    border: solid 2px white;
    text-align: center;

    height: auto;
    width: fit-content;
    color: white;
    text-decoration: none;


    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.bttn:hover {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    color: white;
    border-color: white;
    border: solid 1px white;

}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

footer {
    background-color: rgb(26, 26, 26);
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;


    border-top: 1px solid #444;
    text-decoration: none;
    height: 150px;


}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

.icon-footer {
    margin-top: 10px;
}

.icon-footer {
    color: white;
    margin: 0 10px;
    transition: color 0.3s;
}

.icon:hover {
    color: rgb(255, 60, 0);
}

ul {
    text-align: center;
    list-style-type: none;
    text-decoration: none;
    color: black;


}

ul a {
    text-decoration: none;
    color: black;
}

ul a:hover {
    text-decoration: underline;
    color: peru;
}

a {
    text-decoration: none;
    color: white;
}

a:hover {

    color: black;

}

.bttn-2 {
    display: inline-block;
    padding: 10px 20px;
    border: solid 2px black;
    text-align: center;

    height: auto;
    width: fit-content;
    color: black;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

#loading-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

#loading-bar {
    width: 0;
    height: 100%;
    background: #FF5C35;
    transition: width 0.25s;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.loader {
    display: flex;
    justify-content: space-between;
    width: 80px;
}

.loader div {
    width: 16px;
    height: 16px;
    background-color: rgb(58, 58, 58);
    border-radius: 50%;
    animation: grow-shrink 1.5s infinite;
}

.loader div:nth-child(1) {
    animation-delay: 0s;
}

.loader div:nth-child(2) {
    animation-delay: 0.2s;
}

.loader div:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes grow-shrink {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}



.hero-content h1 {
    font-size: 30px;
    font-weight: lighter;
    font-family: 'marianne';
    border-radius: 50%;
    border: 2px solid white;
    width: 100px;
    /* largeur fixe */
    height: 100px;
    /* même valeur que width */
    display: flex;
    /* pour centrer le texte */
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    animation: pulse 2s infinite;
    -webkit-tap-highlight-color: transparent;
    /* évite le carré bleu sur mobile */
    outline: none;
    box-sizing: border-box;
}

h1 {
    font-size: 30px;
    font-weight: lighter;
    font-family: 'marianne';
    border-radius: 50%;
    border: 2px solid black;
    width: 100px;
    /* largeur fixe */
    height: 100px;
    /* même valeur que width */
    display: flex;
    /* pour centrer le texte */
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    animation: pulseblack 2s infinite;
    -webkit-tap-highlight-color: transparent;
    /* évite le carré bleu sur mobile */
    outline: none;
    box-sizing: border-box;
}

h1:hover {
    animation: spin 10s linear infinite, pulseblack 2s infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseblack {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 92, 53, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 92, 53, 0);
    }
}

body.dark-mode h1 {
    border: 2px solid white;
    animation: pulse 2s infinite;
}

body.dark-mode h1:hover {
    border: 2px solid white;
    animation: pulse 2s infinite;
    animation: spin 10s linear infinite, pulseblack 2s infinite;
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 92, 53, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 92, 53, 0);
    }
}

body.dark-mode {
    background-color: #1e1d1d;
    color: #e0e0e0;
}

body.dark-mode content {
    background-color: #121212;
    color: #e0e0e0;

}

body.dark-mode p {

    color: #e0e0e0;
}

body.dark-mode .welcome h2 {
    color: #ffffff;
}

body.dark-mode .bttn-2 {
    border: solid 2px white;
    color: white;
}

.section-noise {

    position: relative;
    overflow: hidden;
    height: 700px;
}

#tv-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.animation {
    position: relative;
    z-index: 1;
    /* Ajustez la hauteur selon vos besoins */
}

html {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-in;
}