@import url('https://fonts.googleapis.com/css2?family=Domine:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@900&display=swap');


* {
    user-select: none;
    box-sizing: border-box;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Domine', serif;
    transition: .5s all;
}

body,
html {
    height: 100%;
    margin: auto;
}

body {
    background-image: url(../img/background.gif);
    background-position: center;
    background-color: black;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;

}

#mainStartingContent {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    width: auto;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.555);
}

h1 {
    position: absolute;
    top: 200px;
    font-size: 50px;
    color: white;
    text-shadow: 2px 2px 2px red;
    text-align: center;
}

#play {
    background-color: transparent;
    border: 1px solid transparent;
    color: white;
    padding: 20px;
    text-align: center;
    margin: auto;
    transition: .5s ease;
    cursor: pointer;
    font-size: large;
    border-radius: 1em;
    text-shadow: 2px 2px 2px red;
}
#doomPlay a{
    background-color: black;
    border: 1px solid white;
    color: white;
    padding: 20px;
    text-align: center;
    margin: auto;
    transition: .5s ease;
    cursor: pointer;
    font-size: large;
    border-radius: 1em;
    text-shadow: 2px 2px 2px red;
    position: absolute;
    top: 100px;
    left: 100px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
}

#quote {
    font-size: large;
    text-shadow: 2px 2px 2px red;
    margin: auto;
    color: white;
    position: absolute;
    bottom: 175px;
    width: 500px;
    text-align: center;
}

#subheadline {
    font-size: large;
    text-shadow: 2px 2px 2px red;
    margin: auto;
    color: white;
    position: absolute;
    bottom: 50px;
    width: 500px;
    text-align: center;
}
a{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}
 #krtekimg {
    width: 200px;
    height: 200px;
    display: block;
    position: absolute;
    top: 0;
    padding: 0;
    margin: 0;
    transition: .5s;
}
  #krtekimg:hover #clickOnMe{
    display: none;
    transition: .5s;
  }
#clickOnMe{
    text-shadow: 0 1px 0px red;
    display: block;
    position: absolute;
    left: 400px;
    top: 100px;
    height: 50px;
    text-align: center;
    width: 180px;
    background: white;
    color: black;
    animation: pulse infinite 1000ms ease-in-out;
    padding: 1em;
    border-radius: 10px;
    transition: .5s;
    cursor: default;
}
#clickOnMe:hover{
    display: none;
    opacity: 0;
    transition: .5s;
}

#backButton {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: white;
    color: black;
    padding: 1em;
    cursor: pointer;
    transition: .5s ease;
    border: none;
}

#backButton:hover {
    background-color: transparent;
    color: white;
    text-decoration: underline;
}

#play:hover {
    transform: scale(1.5);
    border-radius: 2em;
    border: 1px solid white;
    background-color: rgba(0, 0, 0, 0.49);
}
#doomPlay a:hover{
    transform: scale(1.1);
    border-radius: 2em;
    border: 1px solid rgb(255, 0, 0);
    background-color: rgb(255, 255, 255);
    color: #000;
    text-shadow: none;
}

#scoreText {
    position: absolute;
    top: 50px;
    left: 50px;
    color: white;
    display: none;
    font-size: x-large;
    text-shadow: 0 0 25px red;
}

#speedText {
    position: absolute;
    top: 110px;
    left: 50px;
    color: white;
    display: none;
    font-size: x-large;
    text-shadow: 0 0 25px red;
}

#scoreText span {
    text-shadow: 0 0 25px red;
}

#speedText span {
    text-shadow: 0 0 25px red;
}


#gameArea9x9 {
    padding-top: 82px;
    width: 625px;
    height: 625px;
    display: none;
    gap: 10px;
    flex-wrap: wrap;
    margin: auto;

}

.round {
    height: 200px;
    width: 200px;
    border: 15px solid black;
    border-radius: 50%;
    transition: 0.5s steps(9, end);
    background-color: white;
    animation: pulse infinite 1000ms ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgb(255, 0, 0);
    }

    25% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.250);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.500);
    }

    75% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.750);
    }

    100% {
        box-shadow: 0 0 20px red;
    }
}

.round:hover {
    border: 10px solid black;
    box-shadow: 0 0 20px white;
}


.lunar {
    background-image: url(../img/lunar.png);
    background-size: cover;
    transition: .5s;
    cursor: pointer;
    animation: opacita 1000ms linear infinite;
}

@keyframes opacita {
    100% {
        opacity: 0.1;
    }

    75% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.5;
    }

    25% {
        opacity: 0.7;
    }

    0% {
        opacity: 1;
    }
}



.lunar:hover {
    background-color: red;
    opacity: 1;
    transform: rotate(2deg);

}

#musicButton {
    bottom: 10px;
    left: 10px;
    position: absolute;
    border: 1px solid black;
    background-color: white;
    color: black;
    border-radius: 1em;
    padding: 1em;
    cursor: pointer;
    transition: .5s;
}

#musicButton:hover {
    background-color: black;
    border: 1px solid white;
    color: white;
}