/* Normalize.css 8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
   ========================================================================== */
body {
    margin: 0;
}
/* Grouping content
   ========================================================================== */
hr {
    height: 0; /* 1 */
    color: inherit; /* 2 */
}
/* Text-level semantics
   ========================================================================== */
abbr[title] {
    text-decoration: underline; /* 1 */
    text-decoration: underline dotted; /* 2 */
}
/* Embedded content
   ========================================================================== */
img {
    border-style: none;
}
/* Forms
   ========================================================================== */
button, input, optgroup, select, textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    line-height: 1.15; /* 3 */
    margin: 0; /* 4 */
}
button, select {
    text-transform: none;
}
button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button; /* 1 */
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}
fieldset {
    padding: 0.35em 0.75em 0.625em;
}
legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 3 */
    max-width: 100%; /* 1 */
    white-space: normal; /* 1 */
}
progress {
    vertical-align: baseline;
}
textarea {
    overflow: auto;
}
[type="checkbox"], [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}
/* Interactive
   ========================================================================== */
details {
    display: block;
}
summary {
    display: list-item;
}
/* Misc
   ========================================================================== */
[hidden] {
    display: none;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    min-height: 100%;
}

/* Write your styles below */
body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    background: url('images/bg.jpg') no-repeat center top;
    background-size: cover;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    margin: 0 auto;
    width: 100%;
    max-width: 720px;
    padding: 15px;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    text-align: center;
}

h1 {
    margin: 0 0 20px;
}

h2 {
    margin: 0 0 50px;
    font-size: 43px;
    line-height: 51px;
    font-weight: normal;
}

main {
    border-top: 1px #000 solid;
    border-bottom: 1px #000 solid;
    padding: 50px 0 10px;
}

main ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

main ul li {
    display: inline-block;
    margin: 0 18px 40px;
    list-style: none;
}

main ul li a {
    color: #000;
    font-size: 18px;
    line-height: 22px;
    text-decoration: none;
    padding: 6px 0 6px 44px;
}

main ul li a.en {
    background: url('images/earth.svg') no-repeat left center;
}

main ul li a.si {
    background: url('images/si.svg') no-repeat left center;
}

main ul li a.hr {
    background: url('images/hr.svg') no-repeat left center;
}

main ul li a.rs {
    background: url('images/rs.svg') no-repeat left center;
}

main ul li a.mk {
    background: url('images/mk.svg') no-repeat left center;
}

main ul li a.de {
    background: url('images/de.svg') no-repeat left center;
}

main ul li a.cz {
    background: url('images/cz.svg') no-repeat left center;
}

main ul li a.ba {
    background: url('images/ba.svg') no-repeat left center;
}

footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

footer p {
    font-size: 12px;
    line-height: 15px;
}

footer p strong {
    display: block;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    body {
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .container {
        padding: 50px 15px;
    }
    
    h2 {
        margin: 0 0 40px;
        font-size: 33px;
        line-height: 41px;
    }
    
    main ul {
        align-items: center;
    }
    
    main ul li a {
        font-size: 16px;
    }
    
    footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
}