* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

h1 {
    margin: 20px 0;
    color: #333;
    font-size: 32px;
    text-align: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item a {
    --bg1-color: #46a2dd;
    --bg2-color: #367dab;
    --text-color: white;

    text-decoration: none;

    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;

    color: var(--text-color);
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(26, 26, 26, .2);

    background: linear-gradient(180deg, var(--bg1-color), var(--bg2-color)) no-repeat top left;
    background-size: cover;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.grid-item a:hover {
    transform: scale(1.025);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.grid-item.--pb a {
    --bg1-color: #6bcbe7;
    --bg2-color: #5cb8cf;
}
.grid-item.--hal a {
    --bg1-color: #258b3f;
    --bg2-color: #1a612b;
}
.grid-item.--suroit a {
    --bg1-color: #c58ac2;
    --bg2-color: #855182;
}