/*stylesheet*/
@import "./style_variables.css";
@import "./header.css";
@import "./style_common_class_list.css";
@import "./style_game.css";


/*fonts*/
@font-face {
    font-family: 'VT323R';
    src: url('../fonts/VT323-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Silkscreen';
    src: url('../fonts/Silkscreen-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'SilkscreenBold';
    src: url('../fonts/Silkscreen-Bold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Bahnschrift';
    src: url('../fonts/bahnschrift.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Codehack';
    src: url('../fonts/NightmareCodehack.otf') format('truetype');
    font-display: swap;
}


/*general*/



html {
    font-size: 62.5%;
    font-family: 'Codehack';
    overflow: hidden;
    cursor: default;
    scroll-behavior: smooth;
}

li {
    cursor: pointer;
}

p {font-size: 2rem;}

h1 {
    font-size: 5rem;
    letter-spacing: 0.02em
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2.5rem;
}

body {
    background-color: var(--primary_color);
    font-family: 'VT323R';
    margin: 0;
}

header {
    background-color: var(--tertiary_color);
    color: var(--secondary_txt_color);
    position: fixed;
    top: 0;
    height: 6rem;
    width: 100vw;
    z-index: 10;
}

main {
    background-image: var(--background_main);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: calc(100vh - 6rem);
    margin: 0;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
    border: 1rem solid black;
    
}

section {
    background-color: blue;
}

article {
    background-color: green;
}

footer {
    background-color: blueviolet;
    padding: 2rem;
}

nav {
    background-color: "";
}



/*tablette max*/
@media only screen and (min-width: 1000px) and (max-width: 1367px) {

    #gamediv {
   
            transform: scale(0.8);
        
    }
}


@media only screen and (min-width: 910px) and (max-width: 1000px) {

    #gamediv {
   
            transform: scale(0.7);
        
    }
}


/*tablette min*/
/*Ecran tel / Phone screen */
@media only screen and (max-width: 910px) {


    #gamediv {
        /* font-size: 31.25%; */
        transform: scale(0.7);
    }
}

