@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

:root {
    --text-primary: #353535;
    --text-secondary: #666;
    --text-tertiary: #dedede;
    --primary: darkred;
    --secondary: red;
    --background-primary: #cecece;
    --background-secondary: #ddd;

    --main-height: calc(100vh - 130px);
    --main-height-600: calc(100vh - 80px);
    --main-height-400: calc(100vh - 106px);
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--text-primary);
    /* background-color: var(--background-primary); */
    background-image: url(images/background/background9.webp);
    background-size: cover;       
    background-attachment: fixed; 
    background-position: center;  
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: var(--text-primary);
}

p {
    margin-bottom: 1.5rem;
}

p.unspaced {
    margin-bottom: 0;
}

.container {
    background-color: rgba(206, 206, 206, 0.95);
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.header {
    text-align: center;
    /* margin-bottom: 2rem; */
    background-color: var(--background-secondary);
    border-bottom: 1px solid var(--background-primary);
    align-items: space-between;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.nav-container {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    color: var(--text-secondary);
}

.navbar {
    justify-content: space-evenly;
    display: flex;
    width: 100%;
}

.navs {
    list-style-type: none;
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: space-between;
    padding-left: 4rem;
    padding-right: 4rem;
}

.navs a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
}

.navs a:hover {
    color: var(--text-primary);
    font-size: 18px;
}

.navs a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.navs a.active {
    color: var(--primary);
}

.navs a::after {
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform-origin: center;
}

.navs a.active::after {
    transform-origin: center;
    content: "";
    position: absolute;
    margin-top: 1px;
    left: 0;
    display: block;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    height: 3px;
    width: 100%;
    border-radius: 5px;
    transform: scaleX(1);
    opacity: 1;
}

.logo {
    width: 120px;
    padding: 10px;
} 

.main {
    padding-left: 6rem;
    padding-right: 6rem;
    height: var(--main-height);
    margin-top: 80px;
    margin-bottom: 50px;
    /* justify-content: center; */
    /* align-items: center; */
    /* flex-direction: column; */
}

#home {
    padding-left: 4.5rem;
    padding-right: 4.75rem;
    height: var(--main-height);
    /* display: flex; */
    /* justify-content: space-between; */
    justify-content: space-evenly;
    align-items: center;
}

.intro {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 2.5rem;
}

#gradient-intro {
    background: linear-gradient(to right, var(--primary), rgb(197, 0, 0), var(--secondary), rgb(197, 0, 0), var(--primary));
    background-size: 200%;
    opacity: 0;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 2.25s ease forwards, animate-gradient 2.8s linear infinite;
}

#gradient-intro:hover {
    animation-play-state: paused;
}

@keyframes fadeInDown {
    to { opacity: 1; }
}

@keyframes animate-gradient {
    to {
        background-position: -200%;
    }
}

#name-highlight {
    cursor: default;
}

.tagline {
    font-size: 1.2rem;
    letter-spacing: 3px;
    font-family: monospace;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid var(--text-primary);
    width: 100%;
    animation: typing 4.5s steps(35) forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

#wave {
    animation: wave-animation 2.5s infinite;
    display: inline-block;
    transform-origin: 70% 70%;
    font-size: 3rem;
}

@keyframes wave-animation {
    0% { transform: rotate(0.0deg) }
    10% { transform: rotate(14.0deg) }
    20% { transform: rotate(-8.0deg) }
    30% { transform: rotate(14.0deg) }
    40% { transform: rotate(-4.0deg) }
    50% { transform: rotate(10.0deg) }
    60% { transform: rotate(0.0deg) }
    100% { transform: rotate(0.0deg) }
}

#about-photo {
    width: 360px;
    height: 360px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

#about {
    padding-top: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* height: var(--main-height); */
    padding-bottom: 5rem;
}

.about-heading, .projects-heading, .work-heading, .vol-heading, .contact-heading, .more-heading {
    margin-top: 20px;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.about-content {
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    padding: 1rem;
    width: 100%;
    max-width: 800px;
    text-align: center;
    border-radius: 16px;
    line-height: 2rem;
    animation: fadeInUp 0.7s ease;
    box-shadow: 0 8px 16px rgba(0,0,0, 0.4);
}

#projects {
    padding-top: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 5rem;
    width: 100%;
}

.projects-content-container, .vol-content-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.project, .vol {
    background-color: rgba(255, 255, 255, 0.4);
    padding: 1rem;
    width: 100%;
    max-width: 750px;
    border-radius: 16px;
    margin-bottom: 12px;
    position: relative;
}

.project.left, .job.left, .vol.left {
    text-align: left;
    align-self: flex-start;
    margin-right: auto;
}

.project.right, .job.right, .vol.right {
    text-align: right;
    align-self: flex-end;
    margin-left: auto;
}

.project.left .project-title, .job.left .job-title, .vol.left .vol-title {
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--secondary));
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.project.right .project-title, .job.right .job-title, .vol.right .vol-title {
    background: linear-gradient(to left, var(--primary), var(--secondary), var(--secondary));
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.project-title::after, .job-title::after, .vol-title::after {
    content: "";
    display: block;
    background-color: var(--background-primary);
    height: 3px;
    width: 100%;
    border-radius: 5px;
    margin-top: 2px;
}

.project-content p, .job-content p, .vol-content p {
    color: var(--text-primary);
}

.fas.fa-chevron-right, .fas.fa-chevron-left {
    color: var(--primary);
}

#skill-highlight {
    color: var(--secondary);
}

.link, .link:visited {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s;
}

.link:hover {
    color: var(--secondary);
}

#work {
    padding-top: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* padding-bottom: 5rem; not necessary as of now */
    width: 100%;
}

.work-content-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.job {
    background-color: rgba(255, 255, 255, 0.4);
    padding: 1rem;
    width: 100%;
    max-width: 750px;
    border-radius: 16px;
    margin-bottom: 12px;
    text-align: center;
}

.job .job-title {
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    text-align: center;
}

#volunteer {
    padding-top: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 5rem;
    width: 100%;
}

#contact {
    padding-top: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 5rem;
    width: 100%;
}

.input-group, .message-field i {
    color: var(--primary);
}

.form-container p {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0,0,0, 0.4);
    animation: fadeInUp 0.7s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    } to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.input-field {
    position: relative;
}

.message-field {
    position: relative;
}

.input-field i, .message-field i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.message-field i{
    top: 25px;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.5s ease;
}

#contact textarea {
    height: 100px;
    resize: none;
    margin-bottom: 25px;
}

#contact input:focus, #contact textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,0,0, 0.33); 
}

input::placeholder, textarea::placeholder {
    color: var(--text-secondary);
}

#contact-submit-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--text-tertiary);
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s ease;
}

#contact-submit-btn:hover {
    transform: translateY(-7px);
    color: white;
    box-shadow: 0 4px 12px rgba(255,0,0, 0.75); 
}

#contact-submit-btn:active {
    transform: translateY(0);
}

.contact-btn-content {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.contact-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--background-primary);
    display: flex;
    justify-content: space-evenly;
    font-size: 1.4rem;
    color: var(--primary);
}

.contact-info .info-item {
    transition: all 0.25s ease;
}

.contact-info .info-item:hover {
    cursor: pointer;
    transform: translateY(-5px);
    color: var(--secondary);
}

#about, #projects, #work, #volunteer, #more, #contact {
    scroll-margin-top: calc(1rem + 95px);
}

#more {
    padding-top: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 5rem;
    width: 100%;
}

.more-container {
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    /* padding: 1rem; */
    padding: 25px;
    width: 100%;
    max-width: 1025px;
    border-radius: 16px;
    line-height: normal;
    animation: fadeInUp 0.7s ease;
    box-shadow: 0 8px 16px rgba(0,0,0, 0.4);
}

.interests-heading, .summary-heading {
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--secondary));
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.where-heading {
    background: linear-gradient(to left, var(--primary), var(--secondary), var(--secondary));
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.interests {
    text-align: left;
    align-self: flex-start;
    margin-right: auto;
}

.interests::after, .where::after {
    content: "";
    display: block;
    background-color: var(--background-primary);
    height: 3px;
    width: 100%;
    border-radius: 5px;
    margin-top: 2px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.interest-highlight {
    color: var(--secondary);
}

.where {
    text-align: right;
    align-self: flex-end;
    margin-left: auto;
}

.page {
    display: none;
}

.page.active {
    /* display: block; */
    display: flex;
}

.footer {
    background-color: var(--background-secondary);
    border-top: 1px solid var(--background-primary);
    color: var(--text-secondary);
    text-align: center;
    position: fixed;
    bottom: 0;
    padding: 5px;
    width: 100%;
}

#resume-btn {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    color: var(--text-tertiary);
    margin-top: 20px;
}

#resume-btn:hover {
    transform: translateY(-7px);
    color: white;
    box-shadow: 0 4px 12px rgba(255,0,0, 0.75); 
}

#resume-btn:active {
    transform: translateY(0);
}

.resume-btn-content a {
    text-decoration: none;
    color: var(--text-tertiary);
    width: fit-content;
}

@media (max-width: 1242px) {
    .intro {
        font-size: 2.25rem;
    }

    .tagline {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    #wave {
        font-size: 2.75rem;
    }

    #about-photo {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 1100px) {
    .intro {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    #wave {
        font-size: 2.5rem;
    }

    #about-photo {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 1020px) {
    .intro {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    #wave {
        font-size: 2rem;
    }

    #about-photo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 925px) {
    .tagline {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    #wave {
        font-size: 2rem;
    }

    #about-photo {
        width: 175px;
        height: 175px;
    }
}

@media (max-width: 880px) {
    .intro {
        font-size: 1.6rem;
    }

    #wave {
        font-size: 1.75rem;
    }

    #about-photo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 825px) {
    #about-photo {
        width: 125px;
        height: 125px;
    }
}

@media (max-width: 805px) {
    .intro {
        font-size: 1.4rem;
    }

    .tagline {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    #wave {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    p {
        margin-bottom: 1.15rem;
    }

    .container {
        background-color: rgba(206, 206, 206, 0.95);
        position: relative;
        overflow: hidden;
        width: 100vw;
        height: 100vh;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .header {
        text-align: center;
        /* margin-bottom: 2rem; */
        background-color: var(--background-secondary);
        border-bottom: 1px solid var(--background-primary);
        align-items: center;
        width: 100%;
        display: flex;
        padding: 4px;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        /* position: absolute; */
    }

    .nav-container {
        align-items: center;
        display: flex;
        justify-content: center;
        width: 100%;
        color: var(--text-secondary);
    }

    .navbar {
        justify-content: space-evenly;
        display: flex;
        width: 100%;
    }

    .navs {
        /* flex: 1; */
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        padding-top: 2px;
        gap: 1.5rem;
        font-size: 0.9rem;
        justify-content: center;
    }

    .navs a {
        position: relative;
    }

    .navs a:hover {
        font-size: 0.9rem;
    }

    .navs a:focus {
        outline: 1px solid var(--primary);
        outline-offset: 2px;
    }

    .navs a.active {
        font-size: 0.9rem;
    }

    .navs a::after {
        transform: scaleX(0);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        transform-origin: center;
    }

    .navs a.active::after {
        transform-origin: center;
        content: "";
        position: absolute;
        margin-top: 1px;
        left: 0;
        display: block;
        background: linear-gradient(to right, var(--primary), var(--secondary));
        height: 1px;
        width: 100%;
        border-radius: 5px;
        transform: scaleX(1);
        opacity: 1;
    }

    .logo {
        width: 36px;
        height: auto;
        padding: 4px;
    } 

    .main {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        height: var(--main-height-600);
        margin-top: 53px;
        margin-bottom: 27px;
        /* justify-content: center; */
        /* align-items: center; */
        /* flex-direction: column; */
    }

    #home {
        padding-left: 0;
        padding-right: 0;
        height: var(--main-height-600);
        /* display: flex; */
        /* justify-content: space-between; */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        /* justify-content: center; */
        /* align-items: center; */
    }

    .home-intro {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .intro {
        color: var(--primary);
        margin-bottom: 12px;
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        width: 100%;
    }

    #wave {
        font-size: 2rem;
    }

    #about-photo {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }

    #about {
        /* padding-top: 2rem; */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* height: var(--main-height); */
        /* padding-bottom: 5rem; */
    }

    .about-heading, .projects-heading, .work-heading, .vol-heading, .contact-heading, .more-heading {
        margin-top: 10px;
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .about-content {
        padding: 1rem;
        width: 100%;
        line-height: 1.7rem;
        font-size: 0.9rem;
    }

    #projects {
        /* padding-top: 2rem; */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        /* padding-bottom: 5rem; */
    }

    .projects-content-container, .vol-content-container {
        display: flex;
        max-width: 1000px;
        width: 100%;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
    }

    .project, .vol {
        background-color: rgba(255, 255, 255, 0.4);
        padding: 1rem;
        width: 100%;
        max-width: 750px;
        border-radius: 16px;
        margin-bottom: 8px;
        position: relative;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-content {
        font-size: 0.9rem;
    }

    .project.left .project-title, .job.left .job-title, .vol.left .vol-title {
        margin-bottom: 12px;
    }

    .project.right .project-title, .job.right .job-title, .vol.right .vol-title {
        margin-bottom: 12px;
    }

    .project-title::after, .job-title::after, .vol-title::after {
        height: 2px;
        width: 100%;
        border-radius: 5px;
        margin-top: 2px;
    }

    #work {
        padding-top: 2rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: var(--main-height-600);
        padding-bottom: 5rem;
    }

    .work-content-container {
        display: flex;
        max-width: 1000px;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .job {
        padding: 1rem;
        width: 100%;
        max-width: 750px;
        border-radius: 16px;
        margin-bottom: 12px;
        text-align: center;
    }

    .job .job-title {
        margin-bottom: 12px;
        font-size: 1.2rem;
        text-align: center;
    }

    .job-content {
        font-size: 0.9rem;
    }

    #volunteer {
        /* padding-top: 2rem; */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        /* padding-bottom: 5rem; */
        width: 100%;
    }

    .vol-title {
        font-size: 1.2rem;
    }

    .vol-content {
        font-size: 0.9rem;
    }

    #contact {
        padding-top: 2rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-bottom: 5rem;
        width: 100%;
    }

    .form-container p {
        color: var(--text-primary);
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .form-container {
        border-radius: 16px;
        padding: 1rem 2rem;
    }

    .input-group {
        gap: 10px;
        margin-bottom: 15px;
    }

    .input-field i, .message-field i {
        position: absolute;
        top: 50%;
        left: 16px;
        transform: translateY(-50%);
        font-size: 1.1rem;
    }

    #contact input, #contact textarea {
        width: 100%;
        padding: 16px 16px 16px 48px;
        background-color: rgba(255, 255, 255, 0.5);
        border: 2px solid transparent;
        border-radius: 8px;
        color: var(--text-secondary);
        font-size: 0.8rem;
        transition: all 0.5s ease;
    }

    #contact textarea {
        height: 80px;
        resize: none;
        margin-bottom: 15px;
    }

    #contact input:focus, #contact textarea:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 2px rgba(255,0,0, 0.33); 
    }

    #contact-submit-btn {
        font-size: 0.95rem;
        padding: 12px 24px;
        width: 100%;
        transition: all 0.4s ease;
    }

    .contact-btn-content {
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .contact-info {
        margin-top: 15px;
        padding-top: 1rem;
        border-top: 2px solid var(--background-primary);
        display: flex;
        justify-content: space-evenly;
        font-size: 1.4rem;
        color: var(--primary);
    }

    #about, #projects, #work, #volunteer, #more, #contact {
        scroll-margin-top: calc(1rem + 95px);
    }

    #more {
        /* padding-top: 2rem; */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* padding-bottom: 5rem; */
        width: 100%;
    }

    .more-container {
        background-color: rgba(255, 255, 255, 0.4);
        color: var(--text-primary);
        /* padding: 1rem; */
        padding: 25px;
        width: 100%;
        max-width: 1025px;
        border-radius: 16px;
        line-height: normal;
        animation: fadeInUp 0.7s ease;
        box-shadow: 0 8px 16px rgba(0,0,0, 0.4);
    }

    .interests-heading, .summary-heading {
        margin-bottom: 12px;
        font-size: 1.2rem;
    }

    .where-heading {
        margin-bottom: 12px;
        font-size: 1.2rem;
    }

    .more-container p {
        font-size: 0.9rem;
    }

    .interests::after, .where::after {
        height: 2px;
        width: 100%;
        border-radius: 5px;
        margin-top: 2px;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .footer {
        padding: 1px;
        font-size: 0.6rem;
        width: 100%;
    }
}

@media (max-width: 742px) {
    .navs {
        gap:1rem;
        font-size: 0.8rem;
    }

    .navs a:hover {
        font-size: 0.8rem;
    }

    .navs a.active {
        font-size: 0.8rem;
    }
}

@media (max-width: 642px) {
    .main {
        height: calc(100vh - 110px);
        margin-top: 83px;
    }
}

@media (max-width: 390px) {
    .logo {
        width: 30px;
        height: auto;
        padding: 4px;
    }

    .navs {
        /* flex: 1; */
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        padding-top: 2px;
        gap: 0.97rem;
        font-size: 0.8rem;
        justify-content: center;
    }

    .navs a:hover {
        font-size: 0.8rem;
    }

    .navs a.active {
        font-size: 0.8rem;
    }

    .main {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        height: var(--main-height-400);
        margin-top: 79px;
        margin-bottom: 27px;
    }

    .home {
        height: var(--main-height-400);
    }

    .tagline {
        font-size: 0.8rem;
    }

    .intro {
        font-size: 1.5rem;
    }
}

@media (max-width: 350px) {
    .tagline {
        font-size: 0.7rem;
    }

    .intro {
        font-size: 1.4rem;
    }
}