
@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Permanent+Marker&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Permanent+Marker&display=swap');
/* General Styles */
body {
    font-family: 'Comic Sans MS', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff3e6;
    color: #2b2b2b;
}

/* Header */
header {
    background: linear-gradient(45deg, #ff66b2, #66ffcc);
    text-align: center;
    padding: 30px;
    border-bottom: 10px solid #ffd700;
    position: relative;
    overflow: hidden;
}

header h1 {
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
    color: #2b2b2b;
    text-shadow: 3px 3px #fff;
    transform: rotate(-2deg);
}

header p {
    font-size: 20px;
    color: #2b2b2b;
    font-weight: bold;
}

/* Main Content */
main {
    padding: 40px;
    padding-bottom: 80px; /* Adds space at the bottom to avoid footer overlap */
}

/* Funky Cards */
.card-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.funky-card {
    width: 280px;
    padding: 25px;
    text-align: center;
    transform: rotate(2deg);
    transition: transform 0.3s;
    border: 5px dashed #2b2b2b;
    border-radius: 20px;
}

.card1 {
    background: linear-gradient(135deg, #ffcc66, #ff9966);
}

.card2 {
    background: linear-gradient(135deg, #66ff99, #33cccc);
}

.card3 {
    background: linear-gradient(135deg, #9999ff, #ff99ff);
}

.funky-card:hover {
    transform: scale(1.1) rotate(-2deg);
}

.funky-card h2 {
    font-size: 28px;
    font-weight: bold;
    color: #2b2b2b;
    text-shadow: 2px 2px #fff;
}

.funky-card p {
    font-size: 20px;
    color: #2b2b2b;
    font-weight: bold;
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #ff3366;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 3px 3px #2b2b2b;
}

.card-link:hover {
    background-color: #ff6699;
}

/* Blog Post Styles */
article {
    max-width: 900px;
    margin: 0 auto;
}

.post-box {
    background-color: #fff;
    padding: 30px;
    border: 6px solid #2b2b2b;
    border-radius: 15px;
    transform: rotate(-3deg);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.post-box h2 {
    font-size: 36px;
    font-weight: bold;
    color: #2b2b2b;
    text-shadow: 2px 2px #ffd700;
}

.post-box p {
    font-size: 22px;
    line-height: 1.5;
    color: #2b2b2b;
    font-weight: bold;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #ff3366;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 3px 3px #2b2b2b;
}

.back-link:hover {
    background-color: #ff6699;
}

/* Timeline Section */
.timeline {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.timeline h2 {
    font-size: 40px;
    font-weight: bold;
    color: #2b2b2b;
    text-shadow: 3px 3px #ffd700;
    transform: rotate(-4deg);
    margin-bottom: 30px;
}

.year-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.year-bubble {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #ff66b2, #ff3366);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 5px dashed #2b2b2b;
}

.year-bubble:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 0 15px #ff3366;
}

.year-bubble h3 {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px #2b2b2b;
}

.month-container {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

.month-box {
    width: 280px;
    padding: 20px;
    background: linear-gradient(135deg, #66ffcc, #33cccc);
    border: 4px solid #2b2b2b;
    border-radius: 15px;
    transform: rotate(2deg);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.month-box:hover {
    transform: scale(1.05) rotate(-2deg);
}

.month-box h4 {
    font-size: 24px;
    font-weight: bold;
    color: #2b2b2b;
    text-shadow: 2px 2px #fff;
}

.month-box p {
    font-size: 20px;
    color: #2b2b2b;
    font-weight: bold;
    margin: 10px 0;
}

.month-box img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    border: 3px dashed #ff3366;
}

/* Digital Section */
.digital-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.digital-container h2 {
    font-size: 40px;
    font-weight: bold;
    color: #2b2b2b;
    text-shadow: 3px 3px #ffd700;
    transform: rotate(-4deg);
    margin-bottom: 30px;
}

.digital-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.digital-card {
    width: 300px;
    padding: 20px;
    background: linear-gradient(135deg, #ff99cc, #ff6699);
    border: 5px dashed #2b2b2b;
    border-radius: 20px;
    transform: rotate(3deg);
    transition: transform 0.3s;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.digital-card:nth-child(2) {
    background: linear-gradient(135deg, #66ff99, #33cccc);
    transform: rotate(-2deg);
}

.digital-card:nth-child(3) {
    background: linear-gradient(135deg, #9999ff, #ff99ff);
    transform: rotate(1deg);
}

.digital-card:nth-child(4) {
    background: linear-gradient(135deg, #ffcc66, #ff9966);
    transform: rotate(-3deg);
}

.digital-card:hover {
    transform: scale(1.05) rotate(0deg);
}

.digital-card h3 {
    font-size: 26px;
    font-weight: bold;
    color: #2b2b2b;
    text-shadow: 2px 2px #fff;
    margin-bottom: 10px;
}

.digital-card p {
    font-size: 20px;
    color: #2b2b2b;
    font-weight: bold;
    margin: 10px 0;
}

.digital-card iframe {
    border-radius: 10px;
    border: 3px solid #ff3366;
}

.digital-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ff3366;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 3px 3px #2b2b2b;
}

.digital-link:hover {
    background-color: #ff6699;
}

/* Gallery Section */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.gallery-container h2 {
    font-size: 40px;
    font-weight: bold;
    color: #2b2b2b;
    text-shadow: 3px 3px #ffd700;
    transform: rotate(-4deg);
    margin-bottom: 30px;
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.photo-card {
    width: 250px;
    padding: 20px;
    background: linear-gradient(135deg, #ffcc66, #ff9966);
    border: 5px dashed #2b2b2b;
    border-radius: 15px;
    transform: rotate(2deg);
    transition: transform 0.3s;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.photo-card:nth-child(2) {
    background: linear-gradient(135deg, #66ff99, #33cccc);
    transform: rotate(-3deg);
}

.photo-card:nth-child(3) {
    background: linear-gradient(135deg, #9999ff, #ff99ff);
    transform: rotate(1deg);
}

.photo-card:nth-child(4) {
    background: linear-gradient(135deg, #ff99cc, #ff6699);
    transform: rotate(-2deg);
}

.photo-card:hover {
    transform: scale(1.1) rotate(0deg);
}

.photo-card img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: 3px solid #ff3366;
}

.photo-card p {
    font-size: 20px;
    color: #2b2b2b;
    font-weight: bold;
    margin-top: 10px;
}

/* Lock Screen */
.lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lock-box {
    background: linear-gradient(45deg, #ff66b2, #66ffcc);
    padding: 40px;
    border: 6px solid #2b2b2b;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.padlock {
    width: 80px;
    height: 80px;
    background: url('https://via.placeholder.com/80?text=🔒') no-repeat center;
    margin: 0 auto 20px;
    transition: transform 0.5s;
}

.padlock.unlock-animation {
    animation: unlock 1s forwards;
}

.padlock.shake {
    animation: shake 0.5s;
}

.lock-box h2 {
    font-size: 36px;
    font-weight: bold;
    color: #2b2b2b;
    text-shadow: 2px 2px #ffd700;
}

.lock-box p {
    font-size: 20px;
    color: #2b2b2b;
    font-weight: bold;
    margin: 10px 0;
}

.lock-box input {
    padding: 10px;
    font-size: 18px;
    border: 3px dashed #ff3366;
    border-radius: 10px;
    margin: 10px 0;
    width: 200px;
}

.unlock-btn {
    padding: 12px 25px;
    background-color: #ff3366;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    box-shadow: 3px 3px #2b2b2b;
    cursor: pointer;
}

.unlock-btn:hover {
    background-color: #ff6699;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: repeating-linear-gradient(45deg, #ff66b2, #ff66b2 10px, #66ffcc 10px, #66ffcc 20px);
    color: #2b2b2b;
    font-weight: bold;
    border-top: 8px solid #ffd700;
    width: 100%;
    margin-top: 40px; /* Space above footer */
}

/* Animations */
@keyframes unlock {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-20deg); }
    50% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg) translateY(-100px); opacity: 0; }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}

/* Book Page Styles */
.book-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: url('https://www.transparenttextures.com/patterns/paper-fibers.png') repeat; /* Paper texture */
    border: 5px solid #8b4513; /* Brown "book" border */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    background-color: #fffef0; /* Off-white paper color */
}

.book-page h2 {
    font-family: 'Permanent Marker', cursive; /* Handwritten font */
    font-size: 36px;
    color: #2b2b2b;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px #ffd700;
    transform: rotate(-2deg);
}

.sentence-container {
    padding: 20px;
    background: repeating-linear-gradient(to bottom, transparent, transparent 29px, #add8e6 29px, #add8e6 30px); /* Ruled lines */
    line-height: 30px; /* Matches ruled line spacing */
}

.sentence {
    font-family: 'Caveat', cursive; /* Another handwritten font */
    font-size: 24px;
    color: #2b2b2b;
    font-weight: bold;
    margin: 15px 0;
    position: relative;
}

.blank {
    display: inline-block;
    width: 100px;
    height: 24px;
    border-bottom: 2px dashed #ff3366;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

/* .blank:hover {
    background-color: #fff3e6;
}

.blank.filled {
    color: #ff3366;
    font-family: 'Caveat', cursive;
    border-bottom: none;
} */

/* Ensure back-link stays consistent */
.back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #ff3366;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 3px 3px #2b2b2b;
}

.back-link:hover {
    background-color: #ff6699;
}
/* Replace the existing .blank and related styles with this */
.blank {
    display: inline-block;
    color: #0047AB; /* Ballpoint pen blue */
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-weight: bold;
    border-bottom:


/* Funky Navigation Header */
.nav-container {
    background: linear-gradient(45deg, #ff66b2, #66ffcc);
    padding: 20px;
    border-bottom: 10px solid #ffd700;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.nav-container h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: 48px;
    color: #2b2b2b;
    text-shadow: 3px 3px #fff;
    transform: rotate(-2deg);
    margin: 0 0 10px 0;
}

.funky-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-link {
    font-family: 'Caveat', cursive;
    font-size: 28px;
    font-weight: bold;
    color: #2b2b2b;
    text-decoration: none;
    background: #ffcc66;
    padding: 10px 20px;
    border: 4px dashed #ff3366;
    border-radius: 15px;
    transform: rotate(2deg);
    transition: transform 0.3s, background 0.3s;
    box-shadow: 3px 3px #2b2b2b;
    position: relative;
}

.nav-link:nth-child(2) { background: #66ff99; transform: rotate(-3deg); }
.nav-link:nth-child(3) { background: #9999ff; transform: rotate(1deg); }
.nav-link:nth-child(4) { background: #ff99cc; transform: rotate(-2deg); }
.nav-link:nth-child(5) { background: #ffcc66; transform: rotate(3deg); }
.nav-link:nth-child(6) { background: #66ffcc; transform: rotate(-1deg); }

.nav-link:hover {
    transform: scale(1.2) rotate(0deg);
    background: #ffd700;
    animation: wiggle 0.5s infinite;
}

/* Wiggle Animation */
@keyframes wiggle {
    0% { transform: rotate(-5deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}


@keyframes bounce {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}