@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

body,
html {
    height: 100vh;
    margin: 0;
    background-color: #4d79ff;
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.bg {
    /* The background image - now stretches across the entire viewport */
    background-image: url("../images/background2.png");
    
    /* Fixed position and size */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    
    /* Background properties */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1; /* Place it behind the content */
}

.bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.content {
    /* Position the content */
    position: relative;
    /* z-index: 1; */
    max-width: 900px;
    margin: 0 auto;
}

.spider-logo {
    background-image: url(../images/logo1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 300px;
    height: 300px;
    margin-bottom: 30px;
    z-index: 2;
}

.year-logo {
    background-image: url(../images/number_3.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 230px;
    height: 400px;
    z-index: 2;
}

.title {
    text-align: center;
    font-size: 3em;
    margin-bottom: 10px;
    color: #e23636;
    text-shadow: 2px 2px 0 #0064b5, 4px 4px 0 #000;
    padding: 20px;
    border: 3px solid #000;
    transform: rotate(-2deg);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    /* Comic burst effect */
    clip-path: polygon(0% 15%, 15% 0%, 50% 5%, 85% 0%, 100% 15%, 95% 50%, 100% 85%, 85% 100%, 50% 95%, 15% 100%, 0% 85%, 5% 50%);
    /* Ensure it sits on top of other elements */
    position: relative;
    z-index: 2;
}

.title2 {
    text-align: left;
    font-size: 2em;
    margin-bottom: 20px;
    color: #99b3ff;
    text-shadow: 2px 2px 0 #ff4d4d, 4px 4px 0 #000;
    padding: 25px;
    border: 3px solid #000;
    transform: rotate(-2deg);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    /* Comic burst effect */
    clip-path: polygon(0% 15%, 15% 0%, 50% 5%, 85% 0%, 100% 15%, 95% 50%, 100% 85%, 85% 100%, 50% 95%, 15% 100%, 0% 85%, 5% 50%);
    /* Ensure it sits on top of other elements */
    position: relative;
    z-index: 2;
}

.title3 {
    text-align: center;
    font-size: 2.1em;
    margin-bottom: 20px;
    color: #ffff80;
    text-shadow: 2px 2px 0 #ff4d4d, 4px 4px 0 #000;
    padding: 20px;
    border: 3px solid #000;
    transform: rotate(-2deg);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    /* Comic burst effect */
    clip-path: polygon(0% 15%, 15% 0%, 50% 5%, 85% 0%, 100% 15%, 95% 50%, 100% 85%, 85% 100%, 50% 95%, 15% 100%, 0% 85%, 5% 50%);
    /* Ensure it sits on top of other elements */
    position: relative;
    z-index: 2;
}

/* Scroll indicator */
.scroll-down {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    text-align: center;
    animation: bounce 2s infinite;
    transition: opacity 0.5s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.section {
    /* Style for each content section */
    padding: 10px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

/* Making sections transparent */
.section-1,
.section-2,
.section-3,
.section-4 {
    background-color: transparent;
}

.comic-border {
    border: 5px solid white;
    border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='75' height='75' viewBox='0 0 75 75'%3E%3Cpath fill='none' stroke='%23000' stroke-width='4' d='M0,0 L75,0 L75,75 L0,75 Z' stroke-dasharray='10 5'/%3E%3C/svg%3E") 20 repeat;
    /* padding: 10px; */
    position: relative;
}

.panel {
    background-color: white;
    border: 3px solid #000;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: relative;
    z-index: 1;
}

.panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(#ccc 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.2;
    z-index: -1;
}

.highlight {
    font-weight: bold;
    color: #e23636;
    font-size: 22px;
    letter-spacing: 1px;
}

.details {
    font-size: 18px;
    line-height: 1.5;
}

.main-content {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.footer {
    margin-top: 20px;
    font-style: italic;
    text-align: center;
}

.quote-box {
    background-color: #ffeb3b;
    display: inline-block;
    padding: 8px 15px;
    position: relative;
    transform: rotate(-1deg);
    border: 2px solid #000;
}