html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

/* Navigation Bar */
nav {
    background-color: rgba(72, 160, 193, 0.5); /* Air Superiority Blue 72A1C0 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    height: 5vh;
    width: 100%;
    left: 50%;
    padding: 20px 0;
    position: fixed;
    text-align: right;
    top: 0;
    margin: 0 auto;
    z-index: 100;
    transform: translateX(-50%);
    transition: all 0.5s ease;
    transform-origin: top center;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

nav.scrolled {
    transform: translateY(20px) translateX(-50%);
    width: 90%;
}

.nav-left {
    display: flex;
    padding: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.nav-left a {
    color: black;
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-right {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
}

.nav-right a {
    color: black;
    text-decoration: none;
    font-size: 1.25rem;
    font-family: 'Jetbrains Mono', monospace;
}

.nav-right a:hover {
    color: white;
    transform: scale(1.2);
}

section {
    color: black;
    min-height: 80vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* About Section */
#about-section {
    height: 100vh;
}

#about-section .about-top {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
    position: relative;
}

#about-section .profile-picture {
    height: 20rem;
    width: 20rem;
    border-radius: 50%;
    overflow: hidden;
}

#about-section .profile-picture img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#about-section .profile-picture img:hover {
    transform: scale(1.2);
}

#about-section .decoration {
    transform: scaleX(-1);
    position: absolute;
    bottom: 0;
    left: -3rem;
    height: auto;
    width: 15rem;
    pointer-events: none;
}

#about-section .titles {
    display: flex;
    flex-direction: column;
    margin: 0;
}

#about-section .sub-title {
    font-size: 2rem;
    font-family: 'Jetbrains Mono', monospace;
    margin-bottom: 0.3rem;
}

#about-section .main-title {
    font-weight: bold;
    text-align: center;
    font-size: 4rem;
    font-family: 'Jetbrains Mono', monospace;
    margin-top: 0;
    margin-bottom: 0;
}

#about-section .bio {
    padding-left: 0.5rem;
    max-width: 60rem;
    font-family: 'Montserrat', sans-serif;
}

#about-section .bio-description {
    font-size: 1rem;
    margin-bottom: 2rem;
}

#about-section .resume {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 0.25rem solid #72A1C0;
    transition: transform 0.4s;
}

#about-section .resume a {
    text-decoration: none;
    color: #72A1C0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
}

#about-section .resume:hover {
    transform: scale(1.2);
}

#about-section .skills {
    display: flex;
    margin-top: 5rem;
    gap: 2rem;
}

#about-section .skills img {
    transition: transform 0.4s;
    height: 3rem;
    width: auto;
}

#about-section .skills img:hover {
    transform: scale(1.2);
}

/* Projects Section */
#my-projects {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

#my-projects .project {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#my-projects .project.reverse {
    flex-direction: row-reverse;
}

#my-projects .project img {
    height: 15rem;
    width: auto;
}

#my-projects .project-description {
    font-family: 'Jetbrains Mono', monospace;
}

#my-projects .fade-in {
    opacity: 0;
    transform: translateY(5rem);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

#my-projects .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Extracurriculars Section */
#involvements {
    height: 100vh;
}

/* Contact Section */
#contact-info {
    height: 100vh;
}

#contact-info .social-links {
    display: flex;
    margin-top: 5rem;
    gap: 2rem;
}

#contact-info .social-links i {
    color: #8d709a; /* Lavender Purple */
    font-size: 3.5rem;
    transition: transform 0.4s, color 0.4s;
}

#contact-info .social-links i:hover {
    color: #B0A3D4; /* Wisteria */
    transform: scale(1.2);
}

/* For my dark mode friends */
@media (prefers-color-scheme: dark) {

}