@font-face {
    font-family: 'knewave';
    src: url('fonts/knewave.ttf') format('truetype');
}

@font-face {
    font-family: 'parkinsans';
    src: url('fonts/Parkinsans.ttf') format('truetype');
}

@font-face {
    font-family: 'DMsans';
    src: url('fonts/DMSans.ttf') format('truetype');
}

@font-face {
    font-family: 'hammer';
    src: url('fonts/HammersmithOne.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
    background-color: #242021;
    color: #333;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.home-button {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 999;
    padding: 10px 18px;
    border-radius: 20px;
    background-color: #4b4458;
    color: #fffcec;
    font-family: 'parkinsans';
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid #ffeefc;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.home-button:hover {
    transform: translateY(-2px);
    background-color: #6c6378;
}

.home-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;        
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
}

.personal-column {
    flex: 1;
    max-width: 520px;
}

.work-column {
    flex: 1;
    max-width: 520px;
    margin-top: 120px;
    text-align: center;
    align-items: center; 
}

.home-layout::before {
    content: "";
    position: absolute;
    width: 120%;         
    height: 600px;       
    left: -85px;           
    top: 50px;        

    background: linear-gradient(
        to bottom right,
        rgba(75, 68, 88, 0.85),
        rgba(36, 32, 33, 0.1)
    );

    border-radius: 40px;
    z-index: -1;
    filter: drop-shadow(0 8px 26px rgba(0,0,0,0.45));
}

.personal-column {
    flex: 1 1 50%;
    max-width: 520px;
}

.home-header {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
}

.home-header {
    width: 460px;
    max-width: 100%;
    display: block;
}

.title-image {
    width: 460px;
    margin-top: 50px;
}

.subpage-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.subpage-header .title-image-subpage {
    display: block;        
    margin: 0 auto;       
    width: 460px;        
    max-width: 100%;
}

.home-header h2 {
    font-family: 'parkinsans';
    color: #c5a1c4;
    font-size: 22px;
    margin-top: 18px;
    text-align: center;
}

.home-header h4 {
    font-family: 'parkinsans';
    color: #9f86c0;
    font-size: 16px;
    margin-top: -6px;
    text-align: center;
}

.intro-scrapbook {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-top: 40px;       
    max-width: 640px;
}

.intro-photo-wrapper {
    position: relative;
    flex: 0 0 auto;
    transform: rotate(-4deg);
}

.intro-photo-main {
    width: 230px;
    display: block;
    border-radius: 10px;
}

.intro-copy {
    font-family: 'DMsans';
    font-size: 15px;
    line-height: 1.8;
    color: #fffcec;
    margin: 0;
    max-width: 360px;
}

.home-links {
    margin: 80px auto 60px auto;
    max-width: 900px;         
    text-align: center;
}

.home-links .links-label {
    font-family: 'parkinsans';
    color: #eae3d0;
    font-size: 17px;
    letter-spacing: 1.3px;
    margin-bottom: 14px;
}

.home-links .links-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;           
}

.home-links .link-pill {
    padding: 10px 26px;
    border-radius: 999px;
    background-color: #4b4458;
    color: #fffcec;
    font-family: 'parkinsans';
    font-size: 15px;
    text-decoration: none;
    border: 2px solid #ffeefc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.home-links .link-pill:hover {
    background-color: #6c6378;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .home-links .links-grid {
        justify-content: center;
    }

    .home-links .link-pill {
        flex: 0 0 100%;
    }
}

.work-column {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    align-items: center;       
    gap: 22px;
    max-width: 560px;
    margin-top: 110px;
}

.work-heading {
    font-family: 'parkinsans';
    color: #c5a1c4;
    font-size: 22px;
    letter-spacing: 1.4px;
    margin-bottom: 4px;
    text-align: center;        
    width: 100%;
}


.featured-card {
    max-width: 460px;          
    width: 100%;                
    margin: 0 auto 8px auto;    
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 20px 24px;
    border-radius: 24px;
    background: radial-gradient(circle at top left, #ffb3d6, #93435e 45%, #4b4458 90%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    color: #fffcec;
    border: 3px solid #ffeefc;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
    border-color: #f5c4ff;
}

.featured-tag {
    font-family: 'parkinsans';
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background-color: rgba(36, 32, 33, 0.6);
    padding: 4px 10px;
    border-radius: 999px;
    align-self: flex-start;
    margin-bottom: 8px;
}

.featured-card h3 {
    font-family: 'hammer';
    font-size: 22px;
    margin: 6px 0 10px 0;
    color: #fffcec;
}

.featured-card p {
    font-family: 'DMsans';
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.featured-link-label {
    font-family: 'parkinsans';
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-top: auto;
    opacity: 0.9;
}

.featured-card:hover .featured-link-label {
    text-decoration: underline;
}

.home-explore {
    margin-top: 6px;
    width: 100%;
}

.explore-heading {
    font-family: 'parkinsans';
    color: #c5a1c4;
    font-size: 18px;
    letter-spacing: 1.3px;
    margin-bottom: 10px;
}

.home-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 18px 0;
    justify-content: center;
}

.linkBoxes {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin: 0;
}

.linkBox {
    position: relative;
    width: 230px;
    height: 44px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;
    background-color: #93435e;
}

.linkBox a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.box-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #eae3d0;
    font-family: 'parkinsans';
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1.2px;
}

.linkBox:hover {
    background-color: #6c6378;
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.audio-page .project-group-audio h2,
.html-page .project-group-html h2,
.vg-page .project-group-vg h2,
.mixed-page .project-group-mixed h2 {
    font-family: 'parkinsans';
    color: #c5a1c4;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
    letter-spacing: 1.5px;
    font-size: 26px;
}

.audio-project-grid,
.html-project-grid,
.vg-project-grid,
.mixed-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 80px auto;
}

.audio-card,
.html-card,
.vg-card,
.mixed-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 20px 24px;
    border-radius: 24px;
    background: radial-gradient(circle at top left, #ffb3d6, #93435e 45%, #4b4458 90%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    color: #fffcec;
    border: 3px solid #ffeefc;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.audio-card:hover,
.html-card:hover,
.vg-card:hover,
.mixed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
    border-color: #f5c4ff;
}

.audio-card h3,
.html-card h3,
.vg-card h3,
.mixed-card h3 {
    font-family: 'hammer';
    font-size: 22px;
    margin: 6px 0 10px 0;
    color: #fffcec;
}

.audio-card p,
.html-card p,
.vg-card p,
.mixed-card p {
    font-family: 'DMsans';
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.tag {
    font-family: 'parkinsans';
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background-color: rgba(36, 32, 33, 0.5);
    padding: 4px 10px;
    border-radius: 999px;
    align-self: flex-start;
    margin-bottom: 6px;
}

.link-label {
    font-family: 'parkinsans';
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-top: auto;
    opacity: 0.9;
}

.audio-card:hover .link-label,
.html-card:hover .link-label,
.vg-card:hover .link-label,
.mixed-card:hover .link-label {
    text-decoration: underline;
}

.audio-card *,
.html-card *,
.vg-card *,
.mixed-card * {
    position: relative;
    z-index: 1;
}

.audio-card::before,
.html-card::before,
.vg-card::before,
.mixed-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.audio-card:hover::before,
.html-card:hover::before,
.vg-card:hover::before,
.mixed-card:hover::before {
    opacity: .5;
}


/*image cards! just copy and paste and then add an image to make a new box --past thee */

/*audio section*/ 
.audio-card-song::before {
    background-image:
        linear-gradient(rgba(147, 67, 94, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/audio_songanalysis.png");
}

.audio-card-whistle::before {
    background-image:
        linear-gradient(rgba(168, 110, 255, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/audio_whistle.png");
}

.audio-card-visualizer::before {
    background-image:
        linear-gradient(rgba(93, 182, 191, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/audio_visualizer.png");
}

/*HTML section*/ 
.html-card-typewriter::before {
    background-image:
        linear-gradient(rgba(147, 67, 94, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/typewriter.png");
}

.html-card-scrabble::before {
    background-image:
        linear-gradient(rgba(168, 110, 255, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/scrabble.png");
}

.html-card-macroura::before {
    background-image:
        linear-gradient(rgba(93, 182, 191, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/macroura.png");
}

/*Video Games*/ 
.vg-card-myers::before {
    background-image:
        linear-gradient(rgba(147, 67, 94, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/miguel.png");
}

.vg-card-dungeon::before {
    background-image:
        linear-gradient(rgba(168, 110, 255, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/dungeon.png");
}

.vg-card-dictator::before {
    background-image:
        linear-gradient(rgba(93, 182, 191, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/dictator.png");
}

.vg-card-goblins::before {
    background-image:
        linear-gradient(rgba(93, 182, 191, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/goblins.png");
}

.vg-card-AVOM::before {
    background-image:
        linear-gradient(rgba(147, 67, 94, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/AVOM.png");
}


/*Mixed Media section*/ 
.mixed-card-creation::before {
    background-image:
        linear-gradient(rgba(147, 67, 94, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/creation.png");
}

.mixed-card-chile::before {
    background-image:
        linear-gradient(rgba(168, 110, 255, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/chile.png");
}

.mixed-card-allisone::before {
    background-image:
        linear-gradient(rgba(93, 182, 191, 0.6), rgba(36, 32, 33, 0.8)),
        url("img/AllInOne.png");
}





.audio-section {
    margin-top: 20px;
}

.audioplayer {
    border-radius: 28px;
    background-color: #4b4458;
    padding: 32px;
    margin: 0 auto 80px auto;
    max-width: 1100px;
    box-shadow: 0px 10px 22px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
}

.audio-item {
    flex: 1 1 380px;
    max-width: 480px;
    color: #fffcec;
    font-family: 'DMsans';
    display: flex;
    flex-direction: column;
}

.audio-item h3 {
    font-family: 'hammer';
    font-size: 24px;
    color: #eae3d0;
    margin-bottom: 12px;
}

.audio-item p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.audio-item audio {
    width: 100%;
    outline: none;
    border-radius: 999px;
    margin-top: auto;
}

.personal-column { max-width: 560px; }
.work-column     { max-width: 520px; }

@media (max-width: 900px) {
    .home-layout {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .personal-column,
    .work-column {
        max-width: 100%;
    }

    .home-header {
        text-align: center;
    }

    .intro-scrapbook {
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
    }

    .intro-copy {
        text-align: left;
    }

    .work-column {
        margin-top: 30px;
        align-items: center;
    }

    .featured-card,
    .home-explore {
        max-width: 500px;
        width: 100%;
    }

    .home-nav {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .linkBoxes {
        justify-content: center;
        gap: 20px;
    }

    .linkBox {
        width: 220px;
        height: 42px;
    }

    .box-content {
        font-size: 16px;
    }

    .audio-project-grid,
    .html-project-grid,
    .vg-project-grid,
    .mixed-project-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }

    .audioplayer {
        padding: 24px;
        margin-bottom: 60px;
    }

    .audio-item {
        max-width: 100%;
    }

    .home-links .links-grid {
        max-width: 100%;
    }

    .home-links .link-pill {
        flex: 0 0 100%;
    }
}
