@keyframes bigAndSmall {
    0% {
        font-size: 40px;
    }
    50% {
        font-size: 37px;
    }
    100% {
        font-size: 40px;
    }
}

@keyframes smallToBig {
    0% {
        font-size: 5px;
    }
    100% {
        font-size: 70px;
    }
}

@keyframes smallToBigP {
    0% {
        font-size: 5px;
    }
    100% {
        font-size: 20px;
    }
}

@keyframes linGradAnimation {
    0% {
        background-position:10% 0%;
    }
    50% {
        background-position:91% 70%;
    }
    100% {
        background-position:10% 0%
    }
}

body{
    background: linear-gradient(60deg, rgb(61, 6, 6),rgb(43, 3, 36), rgb(5, 4, 44));
    background-size: 200% 200%;
    animation: linGradAnimation 20s infinite;
    animation-direction: alternate;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
}
.initial-page-title{
    text-transform: uppercase;
    font-size: 70px;
    color: red;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}
.initial-page-text{
    text-align: center;
    line-height: 1.2;
    width: 80%;
    margin: 10px auto;
    color: rgb(188, 209, 0);
    font-size: 30px;
    top: 20px;
}
.inGameSquares{
    display:inline-block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    z-index: 0;
    background-color: rgb(11, 48, 13);
}
.bg-body{
    background: radial-gradient(transparent 0, transparent 80%, rgb(11, 48, 13) 90%);
}
.bg-green{
    background-color: green;
}
.bg-strawberry{
    background-image: url('../imgs/strawberry.png');
    background-size: contain;
}
.press-any-key{
    position: absolute;
    width: 100%;
    height: 3.7%;
    padding-top: 25px;
    margin: 0;
    text-align: center;
    color: rgb(54, 145, 219);
    text-transform: uppercase;
    font-size: 40px;
    animation: bigAndSmall 1s infinite;
    background-color: rgb(11, 48, 13);
}
.game-over-text{
    position: absolute;
    width: 100%;
    text-align: center;
    color: rgb(236, 4, 4);
    text-transform: uppercase;
    font-size: 70px;
    animation: smallToBig 1s;
}
.game-over-p{
    font-size: 0;
    position: absolute;
    bottom: 190px;
    width: 100%;
    text-align: center;
    animation-name: smallToBigP;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}
.display-buttons{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    position: absolute;
    bottom: 70px;
}
.screen-buttons{
    width: 25%;
    height: 50px;
    font-size: 20px;
    border-radius: 10px;
    border: 3px solid black;
    font-weight: bold;
    background-color: rgb(255, 255, 255);
    transition: all .3s;
    cursor: pointer;
}
.screen-buttons:hover{
    background-color: rgb(255, 255, 255);
    border: 3px solid rgb(41, 4, 4);
    box-shadow: 0px 0px 10px rgb(41, 4, 4);
    color: rgb(41, 4, 4);
}

#game-screen{
    width: 800px;
    height: 400px;
    margin: auto;
    background-color: rgb(11, 48, 13);
    margin-top: 100px;
    position: relative;
    border: 4px rgb(0, 0, 0) solid;
    box-shadow: 0px 0px 15px rgb(0, 0, 0);
}

.white {
    color: white;
    border-radius: 50%;
}

.icon {
    font-size: 4rem;
    color: white;
    cursor: pointer;
    transition: all .3s;
    border-radius: 50%;
}

.icon:hover {
    color: rgba(255, 255, 255, 0.7);
}

.guerrilla {
    font-family: "Protest Guerrilla", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1.5px;
}

.content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 32px;
}

.text-container {
    display: flex;
    width: 600px;
    justify-content: space-evenly;
}

.dev {
    font-size: large;
}

.border-bottom {
    position: relative;
    padding-bottom: 5px;
}

.border-bottom::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: white;
    width: 100%;
    transform: scaleX(0);
    margin-top: 5px;
    transition: transform .5s ease-in-out;
    transform-origin: bottom right;
}

.border-bottom:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}