@font-face {
    font-family: 'Rye Regular';
    src: url('https://fonts.googleapis.com/css2?family=Rye&display=swap');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rye', 'Georgia', serif;
}

body {
    font-family: 'Georgia', serif;
    background-image: url('../png/homepage.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 24px;
    margin: 0;
    overflow-x: hidden;
}

header {
    width: 100%;
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 16px;
    background: linear-gradient(135deg, #D7BE82, #D7BE82);
    padding: 10px 20px 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    order: -1;
    flex-shrink: 0;
}

.header-board {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo-block {
    background: linear-gradient(#BDA97A);
    padding: 42px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height: 65px;
    overflow: hidden;
}

.logo-block h1 {
    font-size: 28px;
    color: #000000;
    margin: 0;
    font-weight: bold;
}

.logo-block p {
    font-size: 14px;
    color: #000000;
    margin: 3px 0 0 0;
}

.nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-board-item {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-board-item:hover {
    transform: scale(1.05);
}

.nav-board-img {
    width: 140px;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.nav-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    z-index: 20;
    white-space: nowrap;
}

.burgermenu {
    display: none;
}

.easter-egg {
    position: fixed;
    bottom: 12px;
    right: 12px;
    width: 90px;
    opacity: 0.22;
    transform: rotate(-4deg);
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.easter-egg:hover {
    opacity: 0.4;
    transform: rotate(0deg) scale(1.03);
}
/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    body {
        background-size: cover;
        background-position: center;
    }
    
    header {
        height: 80px;
    }
    
    .logo-block {
        padding: 35px 20px;
        max-height: 60px;
    }
    
    .logo-block h1 {
        font-size: 24px;
    }
    
    .logo-block p {
        font-size: 12px;
    }
    
    .nav-board-img {
        width: 120px;
    }
    
    .nav-button {
        font-size: 14px;
    }
    
    .easter-egg {
        width: 75px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        background-size: cover;
        background-position: center center;
        padding: 0;
        gap: 15px;
        overflow-x: hidden;
    }
    
    header {
        height: auto;
        min-height: 70px;
        padding: 8px 15px 8px 0;
    }
    
    .header-board {
        gap: 15px;
        flex-wrap: nowrap;
    }
    
    .logo-block {
        padding: 30px 15px;
        max-height: 55px;
        flex-shrink: 0;
    }
    
    .logo-block h1 {
        font-size: 18px;
    }
    
    .logo-block p {
        font-size: 10px;
    }
    
    .nav {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }
    
    .nav-board-img {
        width: 90px;
    }
    
    .nav-button {
        font-size: 12px;
    }

    .easter-egg {
        width: 60px;
        bottom: 8px;
        right: 8px;
    }
}

/* iPhone and Small Phone Responsiveness */
@media (max-width: 480px) {
    body {
        background-size: cover;
        background-position: center center;
        padding: 0;
        gap: 8px;
        overflow-x: hidden;
    }
    
    header {
        height: auto;
        min-height: 60px;
        padding: 5px 8px 5px 0;
    }
    
    .header-board {
        gap: 8px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo-block {
        padding: 20px 12px;
        max-height: 50px;
        flex-shrink: 0;
    }
    
    .logo-block h1 {
        font-size: 16px;
    }
    
    .logo-block p {
        font-size: 9px;
    }
    
    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 4px;
        max-width: 60%;
    }
    
    .nav-board-img {
        width: 70px;
    }
    
    .nav-button {
        font-size: 10px;
    }
    
    .easter-egg {
        width: 45px;
        bottom: 5px;
        right: 5px;
        opacity: 0.15;
    }
}