* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
}

body {
    background-color: #330c2f;
    font-family: "Poppins";
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90vh;
}

@media screen and (min-width: 1024px) {
    .container {
        height: 95vh;
    }
}

h1 {
    color: #b7c0ee;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    padding: 2rem;
    padding-top: 0;
    text-align: center;
    font-weight: 500;
}

h2 {
    color: #b7c0ee;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Game */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.box {
    background-color: #cbf3d2;
    border-radius: 15%;
    cursor: pointer;
    font-size: 6rem;
    height: 100px;
    margin: 5px;
    transition: transform 0.4s ease;
    width: 100px;
}

@media screen and (min-width: 1024px) {
    .box:hover {
        transform: scale(1.05);
    }
}

.disabled {
    pointer-events: none;
}

/* Buttons */

button {
    -webkit-focus-ring-color: transparent;
    -webkit-tap-highlight-color: transparent;
    /* This removes the blue highlight or translucent overlay (known as the tap highlight color) that occurs on buttons on mobile screens. */

    outline: 0;
    border: 0;
}

.btn {
    background-color: #b7c0ee;
    border-radius: 1.5rem;
    color: #330c2f;
    cursor: pointer;
    font-size: 2.2rem;
    font-weight: bold;
    padding: 0.8rem 2.5rem;
    transition: background-color 0.4s ease;
}

@media screen and (min-width: 1024px) {
    .btn:hover {
        background-color: #cbf3d2;
    }
}

#reset-btn,
#new-btn {
    margin-top: 5rem;
}

.hide {
    display: none;
}

.msg {
    color: #cbf3d2;
}

/* Select Player Container */

.options {
    display: flex;
    gap: 2rem;
}

.option {
    font-size: 4rem;
}

/* Turn Msg */

#turn-msg {
    margin-top: 1rem;
    font-size: 2.5rem;
    color: #b7c0ee;
}

/* Animation */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animated--0_8s {
    animation: fadeIn 0.7s ease-in;
}

.animated--0_5s {
    animation: fadeIn 0.5s ease;
}

/* Start Game Container */

.start-game__heading {
    margin: 0;
    color: #cbf3d2;
}

#fire-emoji {
    width: 10rem;
    height: 10rem;
}
