body {
    --height-nav: 5%;
    user-select: none;
}

#leistungen,
#kontakt {
    user-select: text;
}

#start,
#team,
#leistungen,
#kontakt {
    scroll-margin-top: var(--height-nav);
}

body {
    padding: 0px;
    padding-top: var(--height-nav);
    background-image: url('landing.jpg');
    background-size: cover;
    background-position-x: right;
    background-position-y: bottom;
    width: 100vw;
    margin: 0px;
    overflow-x: hidden;
    box-sizing: border-box;
    background-attachment: fixed;
}

nav {
    z-index: 1;
    top: 0px;
    position: fixed;
    height: var(--height-nav);
    width: 100vw;
    justify-content: space-evenly;
    align-items: center;
    display: flex;
    cursor: pointer;
}

nav a {
    background-color: rgb(0 0 0 / 30%);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 24pt;
    text-decoration: none;
    flex: 1;
    text-align: center;
    height: 100%;
    align-content: center;
    transition: padding-top 0.2s;
}

nav a:not(:first-child) {
    border-left: 1px solid white;
}

nav a:hover {
    padding-top: 50px;
    background-color: rgb(0 0 0 / 50%);
    transition: all 0.2s;
}

#start {
    height: 105vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#start .text {
    padding-top: 500px;
    color: white;
    transform: translateY(-125px);
}

#start .text h1 {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 75pt;
    margin: 0px;
}

#start .text h2 {
    text-align: center;
}

.blurred {
    backdrop-filter: blur(10px);
}

#team {
    padding-top: 100px;
    padding-bottom: 150px;
    display: grid;
    grid-template-columns: max-content 1.5fr;
    padding-right: 50px;
}

#team img {
    width: 600px;
    filter: drop-shadow(5px 5px 5px #222);
}

#team .text {
    margin-left: 100px;
    max-width: 650px;
    border-radius: 15px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 10px 15px -3px rgb(0 0 0 / 75%);
}

#team .text .first-line {
    font-size: 20pt;
    font-weight: bold;
    display: inline-block;
}

#leistungen {
    padding: 25px 0px;
}

#leistungen .preisliste {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-areas:
        "fusspflege kosmetik"
        "massage kosmetik";
    gap: 20px;
    justify-content: center;
}

#leistungen .preisliste .box {
    height: max-content;
    border-radius: 15px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 10px 15px -3px rgb(0 0 0 / 75%);
}

#leistungen .preisliste .box .haarentfernung {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#leistungen .preisliste .box.fusspflege {
    grid-area: fusspflege;
}

#leistungen .preisliste .box.massage {
    grid-area: massage;
    margin-top: 45px;
}

#leistungen .preisliste .box.kosmetik {
    grid-area: kosmetik;
}

#leistungen .preisliste .box.kosmetik h3 {
    margin-bottom: 5px;
}

#leistungen .preisliste .box h1 {
    text-align: center;
}

#leistungen .preisliste .box table {
    border-spacing: 20px 5px;
    width: 100%;
}

#leistungen .preisliste .box table td:last-of-type {
    width: 60px;
    white-space: nowrap;
}

#leistungen ul {
    margin: 0px;
    font-size: 20pt;
    color: white;
    padding-left: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}

#kontakt {
    padding-top: 10px;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 100px;
}

#kontakt .map {
    border: 0px;
    margin-left: 50px;
    filter: drop-shadow(rgb(34, 34, 34) 5px 5px 5px);
}

#kontakt .info {
    font-size: 20pt;
    color: white;
    padding-left: 50px;
}

#kontakt .info .header {
    font-size: 30pt;
    margin-bottom: 25px;
}

#kontakt .info .email, #kontakt .info .tel {
    display: inline-block;
    background-color: #006d35;
    color: white;
    padding: 10px;
    border-radius: 15px;
    text-decoration: none;
    filter: drop-shadow(rgb(34, 34, 34) 5px 5px 5px);
}

#kontakt .info .zeiten {
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 10px 15px -3px rgb(0 0 0 / 75%);
    display: inline-block;
    margin-top: 100px;
    font-size: 24pt;
    color: black;
    padding: 30px;
    border-radius: 15px;
}

section.adresse iframe {
    width: 100%;
    height: 400px;
}

footer {
    margin: 5px;
}

footer a:visited, footer a, footer a:active{
    color: white;
}

@media (orientation: portrait) {
    body {
        background-position-x: -500px;
        background-color: #548685;
    }

    body nav a {
        font-size: 3rem;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    body nav a:hover {
        padding-top: 0px;
        background-color: rgb(0 0 0 / 30%);
        transition: none;
    }

    body nav a:active {
        background-color: rgb(0 0 0 / 50%);
    }

    body #start .text h1 {
        font-size: 10rem;
    }

    body #start .text h2 {
        font-size: 3rem;
    }
    
    body #team {
        grid-template-columns: 1fr;
        padding-right: 0px;
        justify-items: center;
    }
    
    body #team img {
        width: 100vw;
    }
    
    body #team .text {
        margin-top: 100px;
        max-width: 80%;
        margin-right: 0px;
        margin-left: 0px;
    }
    
    body #team .text .first-line {
        font-size: 4rem;
    }

    body #leistungen {
        display: grid;
        justify-items: center;
    }
    
    body #leistungen .preisliste {
        width: 85%;
        grid-template-columns: 1fr;
        grid-template-areas:
            "fusspflege"
            "massage"
            "kosmetik";
    }

    body #leistungen .preisliste .box.massage {
        margin-top: 0px;
    }
    
    body #leistungen .preisliste table {
        font-size: 26pt;
    }

    body #leistungen .preisliste .box h1 {
        font-size: 30pt;
    }

    body #leistungen .preisliste .box.kosmetik h3 {
        font-size: 20pt;
    }

    body #kontakt {
        grid-template-columns: 1fr;
    }

    body #kontakt .map {
        order: 1;
        margin: 0px;
        width: 100%;
    }

    body #kontakt .info br {
        display: none;
    }

    body #kontakt .info {
        display: grid;
        justify-items: center;
        white-space: nowrap;
        font-size: 4rem;
        padding: 0px;
    }

    body #kontakt .info .email {
        font-size: 4rem;
        display: inline-block;
        padding: 2.5rem;
        text-align: center;
    }

    body #kontakt .info .tel {
        margin-top: 4rem;
        padding: 2.5rem;
        text-align: center;
    }

    body #kontakt .info .zeiten br {
        display: initial;
    }

    body #kontakt .info .zeiten {
        margin-bottom: 50px;
        font-size: 40pt;
    }

    body #kontakt .info .header {
        font-size: 50pt;
    }
}
