:root{
  --background: #071A21;
  --surface: #0D2830;
  --primary: #14B8A6;
  --accent: #2DD4BF;
  --text: #F0FDFA;
  --muted: #94A3B8;
  --fontf: "Source Code Pro", monospace;
}
html{
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: var(--background);
    font-family: var(--fontf);
}
.logo{
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo img{
    height: 24px;
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 48px;
    background: var(--surface);
    margin: 12px 24px;
    border-radius: 32px;
}
.nav-links{
    list-style-type: none;
    display: flex;
    gap: 30px;
}
.nav-links a{
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    position: relative;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.5s ease;
}

.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover{
    color: var(--accent);
}

/* -------- hamburger menu -------------- */
.menu-toggle{
    display: none;
}


/* ------------ footer ------------------ */
.footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 24px 64px;
    border-top: 1px solid var(--surface);
    color: var(--muted);
}
.footer a{
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer a:hover{
    color: var(--accent);
}
/* ---------- main content starts here ------------- */
#home{
    height: 75vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0px 36px;
    margin-bottom: 5vh;
    margin-top: 5vh;
}
.my-image>img{
    height: 350px;
    border-radius: 50%;
    /* border: 6px solid var(--accent); */
    border-top: 2px dashed var(--muted);
    border-left: 2px dashed var(--muted);
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);;
}
.home-text{
    color: var(--text);
    width: 550px;
    height: 120px;
}
.home-text>p{
    font-size: 26px;
}
.home-text>h1{
    font-size: 50px;
}
.home-text>h2{
    color: var(--primary);
    font-size: 24px;
}
.about-me, .skillset, .projects, .contact-section{
    color: var(--text);
    margin: 78px 116px;

}
.h3-ele{
    font-size: 32px;
    color: var(--primary);
}
.about-me>p{
    margin-top: 16px;
    font-size: 22px;
    text-align: center;
    margin-bottom: 150px;
}
.skills-list{
    border: 1px solid var(--surface);
    padding: 28px;
    border-radius: 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    min-width: 0;
    margin-bottom: 150px;
}
.projects-container{
    border: 1px solid var(--surface);
    padding: 28px;
    border-radius: 16px;
    margin-top: 16px;
    padding-bottom: 12px;
}
.h3-ele{
    text-align: center;
    margin-bottom: 18px;
}
.skill{
    background-color: #f8f8f8 ;
    height: 145px;
    color: var(--background);
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--surface);
}
.skill>img{
    height: 100px;
    width: 100px;
}
.skill>p{
    margin-top: 6px;
    font-size: 12px;
    font-weight: bold;
}
.project-card{
    border: 1px solid var(--surface);
    padding: 28px;
    border-radius: 14px;
    margin-bottom: 16px;
}
.project-card>h3{
    color: var(--primary);
    padding-bottom: 6px;
    font-style: italic;
    font-weight: 400;
    font-size: 22px;
}
.project-card>p{
    color: var(--muted);
    padding-bottom: 20px;
    font-size: 18px;
}
.project-card>a{
    text-decoration: none;
    color: var(--text);
}
.project-card a:hover{
    color: var(--accent);
}
.cl-item{
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 10px;
    margin-bottom: 24px;
    transition: transform 0.2s ease;
}
.cl-item svg{
    height: 26px;
}
.contact-section{
    color: var(--text);
    margin-top: 100px;
}
.contact-section>h2{
    font-size: 40px;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: 10px;
}
.contact-section>p{
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: 10px;
    margin-bottom: 32px;
    color: var(--accent);
}
.contact-section svg{
    color: var(--primary);
}
.cl-item a{
    font-size: 20px;
    text-decoration: none;
    color: var(--text);
    cursor: pointer;
}
.cl-item:hover{
    transform: translateX(5px);
}








/* ---------- media query --------------- */
@media (max-width: 768px){
    .nav-links{
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        right: 24px;
        padding: 40px 80px 40px 40px;
        border-radius: 32px;
        background-color: var(--surface);
    }
    .menu-toggle{
        display: block;
        background: none;
        border: none;
        color: var(--text);
        font-size: 28px;
        cursor: pointer;
    }
    .nav-links.active{
        display: flex;
    }
    .navbar{
        padding: 15px 32px;
    }
    .footer{
        padding: 20px 32px;
        font-size: 14px;
    }
    #home{
        height: 60vh;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .my-image>img{
        height: 300px;
    }
    .home-text>p{
        font-size: 24px;
    }
    .home-text>h1{
        font-size: 32px;
    }
    .home-text>h2{
        font-size: 16px;
    }
    .home-text{
        width: 350px;
        height: 95px;
    }
    #home{
        height: 65vh;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-bottom: 25vh;
    }
    .about-me, .skillset, .projects, .contact-section{
        margin: 40px 36px;
    }
    .about-me>h3{
        font-size: 28px;
        color: var(--primary);
    }
    .about-me>p{
        margin-top: 16px;
        font-size: 18px;
    }
    .skill{
        height: 128px;
        padding: 12px;
        border-radius: 8px;
    }
    .skill>img{
        height: 85px;
        width: 85px;
    }
    .skill>p{
        margin-top: 4px;
        font-size: 12px;
        font-weight: bold;
    }
}