/*
 * CRAZYSHOTZ™ website styles
 *
 * This stylesheet defines typography, layout, and colours
 * for the playful CRAZYSHOTZ™ kids site. It aims to be clear,
 * colourful and responsive without relying on external
 * frameworks. The fonts are loaded via Google Fonts in
 * the HTML head.
 */

/* Reset some default margins and paddings */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', Arial, sans-serif;
    line-height: 1.6;
    background-color: #fefefe;
    color: #222;
}

/* Utility container for content centering */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header styles */
.site-header {
    background: #ff686b;
    color: #fff;
    padding: 1rem 0;
    border-bottom: 4px solid #ff4d4f;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.site-header h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 2rem;
    margin: 0;
}

/* Navigation */
.navbar {
    margin-top: 0.5rem;
}

.navbar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.navbar a:hover,
.navbar a:focus {
    opacity: 0.8;
}

/* Main sections */
.section {
    padding: 3rem 0;
    background-color: #f9f9fb;
}

/* Alternate section style for visual variety */
.section-alt {
    background-color: #fff;
}

.section h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.section p {
    margin-bottom: 1.5rem;
    max-width: 600px;
}

/* Buttons */
.button {
    display: inline-block;
    background-color: #ffd24d;
    color: #333;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.1s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
    background-color: #ffc633;
}

.button-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Downloads section */
.downloads-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.download-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.download-owner-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.download-signature {
    height: 60px;
    object-fit: contain;
}

/* Register section */
.register-grid {
    max-width: 600px;
}

.checklist {
    margin-bottom: 1rem;
    list-style-type: disc;
    padding-left: 1.5rem;
}

.checklist li {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.upload-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.upload-form input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
    flex: 1 1 100%;
}

.upload-form button {
    margin-top: 0.5rem;
}

/* Stickers section */
.stickers-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    align-items: start;
}

.sticker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sticker-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    border: 2px solid #eee;
    border-radius: 8px;
    background-color: #fff;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}