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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

body {
    font-family: 'Unkempt';
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('sprites/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Viewport container that scales everything proportionally */
.viewport-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main container with base dimensions (1920x1080 design) */
.container {
    position: relative;
    width: 1920px;
    height: 1200px;
    transform-origin: center center;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 80px;
}

.nav-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    margin-right: 80px;
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    padding: 5px;
}

.nav-btn:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.nav-btn.active {
    transform: scale(1.2);
}

.sprite-holder {
    position: relative;
    margin-bottom: 30px;
}

#girlholding {
    display: block;
}

#welcome {
    position: absolute;
    top: -40px;
    left: 30px;
    display: block;
}

.holder-sprite {
    position: absolute;
    top: 220px;
    left: 25px;
    display: none;
}

.holder-sprite.active {
    display: block;
}

.holder-content {
    position: absolute;
    top: 220px;
    left: 30px;
    width: 90%;
    height: 63%;
    pointer-events: none;
}

.holder-content a {
    pointer-events: auto;
}

.page-sections {
    display: none;
    width: 100%;
    height: 100%;
}

.page-sections.active {
    display: block;
}

/* Home page sections layout */
.section-main {
    position: absolute;
    left: 35px;
    top: 55px;
    width: 320px;
    height: 300px;
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.section-main h2 {
    font-size: 20px;
    margin-left: 10px;
    font-weight: 700;
    text-align: left;
}

.section-updates {
    position: absolute;
    right: 30px;
    top: 70px;
    width: 170px;
    height: 90px;
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.3;
}

.update-entry {
    margin-bottom: 10px;
}

.section-project {
    position: absolute;
    right: 40px;
    top: 180px;
    width: 160px;
    height: 190px;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.2;
}

.project-link {
    color: #8d5a3a;
    outline: 10px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Unkempt', cursive;
}

.project-link:hover {
    text-decoration: underline;
}

.section-blinkies {
    position: absolute;
    left: 10px;
    right: 5px;
    bottom: 20px;
    height: 30px;
    overflow: hidden;
}

.blinkie-scroll {
    display: flex;
    gap: 5px;
    align-items: center;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.content-box {
    position: relative;
}

#vnbox {
    display: block;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .container {
        align-items: center;
        padding-right: 0; 
    }
    
    .nav-buttons {
        margin-right: 0; 
    }
}