.header{
    color: rgb(218, 18, 18);
    background-color: rgb(195, 217, 255);
    font-style: oblique;
    font-size: 50px;
    justify-content: center;
    margin: 0;
    padding: 10px;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
}

body{
    margin: 0;
    overflow: hidden;
    background-color: #fff;
}

.grid-container{
    display: grid;
    grid-template-columns: repeat(5, 40px);
    grid-template-rows: repeat(6, 40px);
    margin: 100px;
    padding: 30px ;
    border: 1px;
    border-color: black;
    text-align: center;
    column-gap: 5px;
    row-gap: 5px;
    justify-content: center;
}

.item{
    display: flex;
    padding: 20px;
    color: black;
    border: black 1px solid;
    font-size: 10px;
    align-items: center;
    justify-content: center;
}

.container{
margin-left: 25%;
margin-top: -5%;
}

.row{
    width: 100%;
    height: 60px;
}

.one, .two, .three, .four{
    margin: 0 0 5px 0;
}

button{
    color: black;
    width: 55px;
    height: 55px;
    border: none;
    background-color: rgb(214, 214, 214) ;
    box-shadow: 5px 5px 10px #474343, -5px -5px 10px #fff;
    font-size: 20px;
    margin-left: 5px;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 20%;
}

button:active{
    box-shadow: 1px 1px 2px #fff8f8, -1px -1px 2px #474343;
}

.leer{
    width: 350px;
    border-radius: 10px;
}

.enter{
    width: 100px;  
    border-radius: 10px
}

.backspace{
    width: 100px;
    border-radius: 10px;
}

.other{
    width: 82px;
    border-radius: 10px;
}

.three{
    margin-left: 13.5%;
}

.four{
    margin-left: 17.5%;
}

/*animation richtig*/
@keyframes correct {
    0%{
        background-color: #fff;
    }
    50%{
        background-color: #60ec37
    }
    100%{
        background-color: #1bb214;
    }
}

.correct{
    animation-fill-mode: forwards ;
    animation-name: correct;
    background-color: #fff;
    animation-iteration-count: 1;
    animation-duration: 1.75s;
}

/*animation istDabei*/
@keyframes exists {
    0%{
        background-color: #fff;
    }
    50%{
        background-color: rgb(230, 169, 62);
    }
    100%{
        background-color: #eb981d;
    }
}

.exists{
    animation-fill-mode: forwards;
    animation-name: exists;
    background-color: #fff;
    animation-iteration-count: 1;
    animation-duration: 1.75s;
   }

/*animation nichtDabei*/
@keyframes wrong {
    0%{
        background-color: #fff;
      }
    50%{
        background-color: rgb(167, 151, 151);
       }
    100%{
        background-color: #807c7c;
        }
}

.wrong{
    animation-fill-mode: forwards;
    animation-name: wrong;
    background-color: #fff;
    animation-iteration-count: 1;
    animation-duration: 1.75s;
}


.WinScreen-bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5%);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s;
}
.Winbg-active{
    visibility: visible;
    opacity: 1;
}



.WinScreen{
    color: rgb(97, 11, 11);
    font-family: 'Monserat', sans-serif;
    background-color: rgba(50, 247, 172, 0.953);
    width: 35%;
    height: 30%;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 25px;
}

.LooseScreen-bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5%);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s;
}
.Loosebg-active{
    visibility: visible;
    opacity: 1;
}



.LooseScreen{
    color: rgb(0, 0, 0);
    font-family: 'Monserat', sans-serif;
    background-color: rgba(187, 46, 43, 0.953);
    width: 35%;
    height: 30%;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 25px;
}