@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #000021;
    color: white;
    font-family: 'Poppins', sans-serif;
}
nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    background-color: #12123f;
    flex-wrap: wrap;

}
.leftnav{
    font-size: 1.5rem;
}
.rightnav ul{
    display: flex;
    justify-content:center;
}

.rightnav ul li{
    list-style: none;
    margin: 0 25px;
    color: white;
}
.firstsec{
    display: flex;
    justify-content: space-around;
    margin: 70px 0;
    align-items: center;
}
.firstsec> div{
    width: 30%;
}
.leftmain{
    font-size: 2.3rem;
}
.rightmain img{
    width: 80%;
    margin: 50px 0;
    background-color: black;

}
.Name{
    color: rgb(130, 76, 182);
}
.rightnav ul li a{
    color: white;
    text-decoration: none;
}

.rightnav ul li a:hover{
    color: rgb(130, 76, 182);
    font-size: 1.02rem;
}
#element{
    color: rgb(130, 76, 182);
}
.Resume{
    margin-top: 20px;
}
.Resume a{
    text-decoration: none;
    border: 2px solid white;
    padding: 5px;
    background-color: #000121;
    border-radius: 6px;
    color: white;
    font-size: 30px;
}
.About{
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid gray;
    border-radius: 6px;
    margin-bottom: 40px;
}

.projects{
    height: 85vh;
    
}
.projects h1{
    font-size: 1.9rem;
    max-width: 80vw;
    margin: auto;
}
.projectlist{
    background-color: white;
    height: 1px;
    border: 0;
    margin: 5vh 10vw;
    display: flex;
    justify-content: space-around;
}
.projectlist .first{
    background-color: white;
    height: 93px;
    width: 1px;
    /* margin: 0 100px; */
}

.title{
    position: relative;
    top: 93px;
}
.title a{
    text-decoration: none;
    color: white;
}
.title a:hover{
    font-size: large;
    color: rgb(130, 76, 182);
}

.desc{
    position: relative;
    top: 101px;
    color: gray;
    font-size: 12px;
    width: 175px;
}
footer{
    height: 100px;
    background: #0e0e1a;
    color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
@media (max-width:1050px) {
    .firstsec{
        flex-direction: column-reverse;
    }
    /* .Resume a {
        position: absolute;
        margin: 0;
    } */

    .Resume{
        position: relative;
        right: 29vw
    }
    .projectlist{
        display: flex;
        flex-direction: column;
    }
    .projects{
        height: 190vh;
    }
    .projectlist {
        background-color: #000021;
        height: 130vh;
        margin: 16vh 10vw;
        /* 134 */
    }
    .projectlist .first{
        background-color: white;
        height: 300px;
        width: 1px;
        /* 299 */
        margin-top: 12px;

    }
    .title{
        position: relative;
        top: 14px;
        left: 9px;
    }
    .desc{
        position: relative;
        top: 16px;
        left: 9px;
        color: gray;
        font-size: 12px;
        width: 178px;
    }
    body{
        min-width:fit-content
    }
    .firstsec> div {
        width: 91%;
        text-align: center;
    }
    .Resume a {
        position: relative;
        left: 30vw;
        
    }
    .text {
        padding: 22px;
    }
    
}
@media (max-width:380px){

    .firstsec{
        flex-direction: column-reverse;
    }
    /* .Resume a {
        position: absolute;
        margin: 0;
    } */

    .Resume{
        position: relative;
        right: 29vw
    }
    .projectlist{
        display: flex;
        flex-direction: column;
    }
    .projects{
        height: 190vh;
    }
    .projectlist {
        background-color: #000021;
        height: 129vh;
        margin: 14vh 10vw;
    }
    .projectlist .first{
        background-color: white;
        height: 300px;
        width: 1px;
        /* 299 */
        margin-top: 12px;

    }
    .title{
        position: relative;
        top: 14px;
        left: 9px;
    }
    .desc{
        position: relative;
        top: 16px;
        left: 9px;
        color: gray;
        font-size: 12px;
        width: 178px;
    }
    body{
        min-width:fit-content
    }
    .firstsec> div {
        width: 91%;
        text-align: center;
    }
    .Resume a {
        position: relative;
        left: 30vw;
        
    }
    .text {
        padding: 22px;
    }
    

}
@media (max-height:380px){
    .firstsec{
        flex-direction: column-reverse;
    }
    /* .Resume a {
        position: absolute;
        margin: 0;
    } */

    .Resume{
        position: relative;
        right: 29vw
    }
    .projectlist{
        display: flex;
        flex-direction: column;
    }
    .projects{
        height: 320vh;
    }
    .projectlist {
        background-color: #000021;
        height: 252vh;
        margin: 16vh 10vw;
        /* 134 */
    }
    .projectlist .first{
        background-color: white;
        height: 300px;
        width: 1px;
        /* 299 */
        margin-top: 12px;

    }
    .title{
        position: relative;
        top: 14px;
        left: 9px;
    }
    .desc{
        position: relative;
        top: 16px;
        left: 9px;
        color: gray;
        font-size: 12px;
        width: 178px;
    }
    body{
        min-width:fit-content
    }
    .firstsec> div {
        width: 91%;
        text-align: center;
    }
    .Resume a {
        position: relative;
        left: 30vw;
        
    }
    .text {
        padding: 22px;
    }

}



 