*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
    unicode-range: U +0100 -02BA, U +02BD -02C5, U +02C7 -02CC, U +02CE -02D7, U +02DD -02FF, U +0304, U +0308, U +0329, U +1D00 -1DBF, U +1E00 -1E9F, U +1EF2 -1EFF, U +2020, U +20A0 -20AB, U +20AD -20C0, U +2113, U +2C60 -2C7F, U + A720-A7FF;
}

html, body {
    height: 100%;
    font-family: 'DM Sans', sans-serif;
}

body {
    display: flex;
    color: #1a5c20;
    height: 100%;
    flex-direction: column;
    background-color: #f2f2ee;
}

.content {
    flex: 1;
    gap: 28px;
    height: 85%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.logo {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-top: 4em;
}

.choose-country {
    color: #1a5c20;
    margin-top: 2em;
    font-weight: bold;
    letter-spacing: 0.03em;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.panels-wrapper {
    display: flex;
    gap: 20px 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.flags-group {
    display: flex;
    gap: 10px 75px;
    flex-wrap: wrap;
    justify-content: center;
}

.flag-item {
    gap: 6px;
    display: flex;
    color: #1a5c20;
    font-weight: bold;
    font-size: 0.85rem;
    align-items: center;
    flex-direction: column;
}

.flag-item span {
    font-size: 18px;
}

.flag-item a {
    color: inherit;
    text-decoration: none;
}

.site-footer {
    gap: 2em;
    height: 15%;
    display: flex;
    flex-shrink: 0;
    padding: 18px 20px;
    align-items: center;
    justify-content: center;
    background-color: #1c3325;
}

.site-footer img {
    height: auto;
    max-width: 100%;
}

.h-100 {
    height: 100%;
}
.flag-item img {
    width: 75px;
    object-fit: contain;
}
.copyright {
    margin-top: 3em;
    text-align: center;
    color: #2f2d2d;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .content {
        min-height: 85%;
        height: fit-content;
    }
    .site-footer {
        height: 15%;
    }


    .logo {
        width: 60%;
        margin-top: 2em;
        max-width: 350px;
    }
    .choose-country {
        font-size: 1.5em;
    }
    .content {
        gap: 0;
    }
    .flags-group {
        display: block;
    }
    .flag-item {
        margin-top: 2em;
    }
    .copyright {
        max-width: 90%;
        font-size: 12px;
        margin-top: 3em;
        margin-bottom: 2em;
    }
    .flag-item img {
        width: 60px;
    }
}