/* <editor-fold desc="Resets/General" */
* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 130%;
    font-family: "Open Sans", sans-serif;
}

address {
    font-style: normal;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    font-weight: bold;
}


.wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1200px;
    width: calc(100% - 40px);
}

h2, h3, h4, h5, h6 {
    margin: 1em 0 0.5em;
}

ul {
    margin: 0.5em 0 1em;
    padding-left: 30px;
}

/* </editor-fold> */
/* <editor-fold desc="Header" */
/* </editor-fold> */
/* <editor-fold desc="Main" */
h1 {
    font-size: 2rem;
}

h1 span {
    font-size: 2.5rem;
}

main {
    position: relative;
}

.background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    max-width: 1600px;
    margin: 0 auto;
}

.overlay-text {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    line-height: 1;
    font-size: 2.1em;
}

.content-page {
    margin: 40px 0;

    div {
        margin: 20px 0;
    }

    img {
        margin: 20px 0;
    }
}

/* </editor-fold> */
/* <editor-fold desc="Footer" */
.footer {
    position: relative;
    color: white;
    background-color: #f7a940;
    padding: 30px 0;
    margin-bottom: 20px;
}

.footer a {
    color: white
}

.footer .footer__main {
    display: flex;
    grid-gap: 40px;
    justify-content: space-between;
}

.footer .footer__content-wrapper {
    margin: 0 120px;
}

.icon {
    height: 35px;
    margin: 0 auto 20px;
}

nav {
    text-align: right;
    margin-top: 10px;
    margin-left: auto;
}

/* </editor-fold> */
/* <editor-fold desc="Homepage" */
.homepage {
    display: grid;
    grid-template-rows: max-content minmax(500px, 1fr) max-content;
    height: 100vh;
    color: white;
}

.homepage .footer {
    margin-top: -100px;
}

.homepage h1 {
    text-shadow: 0 0 5px #0000006b;
}

/* </editor-fold> */

/* open-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@media screen and (max-width: 960px) {
    .footer .footer__main {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav {
        text-align: center;
    }

    .icon {
        height: 25px;
        margin-bottom: 10px;
    }

    .footer .footer__content-wrapper {
        margin: 0 20px;
    }
}

@media screen and (max-width: 520px) {
    .overlay-text {
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
    }

    h1, h1 span {
        font-size: 1.5rem;
    }

    html {
        font-size: 80%;
    }
}