/* ==========================================================================
   Base & Generic Styles
   ========================================================================== */
.contentoverlay {
    background: radial-gradient(farthest-corner at 0% 100%, rgba(0, 0, 0, 0.7), rgba(18, 18, 18, 0.4));
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile {
    display: flex;
    flex-direction: row;
}

.abpx {
    display: flex;
}

/* ==========================================================================
   Sections
   ========================================================================== */
#splashscreen {
    margin-top: var(--splashscreen-margin);
    width: var(--splashscreen-width);
    height: var(--splashscreen-height);
    min-height: var(--splashscreen-min-height);
}

#splashscreen .subtitle {
    max-width: var(--splashscreen-subtitle-max-width);
}

#product {
    padding: 10vh 0;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    display: flex;
    gap: 10px;
}

#product .text1 {
    max-width: 37.8125rem;
    margin: 0 auto;
}

#product .heading1 {
    margin-top: 24px;
}

#choice {
    display: flex;
    align-items: center;
    flex-direction: row;
}

#product1,
#mission,
#partners,
#bekannt,
#contact {
    margin: 0;
    padding: 10vh 0;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#product1 {
    margin-top: 100px;
}

#product1 .text1,
#mission .text3,
#partners .text1,
#contact .text3 {
    max-width: 37vw;
    margin: 10px;
}

/* About - Deprecated */
#about {
    margin: var(--about-margin);
    width: var(--about-width);
    height: var(--about-height);
    padding: var(--about-padding-y) 0;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--about-color);
    backdrop-filter: var(--about-filter);
    display: flex;
    flex-direction: column;
    gap: var(--about-gap);
}

#about .text3 {
    max-width: var(--about-text3-width);
    margin: var(--about-text3-margin);
}

#newsletter {
    padding: 48px 0;
}

#newsletter .center-elements p {
    margin-bottom: 24px;
}

#known {
    z-index: 1000;
    height: auto;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10vh 0 5vh 0;
}

#known img {
    width: 250px;
    object-fit: contain;
    border-radius: 18px;
    padding: 16px;
    transition: transform 0.3s ease;
}

#known a:hover img {
    transform: scale(1.1);
    box-shadow: 2px 2px 100px rgba(255, 255, 255, 0.1), inset 2px 2px 100px rgba(255, 255, 255, 0.1), -2px -2px 100px rgba(255, 255, 255, 0.1), inset -2px -2px 100px rgba(255, 255, 255, 0.1), 2px -2px 100px rgba(255, 255, 255, 0.1), inset 2px -2px 100px rgba(255, 255, 255, 0.1), 2px -2px 100px rgba(255, 255, 255, 0.1), inset 2px -2px 100px rgba(255, 255, 255, 0.1);
}

.seenContainer {
    max-width: 70vw;
    margin: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

/* ==========================================================================
   Components
   ========================================================================== */
.promotionals {
    width: 30vw;
    margin: 24px;
    border-radius: 24px;
    box-shadow: -10px 10px #000B;
}

.subform {
    display: flex;
    flex-direction: column;
    gap: var(--form-gap);
    align-items: center;
}

#name,
#password,
#message,
#username,
#email,
#password-confirm {
    width: var(--label-width);
    height: var(--label-height);
    flex-shrink: 0;
    border-radius: var(--label-border-radius);
    margin-bottom: var(--label-margin-bottom);
    border: none;
    outline: none;
    padding: var(--label-padding);
    background-color: var(--label-background-color);
    backdrop-filter: var(--label-filter);
    color: var(--label-text-color);
    text-align: start;
    font-family: "Excon-Variable", serif;
    font-size: var(--label-font-size);
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    transition: all var(--label-transition-time) ease;
}

#name:hover,
#password:hover,
#message:hover,
#username:hover,
#email:hover,
#password-confirm:hover,
#name:focus,
#password:focus,
#message:focus,
#username:focus,
#email:focus,
#password-confirm:focus {
    background-color: var(--label-background-color-focused);
}

#message {
    height: var(--message-height);
    margin-bottom: var(--message-margin);
}

.scrollbox {
    display: flex;
    align-items: center;
    justify-content: left;
}

.scrollbox-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.scrollbox p {
    transition: all 0.3s ease;
}

.scrollbox:hover p {
    color: rgba(255, 255, 255, 0.1);
}

.scrolldown {
    margin-right: 24px;
    padding: 0;
    width: 27px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: black;
}

.scrolldown img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    background-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.1);
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    border-radius: 12px;
    flex-direction: column;
    background: radial-gradient(farthest-corner at 100% 50%, rgba(0, 0, 0, 1), rgba(18, 18, 18, 0.7));
    border: solid 1px rgba(255, 255, 255, 0.1);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    padding: 12px;
    gap: 6px;
    margin-left: -36px;
    justify-content: center;
}

.icon-link:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu a {
    border-radius: 6px;
    margin: 2px;
    color: black;
    padding: 12px 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1px;
    max-height: 24px;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 1);
}

.dropdown-menu a:hover p {
    text-shadow: 0 0 10px black;
}

.dropdown-menu .menu-icon {
    font-size: 24px;
    border-radius: 3px;
}

.dropdown-menu .text4 {
    margin-top: 4px;
    margin-left: 12px;
    padding: 0;
    font-weight: 500;
}

.slider {
    background: rgba(0, 0, 0, 0);
    height: 105px;
    margin: auto;
    margin-top: 24px;
    overflow: hidden;
    position: relative;
    width: 1000vw;
    --animation-speed: 20s;
    --slides: 9;
}

.slider::before,
.slider::after {
    content: "";
    height: 100px;
    position: absolute;
    width: 20px;
    z-index: 2;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slider .slide-track {
    animation: scroll var(--animation-speed) linear infinite;
    display: flex;
    width: calc(250px * 2 * var(--slides));
}

.slider .slide {
    height: 100px;
    width: 250px;
    margin: 10px;
}

.slider .slide img {
    object-fit: contain;
    filter: brightness(10) grayscale(0) saturate(0);
    transition: transform ease-in-out 0.1s;
}

.slider .slide img:hover {
    transform: scale(1.1);
    filter: brightness(1) grayscale(0) saturate(1);
}

.hearth {
    animation: infinite alternate-reverse .8s hearthbeat;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes hearthbeat {
    0% {
        filter: saturate(2);
    }

    100% {
        filter: saturate(0.5);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-270px * var(--slides)));
        /* (x * y) => x = (250+2*margin) & y = (number of partners) */
    }
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1100px) {
    #splashscreen {
        margin-top: var(--splashscreen-mobile-margin);
        width: var(--splashscreen-mobile-width);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #splashscreen .subtitle {
        max-width: var(--splashscreen-subtitle-mobile-max-width);
        font-size: var(1vw);
        margin-left: 0;
        margin-bottom: 30vh;
    }

    .left_elements,
    .left-elements {
        margin-left: unset;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .title {
        text-align: center !important;
        display: flex;
        max-width: unset !important;
        font-size: 15vw;
        margin-left: 0;
    }

    .scrollbox {
        width: var(--scrollbox-width);
        justify-content: center !important;
    }

    .mobile .button1 {
        max-width: 290px;
        margin-right: 10px;
    }

    #product1 .text1 {
        max-width: 90vw !important;
    }

    .promotionals {
        border-radius: 12px;
        width: 90vw;
        box-shadow: -5px 5px #000B;
    }

    .abpx {
        flex-direction: column;
    }

    #product1 .heading1,
    #mission .heading1,
    #partners .heading1,
    #contact .heading1,
    #about .heading1 {
        font-size: 40px;
    }

    #product1 .heading2,
    #mission .heading2,
    #partners .heading2,
    #contact .heading2,
    #about .heading2 {
        font-size: 25px;
    }

    #product1 .text1,
    #mission .text3,
    #partners .text1,
    #contact .text3,
    #about .text3 {
        font-size: 25px;
    }

    #mission .text3,
    #partners .text1,
    #contact .text3 {
        max-width: 80vw;
    }

    #product1 .text1 {
        max-width: 80vw;
    }
    
    #about .heading1 {
        font-size: var(--about-heading1-font-size);
    }
    
    #about .heading2 {
        font-size: var(--about-headin2-font-size);
    }
    
    #about .text3 {
        font-size: var(--about-text3-font-size);
        max-width: var(--about-text3-max-width);
    }

    #choice {
        flex-direction: column;
    }

    .slider {
        width: 100vw;
    }

    .slider .slide img {
        height: 50px;
        filter: brightness(1) grayscale(0) saturate(1) !important;
    }

    .dropdown-menu {
        margin: 0;
        left: 2px;
    }

    .seenContainer {
        max-width: 90vw;
    }

    @media (min-width: 500px) {
        #product1 .button2,
        #contact .button2 {
            max-width: 190px;
            max-height: 70px;
        }
    }
}

@media (max-width: 632px) {
    .mobile {
        display: flex;
        flex-direction: column;
        margin-top: var(--mobile-margin-top);
        gap: var(--mobile-gap);
        margin-bottom: var(--mobile-margin-bottom);
    }
}