* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-weight: 100;
}

body {
    height: 100vh;
    width: 100vw;
    background-color: rgb(41, 45, 44);
    background-image: url('../graphics/BG.png');
    background-size: cover;
    background-position: center;
    overflow-x: hidden;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: aliceblue;
    font-size: 1rem;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* HEADER */

header {
    position: relative;
    padding: 0 2rem;
}


.navbar {
    width: 100%;
    height: 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#services {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.logo img {
    position: absolute;
    width: 10vw;
    /* Nutzen von VW statt fixer Pixelgröße */
    max-width: 400px;
    /* Begrenzung der maximalen Breite */
    min-width: 250px;
    top: -70px;
    /* Abstand vom oberen Rand */
    left: -10px;
    /* Abstand vom linken Rand */

}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .toggle_button {
    position: absolute;
    top: 20px;
    right: 2rem;
    color: aliceblue;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* DROPDOWN MENU */
.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 35px;
    height: 0;
    width: 25vh;
    min-width: fit-content;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.dropdown_menu.open {
    height: 200px;
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FOOTER */

#page-container {
    position: relative;
    min-height: 100vh;
}

#content-wrap {
    padding-bottom: 2.5rem;
    /* Footer height */
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 10px;
}

.footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer {
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data,
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu {
    margin-left: auto;
}

.footer ul li {
    display: inline-block;
    margin-right: 20px;
}

.footer ul li a {
    font-size: 10px;
    color: aliceblue;
    text-decoration: none;
}

#copyright {
    display: inline-block;
    padding: 0;
    margin: 0;
    font-size: 10px;
    color: aliceblue;
    margin-right: 20px;
    margin-left: 20px;
    text-decoration: none;
}

/* SLIDESHOW */

.slider-wrapper {
    position: relative;
    max-width: 36rem;
    width: 100%;
    margin-right: 0;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 0.5rem;
    -ms-overflow-style: none;
    /* Hide scrollbar IE and Edge */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.slider::-webkit-scrollbar {
    display: none;
}

.slider img {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    max-height: 100%;
    scroll-snap-align: start;
    object-fit: contain;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    /* Adjust the gap between navigation points */
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.slider-nav a:hover {
    opacity: 1;
    background-color: rgba(255, 155, 0, 0.7);
}

.service-container {
    width: 82%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.content {
    flex: 1;
    padding-right: 20px;
    /* Abstand zwischen Text und Slider */
}

.service-container p {
    color: aliceblue;
}

.service-container h1 {
    color: aliceblue;
    font-weight: 550;
}

/* UNDER CONSTRUCTION */

.under-construction {
    width: 82%;
    /* Breite des Impressum-Containers */
    line-height: 1.5;
    margin: 0 auto;
    /* Zentriert den Inhalt horizontal */
    color: aliceblue;
}

.under-construction h1 {
    font-weight: 550;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.under-construction p {
    margin-bottom: 10px;
    text-align: center
}

/* RESPONSIVE DESIGN*/
@media (max-width: 992px) {

    .logo img {
        left: -30px;
    }

    .navbar .links,
    .navbar .action_button {
        display: none;
    }

    .navbar .toggle_button {
        display: block;
    }

    .dropdown_menu {
        margin-top: 20px;
        display: block;
    }

    .footer ul li {
        margin-right: 10px;
    }

    .service-container {
        flex-direction: column;
    }

    .content {
        padding-bottom: 2vh;
        margin-left: 3vw;
    }

    .service-container p {
        font-size: medium;
    }

    .service-container h1 {
        font-size: large;
    }
}

@media (max-height: 500px) {
    #hero p {
        display: none;
    }

    .dropdown_menu {
        margin-top: 5px;
    }
}

@media (max-width: 500px) {
    .logo img {
        left: -45px;
        top: -85px;
    }

    .footer ul li {
        margin-right: 5px;
    }

    .footer ul li a {
        font-size: 9px;
    }

    #copyright {
        font-size: 9px;
        margin-right: 10px;
        margin-left: 10px;
    }

    .dropdown_menu.open {
        height: 225px;
    }
}