html{
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #141414;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2%;
}

.navbar h2 {
    font-size: 1.9rem;
    font-weight: 750;
    text-decoration: none;
    color: #00ff88;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.navbar a{
    margin-left: 3rem;
    font-size: 1.10rem;
    font-weight: 600;
    text-decoration: none;
    color:aliceblue;
}

.navbar a:hover{
    color: #00ff88;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.hello h1{
    color: #ffffff;
    font-size: 3.2rem;
    padding-bottom: 3%;
}

.hello span{
    color: #00ff88;
    font-size: 3.5rem;
    padding: 2%;
}

.image{
    display: flex;
    justify-content: space-around;
    padding-bottom: 5%;
    padding: 0 8%;
}

.image img{
    /* border: 3px solid #124e0b; */
    /* border-radius: 50%; */
    width: 15%;
    height: 15%;
}

.image #home{
    width: 17%;
    height: 17%;
    border-radius: 50%;
    border: 3px solid #00ff88;
}

.image img:hover{
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.image h2{
    font-size: 1.9rem;
    font-weight: 750;
    text-decoration: none;
    color: #0a4c79;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.image .bio p{
    color: #ffffff;
    font-size: 0.9rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.resume{
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    background-color: #00ff88;
    color: #000000;
    font-size: 0.8rem;
    font-weight: 750;
    text-decoration: none;
}

.resume a{
    color: #000000;
    text-decoration: none;
}

.resume:hover{
    background-color: #00ff77;
    color: #f0f0f0;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.image .connect a{
    color: #98b826;
    font-size: 0.9rem;
    text-decoration: none;
    padding-right: 9px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.image .connect img{
    /* padding-left: 30px; */
    width: 40px;
    height: 40px;
}

.work{
    display: flex;
    justify-content: space-around;
    padding: 2% 0;
}

.work h2{
    font-size: 1.5rem;
    font-weight: 750;
    text-decoration: none;
    margin-bottom: 20px;
    color: #00ff88;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.work p{
    color: #ffffff;
    font-size: 0.9rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.work .box h2{
    margin-bottom: 20px;
    color: #00ff88;
}

.box{
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 30%;
}

.skills{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2% 0;
}

.skills h2{
    font-size: 2.7rem;
    font-weight: 750;
    text-decoration: none;
    margin-bottom: 20px;
    color: #00ff88;
    text-align: center;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 90px;
    background-color: #1f1f1f;
    padding: 2% 0;
    border-radius: 10px;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
    text-align: center;
}

.skill img {
    width: 80px;
    height: auto;
    padding-top: 15px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.skill:hover img {
    transform: scale(1.1);
}

.skill p {
    margin-top: 5px;
    font-size: 18px;
    color: #eee;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.projects{
    padding: 2% 0;
}

.projects h2{
    font-size: 2.7rem;
    font-weight: 750;
    text-decoration: none;
    margin-bottom: 20px;
    color: #00ff88;
    text-align: center;
}

.project {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.project img {
    width: 200px;
    height: 230px;
    border-radius: 10px;
}

.project-details h3{
    font-size: 1.5rem;
    font-weight: 750;
    text-decoration: none;
    margin-bottom: 20px;
    color: #00ff88;
    font-family: Arial, Helvetica, sans-serif;
}

.project-details p{
    color: #ffffffcc;
    font-size: 0.9rem;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
}

.project-details {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
}

.project-details .gt-btn{
    padding: 5px 15px;
    border-radius: 15px;
    border: none;
    background-color: #00ff88;
    color: #000000;
    font-size: 0.8rem;
    font-weight: 750;
    text-decoration: none;
}

.gt-btn a{
    color: #000000;
    text-decoration: none;
}

.gt-btn:hover{
    background-color: #00ff77;
    color: #f0f0f0;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.contact{
    justify-content: center;
    padding: 2% 0;
}

.content{
    display: flex;
    margin-bottom: 20px;
    gap: 100px;
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    width: 96.5%;
    justify-content: space-around;
}

.contact h2{
    font-size: 2.7rem;
    font-weight: 750;
    text-decoration: none;
    margin-bottom: 20px;
    color: #00ff88;
    text-align: center;
}

.form{
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
}

.form input{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ffffff;
    background-color: #1f1f1f;
    color: #ffffff;
}

.form textarea{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ffffff;
    background-color: #1f1f1f;
    color: #ffffff;
}

.form button{
    width: 100%;
    padding: 10px;
    margin-top: 40px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    background-color: #00ff88;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 750;
}

  /* Hover Effects */
.form button:hover {
    background-color: #00ff77;
    color: #f0f0f0;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.success-message {
    display: none;
    padding: 10px;
    margin-top: 20px;
    background-color: #28a745;
    color: white;
    border-radius: 5px;
    text-align: center;
}

.button-area{
    justify-content: center;
    margin-left: 25px;
}

.footer{
    display: flex;
    margin-top: 30px;
    justify-content: space-around;
    align-items: center;
}

.footer-social{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-social img{
    width: 40px;
    height: 40px;
}

.footer-social img:hover{
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#loader{
    height: 100%;
    width: 100%;
    background-color: #000;
    position: fixed;
    z-index: 999;
    top: 0;
    transition: top ease 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loader h1{
    font-size: 4vw;
    color: transparent;
    background: linear-gradient(to right,#00cc66,#00ff22);
    -webkit-background-clip: text;
    position: absolute;
    opacity: 0;
    animation-name: load;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-timing-function: linear;
}
#loader h1:nth-child(2){
    animation-delay: 2s;
}
#loader h1:nth-child(3){
    animation-delay: 3s;
}

@keyframes load {
    0%{
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    90%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

@media (max-width:600px) {
    #loader h1{
        font-size: 9vw;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
    }

    .navbar h2 {
        font-size: 1.8rem;
    }

    .links {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        background-color: #444;
        position: absolute;
        top: 4rem;
        right: 1rem;
        padding: 1rem;
        border-radius: 8px;
    }

    .links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hello {
        padding: 2% 0;
    }

    .hello h1 {
        font-size: 1.6rem;
    }

    .hello span {
        font-size: 2rem;
    }

    .image {
        flex-direction: column;
        align-items: center;
        padding: 2% 0;
    }

    .image img {
        width: 30%;
        height: 30%;
    }

    .image #home {
        width: 40%;
        height: 40%;
    }

    .image h2 {
        font-size: 1.5rem;
    }

    .image .bio p {
        font-size: 0.8rem;
    }

    .bio h2{
        font-size: 1.5rem;
        text-align: center;
    }

    .bio p{
        font-size: 0.8rem;
        text-align: center;
    }

    .resume{
        font-size: 0.8rem;
        margin: 0 35%;
    }

    .connect h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .connect a {
        font-size: 0.8rem;
        justify-content: center;
    }

    .connect img {
        width: 30px;
        height: 30px;
    }

    .work {
        flex-direction: column;
        align-items: center;
    }

    .work .hero {
        align-items: center;
    }

    .hero h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .hero p {
        font-size: 0.8rem;
        text-align: justify;
    }

    .work .box {
        width: 80%;
        margin-bottom: 15px;
    }

    .box h2 {
        font-size: 1.5rem;
    }

    .box p {
        font-size: 0.8rem;
    }

    .skills {
        padding: 2% 0;
    }

    .skills h2 {
        font-size: 1.5rem;
    }

    .skills-grid {
        gap: 30px;
    }

    .skill img {
        width: 60px;
    }

    .skill p {
        font-size: 14px;
    }

    .projects {
        margin-top: 20px;
        padding: 2% 0;
    }

    .projects h2 {
        font-size: 1.5rem;
    }

    .project {
        flex-direction: column;
        align-items: center;
    }

    .project img {
        width: 80%;
        gap: 50px;
    }

    .project-details {
        width: 80%;
    }

    .project-details h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .project-details p {
        font-size: 0.8rem;
    }

    .contact {
        flex-direction: column;
        align-items: center;
        padding: 2% 0;
    }

    .contact h2 {
        font-size: 1.5rem;
    }

    .content {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .content img{
        display: none;
    }

    .form {
        width: 100%;
    }

    .form input {
        width: 92%;
    }

    .form textarea {
        width: 92%;
    }

    .form button {
        width: 89%;
    }

    .footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-social img {
        width: 30px;
        height: 30px;
    }
}