* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    padding-top: 60px;
    overflow-x: hidden;
}

.navbar {
    position: fixed;              
    top: 0;                      
    left: 0;
    width: 100%;                 
    z-index: 10;                 
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 0 20px;
    height: 60px;
    box-shadow: 0 2px 5px rgba(56, 55, 55, 0.2);
}

.logo-button {
    display: inline-block;
    color: white;
    font-size: 40px;
    font-family: Arial, sans-serif;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.logo-button:hover {
    color: #29fa1e;
}

.defaultNav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.defaultNav li {
    margin-left: 20px;
}

.defaultNav li a {
    color: white;
    text-decoration: none;
    font-size: 25px;
    transition: color 0.3s ease;
}

.defaultNav li a:hover, .defaultNav li a.active-page {
    color: #29fa1e;
}

.defaultNav li a.active-page {
    text-decoration: underline;
    text-underline-offset: 10px;
    color: #29fa1e;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 1rem 0 1rem;
    color: white;
}

.skill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.skill-icon {
    position: relative;
    width: 64px;
    height: 64px;
    cursor: default;
}

.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

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

.skill-icon::after {
    content: attr(data-name);
    position: absolute;
    bottom: -1.6rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 1rem;
    padding: 0.2em 0.5em;
    border-radius: 0.25em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.skill-icon:hover::after {
    opacity: 1;
}

html, body {
    height: 100%;
}

.content {
    position: relative;
    z-index: 1;
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.skills-section {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 900px) {
    .navbar {
        height: 54px;
        padding: 0 14px;
    }
    body {
        padding-top: 54px;
    }
    .logo-button {
        font-size: 28px;
    }
    .defaultNav {
        flex-wrap: wrap;
        gap: 10px 14px;
    }
    .defaultNav li {
        margin-left: 0;
    }
    .defaultNav li a {
        font-size: 18px;
    }
    .content {
        height: auto;
        min-height: calc(100vh - 54px);
        padding: 2rem 1rem;
        justify-content: flex-start;
        gap: 1rem;
    }
    .section-title {
        font-size: 1.75rem;
        margin: 0.5rem 0 1rem;
    }
    .skill-icon {
        width: 56px;
        height: 56px;
    }
    .skill-grid {
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-button {
        font-size: 22px;
    }
    .defaultNav li a {
        font-size: 16px;
    }
    .section-title {
        font-size: 1.rem;
        margin: 0.5rem 0 0.75rem;
    }
    .skill-icon {
        width: 48px;
        height: 48px;
    }
    .skill-grid {
        gap: 1rem;
    }
    .skill-icon::after {
        font-size: 0.72rem;
        bottom: -1.4rem;
    }
}