body {
    margin: 0;
    background: #3c3836;
    color: #ebdbb2;
    font-family: 'PP Mori';
    min-height: 100vh;
    position: relative;
}

#bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

#name {
    position:absolute;
    top: 64%;
    left: 72%;
    font-weight: 600;
    font-style: bold;
    padding: 2%;
}

#big {
    position:absolute;
    top: 41%;
    left: 50%;
    font-size: 60px;
    font-weight: 600;
}

#writing {
    position:absolute;
    top: 14%;
    left: 6%;
    max-width: 25%;
}

#projects-heading {
    position: absolute;
    top: 105%;
    left: 40%;
    font-weight: 600;
    font-size: 28px;
}

#projects {
    position: absolute;
    top: 117%;
    left: 10%;
    display: flex;
    gap: 20px;
}

.project-card {
    background: #504945;
    color: #ebdbb2;
    padding: 16px;
    border-radius: 8px;
    width: 300px;
    height: 200px;
}

.project-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.project-card p {
    margin: 0;
    font-size: 14px;
}

#about-heading {
    position:absolute;
    top: 160%;
    right: 6%;
    font-weight: 600;
    font-size: 28px;
}

#about {
    position:absolute;
    top: 168%;
    right: 6%;
    max-width: 25%;
}

#contact-btn {
    position: absolute;
    top: 4%;
    right: 4%;
    padding: 12px 24px;
    background: #fabd2f;
    color: #3c3836;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s;
}

#contact-btn:hover {
    background: #d79921;
    transform: translateY(-2px);
}

#contact-heading {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    font-size: 48px;
}

#contact-writing {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 50%;
    text-align: center;
}

#back-btn {
    position: absolute;
    top: 4%;
    right: 4%;
    padding: 12px 24px;
    background: #fabd2f;
    color: #3c3836;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s;
}

#back-btn:hover {
    background: #d79921;
    transform: translateY(-2px);
}





@font-face {
    font-family: 'PP Mori';
    src: url('fonts/PPMori-Regular.woff2') format('woff2'),
         url('fonts/PPMori-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Mori';
    src: url('fonts/PPMori-Italic.woff2') format('woff2'),
         url('fonts/PPMori-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'PP Mori';
    src: url('fonts/PPMori-Extralight.woff2') format('woff2'),
         url('fonts/PPMori-Extralight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Mori';
    src: url('fonts/PPMori-ExtralightItalic.woff2') format('woff2'),
         url('fonts/PPMori-ExtralightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'PP Mori';
    src: url('fonts/PPMori-Semibold.woff2') format('woff2'),
         url('fonts/PPMori-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Mori';
    src: url('fonts/PPMori-SemiboldItalic.woff2') format('woff2'),
         url('fonts/PPMori-SemiboldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'PP Mori';
    src: url('fonts/PPMori-Black.woff2') format('woff2'),
         url('fonts/PPMori-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Mori';
    src: url('fonts/PPMori-BlackItalic.woff2') format('woff2'),
         url('fonts/PPMori-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}