@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Wittgenstein:ital,wght@0,400..900;1,400..900&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #368B88;
}

a {
    color: #BAF1CA;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 5px;
}

header {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-family: "Inter", system-ui;
    font-weight: 900;
    color: #BAF1CA;
}

h1 {
    font-size: 1.5em;
    font-family: "Inter", system-ui;
    font-weight: 900;
    color: #BAF1CA;
}

bk {
    font-family: "Wittgenstein", serif;
    font-weight: 700;
    color: #BAF1CA;
    font-size: 0.8em;
    align-items: center;
    position: absolute;
    text-decoration: underline;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.grid-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.category {
    margin-bottom: 5px;
}

.category h2 {
    font-size: 1.5em;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.category ul {
    list-style-type: none;
    padding: 0;
}

.category ul li {
    margin: 5px 0;
    font-family: "Wittgenstein", serif;
    font-weight: 700;
    color: #BAF1CA;
    font-size: 0.9em;
}

.category m {
    color: #FDD2C2;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr; /* Stack grid items vertically */
    }

    .grid-item {
        display: block; /* Ensure items stack vertically */
        margin-bottom: 20px; /* Space between stacked items */
    }

    .category h2 {
        font-size: 1.2em; /* Adjust header size on mobile */
    }

    .category ul li {
        font-size: 1em; /* Adjust font size of list items on mobile */
    }

    bk {
        position: static; /* Reset fixed positioning on mobile */
        margin-top: 20px; /* Space from the top */
        text-align: center; /* Center align text on mobile */
    }
}
