@font-face {
    font-family: "GT Maru";
    src: url("fonts/GT-Maru-Medium.woff2") format("woff2"),
         url("fonts/GT-Maru-Medium.woff") format("woff");
}

html {
    font-family: 'GT Maru';
    color: #000;
    background-color: #fff;
}

a, a:link, a:hover, a:visited {    
    text-decoration: none;
    color: inherit;
}

.thin-underline {
    border-bottom: 0.5px solid black;
}

p {
    font-size: 24px;
}

.mampf-border {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 3px solid #000000;
    border-radius: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 9px 20px;
}

.mampf-text {
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: -0.25px;
    margin: 0;
    font-weight: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
}

header {
    padding: 0 30px;
    border-bottom: 3px solid #000;
    position: sticky;
    top: 0;
    height: 10vh;
    box-shadow: 0px 5px 20px #00000029;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header-container {
    display: flex;
    height: 50%;
    font-size: 25px;
}

div.header-container:nth-child(2) {
    display: none;
}

#logo {
    width: 100%;
}

article {
    padding: 30px;
    border-bottom: 3px solid #000000;
}

#slogan {
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: -2.4px;
    font-size: 40px;
    margin: 0;
}

#sub-slogan {
    letter-spacing: -0.4px;
    margin: 1em 0 0;
    font-size: 24px;
}

#signup {
    margin: 1em 0;
    letter-spacing: -0.25px;
}

#email {
    display: flex;
}

#email-text, #email-submit {
    padding: 15px 25px;
    border-style: solid;
    border-color: #000;
}

#email-text {
    width: 90%;
    border-width: 3px 0 3px 3px;
    border-radius: 8px 0 0 8px;
}

#email-text::placeholder {
    opacity: 1;
    color: #a2a2a2;
    text-transform: uppercase;
}

#email-submit {
    width: 10%;
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
    border-width: 3px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

#email-submit:hover {
    background-color: #646464;
}

#privacy-policy {
    margin-top: 0.5em;
    display: block;
    position: relative;
    padding-left: 45px;
    margin-bottom: 15px;
    cursor: pointer;
    z-index: 0;
}


#privacy-policy input[type=checkbox] {
    visibility: hidden;
}

#privacy-policy-checkbox {
    border: 3px solid #000000;
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
}

#privacy-policy-checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

#privacy-policy input:checked ~ #privacy-policy-checkbox:after {
    display: block;
}

#privacy-policy #privacy-policy-checkbox:after {
    left: 8px;
    bottom: 5px;
    width: 6px;
    height: 12px;
    border: solid black;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#partners {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

.partner-tile {
    border: 3px solid #000000;
    box-shadow: 0px 5px 20px #00000029;
    border-radius: 8px;
    width: 36%;
    padding: 30px 15px;
    margin: 0 15px 15px 0;
    min-height: 15vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-tile:nth-child(2n) {
    margin-right: 0;
}

.partner-tile img {
    width: 100%;
}

.become-partner {
    text-transform: uppercase;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    text-align: center;
}

.become-partner span {
    color: #fff;
}

footer {
    box-shadow: 0px -5px 20px #00000029;
    text-transform: uppercase;
    padding: 30px;
    font-size: 20px;
}

#imprint {
    font-size: 20px;
}

@media screen and (min-width: 1024px) {
    p {
        font-size: 25px;
    }

    .mampf-border {
        border-radius: 24px;
    }

    header {
        position: static;
        padding: 0 45px;
        height: 175px;
        width: auto;
    }

    article {
        padding: 45px;
    }

    header {
        height: 102px;
    }

    #logo {
        width: auto;
        height: 100%;
    }

    div.header-container:nth-child(2) {
        display: flex;
    }

    #partner {
        height: inherit;
    }

    #partner-btn {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        background-color: #000;
        border: 3px solid #000;
        border-radius: 27px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 25px;
        margin-right: 50px;
        height: inherit;
        transform: scale(1, 1);
        transition: 0.3s;
    }

    #partner-btn:hover {
        transform: scale(1.05, 1.05);
    }

    #partner-text {    
        color: #fff;
        text-transform: uppercase;
        letter-spacing: -0.25px;
    }

    #lang {
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin-top: 35px;
        letter-spacing: -0.25px;
    }

    #lang-arrow {
        transform: rotate(-90deg);
    }

    #lang-link {
        visibility: hidden;
    }

    #lang:hover #lang-link {
        visibility: visible;
    }

    main {
        margin-top: auto;
    }

    #newsletter {
        width: 100%;
    }

    #slogan {
        font-size: 110px;
        letter-spacing: -4.8px;
    }

    #sub-slogan {
        font-size: 38px;
    }

    #signup {
        width: 60%;
        font-size: 25px;
    }

    #email-text {
        width: 70%;
    }
    
    #email-submit {
        width: 30%;
    }

    #partners {
        margin-top: 45px;
    }

    .partner-tile {
        width: 15%;
        min-height: auto;
        padding: 75px 15px;
        margin: 0 45px 45px 0;
    }

    .partner-tile:nth-child(2n) {
        margin: 0 45px 45px 0;
    }

    .become-partner {
        display: none;
    }

    footer {
        font-size: 25px;
        padding: 45px;
        letter-spacing: -0.25px;
        display: flex;
        justify-content: space-between;
    }

    footer p {
        margin: 0;
    }

    #imprint {
        font-size: 25px;
        display: flex;
        border-bottom: 3px solid #000000;
    }

    #imprint-address {
        width: 30%;
        border-right: 3px solid #000000;
    }

    #imprint-policy {
        width: 70%;
    }

    #imprint article:last-child {
        border-bottom: none;
    }
}
