@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: 'Poppins', sans-serif;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 3vw;
    align-items: center;
    flex-wrap: wrap;
    
}
@media only screen and (max-width: 654px){
    nav{
        justify-content: center;
        width: 90vw;
        /* flex-wrap: nowrap; */

    }
}

@media only screen and (max-width: 654px){
    ul{
        justify-content: center;
        width: 90vw;
        /* flex-wrap: nowrap; */

    }

}

ul {
    display: flex;
    flex-wrap: wrap;
    max-width: 90vw;
    justify-content: space-evenly;
}

li {
    list-style: none;
    margin-left: 2vw;

}

.logo {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
}

.firstsection {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap-reverse;
}

.rightsection {
    /* background-color: aliceblue; */
    position: relative;
    top: 100px;
}

.leftsection {
    /* background-color: red; */
    position: relative;
    top: 75px;
    /* max-width: 40vw; */
}

.about{
    width: 32vw;
    min-width: 285px;
    /* min-width: 310px; */
}
.home{
    width: 30vw;
    /* min-width: 285px; */
    /* min-width: 310px; */
}

.hello {
    font-size: 1.5rem;
}

.iam {
    font-size: 1rem;
}

.name {
    font-size: 2.7rem;
    /* color: red; */
}
#element{
    font-size: 1rem;
}

@media only screen and (max-width: 520px) {
    /* For mobile phones: */
    .leftsection {
      top: 150px;
      
    }
}
@media only screen and (max-width: 520px) {
    /* For mobile phones: */
    .home {
      min-width: 285px;
      
    }
}
@media only screen and (min-width: 960px) {
    /* For mobile phones: */
    .hello {
        font-size: 2rem;
    }
    
    .iam {
        font-size: 1.5rem;
    }
    
    .name {
        font-size: 3.2rem;
        /* color: red; */
    }
    #element{
        font-size: 1.5rem;
    }
    .typed-cursor{
        font-size: 1.5rem;
    }
}


.para{
    /* background-color: red; */
    width: 90vw;
    margin: auto;
    margin-top: 30px;
    text-align: justify;
}


.upsection{
    width:90vw;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.list{
    list-style:disc;
    font-size: 1.4rem;
}
.container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.card{
    width:15rem;
    height:15rem;
    /* background-color: red; */
    border: 3px solid white;
    border-radius: 20px;
    /* display: flex; */
    margin: 10px
}

.pic{
    width:15rem;
    height: 10rem;
    /* background: transparent; */
    /* opacity: 100%; */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info{
    width:15rem;
    height: 4rem;
    /* background-color:aqua; */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top: 2px solid white;
    text-align: center;
    /* display: flex;
    align-items: center;
    justify-content: center; */
}
.red{
    color: red;
}
.skillimg1{
        max-width: auto;
        height: 8rem;

}
.skillimg2{
        width: 10rem;
        height: 3rem;

}
.skillimg3{
    max-width: 14em;
    height: 8em;

}
.pinfo{
    width:15rem;
    height: 6rem;
    /* background-color:aqua; */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top: 2px solid white;
    text-align: center;
    /* display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    /* padding-top: 5px; */
}
.pcard{
    width:15rem;
    height:18rem;
    /* background-color: red; */
    border: 3px solid white;
    border-radius: 20px;
    /* display: flex; */
    margin: 10px
}

.pa{
    text-decoration: underline;
    transition: 0.3s;
}
.pa:hover{
    color: red;
    transition: 0.3s;
}

a:hover{
    color: red;
    transition: 0.3s;
}
a{
    transition: 0.3s;
}
.social{
    width: 2rem;
}
.link{
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.contact{
    width: 30vw;
    min-width: 285px;
}
@media only screen and (min-width: 520px) and (max-width: 569px) {
    /* For mobile phones: */
    .c{
        /* background-color: aliceblue; */
        position: relative;
        top:95px;
    }
    
}

hr{
    height: 1px;
    background-color: white;
}

.title{
    text-align: center;
}

@keyframes rotateImg {
    from {
        transform: rotate(0deg);
       }
      to {
       transform: rotate(359deg);
      }
    
}

.rotate{
    animation: rotateImg 10s linear infinite;
}
.achlist{
    display: block;
    list-style: disc;
    margin-left: 5vw;
    font-size: 1.4rem;
}

.coming_soon{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 2rem;
}