/* Cute Christmas 2000s Blog Style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #8B4513;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(139, 69, 19, 0.3) 35px, rgba(139, 69, 19, 0.3) 70px);
    color: #3d2817;
    font-family: 'Comic Sans MS', 'Trebuchet MS', cursive, sans-serif;
    line-height: 1.6;
    padding: 20px;
    position: relative;
}

/* Christmas Lights Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to right,
            #ff0000 0%, #ff0000 5%,
            transparent 5%, transparent 10%,
            #00ff00 10%, #00ff00 15%,
            transparent 15%, transparent 20%,
            #ffff00 20%, #ffff00 25%,
            transparent 25%, transparent 30%,
            #0000ff 30%, #0000ff 35%,
            transparent 35%, transparent 40%,
            #ff00ff 40%, #ff00ff 45%,
            transparent 45%, transparent 50%,
            #ff0000 50%, #ff0000 55%,
            transparent 55%, transparent 60%,
            #00ff00 60%, #00ff00 65%,
            transparent 65%, transparent 70%,
            #ffff00 70%, #ffff00 75%,
            transparent 75%, transparent 80%,
            #0000ff 80%, #0000ff 85%,
            transparent 85%, transparent 90%,
            #ff00ff 90%, #ff00ff 95%,
            transparent 95%, transparent 100%);
    background-size: 200px 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* Corner Decorations */
body::after {
    content: '🎄';
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 80px;
    z-index: 999;
    animation: sway 3s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes sway {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

.gingerbread-decoration {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 70px;
    z-index: 999;
    animation: wiggle 2s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.gingerbread-decoration::before {
    content: '🍪';
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.container {
    max-width: 700px;
    margin: 60px auto 20px auto;
    background: #f4e4c1;
    padding: 30px;
    border: 3px dashed #8B4513;
    border-radius: 15px;
    box-shadow: 5px 5px 0px #654321;
    position: relative;
}

/* Merry Christmas Header Decoration */
.container::before {
    content: '🎅 Merry Christmas! 🎅';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #c41e3a;
    color: #fff;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2em;
    border: 3px solid #8B4513;
    box-shadow: 3px 3px 0px #654321;
    animation: festive-pulse 2s ease-in-out infinite;
}

@keyframes festive-pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

h1 {
    color: #c41e3a;
    font-size: 2em;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #fff, 3px 3px 0px #2d5016;
    font-weight: bold;
    letter-spacing: 1px;
}

h2 {
    color: #c41e3a;
    font-size: 1.5em;
    margin: 20px 0 10px 0;
    border-bottom: 2px dotted #8B4513;
    padding-bottom: 5px;
}

h3 {
    color: #2d5016;
    font-size: 1.2em;
    margin: 15px 0 8px 0;
}

p {
    margin-bottom: 15px;
}

a {
    color: #c41e3a;
    text-decoration: none;
    border-bottom: 1px dotted #c41e3a;
    transition: all 0.3s ease;
}

a:hover {
    color: #2d5016;
    border-bottom: 1px solid #2d5016;
}

/* Navigation Bar */
.navbar {
    background: #f4e4c1;
    padding: 0;
    margin-bottom: 30px;
    border: 3px solid #8B4513;
    border-radius: 15px;
    overflow: hidden;
    max-height: 65px;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-item {
    flex: 1;
    text-align: center;
    min-width: 120px;
    height: 65px;
}

.nav-item a {
    display: block;
    padding: 15px 20px;
    color: #3d2817;
    text-decoration: none;
    border: none;
    border-right: 2px solid #8B4513;
    font-weight: bold;
    transition: all 0.3s ease;
    background: #d4a373;
    height: 65px;
}

.nav-item:last-child a {
    border-right: none;
}

.nav-item a:hover {
    background: #c41e3a;
    color: #fff;
}

.nav-item.active a {
    background: #2d5016;
    color: #fff;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .nav-menu {
        flex-direction: column;
    }

    .nav-item a {
        border-right: none;
        border-bottom: 2px solid #8B4513;
    }

    .nav-item:last-child a {
        border-bottom: none;
    }
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(180deg, #c41e3a 0%, #f4e4c1 100%);
    border-radius: 10px;
    border: 2px solid #8B4513;
}

.subtitle {
    color: #3d2817;
    font-size: 0.9em;
    font-style: italic;
}

button,
input[type="submit"] {
    background: #c41e3a;
    color: #fff;
    border: 2px solid #8B4513;
    padding: 10px 20px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1em;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

button:hover,
input[type="submit"]:hover {
    background: #2d5016;
    transform: scale(1.05);
}

input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 2px solid #8B4513;
    border-radius: 10px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 0.95em;
    background: #fff;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.content-box {
    background: #fff;
    padding: 20px;
    margin: 15px 0;
    border: 2px solid #8B4513;
    border-radius: 10px;
    box-shadow: 3px 3px 0px #d4a373;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #c41e3a;
    font-size: 1.5em;
}

ul,
ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dotted #8B4513;
    font-size: 0.9em;
    color: #3d2817;
}

/* Cute decorative elements */
.heart {
    color: #c41e3a;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

.star {
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
}

/* Snowflake decorations */
.snowflake {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 70px 10px 10px 10px;
    }

    h1 {
        font-size: 1.5em;
    }

    body::after {
        font-size: 50px;
        bottom: 10px;
        left: 10px;
    }

    .gingerbread-decoration {
        font-size: 45px;
        bottom: 10px;
        right: 10px;
    }
}

/* Additional Christmas themed classes */
.christmas-button {
    background: #2d5016;
    color: #fff;
}

.christmas-button:hover {
    background: #c41e3a;
}

.gingerbread-box {
    background: #d4a373;
    border: 3px solid #8B4513;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

/* Holly decoration for special elements */
.holly::before {
    content: '🎄 ';
}

.holly::after {
    content: ' 🎄';
}