/* Import Retro Pixel Font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
    font-family: 'Press Start 2P', cursive;
    background: #fff;
    color: #000;
    text-align: center;
    margin: 0;
    padding: 0;
}

.container, .about-container {
    max-width: 600px;
    margin: auto;
    padding: 40px 20px;
}

h1, h2 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 40px; /* Add spacing under header */
}

/* Input Fields */
input {
    width: 100%;
    max-width: 360px;
    padding: 10px;
    margin: 0 auto 20px auto;
    display: block;
    border: 4px solid black;
    font-size: 12px;
    font-family: 'Press Start 2P', cursive;
    background: white;
    color: black;
    box-sizing: border-box;
}

/* CENTERED ROUNDED BOX FOR MESSAGE TEXT */
.text-box {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 20px auto;
    padding: 10px;
}

.text-box textarea {
    width: 100%;
    height: 80px;
    background: white;
    color: black;
    font-size: 12px;
    font-family: 'Press Start 2P', cursive;
    resize: none;
    outline: none;
    padding: 10px;
    border: 4px solid black;
    border-radius: 10px;
    box-sizing: border-box;
}

/* BUTTON STYLES */
button {
    background: black;
    color: white;
    padding: 10px 20px;
    border: 4px solid black;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    margin: 0 auto 20px auto;
}

button:hover {
    background: gray;
}

.captcha {
    margin: 20px auto;
    max-width: 360px;
}

.footer {
    font-size: 10px;
    margin-top: 20px;
}

.footer a {
    color: black;
    text-decoration: underline;
    font-weight: normal;
}

/* About Page Styling */
.about-container {
    text-align: left;
    font-size: 12px;
    line-height: 1.6;
    max-width: 500px;
    margin: 40px auto;
}

.about-container p {
    margin-bottom: 20px;
}

.about-container a {
    color: black;
    text-decoration: underline;
}

.about-container a:hover {
    color: gray;
}

.back-button {
    background: black;
    color: white;
    padding: 10px 20px;
    border: 4px solid black;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 40px;
    display: inline-block;
}

/* ABOUT LINK IN BOTTOM-RIGHT CORNER */
.about-text {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 12px;
    font-family: 'Press Start 2P', cursive;
}

.about-text a {
    color: black;
    text-decoration: none;
}

.about-text a:hover {
    text-decoration: underline;
}

/* GALLERY LINK IN BOTTOM-LEFT CORNER */
.gallery-text {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 12px;
    font-family: 'Press Start 2P', cursive;
}

.gallery-text a {
    color: black;
    text-decoration: none;
}

.gallery-text a:hover {
    text-decoration: underline;
}

/* ✅ CHARACTER COUNTER BELOW TEXTAREA */
.char-counter {
    font-size: 10px;
    color: #666;
    margin-bottom: 10px;
    font-family: 'Press Start 2P', cursive;
}

/* ✅ KEYBOARD FOCUS STATES FOR ACCESSIBILITY */
input:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 2px dashed black;
    outline-offset: 4px;
}
