*{
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root{
    --primary-color: #000;
    --secondary-color: #fff;
    --font-color: aqua;
}

.light-theme{
    --primary-color: #fff;
    --secondary-color: #000;
    --font-color: rgb(235, 93, 235);
}

body{
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    height: 100vh;
}


#icon{
    width: 25px;
    cursor: pointer;
}

/* ====NAVBAR CSS==== */
nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80px;
    background-color: var(--primary-color);
    width: 100%;
    margin: 0 auto;
}

nav ul{
    display: flex;
    justify-content: center;
}

nav ul li{
    list-style: none;
    margin: 0 20px;
}

nav ul li a{
    text-decoration: none;
    color: var(--secondary-color);
}

nav ul li a:hover{
    color: var(--secondary-color);
    font-size: 1.02rem;
    text-decoration: none; 
    border-bottom:3px solid var(--font-color);
}

.left{
    font-size: 1.9rem;
    font-weight: bold;
}

.left a{
    text-decoration: none !important;
    color: var(--secondary-color);
}

.left a:hover{
    color: var(--font-color);;
}

.toggle_btn{
    color: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
}

.dropdown_menu li{
    list-style: none;
    margin: 0 20px;
}

.dropdown_menu li a{
    text-decoration: none;
    color: var(--secondary-color);
}

.dropdown_menu li a:hover{
    color: var(--secondary-color);
    font-size: 1.02rem;
    text-decoration: none; 
    border-bottom:3px solid var(--font-color);;
}

.dropdown_menu{
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    overflow: hidden;
    height: 0;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu li{
    padding: 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown_menu.open{
    height: 180px;
}

@media(max-width: 1092px){
    .right .links{
        display: none;
    }

    .toggle_btn{
        display: block;
        margin-right: 20px;
    }

    .dropdown_menu{
        display: block;
    }
}

@media(max-width: 576px){
    .dropdown_menu{
        left: 2rem;
        width: unset;
    }
}

/* ====FIRST SECTION CSS====*/
#element{
    color: var(--font-color);;
    font-size: 4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.firstSection{
    font-size: 4rem;
    font-weight: bold;
    margin: 40px 0;
}

.firstSection > div{
    display: flex;
    justify-content: center;
    height: 15vh;
}

.typed_cursor{
    opacity: 1;
}

.typed_cursor.typed_cursor--blink{
    animation: typedjsBlink 0.8s infinite;
    -webkit-animation: typedjsBlink 0.8s infinite;
            animation: typedjsBlink 0.8s infinite;
}

.purple{
    color: var(--font-color);
}


/* ====SECOND SECTION CSS====*/
.projects_section{
    text-align: center;
    color: var(--secondary-color);
    font-size: 3.4rem;
    font-family: "Poppins", sans-serif;
}


.secondSection a{
    text-decoration: none;
    color: var(--secondary-color);
}

.h3{
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    list-style: none;
}

.portfolioWebsite{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 120px;
    margin-top: 30px;
}

.portfolioWebsite .h3{
    margin: 0 60px;
}

.todoApp{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 120px 0;
}

.todoApp .h3{
    margin: 0 160px;
}

.portfolioApp{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 120px 0;
}

.portfolioApp .h3{
    margin: 0 20px;
}

.ai{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 120px 0;
}

.ai .h3{
    margin: 0 100px;
}

.zomatoClone{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 120px 0;
}

.zomatoClone .side{
    margin: 0 85px;
}

.flappyBird{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 120px 0;
}

.flappyBird .h3{
    margin: 0 50px;
}

@keyframes float{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-2.5rem);
    }
    100%{
        transform: translateY(0);
    }
}

#website{
    width: 350px;
    height: 350px;
    transition: transform .3s;
    border-radius: 20%;
    animation: float 5s ease-in-out infinite;
}

#website:hover{
    transform:scale(1.1);
}

#todoApp{
    width: 350px;
    height: 350px;
    border-radius: 20%;
    animation: float 5s ease-in-out infinite;
    margin-left: 35px;
    transition: transform .3s;
}

#todoApp:hover{
    transform:scale(1.1);
}

#app{
    width: 350px;
    height: 350px;
    border-radius: 20%;
    animation: float 5s ease-in-out infinite;
    margin-left: -90px;
    transition: transform .3s;
}

#app:hover{
    transform:scale(1.1);
}

#aiJarvis{
    width: 350px;
    height: 350px;
    border-radius: 20%;
    animation: float 5s ease-in-out infinite;
    margin-left: 45px;
    transition: transform .3s;
}

#aiJarvis:hover{
    transform:scale(1.1);
}

#zomatoClone{
    width: 350px;
    height: 350px;
    border-radius: 20%;
    animation: float 5s ease-in-out infinite;
    margin-left: 35px;
    transition: transform .3s;
}

#zomatoClone:hover{
    transform:scale(1.1);
}

#flappyBirdGame{
    width: 350px;
    height: 350px;
    border-radius: 20%;
    animation: float 5s ease-in-out infinite;
    margin-left: -27px;
    transition: transform .3s;
}

#flappyBirdGame:hover{
    transform:scale(1.1);
}

/* ====FOOTER CSS==== */
footer{
    background-color: var(--primary-color);
    height: 150px;
}
.footer{
    display: flex;
    justify-content: space-evenly;
}

.footer_name{
    font-size: 1.9rem;
    font-weight: 400;
    margin-top: 46px;
    margin-left: 35px;
}   

.footer_name a{
    text-decoration: none;
    color: var(--secondary-color);
}

.footer_name a:hover{
    color: var(--font-color);;
}

.data{
    display: flex;
    justify-content: space-around;
    margin: 10px 10px;
}

.data ul{
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.data ul li{
    list-style: none;
    padding: 1.3px 0;
}

.data ul li a{
    text-decoration: none;
    color: var(--secondary-color);
}

.data ul li a:hover{
    color: var(--secondary-color);
    font-size: 1.02rem;
    text-decoration: none; 
    border-bottom:3px solid var(--font-color);;
}

.handles{
    display: flex;
    justify-content: space-around;
}

.handles a{
    text-decoration: none;
    
}

#github{
    display: flex;
    justify-content: space-around;
    width: 2.0rem;
    height: 2.0rem;
    margin: 45px 5px;
    color: var(--secondary-color);
    font-size: 2.0rem;
    transform: 0.4s ease;
    border-radius: 50%;
}

#github:hover{
    color: var(--font-color);;
    box-shadow: 0 0 1rem var(--font-color);;
}

#twitter{
    display: flex;
    justify-content: space-around;
    width: 2.0rem;
    height: 2.0rem;
    margin: 45px 5px;
    color: var(--secondary-color);
    font-size: 2.0rem;
    transform: 0.4s ease;
    border-radius: 50%;
}

#twitter:hover{
    color: var(--font-color);;
    box-shadow: 0 0 1rem var(--font-color);;
}

#whatsapp{
    display: flex;
    justify-content: space-around;
    width: 2.0rem;
    height: 2.0rem;
    margin: 45px 5px;
    color: var(--secondary-color);
    font-size: 2.0rem;
    transform: 0.4s ease;
    border-radius: 50%;
}

#whatsapp:hover{
    color: var(--font-color);;
    box-shadow: 0 0 1rem var(--font-color);;
}

#linkedin{
    display: flex;
    justify-content: space-around;
    width: 2.0rem;
    height: 2.0rem;
    margin: 45px 5px;
    color: var(--secondary-color);
    font-size: 2.0rem;
    transform: 0.4s ease;
    border-radius: 50%;
}

#linkedin:hover{
    color: var(--font-color);;
    box-shadow: 0 0 1rem var(--font-color);;
}

.footer-rights{
    display: flex;
    justify-content: space-around;
}

@media(max-width:1200px){
    html{
        font-size: 80%;
    }
}

@media(max-width:992px){
    .firstSection{
        font-size: 3rem;
    }
    #element{
        font-size: 3rem;
    }

    .projects_section{
        font-size: 2.2rem;
    }

    .portfolioWebsite, .todoApp, .portfolioApp, .ai,
    .zomatoClone, .flappyBird{
        flex-direction: column;
        font-size: 1.2rem;
        text-align: center;
        justify-content: center;
    }

    .h3{
        font-size: 1.8rem;
    }
    #website, #todoApp, #app, #aiJarvis, #zomatoClone, 
    #flappyBirdGame{
        width: 30vw;
        height: 30vw;
        margin: 0 43px
    }

    
}
@media(max-width:767px){
    .firstSection{
        font-size: 2.2rem;
    }
    #element{
        font-size: 2.2rem;
    }

    .projects_section{
        font-size: 1.9rem;
    }

    
}
@media(max-width:620px){
    .data{
        display: none;
    }

    .footer_name{
        font-size: 1.2rem;
    }

    .portfolioWebsite, .todoApp, .portfolioApp, .ai,
    .zomatoClone, .flappyBird{
        flex-direction: column;
        font-size: 0.9rem;
        text-align: center;
        justify-content: center;
    }

    .h3{
        font-size: 1.5rem;
    }
    #website, #todoApp, #app, #aiJarvis, #zomatoClone, 
    #flappyBirdGame{
        width: 30vw;
        height: 30vw;
        margin: 0 43px
    }

}
@media(max-width:450px){
    .data{
        display: none;
    }

    .footer_name{
        font-size: 1.2rem;
    }

    .firstSection{
        font-size: 1.5rem;
    }
    #element{
        font-size: 1.5rem;
    }

    .projects_section{
        font-size: 1.6rem;
    }

    .portfolioWebsite, .todoApp, .portfolioApp, .ai,
    .zomatoClone, .flappyBird{
        flex-direction: column;
        font-size: 0.6rem;
        text-align: center;
        justify-content: center;
    }

    .h3{
        font-size: 1.1rem;
    }
    #website, #todoApp, #app, #aiJarvis, #zomatoClone, 
    #flappyBirdGame{
        width: 30vw;
        height: 30vw;
        margin: 0 43px
    }

}