@font-face {
    font-family: Comfortaa;
    src: url('../fonts/comfortaa/comfortaa.ttf');
}

@font-face {
    font-family: Lobster;
    src: url('../fonts/lobster/lobster-regular.ttf');
}

html, body{
    height: 100%;
    display: flex;
    flex-direction: column;
}

main{
    flex: 1 0 auto;
}

a{
    text-decoration: none;
    color: black;
}
p, a, span, h2, h3, li, button{
    font-family: Comfortaa;
}

p, li{
    line-height: var(--fs-200);
    font-size: var(--fs-100);
}

h2{
    text-align: center;
    font-weight: bolder;
    font-size: var(--fs-200);
    line-height: var(--fs-300);
    margin: var(--fs-400) auto var(--fs-300);
    max-width: 1000px;
}
h3{
    font-weight: bolder;
    font-size: var(--fs-150);
    line-height: var(--fs-200);
    margin: var(--fs-200) 0 var(--fs-200);
}

.h2-subheading{
    text-align: center;
    font-size: var(--fs-100);
    margin-top: calc(-1*var(--fs-200));
    margin-bottom: var(--fs-200);
}

.content-center{
    width: 80%;
    display: block;
    margin: 0 auto;
}

.bt-simple-black{
    background-color: black;
    color: white;
    font-size: var(--fs-100);
    border-radius: 50px;
    border: none;
    padding: 1rem 1.5rem;
    display: block;
    cursor: pointer;
}

@media (max-width: 600px) {
    h2{
        width: 90%;
    }
    .content-center{
        width: 95%;
    }
}
body{
    margin: 0;
    --fs-100: 1rem;
    --fs-150: calc(var(--fs-100)*1.5);
    --fs-200: calc(var(--fs-100)*2);
    --fs-250: calc(var(--fs-100)*2.5);
    --fs-300: calc(var(--fs-100)*3);
    --fs-400: calc(var(--fs-100)*4);
    --fs-600: calc(var(--fs-100)*6);
    --fs-1000: calc(var(--fs-100)*10);
    --header: 1;
    --header-inv: calc(1 - var(--header));
    --header-255: calc(var(--header)*255);
    --header-255-inv:calc(255 - var(--header-255));
}

@media (max-width: 800px) {
    body { --fs-100: 0.8rem}
}

@media (max-width: 500px) {
    body {--fs-100: 0.8rem}
}

@media (max-width: 400px) {
    body {--fs-100: 0.6rem}
}

header{
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    padding: 1rem 3rem 0;
    transition: background-color 500ms linear;
}

#nav-background{
    position: fixed;
    background-color: white;
    top: 0px;
    width: 100vw;
    height: calc(var(--fs-200) + 3rem + 1vh);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.5s;
}

@media only screen and (max-width: 768px) and (orientation: landscape) {
    header{
        display: none;
    }
    #nav-background{
        display: none;
    }
}

@media (max-width: 500px) {
    header{
        padding: 0.5rem 3vw 0;
    }
    #nav-background{
        height: calc(var(--fs-200) + 1.8rem);
    }

}

#navbar  a{
    transition: color, background-color 1s linear;
}

#navbar > a{
    color: rgb(var(--header-255),var(--header-255),var(--header-255));
    font-family: Lobster;
    font-size: var(--fs-200);
    margin-left: 10px;
}

.navbar-links a{
    font-family: Comfortaa;
    font-size: var(--fs-100);
    padding: var(--fs-100);
    border-radius: 15px;
    color: rgb(var(--header-255),var(--header-255),var(--header-255));
}

.navbar-links a:hover{
    color: rgb(var(--header-255-inv), var(--header-255-inv), var(--header-255-inv));
    background-color: rgb(var(--header-255),var(--header-255),var(--header-255));
}

#navbar{
    margin-top: 0.5vh;
    padding: 0 5px var(--fs-100);
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 3.5rem;
    z-index: 1;
    background-color: rgba(var(--header-255),var(--header-255),var(--header-255),1);
    border-radius: 15px;
}
.dropdown-content>a {
    color: rgb(var(--header-255-inv), var(--header-255-inv), var(--header-255-inv));
    display: block;
    white-space: nowrap;
}

.dropdown-content>a:hover{
    font-weight: bolder;
}

.dropdown{
    display: inline-block;
    position: relative;
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 80%;
    left: 0;
    width: 100%;
    height: 50px;
    pointer-events: auto;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover > a{
    color: rgb(var(--header-255-inv), var(--header-255-inv), var(--header-255-inv));
    background-color: rgb(var(--header-255),var(--header-255),var(--header-255));
}

#navbarLine{
    border: none;
    border-bottom: 2px solid rgb(var(--header-255),var(--header-255),var(--header-255));
    margin: 0 0;
    transition: border-bottom-color 500ms linear;
}

@media (max-width: 600px) {
    .navbar-links{
        display: none;
    }
}

header img{
    filter: invert(var(--header));
    height: var(--fs-200);
    margin-right: 10px;
    transition: filter 500ms linear;
}

.hero-wrapper{
    position: relative;
    width: calc(100% - 1rem);
    border-radius: 40px;
    margin: 0.5rem auto;
    aspect-ratio: 16/9;
    max-height: calc(100vh - 1rem);
    overflow: hidden;
    min-height: 600px;
    transition: width 1s ease, border-radius 1s ease;
}

.hero-wrapper-scrolled{
    width: 100%;
    border-radius: 0;
    margin: 0;
}

.hero-image{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-wrapper{
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 8% 5% 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.hero-subtitle{
    font-size: max(1rem, 1.5vw);
    line-height: max(2rem, 2.5vw);
}

.hero-text-centered{
    text-align: center;
    color: white;
}

.hero-title-simple{
    font-family: Comfortaa;
    font-size: max(2rem, 4vw);
    line-height: max(2.5rem, 5vw);
    font-weight: normal;
}

.hero-title-center{
    text-align: center;
    color: white;
    position: relative;
    top: 200px;
    font-family: Lobster;
    font-size: var(--fs-300);
    font-weight: normal;
}

.hero-content-wrapper-right{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
}

@media (max-width: 600px) {
    .hero-wrapper{
        border-radius: 0;
        width: 100vw;
        margin: 0;
    }
    .hero-text-wrapper{
        padding: 12% 5% 2%;
    }
    .hero-content-wrapper-right{
        width: 100%;
    }
}

footer{
    flex-shrink: 0;
    position: relative;
    bottom: 0;
    margin-top: 5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: black;
}

#footerContent{
    position: relative;
    display: flex;
    height: 95%;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 1rem;
    z-index: 10;
}

#footerContent * {
    color: white;
}

#socialIconContainer{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#socialIconContainer img {
    width: 2rem;
    aspect-ratio: 1;
}

#imprint{
    margin: var(--fs-1000) 4rem var(--fs-300);
}

#imprint h2{
    text-align: left;
    margin-left: 0;
}
.text-content-center{
    text-align: center;
    width: 90vw;
    max-width: 1000px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.inline-contact-wrapper> div{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.inline-contact-wrapper img{
    height: var(--fs-200);
}
.inline-contact-wrapper{
    margin: 0 auto;
    width: fit-content;
    display: flex;
    gap: 4rem
}
@media (max-width: 1000px) {
    .inline-contact-wrapper{
        flex-direction: column;
        gap: 0;
    }
}

.card{
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
    border: 2px solid black;
    outline: 10px solid #fff;
}

.fading-in{
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}
.rising-in{
    opacity: 0;
    transform: translateY(50px);
    animation: riseUp 1s ease-out forwards;
}

@keyframes riseUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.background-image{
    position: relative;
    height: 800px;
}

.pre-heading{
    text-align: center;
    margin-bottom: 0;

}