/*Hier entsteht der Page Reset (Allgemeine Einstellung für die ganze Seite)*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: black;
    color: white;

    font-family: "Ronzino", "Creato", sans-serif;
}


h1{
    font-weight: 700;
}

p{
    font-weight: 400;
}



/*Navigationsbar (für Mobile optimiert)*/

.logo{
    font-family: "Bebas Neue";
    font-size: clamp(1.85rem, 3vw, 3rem);
}

li a{
    font-size: clamp(1.1rem, 1.25vw, 1.65rem);
    font-weight: 400;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 45px;
    margin-bottom: 45px;
}

@media (max-width: 768px) {
    nav {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 40px;
    }
}

nav ul{
    display: flex;
    gap: 60px;
    list-style: none;
}

nav a{
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {

    nav ul {
        display: none;
    }
}

/*Hier entsteht der Underline Effekt beim Hovern über Seiten*/

li a {
    position: relative;
    text-decoration: none;
}

li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;
    background: white;

    transition: width 0.3s ease;
}

li a:hover::after {
    width: 100%;
}


.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s ease;
}

.mobile-menu{
    position: fixed;
    inset: 0;

    background: rgba(30,30,30,0.9);

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 30px;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.4s ease;

    z-index: 10000;
}

.mobile-menu.active{
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a{
    color: white;

    text-decoration: none;

    font-family: "Ronzino", sans-serif;
    font-size: 3rem;
    font-weight: 400;
}

.mobile-menu ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 50px;
    text-align: center;
}

@media (max-width: 768px){

    nav ul{
        display: none;
    }

    .burger{
        display: flex;
    }
}


/*HIER ENTSTEHT DER LOOK FÜR DEN "FEATURED" TITEL - FÜR MOBILE OPTIMIERT*/

.featured{
    font-size: clamp(1.55rem, 2.65vw, 2.35rem);
    font-weight: 400;

    position: relative;
    margin-left: 45px;
    margin-right: 45px;
}

@media (max-width: 768px) {
    .featured {
        margin-left: 15px;
        margin-right: 15px;
    }
}

/*hier entsteht die linie unter dem "Featured" titel*/

.featured::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;

    height: 1px;
    background: white;
}



/*Alles zum Grid*/

.grid{
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    margin-top: 50px;
    margin-bottom: 50px;
}

@media (max-width: 768px){
    .grid{
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 3px;
    }
}

.grid img{
    display: block;
    width: 100%;
    height: auto;
}



/*Hier entsteht der Zoom Effekt beim Hovern über ein Thumbnail*/

.thmbnl {
    container-type: inline-size;
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.thmbnl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease, filter 0.7s ease;
}

.thmbnl:hover img {
    transform: scale(1.03);
    filter: blur(5px);
}

/*Hier entsteht die weiße Oberfläche auf den Thumbnails*/

.overlay {
    display: flex;
    align-items: center;
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.5);

    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.thmbnl:hover .overlay{
    transform: translateX(0);
}

/*Hier entsteht der Text auf der weissen Oberfläche*/

.info{
    position: absolute;
    margin-left: 45px;
    color: black;
}

.info h1{
    font-size: 3.5cqw;
    font-weight: 700;
}

.info p{
    font-size: 3cqw;
    font-weight: 300;
}

.agency{
    position: absolute;
    bottom: 20px;
    left: 45px;
    margin: 0;

    font-size: 3cqw;
    font-weight: 200;
    
    color: black;
    opacity: 0.5;
}

/*Hier entsteht der Look der Lightbox*/


.vimeo-trigger {
    display: block;
    width: 100%;
    height: 100%;
}

#vimeo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: none;
    z-index: 9999;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    cursor: default;
    z-index: 9998;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 65vw;
    max-width: 100vw;
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    border-radius: 0;
    overflow: visible;
    box-shadow: 0 0 30px rgba(0,0,0,0.7);
    background: #000;
    z-index: 10000;
    cursor: default; 
}

@media (max-width: 768px) {
  .lightbox-content {
        width: 90vw; 
        max-width: 90vw;
        aspect-ratio: 16 / 9;
  }
}

.lightbox-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0px;
    display: block;
    position: relative;
    z-index: 1;
    overflow: visible;
 }



 /*Hier entsteht das 'X' für das Schließen der Lightbox -> Für Mobile optimiert*/

#close-lightbox {
    position: absolute;
    top: -2vw;
    left: 0;

    font-size: 1.5vw;

    color: white;
    opacity: 1;

    background: none;
    border: none;

    cursor: pointer;
    z-index: 10001;

    overflow: visible;
    
    transform: none;
    transition: transform 0.4s ease;
}

#close-lightbox:hover {
    transform: rotate(180deg);
}


@media (max-width: 768px) {
    #close-lightbox {
        position: absolute;
        top: calc(100% + 1rem);
        left: 50%;
        transform: translateX(-50%);

        font-size: 7vw;
    }

    #close-lightbox:hover {
        transform: translateX(-50%) rotate(180deg);
    }
}

/*Footer*/

footer{
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 40px;
}

footer a{
    display: inline-block;
    color: white;
}

footer a:hover{
    color: rgba(255, 255, 255, 0.7);
    transform: scale(1.03);
}





/*ALLES ZUR ABOUT SEITE*/

.about h1{
    font-size: clamp(3rem, 10vw, 15rem);
    font-weight: 700;

    margin-left: 45px;
    margin-right: 45px;
    margin-bottom: 45px;
}

.about #Annas{
    font-style: italic;
}

.about p{
    font-size: clamp(0.75rem, 4vw, 2rem);
    font-weight: 400;

    margin-left: 50%;
    margin-right: 45px;
}

.second-text{
    margin-top: 3rem;
    margin-bottom: 8rem;
}


@media (max-width: 768px){

    .about h1{
        font-size: 3rem;

        margin: 20px;

        text-align: right;
        line-height: 1.75;
    }

    .about p, .second-text{
        font-size: 1.05rem;

        margin-left: 20px;
        margin-right: 20px;

        line-height: 1.6;
    }

    .second-text{
        margin-top: 60px;
    }
}

