
*{
    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{
    display: flex;
    align-items: center;
    margin: 4rem auto;
}

.text h1{
    display: inline-block;
    font-size: 2rem;
    font-family: "montserrat";
    text-align: center;
    font-weight: 700;
    padding: 0 3rem;
    color: #000;
}


.span-h1{
    display: inline-block;
    font-size: 2rem;
    font-family: "montserrat";
    font-weight: 400;
    text-align: center;
    color: #fff;
    background-color: #000;
    padding: 0 1rem;
    margin-left: 1rem;

}

/* image */

.main-image img{
    display: block;
    max-width: 100%;
    width: 95%;
    height: max-content;
    margin: 0 auto;
    min-height: 100vh;
    object-fit: cover;
    background-position: center;
    background-size: contain;
    margin: 2rem;
}

@media(max-width: 700px){

   .text h1{
    margin: 2 auto;
    font-size: 1.5rem;
   }

   .span-h1{
    margin-top: 1rem;
    font-size: 1.5rem;
   }

   .main-image img{
    margin: 0 auto 2rem;
    width: 100%;
    height: 35rem;
   }
}

.biografy-information{
    margin: 7.5rem auto 10rem;
}


.part-1{
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

.part-1 img{
    width: 50%;
    height: 800px;
    border-radius: 10px;
    object-fit: cover;
    background-position: center;
}

.p{
    margin: 2rem;
    font-size: 20px;
    display: flex;
    align-items:center;
   justify-content: flex-end;
}

.first-word{
    font-weight: bold;
    font-size: 3rem;
    margin-right: 0.5rem;
    color: rgb(5, 67, 5);
}

.part-2{
    width: 98%;
    margin: 7.5rem auto;
    display: flex;
    flex-direction: row-reverse;
}

.part-2 img{
    width: 60%;
    border-radius: 10px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.part-3{
    width: 80%;
    margin: 7.5rem auto;
    display: flex;
    flex-direction: row;
}

.part-3 img{
    width: 60%;
    border-radius: 10px;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.part-4{
    margin-top: 7.5rem auto;
    display: flex;
    flex-direction: column;
}

.part-4 p{
    margin: 0 2rem 7.5rem;
    text-align: center;
    font-weight: bold;
}

.part-4 img{
    width: 99%;
    height: 700px;
    margin: 0 auto;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;;
}

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

.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;
    }
}


