* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Calibri;
}
:root{
    --FirstColor:#003f5c;
    --SecondColor:#7a5195;
    --thirdColor:#ffa600;
}
a{text-decoration: none;}
h2,h3,h1{
    margin: 5px;
    color: #FFF;
}
body{
    background:linear-gradient(var(--FirstColor),#000);
}
.container {
    display: grid;
    grid-template-areas: 'header header'
    'left content'
    'footer footer';
    gap: 5px;
    grid-template-rows: 50px auto 25px;
    grid-template-columns: 20% 80%;
    width: 1080px;
    height: 750px;
    margin: 0 auto;
    background: var(--FirstColor)
}
header{
    grid-area: header;
    display: flex;
}
#gameListe{
    display: flex;
    flex-direction: column;
    grid-area: left;
    position: relative;
}
.descGame{
  position: absolute;
  bottom: -80px;
  transition: .7s;
}
.game{
    width: 100%;
    height: 20px;
    overflow: hidden;
    position: relative;
    transition: .7s;
    background:#3A2A2A;
    margin:5px 0 5px 0;
    pointer-events: none;
}
.game a{
    color: #FFF;
    display: inline-block;
    width: 100%;
    background: var(--SecondColor);
    transition: .5s;
    pointer-events: auto;
}
.game a:hover{
    font-size: 1.2rem;
    background: #295B3E;
}
.game:hover{
    height: 80px;
}
#gameListe .game a:hover+div{
    bottom:0
}
#mainContent{grid-area: content;
    display: flex;

}
#logo{
    height: 50px;
    transition: .2s;
    position: relative;
}
#logo:hover{
    transform: scale(2);
}
.highScore_frm{
    position: absolute;
    width: 500px;
    aspect-ratio: 16/9;
    background: #EEA;

}
footer{grid-area: footer;}
button{
    width:100px;
    background: #33B;
    padding: 5px;
    border: 1px solid #FFF;
    border-radius: 5px;
    color: #FFF;
    cursor: pointer;
    transition: .7s;
}
button:hover{background: #335;color: #00B; transform: scale(2);}
._overlay{
    width: 100%;
    height: 100vh;
    position: fixed;
    background: #555A;
    z-index: 10;
    .content {
        width: 425px;
        aspect-ratio: 16/9;
        background: #AAF;
        position: relative;
        left: 25%;
        top: 15%;
        border-radius: 12px;
        box-shadow: 5px 5px 5px #000;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
}
/*floated windows*/
/*._overlay{
    width: 100%;
    height: 100vh;
    position: fixed;
    background: #555A;
    z-index: 10;
}
._overlay .content {
    width: 425px;
    aspect-ratio: 16/9;
    background: #AAF;
    position: relative;
    left: 25%;
    top: 15%;
    border-radius: 12px;
    box-shadow: 5px 5px 5px #000;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}*/
._overlay .content div>input{
    border: none;
    border-radius: 15px;
    font-size: 15pt;
    background: #333A;
    border-bottom: 1px solid #00F;
    color: #FFF;
  /*  transition: .7s;*/
}
._overlay .content div>input:active{
    border-bottom: 2px solid #00F;
}
._overlay .content div>input:focus{
    border: none;
    border-bottom: 2px solid #00F;
}
.adscence{
    position: absolute;
    height: 125px;
    width: 125px;
    z-index: 2;
    bottom: 0;
}
._overlay .content div>label{}
._overlay .content button{align-self: flex-end;}
@media (max-width: 575.98px) { 
    .container{
        width: 100%;
        grid-template-areas: 'header'
        'left '
        'content'
        'footer';
    }
    #mainContent{
        flex-direction: row;
        background-color: azure;
    }
 }
@media (min-width: 576px) { 

 }