
@font-face {
    font-family: "ArgentFont-italic";
    src: url("font/ArgentPixelCF-Italic.woff") format("woff");
}

@font-face {
    font-family: "ArgentFont-regular";
    src: url("font/ArgentPixelCF-Regular.woff") format("woff");
}

@font-face {
    font-family: "Montreal";
    src: url("font/NeueMontreal-Regular.woff") format("woff");
}

@font-face {
    font-family: "Montreal-Medium";
    src: url("font/NeueMontreal-Medium.woff") format("woff");
}

*{
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

html{
    scroll-behavior: smooth;
}


.ratio{
    display: none;
}

body{
    font-family: "Montreal";
    background-color: black;
    color: white;
    font-size: 12px;
    overflow-x: hidden;
}

header{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    width: 80vw;
    max-width: 1000px;
}

h1{
    font-family: 'ArgentFont-italic';
    font-style: italic;
    font-size: 150px;
    text-align: right;
    line-height: 90px;
    margin-bottom: 50px;
    transform: translateX(100px);
}

header .left{
    width: 30vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    box-sizing: border-box;
}

header .left .intro{
    columns: 2;
    width: 100%;
    text-align:right ;
    padding-right:50px;
    box-sizing: border-box;
}

header button{
    background-color: transparent;
    border: none;
    width: 150px;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform : translateX(-50%);
    z-index: 50;
}

header button img{
    width: 100%;
}

.cursor-anim{
    position: fixed;
    width: 100px;
    height: auto;
    top: 116px;
    left: 30vw;
    animation: cursor-header;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    z-index: 30;
}

@keyframes cursor-header { 
    
0% { top: 80%;
     left: 80%;
     width: 90px;
}

2%{
    width: 100px;
}

37%{
    width: 100px;
}

40% {   top: 15%;
        left: 50%;
        width: 90px; }
      
42%{
    width: 100px;
}

72%{
    width: 100px;
}

75% {
    top: 20%;
    left: 20%;
    width: 90px;
}

77%{
    width: 100px;
}

98%{
    width: 100px;
}

100% { left: 80%;
       top:80%;
    width: 90px; } 
}


header .right{
    width: 30vw;
}

header .right video{
    width: 100%;
}





/* MAIN */


main .item .play{
    background-color: transparent;
    border: none;
    width: 100px;
    z-index: 50;
    margin-top: 20px;
}

#first-game{
    padding-top: 150px;
    box-sizing: border-box;
}

main .item .play img{
    width: 100%;
}

h2{
    font-family: 'ArgentFont-italic';
    font-style: italic;
    font-size: 100px;
    line-height: 80px;
    margin-bottom: 30px;
}




main{
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .item{
    width: 80vw;
    height: auto;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 100px;
}

main .item p{
    columns: 1;
    width: 60%;
    font-size: 12px;
}



/* LEFT */

.item-left h2{
    transform: translateX(-15%);
}

.item-left .left{
    width: 40%;
}

.item-left .left img{
    width: 100%;
}

.item-left .right{
    width: 55%;
}


/* RIGHT */

.item-right H2{
    transform: translateX(18%);
}

.item-right{
    flex-direction: row-reverse;
    text-align: right;
    justify-content: flex-end;
}

.item-right .right{
    width: 40%;
}

.item-right .right img{
    width: 100%;
}

.item-right .left{
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rules{
    height: 100vh;
    width: 100vw;
    display: flex;
    max-width: 1000px;
    position: relative;

}

.rules .item{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateY(-50px);
}

.rules .chiffre{
    font-size: 100px;
    font-family: 'ArgentFont-italic';
    margin-bottom: 40px;
}

.rules .titre{
    font-size: 24px;
    margin-bottom: 30px;
    font-family: 'Montreal-Medium';
    
}

main .rules p{
    columns: 1;
}

.rules .item:nth-child(3) .chiffre{
    font-size: 75px;
    margin-bottom: 65px;
}

.rules button{
    background-color: transparent;
    border: none;
    width: 195px;
    z-index: 50;
    position: absolute;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
}

.rules button img{
    width: 100%;
}





footer{
    width: 100vw;
    height: 100px;
    display: flex;
    background-color: #0f0f0f;
    justify-content: space-evenly;
    align-items: center;
    color: #303030;
}

footer img{
    width: 25px;
}














/* MIN WIDTH */


.ratio{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.ratio img{
    width: 250px;
}

.ratio p{
    font-size: 20px;
    width: 50%;
    text-align: center;
}

@media screen and (max-width:900px){
    header{
        display: none;
    }

    main{
        display: none;
    }


    .ratio{
        display: flex;
    }
}

@media screen and (max-height:700px){
    header{
        display: none;
    }

    main{
        display: none;
    }

    .ratio{
        display: flex;
    }
}