html, body {
    margin: 0;
    height: 100%;
    color: white;
    font-family: Arial, sans-serif;
}

a {
    color: white;
    text-decoration: none;
}

/* BACKGROUND */
.background {
    position: fixed;
    inset: 0;
    background-image: url('img/minecraft.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;

    animation: yo 30s infinite;
}

@keyframes yo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* MENU */
.Maliven {
    position: relative;
    z-index: 3;

    padding: 2vh 3vh;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-weight: bold;
    font-size: 3vh;
    font-family: 'Asimovian', sans-serif;
    overflow: visible;

    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.Maliven::before {
    content: "";
    position: absolute;

    top: 100%;
    left: -20vw;

    width: 120vw;
    height: 4vh;

    pointer-events: none;
}


/* LOGO */
.ZaObrazovkou {
    display: flex;
    justify-content: center;
    margin-top: 6vh;
}

.ZaObrazovkouLogo {
    width: 24vw;
    height: auto;

    filter: drop-shadow(0 0 25px rgba(0, 0, 0, 0.5));
    z-index: 10;
}

/* TEXT */
.rok {
    text-align: center;
    font-size: 2vh;
    margin-top: 3vh;
    position: relative;

    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

/* GRID */
.Grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 250px));

    gap: 2vh 3vw;

    justify-content: center;

    padding: 4vh;
    margin-top: 5vh;

    position: relative;
    z-index: 2;
}

/* BUTTONS */
.card {
    border: 2px solid white;
    border-radius: 10px;

    padding: 1.5vh 2vw;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 4vh;

    text-align: center;
    font-size: 1.8vh;

    cursor: pointer;

    transition: 0.3s;

    backdrop-filter: blur(4px);

    box-shadow:
        0 0 15px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(0, 0, 0, 0.1);

    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.card:hover {
    background: white;
    color: black;

    transform: scale(1.05);

    box-shadow:
        0 0 20px rgba(255,255,255,0.7),
        0 0 40px rgba(255,255,255,0.4);
}

/* ===================== */
/* 📱 RESPONSIVE */
/* ===================== */

/* TABLET */
@media (max-width: 900px) {

    .Grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 3vh;
    }

    .ZaObrazovkouLogo {
        width: 40vw;
    }

    .Maliven {
        font-size: 2.2vh;
    }
}

/* MOBILE */
@media (max-width: 600px) {

    .Grid {
        grid-template-columns: 1fr;
        gap: 2vh;
    }

    .card {
        width: 80%;
        margin: 0 auto;

        font-size: 2vh;
        padding: 2vh;
    }

    .ZaObrazovkouLogo {
        width: 60vw;
    }

    .rok {
        font-size: 1.8vh;
    }

    .Maliven {
        flex-direction: row;
    }
}