@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    font-family: "Newsreader", serif;
    padding: 0; margin: 0; box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body{
    margin: 0;
    padding: 0;
    background-color: #141311;
}

/* Header */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: transparent;
    transition: all 250ms;
}
header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 0;
    padding: 0;
}
header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-style: italic;
    font-size: 40px;
    transition: opacity .2s;
    text-shadow: 0px 0px 4px #000000;
}
header nav ul li a:hover {
    opacity: .7;
}
header nav ul li a.active {
    text-decoration: underline;
}
header.scrolled{
    background-color: #0d0d0d;
    transition: all 250ms;
}

/* Main Page */
#mainPage{
    margin: auto;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-image: url('img/Background.png');
    background-size: cover;
    background-position: center;
    display: flex;
}

.stickyText{
    width: 100%;
    height: 150px;
    bottom: 5%;
    top: 78%;
    position: sticky;
    max-width: 1730px;
    padding: 0 30px;
    padding-bottom: 30px;
    margin: 0 auto;
}
.stickyText h1{
    font-weight: 700;
    font-style: normal;
    font-size: clamp(2.500rem, 0.837rem + 3.469vw, 5.000rem) /*80px->40*/;
    margin-top: 0;
    color: white;
    border-radius: 0.25rem;
}
.stickyText h2{
    font-weight: 200;
    font-style: normal;
    font-size: 50px; 
    margin-top: -3vh;
    color: white;
}

/* Description */
.descriptionContainer{
    background-color: #141311;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    padding: 100px 0;
}


.description-image{
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    filter: drop-shadow(0px 0px 20px rgb(0, 0, 0));
    transition: 1s ease;
    flex-basis: calc(50% - 15px);
}
.description-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out, transform 1s ease;
    background-color: #000;
}
.description-image img.visible {
    transition: 1s ease;
    opacity: 1;
    z-index: 2;
}

.description-image .splide{height: 100%;}
.description-image .splide__track{height: 100%;}
.description-image .splide__track a{height: 100%;}
.description-image .splide__track img{height: 100%; object-fit: cover;}

#descriptionContainer img:hover{
    transition: 1s ease;
    transform: scale(1.2);
}

.descriptionParent{
    display: flex;
    gap: 30px;
    max-width: 1730px;
    padding: 0 30px;
    margin: 0 auto;
}

.descriptionParent.reverse{
    flex-direction: row-reverse;
}

.descriptionText{
    filter: drop-shadow(0px 0px 20px rgb(0, 0, 0));
    align-items: left;
    text-align: left;
    justify-content: center;
    flex-direction: column;
    display: flex;
    gap: 45px;
    flex-basis: calc(50% - 15px);
    padding: 30px;
}
.descriptionText h2{
    color: white;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.875rem, 1.251rem + 1.301vw, 2.813rem) /*45->30px*/;
    margin-bottom: -3vh;
}
.descriptionText h3{
    font-size: clamp(1.125rem, 0.834rem + 0.607vw, 1.563rem) /*25->18px*/;
    color: white;
    font-family: "roboto", sans-serif;
    font-weight: 300;
    text-align: justify;
}

/* Team */
.team{
    margin-top: 10vh;
    width: 99.2vw;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.teambox{
    width: 215px;
    height: 340x;
    margin-top: 5vh;
    margin-left: 3vw;
    margin-right: 3vw;
    text-align: center;
    color: white;
    filter: drop-shadow(0px 0px 20px rgb(0, 0, 0));
    transition: .5s ease;
}
.teambox:hover{
    scale: 1.2;
}
.teambox img{
    margin: auto;
    border-radius: 50%;
    width: 100%;
}

.teambox h3{
    margin-top: 2vh;
    color: white;
    font-size: 30px;
    font-weight: 400;
    font-style: normal;
}
.teambox h4{
    margin-top: -3vh;
    color: white;
    font-size: 25px;
    font-family: "roboto", sans-serif;
    font-weight: 200;
    font-style: italic;
}

/* Kontakt */
footer {
    height: auto;
    background-color: #0d0d0d;
    color: white;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    padding: 60px 0;
}

footer .copyright {
	width: 100%;
	text-align: center;
	color: #959595;
	font-size: 1rem;
	font-family: "roboto", sans-serif;
	font-weight: 400;
	padding: 60px 0 0 0;
}

footer .content{ max-width: 1730px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
}
  
.footerBox {
    width: 800px;
    height: auto;
    justify-content: end;
}

/* .footerText{
    margin-top: 26vh;
} */
  
.footerBox h1{
    font-weight: 700;
    font-style: normal;
    font-size: clamp(3.000rem, 0.838rem + 4.510vw, 6.250rem) /*100px->50*/;
    margin-top: 0;
    color: white;
    border-radius: 0.25rem;
}
  
.footerBox h2{
    font-weight: 200;
    font-style: normal;
    font-size: 50px; 
    margin-top: -3vh;
    color: white;
}

.footerBox h3{
    font-weight: 200;
    font-style: normal;
    font-size: 50px;
    color: #959595;
}

.footerBox p,
.footerBox p a{
    font-weight: 150;
    font-style: normal;
    font-size: 30px; 
    color: #959595;
    text-decoration: none;
    transition: all 250ms;
}

.footerBox p a:hover{
    color: white;   
}

.footerText h1{
    font-weight: 700;
    font-style: normal;
    font-size: clamp(3.000rem, 0.838rem + 4.510vw, 6.250rem) /*100px->50*/;
    margin-top: 0;
    color: white;
    border-radius: 0.25rem;
}
  
.footerText h2{
    font-weight: 200;
    font-style: normal;
    font-size: 50px; 
    color: white;
}

.footerText h3{
    font-weight: 200;
    font-style: normal;
    font-size: 50px;
    color: #959595;
}

.footerText p{
    font-weight: 150;
    font-style: normal;
    font-size: 30px; 
    color: #959595;
}

a{
    color: #959595;
}
a:hover{
    color: white;
}

@media screen and (max-width: 1300px){
    .descriptionParent, .descriptionParent.reverse{
        flex-direction: column-reverse;
    }

    .descriptionContainer{padding: 60px 0;}

    .description-image{padding: 0 30px; flex-basis: 100%;}
    .descriptionText{flex-basis: auto;}

    .description-image img{
        position: relative;
    }
}

@media screen and (max-width: 830px) {
    .description-image {
        aspect-ratio: 4 / 3;
    }

    header{
        display: none;
    }

    .stickyText{
        position: absolute;
    }

    .stickyText h2{
        font-size: 25px;
    }

    .footerBox h1{
        font-size: 50px;
        justify-content: center;
        text-align: center;
    }
    .footerBox h2{
        font-size: 30px;
        text-align: center;
    }
    .footerBox h3{
        font-size: 40px;
    }
    .footerBox p{
        font-size: 25px;
    }
}


@media screen and (max-width: 767px){
    #mainPage{height: 70vh;}
    .descriptionParent{padding: 0;}
    footer .content{gap: 30px;}
}

@media screen and (max-width: 500px){
    .descriptionContainer{padding: 40px 0;}

    footer .copyright{padding: 60px 30px; padding-bottom: 0; font-size: 0.75rem; text-align: left;}
}