/* General Reset */ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Bar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    padding: 8px 12px;
    transition: 0.3s ease-in-out;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Content Layout */
.section {
    background: rgba(0, 0, 0, 0.6);
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(48, 213, 200, 0.7); /* Subtle turquoise outline */
    transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

/* Glow effect on hover */
.section:hover {
    border-color: #30D5C8; /* Solid turquoise border on hover */
    box-shadow: 0 0 15px rgba(48, 213, 200, 0.8); /* Turquoise glow */
}

/* Sections */
.content {
    position: relative;
    top: 60px; /* Adjusted to avoid overlap with the nav bar */
    padding: 20px;
    color: white;
    text-align: center;
}

/* Section Headings */
h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #30D5C8; /* Turquoise for emphasis */
}

#extracurriculars h3 {
    color: #7fffd4;
    font-size: 22px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#extracurriculars h3 span {
    font-size: 14px; /* Smaller size */
    color: #ffffff; /* Keep it readable */
    font-weight: normal; /* Less emphasis than the h3 */
}

#experiences h3 {
    color: #7fffd4;
    font-size: 22px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#experiences h3 span {
    font-size: 14px; /* Smaller size */
    color: #ffffff; /* Keep it readable */
    font-weight: normal; /* Less emphasis than the h3 */
}

/* Lists */
ul {
    list-style-type: square;
    padding-left: 20px;
    text-align: left;
}

#skills ul {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness on smaller screens */
    gap: 10px; /* Adds spacing between skills */
    padding: 0;
    justify-content: center;
}

#skills ul li {
    list-style: none;
    padding: 8px 15px;
    border: 2px solid #30D5C8; /* Turquoise border */
    border-radius: 8px; /* Rounded edges */
    font-weight: bold;
    color: white;
    background: rgba(48, 213, 200, 0.2); /* Subtle turquoise background */
    transition: transform 0.2s ease-in-out, background 0.2s ease-in-out;
}

#skills ul li:hover {
    background: rgba(48, 213, 200, 0.4); /* Darker turquoise on hover */
    transform: scale(1.1); /* Slight zoom effect */
}

/* Links */
a {
    color: #30D5C8;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 16px;
        margin: 5px;
    }

    .section {
        width: 90%;
        padding: 15px;
    }
}

html {
    scroll-padding-top: 60px; /* Adjust this value based on your navbar height */
    scroll-behavior: smooth;
}
