@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    font-family: "Ubuntu", sans-serif;
}

body {
    background: linear-gradient(to right, #4b5d70, #4e637a);
}

.space {
    padding: 50px;
}

.gameContainer {
    display: grid;
    grid-template-rows: repeat(3, 280px);
    grid-template-columns: repeat(6, 200px);
    gap: 20px;
    margin-left: 300px;
    margin-top: 30px;
    z-index: 2;
    /* background-color: white; */
    margin-bottom: 20px;
}

.card {
    /* background-color: red; */
    padding: 20px;
    cursor: pointer;
    transition: transform .3s ease-in-out;
    background-image: url("../imgs/minigame/behind.png");
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 10px 10px 10px black;
    z-index: 1;
}

.card:hover {
    transform: scale(1.05);
}

.centered {
    margin-top: 20px;
    text-align: center;
}

.centered button {
    padding: 20px;
    font-size: 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background-color: #75b9fd;
    color: green;
    transition: transform .2s ease-in-out;
    box-shadow: 3px 5px 5px black;
}

.centered button:hover {
    transform: translateY(-3px);
}

#advise {
    color: yellow;
    text-transform: uppercase;
    margin-top: 10px;
    text-shadow: 5px 2px 2px black;
}

.title {
    text-align: center;
    color: red;
    margin-bottom: 30px;
    margin-top: 20px;
    text-shadow: 5px 2px 2px black;
}

.popup {
    z-index: 1;

    padding: 50px;
    background-image: linear-gradient(to right, purple, fuchsia);
    box-shadow: 10px 10px 10px black;

    text-align: center;
    border-radius: 6px;

    position: absolute;
    bottom: 0;
    margin-left: 720px;
    margin-bottom: 300px;

    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity .3s linear;
}

.popup button {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgb(44, 182, 182);
    padding: 6px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.popup h1,
.popup p {
    color: white
}