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

* {
    color: white;
    font-family: 'Gluten', cursive;
    margin: 0;
}

html {
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
    background-repeat: no-repeat;
    height: 100vh;
    width: 100vw;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./assets/bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
}

.container {
    max-height: 20rem;
    max-width: 41rem;
    margin-inline: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    padding: 3rem;
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    background-color: rgba(139, 0, 0, 0.26);
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    gap: 1rem;
}

.game-container {
    display: flex;
    padding: .5rem;
    gap: 5rem;
}

.game{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.game-option {
    display: flex;
    gap: 2rem;
}

.btn , .re-start{
    width: 4rem;
    height: 4rem;
    background: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.btn:active, .re-start:active{
    scale: 1.1;
}

.score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.re-start {
    background-position: center;
    background-image: url(./assets/repeat.png);
}

.player {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem;
    width: 6rem;
}

@media screen and (max-width: 816px) {
    .game-container {
        flex-direction: column;
        gap:1rem;
        align-items: center;
    }

    .game-title {
        text-align: center;
    }

    .container {
        min-width: 80%;
        min-height: 80%;
        padding: 1rem;
        margin-inline: 0.5rem;
    }

    .score-container {
        display: flex;
        gap: 10rem;
    }
}

@media screen and (max-width: 456px){
    .score-container{
        gap:5rem;
    }
}