/* Loading Fonts */

@font-face {
    font-family: 'Nunito';
    src: local('Nunito Light'), local('Nunito-Light'),
        url('public/fonts/Nunito-light.woff2') format('woff2'),
        url('public/fonts/Nunito-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: local('Nunito Regular'), local('Nunito-Regular'),
        url('public/fonts/Nunito-regular.woff2') format('woff2'),
        url('public/fonts/Nunito-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: local('Nunito Bold'), local('Nunito-Bold'),
        url('public/fonts/Nunito-bold.woff2') format('woff2'),
        url('public/fonts/Nunito-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arnold Bocklin MN';
    src: local('Arnold Bocklin MN'), local('ArnoldBocklinMN'),
        url('public/fonts/ArnoldBocklinMN.woff2') format('woff2'),
        url('public/fonts/ArnoldBocklinMN.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: "Nunito", "Arial", sans-serif;
    text-align: center;
    overflow-x: hidden;
}

::selection {
    color: black;
    background: rgba(255, 237, 0, 1.0);
    /* WebKit/Blink Browsers */
}

::-moz-selection {
    color: black;
    background: rgba(255, 237, 0, 1.0);
    /* Gecko Browsers */
}

a {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

a[href^="tel:"] {
    color: black;
    font-weight: 700;
    text-decoration: none;
    margin-top: 0.2rem;
}

a[href^="tel:"]:hover {
    text-decoration: underline;
}

.modal a {
    color: black;
}

.construction-note {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 2.25rem;
    top: 0;
    background: #090523;
    z-index: 2;
}

.construction-note__icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    background: url(public/images/construction-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.construction-note p {
    color: white;
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 25px;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    height: 50vh;
}

.header__logo-braustadel {
    margin-top: 15vh;
}

header .logo {
    display: block;
    width: 212px;
    height: 85px;
    background: url(public/images/haepfenbraeu-logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

h1,
h3 {
    margin: 0;
    padding: 0;
    font-family: 'Arnold Bocklin MN', serif;
    font-weight: 700;
    color: black;
}

h1 {
    font-size: 2rem;
    margin-top: 3vh;
}

h3 {
    font-size: 0.75rem;
    margin-top: 1vh;
}

header p {
    max-width: 33.125rem;
    padding: 0 25px;
}

main {
    position: relative;
    width: 100vw;
    /* height: 50vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10vh;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.75rem;
    width: 19.375rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.btn--purple {
    background: #2F297E;
    margin-top: 8vh;
}

.btn--purple:hover {
    background: #fcec4f;
    color: black;
    text-decoration: none;
}

.btn__email-icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 25px;
}

.btn--purple:hover .btn__email-icon {
    fill: black;
}

.mail-text {
    color: black;
}

.main__telephone-txt {
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 300;
    margin-top: 1vh;
}

.adresse {
    /* position: absolute; */
    /* bottom: 2.25rem; */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 10vh;
    background: #090523;
    color: white;
    border-bottom: 1px solid white;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    /* position: fixed; */
    width: 100vw;
    background: #090523;
    height: 2.25rem;
    color: white;
    font-size: 0.75rem;
    /* bottom: 0; */
    border-bottom: 1px solid white;
}

@media screen and (max-device-width: 768px) {
    header p {
        font-size: 0.75rem;
        margin-top: 4vh;
    }

    .adresse {
        font-size: 0.75rem;
    }
}

@media screen and (orientation: landscape) and (max-device-height: 414px) {
    header {
        width: 50vw;
        height: 100vh;
        justify-content: center;
    }

    .header__logo-braustadel {
        margin-top: -7vh;
    }

    main {
        width: 50vw;
        /* height: 100vh; */
        justify-content: center;
    }

    header p {
        font-size: 0.75rem;
        margin-top: 4vh;
    }

    .adresse {
        font-size: 0.75rem;
    }

    .header-main-flex {
        display: flex;
    }


}

/* ------------------------------------------
  MODAL FORMATTING
--------------------------------------------- */

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 2.25rem auto;
    padding: 50px;
    width: 1024px;
    color: black;
    font-size: 1em;
}

@media screen and (max-width: 768px) {

    /* Modal Content/Box */
    .modal-content {
        width: 84%;
        font-size: 0.75rem;
        padding: 25px 25px;
    }
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 1.75rem;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* The Close Button */
.close-data {
    color: #aaa;
    float: right;
    font-size: 1.75rem;
    font-weight: bold;
}

.close-data:hover,
.close-data:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Hinweis */

.note-wrapper {
    text-align: center;
    color: black;
    width: 100%;
    background: #F4F4F4;
    padding: 15px 25px;
    margin-bottom: 50px;
}

.note-wrapper p {
    margin: 0;
    padding: 0;
}


.sternchen-txt {
    font-size: 0.75rem;
    padding-top: 0.rem !important;
}

@media screen and (max-device-width: 768px) {
    .adresse {
        position: relative;
        bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw;
        height: 10vh;
        background: #090523;
        color: white;
        border-bottom: 1px solid white;
    }

    footer {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100vw;
        background: #090523;
        height: 2.25rem;
        color: white;
        font-size: 0.75rem;
        bottom: 0;
        border-bottom: 1px solid white;
    }


}

#copyright {
    font-size: 0.75rem;
    color: white;
    text-align: center;
    text-decoration: none;

    background: #312783;
    padding: 15px 0px;
}

#copyright a,
#copytight a:link,
#copyright a:visited {
    color: white;
    text-decoration: none;
}

#copyright a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    #copyright {
        font-size: 0.625rem;
        padding: 15px 0;
    }
}
