@font-face {
    font-family: 'MessinaSans-Regular';
    src:  url('../fonts/MessinaSans-Regular.eot');
    src:  url('../fonts/MessinaSans-Regular.eot#iefix') format('embedded-opentype'),
    url('../fonts/MessinaSans-Regular.ttf') format('truetype'),
    url('../fonts/MessinaSans-Regular.woff') format('woff'),
    url('../fonts/MessinaSans-Regular.svg##{$garnett-light-font-family}') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MessinaSerif-Regular';
    src:  url('../fonts/MessinaSerif-Regular.eot');
    src:  url('../fonts/MessinaSerif-Regular.eot#iefix') format('embedded-opentype'),
    url('../fonts/MessinaSerif-Regular.ttf') format('truetype'),
    url('../fonts/MessinaSerif-Regular.woff') format('woff'),
    url('../fonts/MessinaSerif-Regular.svg##{$garnett-light-font-family}') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background: #15375D;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
}
body * {
    font-family: 'MessinaSans-Regular', serif;
    line-height: 33px;
}

header {
    height: 230px;
}

header .logo {
    width: 191px;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    top: 45px;
}

h1 {
    font-size: 131px;
    line-height: 111px;
    color: #C29345;
    font-family: 'MessinaSerif-Regular', sans-serif;
    margin-bottom: 60px;
    margin-top: 60px;
    position: relative;
    left: calc(100vh / 3);
}
section .contentArea {
    position: relative;
    left: calc(100vh / 2);
    padding-left: 60px;
    margin-bottom: 100px;
}
/* Both buttons share one grid track, so they end up as wide as the longer label
   ("Online Tisch reservieren") without hardcoding a width. The grid replaces the
   former `position: relative; top: 60px` offset with a real margin. */
.contentBtns {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    width: max-content;
    gap: 20px;
    margin-top: 60px;
}
.contentBtn {
    color: #15375D;
    background: #C29345;
    border-radius: 8px;
    padding: 5px 13px;
    text-decoration: none;
    font-family: 'MessinaSans-Regular', serif;
    font-weight: bold;
    font-size: 14px;
    line-height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.contentBtn:hover {
    color: #15375D;
}
p {
    font-size: 25px;
    color: #ffffff;
    position: relative;
}

.checkered {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: calc(100vh / 2);
}

.checkered #openingBadge {
    position: absolute;
    width: calc(100vh / 3);
    right: 10vh;
    bottom: 18vh;
}

.box {
    background: transparent;
    border: 1px solid #fff;
    border-left: 0;
    border-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100vh / 8);
    height: calc(100vh / 8);
}

footer {
    position: relative;
    left: calc(100vh / 2);
    padding-left: 60px;
    margin-bottom: 60px;
}

footer p {
    color: #C29345;
    font-size: 20px;
}
footer a {
    font-size: 20px;
    color: #C29345;
    margin-left: 0;
    text-decoration: none !important;
}
footer a:hover {
    color: #ffffff;
}
.bottomArea {
    display: flex;
    align-items: center;
}
.bottomLeft {
    margin-top: 60px;
}

.bottomLeft img {
    margin-right: 60px;
    height: 47px;
}
.bottomLeft a:last-of-type img {
    margin-right: 0;
}
.bottomLeft a {
    text-decoration: none;
    font-size: 0;
}

.bottomRight {
    margin-top: 60px;
    margin-left: 120px;
}
.bottomRight .socialMedia img{
    width: 20px;
}

.bottomRight .socialMedia img:first-of-type {
    margin-right: 15px;
}
.bottomRight .privacy a {
    color: white;
    font-size: 10px;
    line-height: 23px;
}
.bottomRight .privacy a:first-of-type {
    margin-right: 20px;
}
#openingBadgeMobile {
    display: none;
}
#goToTop {
    display: none;
}
.mobileBorder {
    display: none;
}
@media screen and (max-width: 1025px) {
    .mobileBorder {
        width: 100%;
        margin: 60px auto 0;
        height: .8px;
        background: white;
        display: block;
    }
    #goToTop {
        display: block;
        margin: 0 0 40px;
    }
    #goToTop img {
        border-radius: 50%;
        border: 1px solid white;
        padding: 15px;
        width: 54px;
        height: 54px;
    }
    .hideOnMobile {
        display: none;
    }
    .checkered {
        position: absolute;
        width: 100%;
    }
    .box {
        width: calc(100vw / 8);
        height: calc(100vw / 8);
    }

    header .logo {
        width: 201px;
        top: 135px;
    }


    body {
        background: #15375D;
        min-height: 100vh;
        margin: 0;
        overflow-x: hidden;
        display:flex;
        flex-direction:column;
        justify-content: space-between;
        padding: 30px;
    }
    body * {
        line-height: 27px;
    }

    h1 {
        font-size: 75px;
        line-height: 69px;
        margin-bottom: 60px;
        margin-top: 80px;
        position: relative;
        left: 0;
    }
    #openingBadgeMobile {
        width: 200px;
        float: right;
        display: block;
        position: relative;
        top: -10px;
        right: 30px;
    }
    p {
        font-size: 20px;
        line-height: 27px;
    }

    .contentBtns {
        grid-auto-flow: row;
        width: 100%;
        gap: 15px;
        margin-top: 30px;
    }

    section .contentArea {
        position: unset;
        left: 0;
        padding-left: 0;
        margin-bottom: 30px;
        width: 100%;
        margin-top: 150px;
    }

    .checkered #openingBadge {
        display: none;
    }

    footer {
        position: relative;
        left: 0;
        padding-left: 0;
        margin: 60px 0 15px;
        text-align: center;
    }

    footer p {
        color: #C29345;
        font-size: 20px;
    }
    footer a {
        font-size: 20px;
        color: #C29345;
        margin-left: 0;
        text-decoration: none !important;
    }
    footer a:hover {
        color: #ffffff;
    }
    .bottomArea {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .bottomLeft {
        margin-top: 60px;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .bottomLeft img {
        margin-bottom: 50px;
        margin-right: 0;
    }

    .bottomRight {
        margin-top: 0px;
        margin-left: 0;
    }

    .bottomRight .socialMedia img{
        width: 20px;
    }

    .bottomRight .socialMedia img:first-of-type {
        margin-right: 15px;
    }
    .bottomRight .privacy a {
        color: white;
        font-size: 10px;
        line-height: 23px;
    }
    .bottomRight .privacy a:first-of-type {
        margin-right: 20px;
    }
}