@font-face {
    font-family: 'Redfive';
    src: url(../fonts/redfive.ttf);
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Redfive';
}
body{
    background-size: cover;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}
img{
    max-width: 100%;
}
#main{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: url(../img/background.gif);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.ton{
    position: absolute;
    pointer-events: none;
    animation: levitation 2s linear infinite;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0; /* Pour s'assurer qu'elle reste en arrière-plan */

}
video{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
}
h1{
    color: yellow;
    -webkit-text-stroke: 2px red;
    text-stroke: 2px red;
    font-size: 130px;
}
p{
    color: #FFF;
    line-height: 120%;
    font-size: 20px;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}
.flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 50px;
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
}
.flex img{
    width: 400px;
}
.code{
    padding: 15px 20px;
    background-color: #000;
    color: #FFF;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 30px;
    text-overflow: ellipsis;
    text-align: center;
    border-radius: 16px;
    width: 100%;
    position: relative;
    z-index: 3;
}
.container{
    width: 1000px;
    padding-left: 50px;
}
.block{
    width: 800px;
}
.goat{
    position: absolute;
    bottom: 0;
    width: 1000px;
    right: 0px;
    pointer-events: none;
}
.hover{
    transition-duration: 0.4s;
}
.hover:hover{
    transform: scale(1.1) !important;
}
.socials{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    column-gap: 20px;
}
.socials img{
    width: 50px;
}
@keyframes levitation {
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(40px);
    }
    100%{
        transform: translateY(0);
    }
}
@media(max-width: 1800px){
    .container{
        width: 800px;
    }
}
@media(max-width: 1600px){
    .goat{
        width: 600px;
    }
}
@media(max-width: 1200px){
    .container{
        width: 80%;
        margin: 0 auto;
        padding: 0;
    }
}
@media(max-width: 1024px){
    .flex{
        align-items: flex-start;
        justify-content: flex-start;
        column-gap: 10px;
        margin-bottom: 10px;
    }
    .flex img{
        width: 50vw;
    }
    .block{
        width: auto;
    }
    #main{
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 50px;
    }
    p{
        text-align: center;
        font-size: 16px;
    }
    .code{
        font-size: 16px;
        padding: 10px;
    }
    .goat{
        width: 250px;
    }
    .socials{
        justify-content: flex-start;
        position: relative;
        z-index: 3;
    }
}