* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;

}

body {
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

header {
    position: fixed;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    color: rgb(1, 53, 53);
    padding: 0.5rem 1.5rem;
    border-radius: 5rem;
    z-index: 1000;

}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: skyblue;
    font-size: 1.3rem;
    font-weight: 600;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.2);
    animation: rgb-cycle 0.5s linear infinite;
}

.header img {
    width: 3vw;
    border-radius: 2rem;

}

.nav-links {
    display: flex;
    gap: 2rem;
}

li a {
    position: relative;
    color: white;
    font-weight: 300;
}

li a::before {
    position: absolute;
    content: '';
    width: 0;
    left: 0;
    height: 5px;
    top: 25px;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(29, 17, 194), rgb(1, 17, 24));

}

li a:hover::before {
    width: 100%;
}

.visit-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 5rem;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(29, 17, 194), rgb(1, 17, 24));
}

.visit-btn:hover {
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(1, 17, 24), rgb(29, 17, 194));
    transform: scale(1.03rem);
}

#menu-icon {
    font-size: 2rem;
    display: none;
}


/* ===This is for Section. i.e all the sections.===*/


section {
    min-height: 100vh;
    padding: 5rem 10%;
    width: 100%;
    position: relative;
}



/* ===This is for About===*/


.about {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about .about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}

.about img {
    width: 30vw;
    border-radius: 50%;
    /*animation: rgb-cycle 5s linear infinite;*/
}

.info-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.info-box h3 {
    font-size: 1.85rem;
    font-weight: 500;
    opacity: 0.8;
    color: #ffffff;
}

.info-box h1 {
    font-size: 4rem;
    font-weight: 600;
    background: #6C0703;
    animation: rgb-cycle2 2s linear infinite;
    background-clip: text;
    color: transparent;
}

.info-box span {
    background: linear-gradient(to right, skyblue, rgb(29, 17, 194));
    background-clip: text;
    color: transparent;
    font-size: 2rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
}

.btn {
    border-radius: 3rem;
    padding: 0.5rem 2rem;
    border: 5px solid #4ccaf059;
    color: #ffffff;
    cursor: pointer;
    font-weight: 500;
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
}

.btn:hover {
    background-color: #ffffff5e;
    border-color: #4ccaf080;
    color: red;
    animation: rgb-cycle2 2.5s linear infinite;
    transform: scale(1.05);
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-style: dashed;
}

.btn-disabled:hover {
    background-color: transparent;
    color: inherit;
}

.socials {
    display: flex;
    gap: 3rem;
    color: rgb(255, 255, 255);
}

.socials i {
    font-size: 2rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.socials a:visited {
    color: inherit;
}

.socials i:hover {
    transform: scale(1.2);
}



/* ===This is for Experience===*/

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 650;
    margin-bottom: 3rem;
    animation: rgb-cycle2 7s linear infinite;
}

.experience-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 650;
    margin: 0 auto 3rem auto;
    border: 5px solid rgba(0, 0, 0, 0.548);
    color: #d0d3dd;
    background-color: #03030334;
    padding: 0.25rem;
    display: flex;
    max-width: 400px;
    justify-content: center;
    transition: 0.2s ease-in-out;
}

.experience-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
}

.grid-card {
    border: 5px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(15, 15, 26, 0.75);
    color: rgba(15, 15, 26, 0.75);
    border-radius: 0rem;
    padding: 2rem;
    gap: 0.5rem;
    filter: blur(1px);
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: left;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.grid-card:hover {
    background-color: #30303077;
    filter: none;
    color: #b0b3c0;
    transform: translateX(-10px) translateY(-10px);
}

.grid-card i {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.grid-card i:hover {
    transform: scale(1.1);
    animation: rgb-cycle2 1s linear infinite;
}

.grid-card span {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgb(255, 255, 255);
}



/* ===This is for Project===*/


.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    justify-content: center;
    gap: 3.55rem;
}

.project-card {
    padding: 1rem 2rem;
    background-color: rgba(15, 15, 26, 0.75);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.45rem;
    border: 2px solid black;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.project-card:hover {
    transform: translateY(-10px)scale(1.05);
    animation: rgb-cycle2 3s linear infinite;
    background-color: #48978b49;
    color: #405896;
}

.project-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0.5rem;
}

.project-card:hover .btn {
    border: 8px solid #9687eba9;
    color: rgba(235, 231, 231, 0.432);
}

.project-card:hover .btn:hover {
    animation: rgb-cycle 0.5s linear infinite;
    background: rgb(235, 137, 137);
    color: white;
}



/* This is for Hobbies*/

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    gap: 3.5rem;
}

.hobby-card {
    padding: 1rem 2rem;
    background-color: rgba(15, 15, 26, 0.75);
    color: #b0b3c0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5rem;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;

}

.hobby-card:hover {
    transform: translateY(-10px)scale(1.05);
    animation: rgb-cycle 1s linear infinite;
    color: rgb(29, 138, 2);
    background: rgb(117, 2, 2);
}


.hobby-card img {
    width: 100%;
    border: 4px solid black;
    border-radius: 0.5rem;
}



/* ===This is for Footer===*/

footer {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

























/* This is for the animation. This is done using AI. ONLY THE CODE BELOW THIS. For HC team*/



/* ===This is for Section Dividers===*/

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 12%;
    max-width: 900px;
    margin: 0 auto;
}

.section-divider span {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, skyblue, rgb(29, 17, 194));
    border-radius: 1rem;
}

.section-divider span:last-child {
    background: linear-gradient(to left, transparent, skyblue, rgb(29, 17, 194));
}

.divider-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 0.3rem;
    animation: divider-pulse 2.5s ease-in-out infinite;
}

@keyframes divider-pulse {

    0%,
    100% {
        transform: scale(1);

    }

    50% {
        transform: scale(1.15);

    }
}



@keyframes rgb-cycle {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes rgb-cycle2 {
    0% {
        color: red;
    }

    16% {
        color: orange;
    }

    33% {
        color: yellow;
    }

    50% {
        color: green;
    }

    66% {
        color: blue;
    }

    83% {
        color: violet;
    }

    100% {
        color: red;
    }
}