@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Canvas Background */
html,
body {
    margin: 0;
    padding: 0;
    background-color: transparent;
    position: relative;
    height: 100%;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    filter: url("#shadowed-goo");
    background-color: #1a1a1a;
}

svg {
    display: none;
}

/* Navigation Styles */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2000;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background-color: rgba(26, 26, 26, 0.9);
}

.title h1 {
    font-size: 24px;
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
}

.navBtns {
    display: flex;
    gap: 50px;
    position: fixed;
    top: 0;
    right: 0;
    padding: 40px;
}

.navBtn {
    font-size: 18px;
    color: #e1e1e1;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
}

.navBtn a {
    text-decoration: none;
    color: inherit;
}

.navBtn:focus,
.navBtn:hover {
    color: #fff;
}

.navBtn:focus:after,
.navBtn:hover:after {
    width: 100%;
    left: 0%;
}

.navBtn:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
}

#active {
    color: rgb(0, 119, 216);
}

#active:after {
    background-color: rgb(0, 119, 216);
    width: 100%;
    left: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Section 1 */
.section1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10%;
    position: relative;
    z-index: 10;
    padding: 20px;
    border-radius: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.skill-category {
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 100%;
}

.skill-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-category h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #e0e0e0;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.skill-category li i.font-awesome-icon {
    font-size: 1.2em;
    margin-right: 10px;
    color: #4da8ff;
}

.skill-category li .skill-name {
    flex: 1;
    font-weight: bold;
    color: #e0e0e0;
}

.progress-bar {
    width: 150px;
    height: 12px;
    background-color: #444;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #4da8ff;
    width: 0;
    transition: width 1s ease-in-out;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .body {
        flex-direction: column;
        align-items: center;
        padding: 100px 20px 20px;
    }

    .profile {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .profile h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .profile p {
        font-size: 16px;
        line-height: 1.5;
        text-align: center;
    }

    .profilePic {
        width: 250px;
        height: 330px;
        margin: 20px auto;
    }

    .profilePic img {
        width: 90%;
        height: 90%;
    }

    .contactBtn {
        width: 140px;
        height: 50px;
        font-size: 15px;
    }

    .navBtns {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.9);
        padding: 100px 20px 20px;
        text-align: center;
        transition: right 0.3s ease;
    }

    .navBtns.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .navBtn {
        margin: 20px 0;
        font-size: 18px;
        font-family: "Poppins", sans-serif;
        font-weight: 800;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1999;
    }

    .overlay.active {
        display: block;
    }

    .section1 {
        margin-top: 30%;
        padding: 15px;
        max-width: 100%;
    }

    .skills-grid {
        padding: 10px;
        gap: 15px;
    }
    .skill-category {
        padding: 15px;
        border-radius: 8px;
    }
    .skill-category h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    .skill-category li {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 12px;
    }
    .skill-category li i {
        font-size: 1em;
        margin-right: 0;
        margin-bottom: 5px;
    }
    .skill-category li .skill-name {
        font-size: 0.9em;
        margin-bottom: 5px;
    }
    .progress-bar {
        width: 100%;
        height: 10px;
    }
}

@media screen and (max-width: 480px) {
    .body h1 {
        font-size: 28px;
    }

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

    .profilePic {
        width: 200px;
        height: 260px;
    }

    .contactBtn {
        width: 120px;
        height: 45px;
        font-size: 14px;
    }
}
