*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: Nexa Heavy;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: #fff;
}
section{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 110px 100px;   
}

@media (max-width: 1000px){
    section{
        padding: 100px 50px;
    }
}

@media (max-width: 600px){
    section{
        padding: 125px 30px;
    }
}

header{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 35px 100px 0;
}

header a{
    text-transform: capitalize;
    font-weight: 900;
}
header h2{
    text-transform: uppercase;
}
header .nav{
    display: flex;
}
header .nav li{
    margin: 0 15px;
}
header .nav li:first-child{
    margin-left: 0;
}
header .nav li:last-child{
    margin-right: 0;
}

@media (max-width:1000px){
    header{
        padding: 20px 50px;
    }
}

@media (max-width:700px){
    header{
        flex-direction: column;
    }
    header h2{
        margin-bottom: 15px;
    }
    header .nav li{
        margin: 0 7px;
    }
}

.box{
    position: relative;
    justify-content: center;
    min-height: 100vh;
    color: #fff;
    text-align: center;
}
.box video{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    z-index: -1;
}
.box h1{
    margin-bottom: 15px;
    font-size: 65px;
    text-transform: uppercase;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);    
}
.box h3{
    margin-bottom: 40px;
    font-size: 25px;
}
.box a.boxBtn{
    padding: 15px 35px;
    background: transparent;
    border-radius: 50px;
    color: #fff;
    text-transform: uppercase;
    border: 4px solid #fff;
    transition: all .5s;
}
.box a.boxBtn:hover{
    background: #fff;
    color: #000;  
}

@media (max-width: 800px){
    .box{
        min-height: 100vh;
    }
    .box h1{
        font-size: 32px;
    }
    .box h3{
        font-size: 20px;
    }
    .box a.boxBtn{
        padding: 15px 40px;
    }
    .box video{
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }
}

/* Styles pour le bouton dynamique */
button {
    display: inline-block;
    padding: 15px 35px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #00ff08; /* Couleur de fond du bouton */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1; /* S'assurer que le bouton est au-dessus de la vidéo */
}

button:hover {
    background-color: #00b303; /* Couleur de fond au survol */
}

/* Optionnel : centrer le bouton */
button body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}
