/* ==========================================================================
   Variable Set-Up
   ========================================================================== */

:root {
    --primary-blue: #3b82f6;
    --secondary-blue: #60a5fa;
    --light-blue: #a5d8ff;
    --mid-blue: #7ec0ee;
    --aero-gradient-start: #a0c4ff;
    --aero-gradient-end: #e0f7fa;
    --background-scroll-duration: 60s;
    --text-shadow-color: rgba(0, 0, 0, 0.25);
    --box-shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-blur: 10px;
    --neon-glow: 0 0 8px rgba(0, 255, 255, 0.7);
}

@keyframes backgroundScroll {
    0% {
        background-position: center top;
    }

    100% {
        background-position: center bottom;
    }
}

/* ==========================================================================
   General Styling for every page
   ========================================================================== */

body {
    font-family: 'Tektur', sans-serif;
    background: url('portfoliobackground.png') repeat-y center top;
    animation: backgroundScroll var(--background-scroll-duration) linear infinite;
    margin: 0;
    padding: 60px 0 0 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    overflow-x: hidden;
}

p, li, h1, h2, h3, h4, h5, h6 {
    text-shadow: 1px 1px 2px var(--text-shadow-color);
    margin: 15px 0;
}

/* ========================================================================== 
   Font Import for Window Bar
========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Giga&display=swap');

/* ========================================================================== 
   2. Window Bar — Balanced Program-Style
========================================================================== */

.window-top-bar {
    font-family: 'Lexend Giga', sans-serif;
    background-color: #1e1e1e;
    display: flex;
    align-items: center;
    padding: 6px 16px;
    color: #d6cb72;
    border-bottom: 2px solid #d6cb72;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 42px;
    box-sizing: border-box;
}

.window-title {
    font-size: 16px;
    margin-right: auto; /* Pushes controls to the right */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls button {
    background-color: #1e1e1e;
    color: #d6cb72;
    border: none;
    font-size: 16px;
    padding: 0;
    cursor: pointer;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 3px;
}

.window-controls button:hover {
    background-color: #c67cf4;
    color: #fff;
}

.window-controls button.mute {
    background-color: transparent;
    color: #04ef04;
    font-size: 16px;
}

.window-controls button.mute:hover {
    color: #FF4500;
}

.window-controls .volume-slider {
    -webkit-appearance: none;
    width: 120px;
    height: 6px;
    border-radius: 10px;
    background: linear-gradient(90deg, #dfcc6c, #c67cf4);
    box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.2), 0 0 5px rgba(198, 124, 244, 0.4);
    outline: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    margin-top: 30px;
}

.window-controls .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d6cb72;
    box-shadow: 0 0 5px #d6cb72, 0 0 2px #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.window-controls .volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px #d6cb72, 0 0 4px #fff;
}

.window-controls .volume-slider::-moz-range-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d6cb72;
    box-shadow: 0 0 5px #d6cb72, 0 0 2px #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.window-controls .volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px #d6cb72, 0 0 4px #fff;
}

/* ==========================================================================
   Header and Nav
   ========================================================================== */

header h1 {
    font-size: 2.4rem;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.slogan-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem auto 1rem auto;
    text-align: center;
}

.slogan {
    font-size: 1.2rem;
    color: var(--secondary-blue);
    display: inline-block;
    padding: 0.1rem 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    backdrop-filter: blur(2px);
    margin-bottom: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content; 
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

nav ul li a {
    display: inline-block;
    height: 44px;
    line-height: 44px;
    padding: 0 15px;
    text-decoration: none;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(to bottom, var(--light-blue), var(--mid-blue));
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav ul li a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    pointer-events: none;
}

nav ul li a.active,
nav ul li a:hover {
    background: linear-gradient(to bottom, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

/* ==========================================================================
   Main Wrapper
   ========================================================================== */

main {
    width: 90%;
    max-width: 1200px;
    padding: 20px;
    background: var(--solid-bg);
    border-radius: var(--border-radius);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

main > *:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Intro Section
   ========================================================================== */

.intro-section {
    padding: 20px;
    text-align: center;
}

.intro-section h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.typing-effect {
    display: inline-block;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-blue);
}

.intro-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
}

.intro-section hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 25px 0;
}

/* ==========================================================================
   Feature / History Grid
   ========================================================================== */

.features-grid,
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.feature-card,
.history-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 15px;
    border-radius: var(--border-radius);
    background: linear-gradient(145deg, var(--light-blue), var(--mid-blue));
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover,
.history-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--neon-glow);
}

.feature-card h4,
.history-card h4 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.feature-card p,
.history-card p {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ==========================================================================
   Image Container
   ========================================================================== */

.image-container {
    margin: 10px 0;
}

.image-container figure {
    margin: 0 auto;
    max-width: 350px;
}

.image-container img {
    width: 200px;
    border-radius: 50%;
    border: 5px solid var(--primary-blue);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

figcaption {
    font-size: 1.2rem;
    color: #555;
    margin-top: 15px;
    text-align: center;
}

/* ==========================================================================
   My Resume
   ========================================================================== */

.intro-section {
    text-align: center;
    padding: 20px;
}

.typing-effect {
    display: inline-block;
    font-family: 'Tektur', sans-serif;
    font-size: 2.4rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-blue);
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

.job {
    display: flex;
    align-items: stretch;
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(240,240,240,0.9));
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.2);
    gap: 20px;
}

.job img.job-image {
    flex: 1;
    max-width: 250px;
    border-radius: 10px;
    object-fit: cover;
    height: 100%;
}

.job-details {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.job-details h3 {
    color: #333;
    margin: 0 0 5px 0;
    font-size: 2rem;
}

.job-details p {
    color: #666;
    margin: 5px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.education {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    list-style: none;
    padding: 0;
}

.education-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(220, 245, 255, 0.9));
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), inset 3px 3px 8px rgba(255, 255, 255, 0.5);
    color: #222;
    width: 90%;
    max-width: 600px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 2px solid rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.3), inset 3px 3px 12px rgba(255, 255, 255, 0.6);
}

.education-card h3 {
    font-size: 1.8rem;
    font-family: 'Tektur', sans-serif;
    color: var(--primary-blue);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.education-card p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
}

.education-card .school-name {
    display: inline-block;
    background: linear-gradient(145deg, var(--neon-green), var(--primary-blue));
    color: white;
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.education-card .school-name:hover {
    transform: scale(1.1);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.skill {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-name {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.progress-bar {
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    height: 10px;
    width: 100%;
}

.progress {
    background: #0078d7;
    height: 10px;
    transition: width 0.5s ease-in-out;
}

.reference-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0;
}

.reference {
    flex: 1 1 300px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 260px;
}

.reference-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reference-icon img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.reference-name {
    font-weight: bold;
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: #222;
    text-transform: capitalize;
}

.reference-quote p {
    font-style: italic;
    color: #333;
    font-size: 2rem;
    line-height: 1.6;
    margin-top: 12px;
    text-align: left;
}

/* ==========================================================================
   Projects
   ========================================================================== */

.game-design,
.technical-skills,
.music-production {
    padding: 2rem;
    background: linear-gradient(145deg, rgba(240, 250, 255, 0.9), rgba(220, 240, 250, 0.9));
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 2rem;
    font-family: 'Tektur', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.game-design p,
.technical-skills p,
.music-production p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
}

.game-project {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

.game-project h2,
.game-project h3,
.technical-skills h2,
.technical-skills h3,
.music-production h2,
.music-production h3 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.game-project .game-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.game-project .game-images img,
.skill-images img,
.music-production .skill-images img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    max-width: 800px;
}

.game-project .game-images img:hover,
.skill-images img:hover,
.music-production .skill-images img:hover {
    transform: scale(1.05);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}

.skill-images,
.music-production .skill-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button {
    margin-bottom: 0.5rem;
    display: inline-block;
    font-family: 'Tektur', sans-serif;
    font-size: 2.4rem;
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

/* ==========================================================================
   After High School Page
   ========================================================================== */
.intro-section {
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(240, 250, 255, 0.9), rgba(220, 240, 250, 0.9));
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.intro-section h2 {
    font-size: 2.8rem;
    font-family: 'Tektur', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.plan {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto 2rem auto;
    max-width: 900px;
    text-align: left;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.plan:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15);
}

.plan-image {
    width: 350px;
    height: auto;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.plan-image:hover {
    transform: scale(1.08);
}

.plan-details {
    flex: 1;
}

.plan-details h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.plan-details p {
    font-size: 1.4rem;
    color: #333;
    line-height: 1.5;
}

/* ==========================================================================
   My Reach Page, I made it look like the Wii Menu lol
   ========================================================================== */

.channel-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    background-color: transparent;
    justify-items: center;
}

.channel {
    position: relative;
    display: block;
    width: 300px;
    height: 180px;
    background-color: #222;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.channel:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.2);
}

.channel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.channel-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 1.4rem;
    font-family: 'Tektur', sans-serif;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0.5rem;
    border-radius: 5px;
    visibility: hidden;
    transition: background-color 0.3s ease;
}

.channel:hover .channel-title {
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Contact Me Page
   ========================================================================== */
.social-media-table {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    border-collapse: collapse;
    text-align: center;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.social-media-table caption {
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--primary-blue);
    padding: 1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

.social-media-table thead th {
    background: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    padding: 1rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--primary-blue);
}

.social-media-table td {
    padding: 2rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.social-media-table img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem;
}

.social-media-table img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-media-table a {
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.social-media-table a:hover {
    color: var(--secondary-blue);
}

@media (max-width: 768px) {
    .social-media-table {
        font-size: 1.8rem;
    }

    .social-media-table caption {
        font-size: 2rem;
    }

    .social-media-table thead,
    .social-media-table tbody,
    .social-media-table th,
    .social-media-table td,
    .social-media-table tr {
        display: block;
    }

    .social-media-table tr {
        margin-bottom: 1.5rem;
    }

    .social-media-table td {
        padding: 1rem;
        text-align: center;
        border: none;
        position: relative;
        padding-left: 50%;
    }

    .social-media-table td::before {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-weight: bold;
        content: attr(data-label);
        color: var(--primary-blue);
    }
}

/* --------------------------------------------------
   Downloads Section
-------------------------------------------------- */
#downloads {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    max-width: 800px;
    margin: 4rem auto;
}

#downloads h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #0078D7;
    text-shadow: 1px 1px 0 white, 2px 2px 0 #ccc;
}

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.download-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(to bottom, #3ca9ff 0%, #0078D7 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 4px 0 #005fa3, 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    font-weight: bold;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #005fa3, 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   And finally, here's the footer
   ========================================================================== */

footer {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
    font-size: 1.9rem;
    color: #333;
}

/* ==========================================================================
   Mobile Styles Cleanup
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

main p,
main p a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.skill-images,
.image-container {
    padding: 0 10px;
}

.image-container figure {
    max-width: 100%;
}

button,
.play-button {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    width: 100%;
    max-width: 300px;
    margin: 1rem auto;
}

video {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}

section,
.plan,
.job,
.reference,
.game-project {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {

    body {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    p,
    li,
    label,
    a {
        font-size: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0;
    }

    main {
        padding: 10px;
    }

    .plan,
    .plan-10,
    .game-project,
    .intro-section,
    .job {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .plan img,
    .plan-10 img,
    .job img.job-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin-bottom: 1rem;
    }

    .game-project .game-images {
        grid-template-columns: 1fr !important;
    }

    .game-project .game-images img {
        max-width: 100%;
    }

    .plan,
    .plan-10,
    .music-production,
    .technical-skills,
    .game-design,
    footer {
        background: #ffffff !important;
        backdrop-filter: none !important;
    }

    .reference-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .reference {
        width: 95%;
        padding: 1rem;
        box-sizing: border-box;
        min-height: auto;
        max-width: 100%;
    }

    .reference-icon-wrapper {
        flex-direction: column;
    }

    .reference-name {
        font-size: 1.2rem;
    }

    .reference-quote p {
        font-size: 1rem;
        text-align: center;
        line-height: 1.5;
        white-space: normal;
        word-wrap: break-word;
    }

    .channel-container {
        grid-template-columns: 1fr !important;
        justify-items: center;
    }

    .channel {
        width: 90% !important;
    }

    .features-grid,
    .history-grid {
        grid-template-columns: 1fr !important;
        padding: 0 10px;
    }

    .feature-card,
    .history-card {
        width: 100%;
    }
}
