body {
    margin: auto;
    width: 70%;
    background-color: #4576b7;
    padding-bottom: 10rem;
}

header {
    margin-top: 150px;
}

@font-face {
    font-family: 'ABCDiatypeEduRegular';
    src: url('ABCDiatypeEdu-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-size: 4.5em;
    color: #ffffff;
    font-family: 'ABCDiatypeEduRegular', sans-serif;
    font-weight: 800;
    font-style: normal;
    line-height: 1em;
}

h2 {
    font-size: 3em;
    color: #ffffff;
    font-family: 'ABCDiatypeEduRegular', sans-serif;
    font-weight: 200;
    font-style: normal;
    line-height: 1em;
}

h3 {
    font-size: 1.5em;
    color: #ffffff;
    font-family: "articulat-cf", sans-serif;
    font-weight: 400;
    font-style: normal;
}

p {
    font-size: clamp(1.3em, 2vw, 1.8em);
    color: #ffffff;
    font-family: 'ABCDiatypeEduRegular', sans-serif;
    font-style: normal;
}

li {
    font-size: 1.8em;
    color: #ffffff;
    font-family: "articulat-cf", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a {
    color: #eb1deb;
}

img {
    margin-top: 2em;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.center {
    margin: auto;
}

#center {
    margin: auto;
    width: 25%;
}

.body {
    margin-bottom: 3em;
}

.columns {
    columns: auto 3;
    gap: 5rem;
}

.back-to-home-btn {
    font-family: "articulat-cf", sans-serif;
    font-weight: bold;
    padding: 10px 20px;
    text-decoration: none;
    color: #ffffff;
    border-style: solid;
    border-radius: 25px;
    background-color: rgba(219, 52, 52, 0);
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-home-btn:hover {
    color: #6d94f9;
    background-color: #ffffff;
}

.note {
    font-size: clamp(1.2em, 1vw, 1.6em);
    color: #ffffff;
    font-family: 'ABCDiatypeEduRegular', sans-serif;
    font-style: italic;
    font-weight: 100;
}

/* --- Responsive adjustments for smaller screens --- */
@media (max-width: 768px) {
    body {
        width: 90%;
        padding: 2rem 1rem 6rem 1rem;
    }

    header {
        margin-top: 100px;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.2em;
    }

    p,
    li {
        font-size: 1.2em;
    }

    .columns {
        columns: 1;
        gap: 2rem;
    }

    #center {
        width: 90%;
    }
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 3rem auto;
    padding: 0 1rem;
    text-align: center;
}