
*{
    margin: 0;
    padding: 0;
    font-family: "montserrat";
}

body{
   min-height: 100vh;
   margin: 0 auto;
}

.header{
    position: sticky;
    top: 0;
    bottom: 2rem;
}

/* navigation */

nav{
    padding: 1% 2%;
    background-color: #fff;
    border-bottom: 1px solid #000;
}

nav ul{
    width: 100%;
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li{
    height: 50px;
}

nav .nav-a{
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #000;
    font-size: 16px;
    font-family: "montserrat";
    font-weight: 500;
    border-radius: 5px;
}

nav, .instagram{
    font-size: 23px;
}

nav li:first-child{
    margin-right: auto;
}

.nav-a:hover{
    color: #fff;
    background-color: #000;
    transition: 0.4s;
    border-radius: 5px;
}

/* sidebar */

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(41, 2, 2, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transition: transform(300ms ease-in);
}

.sidebar li{
    width: 100%;
}

.sidebar .nav-a{
    width: 100%;
    display: flex;
    text-align: center;
}

@media(max-width: 700px){
    .mobile-hide{
        display: none;
    }
}

@media(min-width: 700px){
    .big-screen-hide{
        display: none;
    }
}

/* text-section */

.text h1{
    display: flex;
    justify-content: center;
    font-size: 5rem;
    font-family: "montserrat";
    font-weight: 500;
    padding: 4rem 0;
}

/* gallery */
.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, 600px);
    gap: 5rem;
    justify-content: center;
    align-items: center;
}

.gallery img{
    margin: 0 auto;
    width: 600px;
    cursor: pointer;
    object-fit: cover;
    background-attachment: fixed;
    background-position: center;

}

.full-img{
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;


}

.full-img img{
    width: 100%;
    height: 90%;
    object-fit: contain;
    background-attachment: unset;
    background-size: center;

}

.full-img span{
    position: absolute;
    top: 5%;
    right: 5%;
    color: #fff;
    cursor: pointer;
}

.background{
    display: flex;
    align-items: center ;
    justify-content: center;
    padding: 2rem;
    background: silver;
}

.background img{
    width: 70%;
}

@media(max-width: 700px){
    .text h1{
       display: flex;
       justify-content: center;
       font-size: 3rem;
       font-family: "montserrat";
       font-weight: 600;
       padding: 5rem 0 5rem;
    }

    .gallery{
       margin: 0 auto;
       display: grid;
       justify-content: center;
    }

    .gallery img{
        margin: 0 auto;
        width: 300px;
        cursor: pointer;
    }

    .full-img img{
        width: 85%;
    }

    .background{
        display: none;
    }
}
    

/* footer */

.footer{
    display: grid;
    background-color: #000;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 3rem 0;
    margin-top: 2rem;
    
}

.telefon, .mail, .socialy{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.footer-a{
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.fa-instagram, .fa-facebook{
    font-size: 23px;
    margin: 0.2rem;
}

@media(max-width: 700px){
    .biografy-information{
        margin: 5rem auto 0;
    }


    .part-1, .part-2, .part-3, .part-4{
        display: flex;
        flex-direction: column;
        margin: 5rem auto;
    }

    .part-1 img, .part-2 img, .part-3 img{
        width: 100%;
        margin: 0 auto;
        height: 500px;
    }

    .part-4{
        margin: 0;
    }

    .part-1 p, .part-2 p, .part-3 p, .part-4 p{
        margin: 0 1rem 5rem
    }

    .part-4 img{
        border-radius: 0;
        height: 500px
    }

    .footer{
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem
    }

    .telefon, .mail, .socialy{
        margin-bottom: 10px;
    }
}