@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&family=Oswald:wght@200..700&family=Poppins:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+SC:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&family=Alegreya:wght@400..900&family=Libertinus+Math&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Poppins:wght@800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Oswald:wght@200..700&display=swap');

*{
    margin: 0;
    padding: 0;
}


#text{
    font-family: "Mulish", sans-serif;
}

a{
    text-decoration: none;
    color: rgb(255, 255, 255);
}

section{
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

#MyVideo{
    width: 100%;
    height: 100%;    
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}

#designer{
    color: rgb(255, 255, 255);
    z-index: 10;
    position: absolute;
    line-height: 100vh;
    font-size: 48px;
    user-select: none;
    font-family: "Poppins", sans-serif;
}

#header{
    position: fixed;
    width: 100%;
    height: 50px;
    background: rgba(0, 0, 0, 0.786);
    line-height: 50px;
    font-size: 25px;
    margin: 0%;
    padding: 0%;
    z-index: 1000;
    pointer-events: all;
    display: flex;
    justify-content: right;
    align-items: center;
}

.first{
    padding-right: 50px;
    display: inline;
    float: left;
    transition: 1s;
    font-weight: 500;
}
.first:hover{
    transform: scale(1.3);
}

.second{
    padding-right: 50px;
    display: inline;
    float: left;
    cursor: pointer;
    font-weight: 500;
    transition-duration: 1s;
    transition-timing-function: ease;
}

.second:hover{
    transform: scale(1.3);
}

.three {
    padding-right: 50px;
    display: inline;
    float: left;
    cursor: pointer;
    font-weight: 500;
    transition-duration: 1s;
    transition-timing-function: ease;
}

.three:hover{
    transform: scale(1.3);
}

.four{
    padding-right: 50px;
    display: inline;
    float: left;
    cursor: pointer;
    font-weight: 500;
    transition-duration: 1s;
    transition-timing-function: ease;
}

.four:hover{
    transform: scale(1.3);
}

.five{
    padding-right: 30px;
    display: inline;
    float: left;
    cursor: pointer;
    font-weight: 500;
    transition-duration: 1s;
    transition-timing-function: ease;
}

.five:hover{
    transform: scale(1.3);
}

.background{
    z-index: 1;
    width: 100%;
    height: 500px;
    opacity: 80%;
    margin-bottom: -300px;
}

@media(max-width:570px){
    .background{
        height: 100%;
    }
}

.vb{
    width: 100%;
}

.info p{
    width: 70%;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 30px;
}

@media(max-width:1000px){
    .info p{
        width: 70%;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
        font-size: 25px;
    }
}

@media(max-width:700px){
    .info p{
        width: 70%;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
        font-size: 18px;
    }
}

@media(max-width:550px){
        .info p{
        width: 70%;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
        font-size: 15px;
    }
}

.info{
    background-color: rgb(255, 255, 255);
    outline: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 55%;
    margin-top: 50px;
    animation-name: fadeIn;
    animation-duration: 2s;
}

@keyframes fadeIn {  
    from { opacity: 0; }  
    to { opacity: 1; }
}

.ava{
    z-index: 2;
    width:60vh;
    height: 60vh;
    position: relative;
    top: 15%;
    overflow: hidden;
    border: 5px solid transparent;
    border-radius: 100%;
    scale: 1;
    animation-name: fadeIn;
    animation-duration: 2s;
    margin: auto;
    padding: auto;
}

.ava img{
    width: 100%;
    height: 150%;
    position: relative;
    top: -30%;
    right: 0%;
    margin: 0;
    padding: 0;
}

@media(max-width:570px){
    .ava{
        width:30vh;
        height: 30vh;
    }
    .background{
        margin-bottom: -100px;
    }
}

#back{
    background-color: rgba(255, 255, 255, 0.818);
}

.name{
    display: flex;
    justify-content: center;
    margin-top: 160px;
    font-size: 60px;
    animation-name: fadeIn;
    animation-duration: 2s;
    text-align: center;
    margin: auto;
}

@media(max-width:570px){
    .name{
        font-size: 40px;
    }
}

.personal{
    text-align: center;
    margin-top: 0%;
    font-size: 30px;
    animation-name: fadeIn;
    animation-duration: 2s;
}

.hr-washed {
	margin: 20px 0;
	padding: 0;
	height: 0;
	border: none;
	box-shadow: 0 0 5px 1px black;
    margin-top: 5%;
    animation-name: fadeIn;
    animation-duration: 2s;
}

.phone{
    z-index: 10;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 20%;
    font-size: 60px;
}

.phone2{
    z-index: 11;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 30%;
    font-size: 20px;
}

.phone3{
    z-index: 12;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 60%;
    font-size: 60px;
}

@media(max-width:600px){
    .phone{
        font-size: 40px;
    }
    
    .phone2{
        font-size: 20px;
        top: 27%;
    }

    .phone3{
        font-size: 40px;
    }
}

@media(max-width:400px){
    .phone{
        font-size: 28px;
    }
    
    .phone2{
        font-size: 18px;
        top: 25%;
    }

    .phone3{
        font-size: 28px;
    }
}

@media(max-height:500px){
    .phone{
        font-size: 25px;
    }
    
    .phone2{
        font-size: 15px;
    }

    .phone3{
        font-size: 25px;
    }
}

#photo{
    width: 50%;
    margin: 10px 0px 10px 0px;
}

#top{
    display: block;
    overflow: hidden;
}

.nname{
    display: block;
    justify-content: center;
    align-items: center;
    font-size: 5vw;
    transition: 1s; 
    color: black;
    font-weight: 550;
}

.nname:hover{
    transform: scale(1.1);
}

#photob{
    width: 50%;
    margin: 10px 0px 10px 0px;
}

@media (max-width: 784px){
    #designer{
        font-size: 25px;

    }
}

label{
    display: none;
}


#burger-toggle{
    display: none;
}

@media (max-width: 784px){
    label{
        position: relative;
        display: block;
        height: 25px;
        width: 30px;
        overflow: hidden;
    }

    label::after, label::before, label span{
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: white;
        transition: 1s;
    }

    label::before{
        content: "";
        top: 0;
    }

    label::after{
        content: "";
        bottom: 0;
    }

    label span{
        top: 11px;
    }

    #burger-toggle:checked ~ label::after{
        transform: rotate(45deg);
        bottom: 10px;
    }

    #burger-toggle:checked ~ label::before{
        transform: rotate(-45deg);
        top: 12px;
    }

    #burger-toggle:checked ~ label span{
        width: 0;
    }

    ul{
    position: fixed;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.781);
    padding-top: 100px;
    display: grid;
    grid-template-columns: 1;
    text-align: center;
    top: -100vh;
    bottom: 200vh;
    font-size: 45px;
    transition: 1s;
    }

#burger-toggle:checked ~ ul {
    top: 142px;
    bottom: 0;
    transition: 0.5;
}
}

@media (max-width: 500px){
    #designer{
        font-size: 15px;

    }
    @media (max-width: 784px){
    label{
        position: relative;
        display: block;
        height: 25px;
        width: 30px;
    }

    label::after, label::before, label span{
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: white;
        transition: 1s;
    }

    label::before{
        content: "";
        top: 0;
    }

    label::after{
        content: "";
        bottom: 0;
    }

    label span{
        top: 11px;
    }

    #burger-toggle:checked ~ label::after{
        transform: rotate(45deg);
        bottom: 10px;
    }

    #burger-toggle:checked ~ label::before{
        transform: rotate(-45deg);
        top: 12px;
    }

    #burger-toggle:checked ~ label span{
        width: 0;
    }

    ul{
        position: fixed;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.781);
        overflow: hidden;
        padding-top: 100px;
        display: grid;
        grid-template-columns: 1;
        text-align: center;
        bottom: 200vh;
        font-size: 30px;
        transition: 1s;
    }

    #burger-toggle:checked ~ ul {
        top: 142px;
        bottom: 0;
        transition: 0.5;
    }
}
}

#projects{
    text-align: center;
}

.projectss{
    position: relative;
    width: 65%;
    margin: 5%;
    transition: 1s;
}

.projectss:hover{
    transform: scale(1.1);
}

.projectss1{
    position: relative;
    width: 45%;
    margin: 5%;
    transition: 1s;
}

.projectss1:hover{
    transform: scale(1.1);
}


.projectss11{
    position: relative;
    width: 45%;
    margin: 5% 5% 5% 5%;
    transition: 1s;
}

.projectss11:hover{
    transform: scale(1.1);
}

@media(max-width:1000px){
    .projectss11{
        margin: 20% 5% 5% 5%;
    }
}

.projectss2{
    position: relative;
    width: 65%;
    margin: 5%;
    transition: 1s;
}

@media(max-width:1000px){
    .projectss2{
        margin: 20% 5% 5% 5%;
    }
}

.projectss3{
    position: relative;
    width: 65%;
    margin: 5%;
    transition: 1s;
}

.projectss3:hover{
    transform: scale(1.1);
}

@media(max-width:1000px){
    .projectss3{
        margin: 20% 5% 5% 5%;
    }
}

.projectss4{
    position: relative;
    width: 45%;
    margin: 5% 5% 5% 5%;
    transition: 1s;
}

.projectss4:hover{
    transform: scale(1.1);
}

@media(max-width:1000px){
    .projectss4{
        margin: 20% 5% 5% 5%;
    }
}

.projectss5{
    position: relative;
    width: 50%;
    margin: 0;
    transition: 1s;
}

.projectss5:hover{
    transform: scale(1.3);
}

.projectss9{
    position: relative;
    width: 50%;
    margin: 0;
    transition: 1s;
}

.projectss9:hover{
    transform: scale(1.5);
}


