/* Cute Early 2000s Blog Style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0ef96ff;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, .1) 35px, rgba(255, 255, 255, .1) 70px);
    color: #5d4037;
    font-family: 'Comic Sans MS', 'Trebuchet MS', cursive, sans-serif;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border: 3px dashed #faffb3ff;
    border-radius: 15px;
    box-shadow: 5px 5px 0px #faffb3ff;
}

h1 {
    color: #f4f00fff;
    font-size: 2em;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #f0ef96ff;
    font-weight: bold;
    letter-spacing: 1px;
}

h2 {
    color: #f4f00fff;
    font-size: 1.5em;
    margin: 20px 0 10px 0;
    border-bottom: 2px dotted #faffb3ff;
    padding-bottom: 5px;
}

h3 {
    color: #8d6e63;
    font-size: 1.2em;
    margin: 15px 0 8px 0;
}

p {
    margin-bottom: 15px;
}

a {
    color: #f4f00fff;
    text-decoration: none;
    border-bottom: 1px dotted #f4f00fff;
    transition: all 0.3s ease;
}

a:hover {
    color: #f6ff8fff;
    border-bottom: 1px solid #f6ff8fff;
}

/* Navigation Bar */
.navbar {
    background: #fff;
    padding: 0;
    margin-bottom: 30px;
    border: 3px solid #faffb3ff;
    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;
    width: fit-content;
    height: 65px;
}

.nav-item a {
    display: block;
    padding: 15px 20px;
    color: #5d4037;
    text-decoration: none;
    border: none;
    border-right: 2px solid #faffb3ff;
    font-weight: bold;
    transition: all 0.3s ease;
    background: #fffbfc;
    height: 65px;
}

.nav-item:last-child a {
    border-right: none;
}

.nav-item a:hover {
    background: #f0ef96ff;
    color: #f4f00fff;
}

.nav-item.active a {
    background: #f4f00fff;
    color: #fff;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .nav-menu {
        flex-direction: column;
    }

    .nav-item a {
        border-right: none;
        border-bottom: 2px solid #faffb3ff;
    }

    .nav-item:last-child a {
        border-bottom: none;
    }
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(180deg, #f0ef96ff 0%, #ffffff 100%);
    border-radius: 10px;
    border: 2px solid #faffb3ff;
}

.subtitle {
    color: #8d6e63;
    font-size: 0.9em;
    font-style: italic;
}

button,
input[type="submit"] {
    background: #faffb3ff;
    color: #5d4037;
    border: 2px solid #f4f00fff;
    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: #f6ff8fff;
    transform: scale(1.05);
}

input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 2px solid #faffb3ff;
    border-radius: 10px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 0.95em;
    background: #fffbfc;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.content-box {
    background: #fffbfc;
    padding: 20px;
    margin: 15px 0;
    border: 2px solid #faffb3ff;
    border-radius: 10px;
    box-shadow: 3px 3px 0px #f0ef96ff;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #f4f00fff;
    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 #faffb3ff;
    font-size: 0.9em;
    color: #8d6e63;
}

/* Cute decorative elements */
.heart {
    color: #f4f00fff;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

.star {
    color: #faffb3ff;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    h1 {
        font-size: 1.5em;
    }
}