* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Roboto Serif', sans-serif;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    margin-top: 50px;
    font-size: 20px;
}

:root {
    --theme-color: #0299D8;
    --secondary-color: #706F6F;
    --link-color: #2196f3;
}

.title {
    font-size: 28px;
    margin-bottom: 10px;
}

.button {
    margin: 10px 0;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--theme-color);
    box-shadow: 5px 5px 30px 5px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
    transition: background-color .3s, color .3s, box-shadow .3s;
}

.button:hover {
    cursor: pointer;
    color: var(--theme-color);
    background-color: white;
    box-shadow: 5px 5px 30px 5px rgba(0, 0, 0, 0.25);
}

@media only screen and (max-width: 700px) {
    .title {
        font-size: 24px;
    }

    .button {
        font-size: 17px;
        padding: 10px;
    }
}


/* Menü */

header nav {
    display: flex;
    justify-content: space-around;
    height: 100px;
    background-color: var(--theme-color);
    box-shadow: 5px 5px 30px 5px rgba(0, 0, 0, 0.5);
}

header nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 60%;
    min-width: 900px;
}

header nav ul li {
    list-style: none;
}

header nav ul li a {
    font-size: 25px;
    color: white;
    font-weight: 100;
    text-decoration: none;
    transition: ease-in-out .2s;
}

header nav ul li a:hover {
    color: #C0C0C0;
}

.nav-selected {
    color: #C0C0C0;
}

header .mobile-top-bar {
    position: fixed;
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    width: 100%;
    height: 75px;
    background-color: var(--theme-color);
    color: white;
    box-shadow: 5px 5px 30px 5px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

header #mobile-menu {
    display: flex;
    justify-content: center;
    width: 50px;
    font-size: 35px;
    cursor: pointer;
}

header .mobile-top-bar p {
    line-height: 75px;
}

header .mobile-top-bar p a {
    color: white;
    text-decoration: none;
}

@media only screen and (max-width: 895px)  {
    main {
        margin-top: 100px;
    }

    header nav {
        position: fixed;
        margin-top: 75px;
        height: 100%;
        width: 70%;
        min-width: 300px;
        z-index: 1;
        transform: translateX(-200%);        
        transition: transform .3s;
    }

    header nav ul li:first-child {
        display: none;
    }

    header .mobile-top-bar {
        display: flex;
    }

    .show-menu {
        transform: translateX(0);
    }

    header nav ul {
        flex-direction: column;
        min-width: auto;
        height: 85%;
    }
}


/* Kontaktformular-Hinweis */

#contact-alert-container {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.75);
}

.alert-text-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    padding: 25px 50px;
    margin: 50px;
    background-color: #F5F5F5;
    border-radius: 15px;
}

.alert-text-container .link {
    color: var(--link-color);
    text-decoration: none;
}

.alert-text-container .link:hover {
    text-decoration: underline;
}


/* Footer */

footer {
    background-color: #333;
    margin-top: 50px;
    box-shadow: 5px 5px 30px 5px rgba(0, 0, 0, 0.5);
}

footer .contact {
    display: flex;
    flex-direction: column;
    width: 600px;
    text-align: center;
    margin: 50px auto;
    color: white;
}

footer .contact p {
    font-size: 40px;
}

footer .contact .fields {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 30px 0;
}

footer .contact .fields input {
    width: 45%;
    height: 50px;
    padding: 10px;
    background-color: #333;
    color: white;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 20px;
    outline: none;
    transition: all .2s;
}

footer .contact .fields input:focus {
    border: 2px solid var(--theme-color);
}

footer .contact textarea {
    height: 200px;
    padding: 10px;
    background-color: #333;
    color: white;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 20px;
    outline: none;
    transition: all .2s;
    margin-bottom: 15px;
}

footer .contact textarea:focus {
    border: 2px solid var(--theme-color);
}

footer .contact .button {
    align-self: center;
    font-size: 20px;
    border: none;
}

@media only screen and (max-width: 700px) {
    footer .contact {
        width: 80%;
    }
}

footer .social {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 250px;
    margin: auto;
    margin-bottom: 50px;
}

footer .social a {
    font-size: 40px;
    color: var(--secondary-color);
    transition: all .2s;
}

footer .social a:hover {
    color: white;
}

footer .links p {
    font-size: 20px;
    font-weight: 300;
    color: var(--secondary-color);
    text-align: center;
    margin: 0 15px 15px 15px;
}

footer .links p a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all .2s;
}

footer .links p a:hover {
    color: white;
}
