@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&family=Trispace:wght@200&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*body universal flexbox settings*/

body {
    min-height: 100dvh;
    background-image: url("../images/background.jpg");
    background-size: cover;
    font-family: "Triscape", sans-serif;
    color: white;
    text-shadow: -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    ;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    height: 100vh;
    justify-content: center;
}

/*main and game area*/
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

h3 {
    height: 20dvh;
    display: flex;
    flex-direction: column-reverse;
}

#game-area {
    margin-top: 2dvh;
    display: inline-flex;
    flex-wrap: wrap;
}

/* planets and button style*/

button {
    border: #fdcdab;
    border-style: solid;
    font-size: 1em;
    text-decoration: solid;
    color: #fdcdab;
    padding: 30px;
    background-color: #0a3b4f;
    margin-top: 5dvh;
    border-radius: 30%;
    font-style: oblique;
}

button:hover {
    transform: scale(1.2);
}

#planet1 {
    background: url(../images/planet1.jpg);
    background-size: cover;
}

#planet2 {
    background: url(../images/planet2.jpg);
    background-size: cover;
}

#planet3 {
    background: url(../images/planet3.jpg);
    background-size: cover;
}

.planets {
    height: 200px;
    width: 200px;
    border-radius: 50%;
    margin: 15px;
    position: relative;
}

.planets:hover {
    transform: scale(1.2);
    margin-left: 20px
}

/*cat style*/


.grumpybart {
    background-image: url(../images/grumpycat.png);
    background-size: cover;
    height: 100px;
    width: 100px;
    position: absolute;
    left: 40%;
}

.happybart {
    background-image: url(../images/happycat.png);
    background-size: cover;
    height: 100px;
    width: 100px;
    position: absolute;
    left: 40%;
}

/*score area*/

#score-area {
    margin-top: 2dvh;
}

/*small margin for the rules text*/

#my-rules {
    margin-top: 2dvh;
}

/*footer*/

footer {
    margin-top: auto;
    width: 100%;
    bottom: 0;
    box-sizing: border-box;
    text-align: center;
}

/* media queryes for game area and planet size*/

@media only screen and (max-width: 768px) {
    #game-area {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 5vh;
        transform: none;
    }

    .planets {
        height: 140px;
        width: 140px;
        border-radius: 50%;
        margin: 15px;
    }
}

.not-found {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    flex-direction: column;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7); /* semi-transparent black */
    color: white; /* white text */
    padding: 20px; /* some padding */
    border-radius: 10px; /* rounded corners */
}

.not-found a {
    color: #fdcdab;
}