@font-face {
    font-family: "Lato";
    font-weight: 100;
    font-style: normal;
    src: url(/assets/fonts/lato/lato-thin-webfont.woff2);
}
@font-face {
    font-family: "Lato";
    font-weight: 100;
    font-style: italic;
    src: url(/assets/fonts/lato/lato-thinitalic-webfont.woff2);
}
@font-face {
    font-family: "Lato";
    font-weight: 300;
    font-style: normal;
    src: url(/assets/fonts/lato/lato-light-webfont.woff2);
}
@font-face {
    font-family: "Lato";
    font-weight: 300;
    font-style: italic;
    src: url(/assets/fonts/lato/lato-lightitalic-webfont.woff2);
}
@font-face {
    font-family: "Lato";
    font-weight: 400;
    font-style: normal;
    src: url(/assets/fonts/lato/lato-regular-webfont.woff2);
}
@font-face {
    font-family: "Lato";
    font-weight: 400;
    font-style: italic;
    src: url(/assets/fonts/lato/lato-italic-webfont.woff2);
}
@font-face {
    font-family: "Lato";
    font-weight: 700;
    font-style: normal;
    src: url(/assets/fonts/lato/lato-bold-webfont.woff2);
}
@font-face {
    font-family: "Lato";
    font-weight: 700;
    font-style: italic;
    src: url(/assets/fonts/lato/lato-bolditalic-webfont.woff2);
}
@font-face {
    font-family: "Lato";
    font-weight: 900;
    font-style: normal;
    src: url(/assets/fonts/lato/lato-black-webfont.woff2);
}
@font-face {
    font-family: "Lato";
    font-weight: 900;
    font-style: italic;
    src: url(/assets/fonts/lato/lato-blackitalic-webfont.woff2);
}
@font-face {
    font-family: "Caniago";
    font-weight: 400;
    font-style: normal;
    src: url(/assets/fonts/caniago/caniago-regular.woff2);
}
@font-face {
    font-family: "Caniago";
    font-weight: 400;
    font-style: italic;
    src: url(/assets/fonts/caniago/caniago-italic.woff2);
}

:root {
    --lightpink: #FDEBE7;
    --pink: #FCD8D0;
    --orange: #FF9E1B;
    --text-black: #000000;

    --font-caniago: "Caniago", serif;
    --font-lato: "Lato", sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

body {
    font-family: var(--font-lato);
    font-weight: 300;
    max-width: 90rem;
    margin: 0 auto;
}

.holidays {
    padding: 1rem;
    background: var(--orange);
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

.header {
    background-color: var(--lightpink);
}

.header .logo {
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 25px;
    width: 60%;
    min-width: 220px;
    max-width: 750px;
}

.header .logo img {
    width: 100%;
}

.header nav {
    padding-bottom: 35px;
}

.header ul {
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    max-width: 550px;
}

.header li {
    list-style-type: none;
}

.header li a {
    font-family: var(--font-lato);
    color: black;
    text-decoration: none;
    font-size: 16px;
}

.footer {
    background-color: var(--orange);
    padding: 50px;
    font-size: 16px;
    font-family: var(--font-lato);
    display: flex;
    gap: 50px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 40rem) {
    .footer {
        flex-direction: row;
        align-items: flex-start;
    }
}

.footer > div {
    flex: 1;
    max-width: 250px;
    width: 100%;
}

.footer .footer-heading {
    font-size: 24px;
}

.footer p:first-of-type {
    margin: 8px 0px;
}

.footer p + p {
    margin: 18px 0px;
}

.footer a {
    color: black;
}

.footer .socials a {
    text-decoration: none;
}

.footer .socials img {
    height: 30px;
    margin-right: 10px;
}

.sr-only {
    overflow: hidden !important;
    position: absolute !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    width: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    white-space: nowrap !important;
}

.subheadline {
    font-family: var(--font-caniago);
    font-weight: 100;
    text-transform: uppercase;
    /* TODO: caniago hat eigentlich ligaturen, nachschauen ob die gut aussehen wenn man sie aktivieren würde */
    /* font-variant-ligatures: none; */
    margin: 0;

    font-size: 32px;
    padding-top: 32px;
    padding-left: 16px;

    max-width: 1040px;
    margin: 0 auto;
}
