
@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100;300;400;900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



body{
    background-color: white;
    height: auto;
    padding: auto;
    margin: auto;
   
}


.header{
    height: 150px;
    width: auto;
    background-color: black;
    color: white;
    padding: 0 0 0 53px;
    font-size: 38px;
    align-items: center;
    display: flex;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}
.bracket{
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 200;
}

.headermenu{
    font-size: 30px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    display: flex;
    float: right;
    margin-left: auto;
    margin-right: 50px;
    margin-top: 40px;
    word-spacing: 70px;

}

/*---------------------------------------------------------------------*/
.thinlineheader{
    height: 3px;
    width: 100%;
    background-color: white;
    position: relative;
}

.thinlinefooter{
    height: 3px;
    width: 100%;
    background-color: white;
    position: relative;
}
/*---------------------------------------------------------------------*/
.bodypage{
    height: 800px;
    width: auto;
    background-color: black;
    color: white;
    margin: 0;
    padding: 0 50px 0 50px;
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;


}


.footer{
    height: 150px;
    width: auto;
    background-color: black;
    color: white;
    margin: 0;
    padding: 0 0 -330px 0;
    font-size: 53px;
    padding: 0 0 0 55px;
    align-items: center;
    display: flex;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.footersocial{
    align-items: center;
    float: right;
    margin-left: auto;
    margin-right: 50px;
    word-spacing: 18px;
    
}

.left, .middle, .right{
    padding: 10px;
}

.left, .right {
    max-width: 100%;
    height: auto;
}

.right{
    display: flex;
    flex-direction: column;
    align-items: center;
    float: right;
    margin-left: auto;
    margin-right: -10px;
    gap: 20px;

}
.middle{
    font-size: 30px;
    margin: 120px 50px 0 80px;
    margin-bottom: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: middle;
    position: relative;
    
}

.buttons{
    flex-direction: row;
    word-spacing: 50px;

}


/*-----------media paragraph----------*/

@media screen and (max-width: 728px){
    .middle{
        font-size: 15px;
    }
}

@media screen and (max-width: 400px){
    .middle{
        font-size: 10px;
    }
}


/*-----------media photos----------*/

@media screen and (max-width:728px){
    
    
    .header{
        font-size:180%;
        margin-left: -55px;
        flex-direction: column;
        margin-top: -20px;
    }


    .headermenu{
        font-size: 3vw;
        flex-direction: column;
        margin-left: -50px;
        display: inline-block;
        margin-left:  45px;
        word-spacing: 50px;
        margin-top: -25px;
        
    }

    .aboutme{
        flex-direction: row;
        font-size: 3vw;
    }
}

@media screen and (max-width:728px){

    .bodypage{
        flex-direction: column;
        height: auto;
        margin-left: -10px;
        padding-top: 40px;
    
    }
    
    .footer{
        flex-direction: row;
        font-size: 250%;
        margin-left: -10px; 
        padding-left: 105px;

    }

    .footersocial{
        margin-left: 40px;
    }

    .middle{
        margin-left: 65px;
        margin-top: 20px;
        margin-bottom: 220px;
        text-align: left;
        font-size: 25px
       
    }
    .right{
        flex-direction: row;
        margin: -210px 0 0 0px;
        padding-bottom: 30px;
    }

    .buttons img{
        margin-bottom: 20px;
    }
}


/*--------buttons---------*/

.workbutton {
    background: none; 
    border: none; 
    padding: 0; 
    cursor: pointer; 
    outline: none;
    font-size: 0;
    z-index: 10000;
    
}

.workbutton img {
    width: auto; 
    height: auto; 
}

.workbutton:hover img {
    opacity: 0.8; 
    transform: translateY(-5px);
    transition: transform .2s ease;
}

.workbutton:active img {
    transform: scale(0.95); 
}

/*-------white borders behind image------*/

.left {
    position: sticky;
    display: inline-block;
}

.left::before {
    content: ""; 
    position: absolute; 
    top: 20px; 
    left: 20px; 
    right: 0px; 
    bottom: 5px; 
    background-color: white; 
    z-index: -1; 

}

.left {
    display: block; 
    max-width: 100%; 
    height: auto; 
}


/*-----email button-----*/

.email {
    background: none; 
    border: none; 
    padding: 0; 
    cursor: pointer; 
    outline: none;
    font-size: 0;
}

.email img {
    width: auto; 
    height: auto; 
}

.email:hover img {
    opacity: 0.8; 
    transform: translateY(-5px);
    transition: transform .2s ease;
}

.email:active img {
    transform: scale(0.95); 
}

/*------behance button-----*/

.behance {
    background: none; 
    border: none; 
    padding: 0; 
    cursor: pointer; 
    outline: none;
    font-size: 0;
}

.behance img {
    width: auto; 
    height: auto; 
}

.behance:hover img {
    opacity: 0.8; 
    transform: translateY(-5px);
    transition: transform .2s ease;
}

.behance:active img {
    transform: scale(0.95); 
}

/*-----instagram button-----*/

.instagram {
    background: none; 
    border: none; 
    padding: 0; 
    cursor: pointer; 
    outline: none;
    font-size: 0;
   
}

.instagram img {
    width: auto; 
    height: auto; 
}

.instagram:hover img {
    opacity: 0.8; 
    transform: translateY(-5px);
    transition: transform .2s ease;
}

.instagram:active img {
    transform: scale(0.95); 
}


/*-----linked in button-----*/

.linkedin {
    background: none; 
    border: none; 
    padding: 0; 
    cursor: pointer; 
    outline: none;
    font-size: 0;
   
}

.linkedin img {
    width: auto; 
    height: auto; 
}

.linkedin:hover img {
    opacity: 0.8; 
    transform: translateY(-5px);
    transition: transform .2s ease;
}

.linkedin:active img {
    transform: scale(0.95); 
}



.work{
    background: none; 
    border: none; 
    padding: 0; 
    cursor: pointer; 
    outline: none;
    font-size: 0;
   
}

.work img {
    width: auto; 
    height: auto; 
}

.work:hover img {
    opacity: 0.8; 
    transform: translateY(-5px);
    transition: transform .2s ease;
}

.work:active img {
    transform: scale(0.95); 
}




/*----------------------heading animation-------------------*/

@keyframes slideInLeft{
    from{
        transform: translateX(-253px);
        opacity: 0;
    }

    to{
        transform: translateX(0);
    }
}

.slideInLeft{
    animation: slideInLeft 1s ease-in ;
}


@keyframes headermenu{
    from{
        transform: translateX(253px);
        opacity: 0;
    }

    to{
        transform: translateX(0);
    }
}

.headermenu{
    animation: headermenu 1s ease-in ;
}

/*----------------------footer animation-------------------*/

@keyframes socials{
    from{
        transform: translateX(-253px);
        opacity: 0;
    }

    to{
        transform: translateX(0);
    }
}

.socials{
    animation: socials 3s ease-in ;
}


@keyframes footersocial{
    from{
        transform: translateX(253px);
        opacity: 0;
    }

    to{
        transform: translateX(0);
    }
}

.footersocial{
    animation: footersocial 3s ease-in;
}

/*----------------------body images animation-------------------*/

@keyframes left{
    from{
        transform: translateX(-253px);
        opacity: 0;
    }

    to{
        transform: translateX(0);
        
    }
}

.left{
    animation: left 2s ease-in;
}


@keyframes right{
    from{
        transform: translateX(253px);
        opacity: 0;
    }

    to{
        transform: translateX(0);
    }
}

.right{
    animation: right 2s ease-in;
    
}



/*----------------------paragraph animation-------------------*/

/* .middle{ 
    display: inline-block;
}

.text{
    border-right: 5px solid;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    animation: 
    typing 2s steps(18)
    cursor .4s step-end infinite alternate;

}

@keyframes cursor {
    50% {
        border-color: transparent;
    }
}

@keyframes typing {
    from {
        width: 0;
    }
} */

.text::before,
.text::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.text::before {
    background-color: black;
    animation: typewriter 3s steps(200) 2s forwards;
}

.text::after{
    width: .125em;
    background: white;
    animation: typewriter 3s steps(200) 2s forwards,
    blink 500ms steps(200) forwards 15;
    
}

@keyframes typewriter{
    to {
        left: 100%;
    }
}

 @keyframes blink{
    to{
        background: transparent;
    }
 }



/*------------hover over images-----------*/


.left img {
    width: auto; 
    height: auto; 
    cursor: pointer;
}

.left:hover img {
     
    transform: translateY(-5px);
    transition: transform .2s ease;
}

.left:active img {
    transform: scale(1.1); 
}


.right img {
    width: auto; 
    height: auto; 
    cursor: pointer;
}

.right:hover img {
     
    transform: translateY(-5px);
    transition: transform .2s ease;
}

.right:active img {
    transform: scale(1.05); 
}








 /* .overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
 }

 .bar{
    width: 10vw;
    height: 105vh;
    background:black;
 }


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

body, html {
    height: 100%;
}

.counter {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    color: white;
    padding: 0.2em 0.4em;
    font-size: 20vw; 
    font-family: Helvetica, sans-serif;
    text-align: center; 
}

.hidden{
    display: none;
} */



