:root {
    --background: #FFFFFF;
    --accent-background: #2E6190;
    --primary-text: #000000;
    --secondary-text: #454545;
    --button-text: #ffffff;
    --border-color: #EFAC3A;
    --accent-color: #125A9C;
    --news-list-background: #F1F1F1;
    --youth-background: #204397;
    --boyovi-yanholy-background: #E2DFCC;
    --boyovi-yanholy-button: #332F20;
}

html {
    background: var(--background);
    min-height: 100%;
}

@font-face {
    font-family: "e-Ukraine-Medium";
    src: url("/fonts/e-Ukraine-Medium.ttf") format("opentype");
}

@font-face {
    font-family: "e-UkraineHead-Bold";
    src: url("/fonts/e-UkraineHead-Bold.otf") format("opentype");
}

@font-face {
    font-family: "e-UkraineHead-LOGO";
    src: url("/fonts/e-UkraineHead-LOGO.otf") format("opentype");
}

body {
    display: flex;
    justify-content: center;
    font-family: "e-Ukraine-Medium", sans-serif;
    color: var(--primary-text);
    background: none !important;
}

.accesability-header {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.content {
    margin-top: 70px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 1080px;
}

button {
    border: none;
    border-radius: 0.4rem;
    padding: 0.5rem;
    width: 70%;
    min-width: max-content;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--button-text);
}

button .button-icon {
    display: inline-block;
    height: 1rem;
    padding-right: 0.5rem;
}

.button-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-buttons {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    text-align: center;
    margin-bottom: 0.2rem;
    gap: 1rem;
    max-width: 100%;
    flex-wrap: wrap;
}

.social-buttons a {
    background-color: black;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
    aspect-ratio: 1;
}

.social-buttons a img {
    width: 1rem;
    height: 1rem !important;
    align-self: center;
    margin: 0;
}

@media (max-width: 750px) {
    .content {
        margin-top: 50px;
    }
    
    .social-buttons a {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 1.25rem;
    }

    .social-buttons a img {
        width: 1.5rem;
        height: 1.5rem !important;
    }
    
    .first {
        order: 1;
    }
    
    .second {
        order: 2;
    }
}

@media (max-width: 660px) {
    .content {
        margin-top: 60px;
    }
}

@media (max-width: 400px) {
    p, a {
        font-size: 0.9rem !important;
    }
    
    h1, h2 {
        font-size: 1.1rem !important;
    }
    
    button {
        font-size: 0.9rem;
    }
}