/* NavBar Response */
/* Mobile */
@media screen and (max-width: 834px) {
    .hamburger {
        display: flex;
        z-index: 1000;
    }

    nav {
        display: none; 
        
        position: fixed;
        
        top: 110px;
        left: 0;
        
        height: calc(100vh - 110px);
        width: 100%;

        flex-direction: column;

        transition: transform 0.3s ease;
        z-index: 999; /* Ensure nav is above other content */
    }
    nav ul {
        flex-direction: column;

        align-items: center;
        justify-content: center;
        
        padding: 0;
        padding-bottom: 110px;
        margin: 0;

        background-color: var(--bg);

        height: 100%;
        width: 100vw;
    }
    nav ul li {
        margin: 20px 0;
    }

    #contact-link {
        display: none;
    }
    #contact-li {
        display: flex;
    }
    
    nav a {
        font-size: 24px;
        
        color: var(--text-a);
    }
    
    nav.show {
        display: flex; /* Show the nav when the 'show' class is added */
    }
    
    /* Hamburger Menu Transformation to X */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 7.6px);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -7.6px);
    }
}
/* Tablet */
@media screen and (min-width: 834px) and (max-width: 1040px) {
    nav {
        justify-content: right;
    }
    ul {
        width: 500px;

        justify-content: space-evenly;

        gap: 20px;

        padding: 20px 20px;
        margin: 0;
    }
    a:hover {
        letter-spacing: 0.5px;
    }
    #contact-link {
        display: none;
    }
    #contact-li {
        display: flex;
    }
    #contact-li > a {
        color: var(--text-a-light);
        background-color: var(--bg-nav-light);

        padding: 15px 10px;
        border-radius: 20px;
    }
    #contact-li > a:hover {
        color: var(--bg-nav-light);
        background-color: var(--text-a);
    }
}


/* Logo Response */
/* Mobile */
@media screen and (max-width: 834px) {
    .logo-container > img {
        width: 57px;
        height: 40px;
    }
}

/* Landing Response */
/* Phone */
@media screen and (min-width: 300px) and (max-width: 640px) {
    .landing-container {
        flex-direction: column-reverse;
        justify-content: center;

        gap: 27px;
    }

    .img-container {
        width: 100%;
        height: fit-content;

        justify-content: center;
        align-items: center;
    }

    .img-container > img {
        width: 290px;
    }

    .texts-container {
        width: 100%;
        height: fit-content;
    }
    #title-container {
        justify-content: center;
    }
    #subtitle-container {
        justify-content: center;
    }
    .title {
        font-size: 36px;

        background: linear-gradient(to top, #666666, #CCCCCC);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .subtitle {
        font-size: 12px;

        background: linear-gradient(to top, #666666, #CCCCCC);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* Tablet */
@media screen and (min-width: 640px) and (max-width: 1040px) {
    .landing-container {
        flex-direction: column-reverse;
        justify-content: center;

        gap: 27px;
    }

    .img-container {
        width: 100%;
        height: fit-content;

        justify-content: center;
        align-items: center;
    }

    .img-container > img {
        width: 400px;
    }

    .texts-container {
        width: 100%;
        height: fit-content;
    }
    #title-container {
        justify-content: center;
    }
    #subtitle-container {
        justify-content: center;
    }
    .title {
        font-size: 72px;

        background: linear-gradient(to top, #666666, #CCCCCC);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .subtitle {
        font-size: 24px;

        background: linear-gradient(to top, #666666, #CCCCCC);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* Desktop */
@media screen and (min-width: 1240px) and (max-width: 1440px) {
    .title {
        font-size: 72px;
    }
    .subtitle {
        font-size: 24px;
    }
}
@media screen and (min-width: 1040px) and (max-width: 1240px) {
    .title {
        font-size: 64px;
    }
    .subtitle {
        font-size: 20px;
    }
}


/* Quote Response */
/* Mobile */
@media screen and (min-width: 300px) and (max-width: 639px) {
    .quote {
        font-size: 16px;
    }
    #quote-sec > h2 {
        width: 236px;
    }
}

/* Mobile / Tablet  */
@media screen and (min-width: 640px) and (max-width: 833px) {
    .quote {
        font-size: 32px;
    }
    #quote-sec > h2 {
        width: 460px;
    }
}

/* About Me Response */
/* Sections Captures */
@media screen and (min-width: 300px) and (max-width: 540px) {
    .capture-container {
        gap: 9px;
    }
    .section-title {
        font-size: 24px;
    }
    .paragraph {
        font-size: 10px;
    }
    #aboutme-description, #projects-description, #resume-description {
        width: 260px;
    }
    #aboutme-title, #projects-title, #resume-title {
        height: 48px;
    }
}
@media screen and (min-width: 540px) and (max-width: 834px) {
    .capture-container {
        gap: 9px;
    }
    .section-title {
        font-size: 32px;
    }
    .paragraph {
        font-size: 12px;
    }
    #aboutme-description, #projects-description, #resume-description {
        width: 320px;
    }
    #aboutme-title, #projects-title, #resume-title {
        height: 48px;
    }
}
@media screen and (min-width: 834px) and (max-width: 1360px) {
    .capture-container {
        gap: 18px;
    }
    .section-title {
        font-size: 48px;
    }
    .paragraph {
        font-size: 16px;
    }
    #aboutme-description, #projects-description, #resume-description {
        width: 560px;
    }
    #aboutme-title, #projects-title, #resume-title {
        height: 72px;
    }
}
@media screen and (min-width: 1360px) and (max-width: 1480px) {
    .capture-container {
        gap: 18px;
    }
    .section-title {
        font-size: 48px;
    }
    .paragraph {
        font-size: 20px;
    }
    #aboutme-description, #projects-description, #resume-description {
        width: 560px;
    }
    #aboutme-title, #projects-title, #resume-title {
        height: 72px;
    }
}

/* Section Subtitles */
@media screen and (min-width: 300px) and (max-width: 540px) {
    .section-subtitle {
        font-size: 16px;
    }
}
@media screen and (min-width: 540px) and (max-width: 834px) {
    .section-subtitle {
        font-size: 24px;
    }
}
@media screen and (min-width: 834px) and (max-width: 1360px) {
    .section-subtitle {
        font-size: 32px;
    }
}
@media screen and (min-width: 1360px) and (max-width: 1480px) {
    .section-subtitle {
        font-size: 36px;
    }
}

/* container */
@media screen and (min-width: 300px) and (max-width: 540px) {
    .student-container, .athlete-container {
        flex-direction: column;
        height: 100vh;

        align-items: center;
        justify-content: center;

        gap: 27px;
    }
    .text-part {
        width: 260px;
        height: fit-content;

        margin: 0;
        padding: 0;
    }
    .img-part {
        justify-content: center;
        height: fit-content;
    }
}
@media screen and (min-width: 540px) and (max-width: 834px) {
    .student-container, .athlete-container {
        flex-direction: column;
        height: 100vh;

        align-items: center;
        justify-content: center;

        gap: 27px;
    }
    .text-part {
        width: 360px;
        height: fit-content;

        margin: 0;
        padding: 0;
    }
    .img-part {
        justify-content: center;

        height: fit-content;
        width: fit-content;
    }
} 
@media screen and (min-width: 834px) and (max-width: 1020px) {
    .student-container, .athlete-container {
        flex-direction: column;
        height: 100vh;

        align-items: center;
        justify-content: center;

        gap: 27px;
    }
    .text-part {
        width: 480px;
        height: fit-content;

        margin: 0;
        padding: 0;
    }
    .img-part {
        justify-content: center;

        height: fit-content;
        width: fit-content;
    }
} 

/* img */
@media screen and (min-width: 300px) and (max-width: 540px) {
    .img-part > img {
        width: 260px;
    }
}

@media screen and (min-width: 540px) and (max-width: 834px) {
    .img-part > img {
        width: 360px;
    }
}

@media screen and (min-width: 834px) and (max-width: 1020px) {
    .img-part > img {
        width: 480px;
    }
}

@media screen and (min-width: 1021px) and (max-width: 1360px) {
    .img-part > img {
        width: 360px;
    }
}

@media screen and (min-width: 1360px) and (max-width: 1480px) {
    .img-part > img {
        width: 420px;
    }
}


/* Projects (Cards) Response */
/* Mobile Response */
@media screen and (min-width: 300px) and (max-width: 719px) {
    .cards-row {
        flex-direction: column;

        gap: 38px;
    }
    .card {
        width: 100%;
        height: 360px;

        min-width: 260px;
        max-width: 300px;

        padding-top: 20px;
    }
    .img-bg {
        width: 220px;
        height: 220px;
    }
    /* PS Card */
    #PS .img-bg > img {
        width: 200px;
        height: 160px;
    }
    /* TDI Card */
    #TDI .img-bg > img {
        width: 180px;
        height: 180px;
    }
    /* DAPI Card */
    #DAPI .img-bg > img {
        width: 160px;
        height: 160px;
    }
    /* AFAP Card */
    #AFAP .img-bg > img {
        width: 200px;
        height: 160px;
    }
    /* LS Card */
    #LS .img-bg > img {
        width: 200px;
        height: 160px;
    }
    /* DC Card */
    #DC .img-bg > img {
        width: 200px;
        height: 200px;
    }
    .card-title {
        font-size: 16px;

        padding-top: 18px;
    }
    .card-description {
        font-size: 10px;
    }
}

/* Mobile / Tablet Response */
@media screen and (min-width: 720px) and (max-width: 959px) {
    .cards-row {
        flex-direction: column;

        gap: 38px;
    }
    .card {
        width: 100%;
    }
}

/* Tablet / Desktop Response */
@media screen and (min-width: 960px) and (max-width: 1420px) {
    .card {
        width: 48%;
        height: 480px;

        max-width: 360px;

        padding-top: 20px;
    }
    .img-bg {
        width: 300px;
        height: 300px;
    }
    /* PS Card */
    #PS .img-bg > img {
        width: 300px;
        height: 240px;
    }
    /* TDI Card */
    #TDI .img-bg > img {
        width: 240px;
        height: 240px;
    }
    /* DAPI Card */
    #DAPI .img-bg > img {
        width: 240px;
        height: 240px;
    }

    /* AFAP Card */
    #AFAP .img-bg > img {
        width: 300px;
        height: 240px;
    }

    /* LS Card */
    #LS .img-bg > img {
        width: 300px;
        height: 240px;
    }

    /* DC Card */
    #DC .img-bg > img {
        width: 300px;
        height: 260px;
    }
    .card-title {
        font-size: 24px;
    }
    .card-description {
        font-size: 14px;
    }
}

/* Desktop / Tablet Response */
@media screen and (min-width: 1140px) and (max-width: 1420px) {
    .cards-row {
        justify-content: space-evenly;
    }
}

/* Desktop Response */
@media screen and (min-width: 1720px) {
    .cards-row {
        justify-content: space-evenly;
    }
}


/* "More .." link part Response */
@media screen and (min-width: 300px) and (max-width: 719px) {
    .more-projects-container {
        width: 100%;
        height: 50px;
    }
    #more {
        font-size: 16px;

        padding: 18px 5px 0px 5px;
    }
    #cursor {
        width: 24px;
        height: 16px;

        margin-top: 34px;
        margin-left: -10px;
    }
}

@media screen and (min-width: 720px) and (max-width: 1420px) {
    .more-projects-container {
        width: 100%;
        height: 100px;
    }
    #more {
        font-size: 24px;

        padding: 38px 5px 0px 5px;
    }
    #cursor {
        width: 48px;
        height: 32px;

        margin-top: 62px;
        margin-left: -10px;
    }
}


/* Resume Response */
@media screen and (min-width: 834px) and (max-width: 1240px) {
    .resume-container {
        height: 1024px;
    }
    .resume-container > img {
        width: 834px;
        height: 780px;
    }
}
@media screen and (min-width: 560px) and (max-width: 834px) {
    .resume-container {
        height: 1920px;
    }
    .resume-container > img {
        width: 560px;
        height: 520px;
    }
}
@media screen and (min-width: 300px) and (max-width: 560px) {
    .resume-container {
        height: 2160px;
    }
    .resume-container > img {
        display: none;
    }
    #resume-smaller {
        display: flex;

        width: 260px;
        height: 1920px;

        border-radius: 20px;
        box-shadow: 10px 10px 3px 0px #1E1E1E;
    }    
}


/* Adjust .capture-container to Prevent Overflow */
@media screen and (max-width: 834px) {
    .capture-container {
        overflow-x: hidden; /* Ensure no horizontal overflow */
    }
}


/* Podcast Response */
/* Mobile */
@media screen and (min-width: 300px) and (max-width: 540px) {
    #podcast-sec {
        flex-direction: column-reverse;
        
        padding: 0;
    
        width: 100%;

        justify-content: center;
        align-items: center;
    }

    #podcast-sec > .img-part {
        width: 100%;
        justify-content: center;
    }
    #podcast-sec > .img-part > img {
        width: 260px;
        height: 260px;

        border-radius: 20px;
        box-shadow: 0 0 0 10px #1C1C1B; 
    }

    .description-part > h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .description-part > p {
        margin-bottom: 18px;
    }
    .description-part span {
        font-size: 14px;
    }
    #podcast-player {
        width: 260px;
    }
    
    .icons-container {
        width: 100%;

        display: flex;
        justify-content: space-between;
    
        margin-top: 0;
        margin-bottom: 27px;
    }
    .icons-container > a > img {
        width: 30px;
        height: 30px;
    }

    #date-uploaded {
        width: 260px;

        text-align: center;
        margin-bottom: 18px;
    }
}
/* Mobile / Tablet*/
@media screen and (min-width: 540px) and (max-width: 834px) {
    #podcast-sec {
        flex-direction: column-reverse;
        
        padding: 0;
    
        width: 100%;

        justify-content: center;
        align-items: center;
    }
    
    #podcast-sec > .img-part {
        width: 100%;
        justify-content: center;
    }
    #podcast-sec > .img-part > img {
        width: 360px;
        height: 360px;

        border-radius: 20px;
        box-shadow: 0 0 0 10px #1C1C1B; 
    }

    .description-part > h3 {
        font-size: 32px;
    }
    .description-part > p {
        margin-bottom: 27px;
    }
    .description-part span {
        font-size: 18px;
    }
    #podcast-player {
        width: 360px;
    }

    .icons-container {
        width: 100%;

        display: flex;
        justify-content: space-between;
    
        margin-top: 0;
        margin-bottom: 27px;
    }
    .icons-container > a > img {
        width: 40px;
        height: 40px;
    }

    #date-uploaded {
        width: 360px;

        text-align: center;
        margin-bottom: 18px;
    }
}
/* Tablet */
@media screen and (min-width: 834px) and (max-width: 1020px) { 
    #podcast-sec {
        flex-direction: column-reverse;
        
        padding: 0;
    
        width: 100%;

        justify-content: center;
        align-items: center;
    }
    
    #podcast-sec > .img-part {
        width: 100%;
        justify-content: center;
    }
    #podcast-sec > .img-part > img {
        width: 480px;
        height: 270px;

        border-radius: 20px;
        box-shadow: 0 0 0 10px #1C1C1B; 
    }
    #podcast-cover {
        display: none;
    }
    #podcast-larger {
        display: block;
    }

    .description-part > h3 {
        font-size: 32px;
    }
    .description-part > p {
        margin-bottom: 27px;
    }
    .description-part span {
        font-size: 18px;
    }
    #podcast-player {
        width: 480px;
    }

    .icons-container {
        width: 100%;

        margin-top: 0;
        margin-bottom: 27px;
    }
    .icons-container > a > img {
        width: 45px;
        height: 45px;
    }

    #date-uploaded {
        width:fit-content;

        text-align: center;
        margin-bottom: 18px;
    }
}
/* Tablet / PC */
@media screen and (min-width: 1020px) and (max-width: 1240px) {
    #podcast-sec > .img-part > img {
        width: 320px;
        height: 320px;
    }

    .description-part {
        margin-left: 20px;
    }

    .description-part > h3 {
        font-size: 28px;
    }
    .description-part > p {
        margin-bottom: 27px;
    }
    .description-part span {
        font-size: 16px;
    }

    .icons-container {
        width: 100%;

        margin-top: 0;
        margin-bottom: 27px;
    }
    .icons-container > a > img {
        width: 40px;
        height: 40px;
    }
} 



@media screen and (min-width: 1240px) and (max-width: 1380px) {
    #podcast-sec > .img-part > img {
        width: 380px;
        height: 380px;
    }
    .icons-container {
        margin-top: 19px;
        margin-bottom: 38px;
    }
}
@media screen and (min-width: 1380px) and (max-width: 1480px) {
    #podcast-sec > .img-part > img {
        width: 420px;
        height: 420px;
    }
    .icons-container {
        margin-top: 19px;
        margin-bottom: 38px;
    }
}