@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 {
    background-image: url('../png/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    gap: 24px;
    margin: 0;
}

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: 0;
}

.nav {
    display: flex;
    gap: 8px;
    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;
}

.content {
    width: 100%;
    display: flex;
    justify-content: center;
}

        .poster-wrapper {
            position: relative;
            width: 100%;
            max-width: 450px;
            filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));
        }

        .push-pin {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 24px;
            height: 24px;
            background-color: #1a1a1a;
            border-radius: 50%;
            box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
            z-index: 10;
        }

        .push-pin::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 6px;
            height: 6px;
            background-color: #333;
            border-radius: 50%;
        }

        .form-container {
            position: relative;
            width: 100%;
            background-color: #BDA97A;
            background-image: 
                repeating-linear-gradient(
                    90deg,
                    transparent,
                    transparent 2px,
                    rgba(139, 90, 43, 0.03) 2px,
                    rgba(139, 90, 43, 0.03) 4px
                ),
                repeating-linear-gradient(
                    0deg,
                    transparent,
                    transparent 2px,
                    rgba(139, 90, 43, 0.02) 2px,
                    rgba(139, 90, 43, 0.02) 4px
                );
            padding: 60px 50px 60px 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transform: rotate(-2.54deg);
            aspect-ratio: 9 / 13;
            box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.3);
            border: 1px solid rgba(139, 90, 43, 0.1);
        }

        h1 {
            color: #2c2416;
            margin-bottom: 15px;
            text-align: center;
            font-size: 48px;
            font-weight: bold;
            font-family: 'Rye', 'Georgia', serif;
        }

        .subtitle {
            color: #6b5d4f;
            text-align: center;
            margin-bottom: 50px;
            font-size: 14px;
            font-style: italic;
            line-height: 1.6;
        }

        form {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 35px;
        }

        .form-group {
            width: 100%;
            position: relative;
        }

        .placeholder-input {
            display: block;
            width: 100%;
            text-align: center;
            color: #8b7355;
            font-size: 16px;
            font-family: 'Georgia', serif;
            border: none;
            background: none;
            border-bottom: 1px solid #c9b8a8;
            padding: 8px 0;
            transition: all 0.3s ease;
            outline: none;
        }

        .placeholder-input:focus {
            border-bottom-color: #8b5a2b;
            color: #2c2416;
        }

        .placeholder-input::placeholder {
            color: #c9b8a8;
        }

        textarea.placeholder-input {
            resize: none;
            min-height: 60px;
            border: none;
            border-bottom: 1px solid #c9b8a8;
            font-size: 14px;
            line-height: 1.6;
        }

        textarea.placeholder-input:focus {
            border-bottom-color: #8b5a2b;
        }

        button {
            align-self: center;
            padding: 12px 40px;
            margin-top: 15px;
            background-color: #e8d9c9;
            color: #4a3c2a;
            border: 1px solid #c9b8a8;
            font-size: 16px;
            font-weight: bold;
            font-family: 'Georgia', serif;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        button:hover {
            background-color: #dcc4b0;
            border-color: #8b5a2b;
            color: #2c2416;
        }

        button:active {
            transform: scale(0.98);
        }

        .success-message {
            display: none;
            color: #6b5d4f;
            text-align: center;
            margin-top: 15px;
            font-weight: bold;
            font-size: 14px;
        }

        /* Tablet Responsiveness */
        @media (min-width: 769px) and (max-width: 1024px) {
            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;
            }
        }

        /* Mobile and Tablet Responsiveness */
        @media (max-width: 768px) {
            body {
                gap: 15px;
                padding: 0;
            }
            
            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;
            }
            
            .logo-block p {
                font-size: 12px;
            }
            
            .nav-board-img {
                width: 120px;
            }
            
            .nav-button {
                font-size: 14px;
            }
            
            .poster-wrapper {
                max-width: 400px;
            }
            
            .form-container {
                padding: 50px 40px;
            }
            
            h1 {
                font-size: 42px;
                letter-spacing: 6px;
            }
        }

        /* Mobile and Tablet Responsiveness */
        @media (max-width: 768px) {
            body {
                gap: 15px;
                padding: 15px 10px;
            }
            
            header {
                height: auto;
                padding: 8px 15px 8px 0;
            }
            
            .logo-block {
                padding: 30px 20px;
                max-height: 55px;
            }
            
            .logo-block h1 {
                font-size: 20px;
            }
            
            .logo-block p {
                font-size: 11px;
            }
            
            .nav {
                gap: 8px;
            }
            
            .nav-board-img {
                width: 100px;
            }
            
            .nav-button {
                font-size: 13px;
            }
            
            .poster-wrapper {
                max-width: 95%;
            }
            
            .form-container {
                padding: 45px 30px;
                transform: rotate(-1.5deg);
            }
            
            h1 {
                font-size: 36px;
                letter-spacing: 5px;
            }
            
            .subtitle {
                font-size: 13px;
                margin-bottom: 40px;
            }
            
            form {
                gap: 28px;
            }
            
            .placeholder-input {
                font-size: 15px;
            }
            
            textarea.placeholder-input {
                min-height: 55px;
                font-size: 13px;
            }
            
            button {
                padding: 11px 35px;
                font-size: 15px;
                letter-spacing: 1.5px;
            }
        }

        /* iPhone and Small Phone Responsiveness */
        @media (max-width: 480px) {
            body {
                gap: 8px;
                padding: 0;
                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;
            }
            
            .content {
                padding: 10px 5px;
            }
            
            .poster-wrapper {
                max-width: 100%;
            }
            
            .push-pin {
                width: 20px;
                height: 20px;
                top: -12px;
            }
            
            .push-pin::after {
                width: 5px;
                height: 5px;
            }
            
            .form-container {
                padding: 35px 25px;
                transform: rotate(-1deg);
            }
            
            h1 {
                font-size: 28px;
                letter-spacing: 4px;
                margin-bottom: 12px;
            }
            
            .subtitle {
                font-size: 12px;
                margin-bottom: 35px;
                line-height: 1.5;
            }
            
            form {
                gap: 25px;
            }
            
            .placeholder-input {
                font-size: 14px;
                padding: 7px 0;
            }
            
            textarea.placeholder-input {
                min-height: 50px;
                font-size: 12px;
                line-height: 1.5;
            }
            
            button {
                padding: 10px 28px;
                font-size: 13px;
                letter-spacing: 1.5px;
                margin-top: 10px;
            }
            
            .success-message {
                font-size: 13px;
                margin-top: 12px;
            }
        }

        @media (max-width: 600px) {
            .form-container {
                padding: 45px 35px 45px 35px;
                transform: rotate(-2.54deg);
            }

            h1 {
                font-size: 36px;
                letter-spacing: 4px;
            }

            .placeholder-input {
                font-size: 14px;
            }

            button {
                padding: 10px 30px;
                font-size: 14px;
            }
        }