/* Verhindern der horizontalen Scrollbar */
html, body {
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    width: 100%; /* Sicherstellen, dass der Body und HTML zu 100% der Bildschirmbreite passen */
}

/* Allgemeine Stile */
* {
    background-color: transparent;
    justify-content: center;
    justify-self: center;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: lighter;
    font-size: 1rem;
    text-decoration: none;
    color: rgb(160, 160, 160);
    margin: 0px;
    --main-color: steelblue; /* 4682B4 */
}

body {
    background: radial-gradient(at top, rgb(40, 40, 40), rgba(20, 20, 20)),
        url(./img/Noise.jpg);
    background-blend-mode: overlay;
    width: 100vw;
    font-family: 'Roboto Condensed', sans-serif;
}

/* HEADER */
header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    filter: drop-shadow(0px 5px 20px rgba(0, 0, 0, .2));
    box-sizing: border-box; /* Sicherstellen, dass keine Ränder den Container überlaufen */
}

.logo, .logotext, .slogan {
    box-sizing: border-box;
}
.logo{
    width: 80px;
    margin: 15px;
}
.logotext{
    width: 40px;
}
.slogan{
    margin-left: 20px;
    margin-top: 3px;
}
.slogan .text{
    font-size: 1.3rem;

}

/* NAVIGATION */
nav {
    height: auto;
    display: flex;
    flex-grow: 1;
}

.nav_ul {
    list-style: none;
    display: flex;
    flex-grow: 1;
    gap: 15px
}

.nav_ul li:nth-of-type(1) {
    margin-left: auto;
}

.nav_ul li:nth-last-of-type(1) {
    margin-right: 30px;
}

a {
    padding: 5px 15px;
    background-color: rgba(53, 53, 53, 0);
    border: none;
    border-radius: 1px;
    cursor: pointer;
    transition-duration: 0.15s;
}

li .cta {
    background-color: rgba(53, 53, 53, 1);
}

a:hover {
    background-color: var(--main-color);
    color: white;
    transition-duration: 0.15s;
}

/* GALLERY */
.gallery {
    width: 100%; /* 100% der Breite für das Grid */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.gallery > div {
    width: 100%;
    overflow: hidden;
    padding-top: 100%;
    position: relative;
}

.gallery > div > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

/* FOOTER */
.footer {
    mix-blend-mode: lighten;
    min-height: 700px;
    width: 100%;
    display: grid;
    justify-content: center;
    align-content: center;
    padding: 30px 0;
    box-sizing: border-box;
}

.footer p {
    width: 100%;
    margin: 20px;
}

.logo_footer img {
    width: 125px;
    margin-bottom: 80px;
}

.text {
    color: var(--main-color);
}

.mail img {
    height: 1.25rem;
    filter: invert(1);
}

.social img {
    width: 30px;
    filter: opacity(.3) drop-shadow(0 0 0 var(--main-color)) saturate(130%) brightness(300%);
    margin-left: 10px; /* Platz für das Social Icon */
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 650px) {
    .gallery {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .slogan {
        visibility: hidden;
    }
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #1d1d1d;
}

::-webkit-scrollbar-thumb {
    background: steelblue;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
