body{
    width: 100%;
    height: 100vh;
    background-color: black;
    overflow-x: hidden;
    color: white;
    font-family: "Baloo Bhaijaan 2", serif;
}
header{
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    display: flex;
    filter: drop-shadow(10px);
    justify-content: space-between;
    /* align-items: center; */
    z-index: 100;
}
.logo{
    font-size: 3rem;
    color: rgb(164, 33, 33);
    font-weight: 800;
    transition: 0.5s ease;
    cursor: pointer;
    text-decoration: none;
}
.logo:hover{
    transform: scale(1.3);
}
@media(max-width:995px){
    nav{
        top: 0;
        display: none;
        right: 0;
        width: 40%;
        border-left: 3px solid  rgb(164, 33, 33);
        border-bottom: 3px solid  rgb(164, 33, 33);
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: black;
        border-top: 0.1rem solid rgb(0,0,0,0.1);
        display: flex;
        position: absolute;
        text-decoration: none;
    }
    nav.active{
        display: block;
    }
    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    nav a:hover,nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid  rgb(164, 33, 33);;
    }

}
nav a{
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;

}
nav a:hover,
nav a.active{
    color: rgb(164, 33, 33);
    border-bottom: 3px solid  rgb(164, 33, 33);
}
.home-img img{
    position: relative;
    height: 583px;
    width: 35vw;
    cursor: pointer;
    border-radius: 45%;
    box-shadow: 0 0 25px solid rgb(164, 33, 33);
    transition: 0.2s linear;
}
.home-img{
    border-radius: 50%;
}
.home-img img:hover{
    transform: scale(1.1) translateY(-5px);
    font-size: 1.8rem;
    font-weight: 500;
    background-color: rgb(164, 33, 33);
    box-shadow: 0 0 25px rgb(164, 33, 33);
}
 section{
    min-height: 100vh;
    pad: 5rem 9% 5rem;
 }
 .home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
 }
 .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;

 }
 span{
    color: rgb(164, 33, 33);
 }
 .home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
 }
 .social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid rgb(164, 33, 33);
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem;
    transition: 0.3s ease;
    color: rgb(164, 33, 33);
 }
 .social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: rgb(164, 33, 33);
    box-shadow: 0 0 25px rgb(164, 33, 33);
 }
 .btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: rgb(164, 33, 33);
    letter-spacing: 0.3rem;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgb(164, 33, 33);
    transition: 0.3s ease;
    cursor: pointer;
 }
 .btn:hover{
    transform: scale3d(1.03);
    background-color: rgb(164, 33, 33);
    color: black;
    box-shadow: 0 0 25px rgb(164, 33, 33);
 }
 .typing-text{
    font-size: 35px;
    font-weight: 600;
    min-width: 280px;
 }
 .typing-text span{
    position: relative;
 }
 .typing-text span::before{
    content: "Student";
    color: rgb(164, 33, 33);
    animation: words 20s infinite;
 }
 .typing-text span::after{
    content: "";
    background-color: black;
    position: relative;
    width: calc(100%+8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
 }
 @keyframes cursor{
    to{
        border-left: 3px solid rgb(164, 33, 33);
    }
 }
 @keyframes words{
    0%,20%{
        content: "Student";
    }
    21%,40%{
        content: "Web developer";
    }
    41%,60%{
        content: "Software Engineer";
    }
    61%,80%{
        content: "Web Designer";
    }
    81%,100%{
        content: "Sayar";
    }
 }
 @media(max-width:1000px){
    .home{
        gap: 4rem;
    }
 }
 @media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }
    .home.home-content h3{
        font-size: 2.5rem;
    }
    .home-content h1{
        font-size: 5rem;
    }
    .home-img img{
        width: 70vh;
        margin-top: 4rem;
    }
 }