body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@keyframes red-flash {
    0% { background-color: #000; }
    50% { background-color: #ff0000; }
    100% { background-color: #000; }
}

header {
    padding: 30px;
    background: #fff;
    border-bottom: 3px solid red;
    position: relative;
    animation: header-slide 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes header-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 5%;
    width: 90%;
    height: 10px;
    background: repeating-linear-gradient(
            45deg,
            red,
            red 10px,
            black 10px,
            black 20px
    );
}

.header-content {
    display: flex;
    align-items: center;
}

.header-image {
    width: 150px;
    height: 150px;
    margin-right: 30px;
    border: 3px solid red;
    shape-outside: circle(50%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

header h1 {
    font-size: 2.5em;
    text-transform: uppercase;
    color: #000;
    letter-spacing: -2px;
    text-shadow: 3px 3px 0 red;
}

nav ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 30px 0;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 15px;
    display: block;
    background: #ff0000;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.3),
            transparent
    );
    transition: 0.5s;
}

nav ul li a:hover::before {
    left: 100%;
}

main {
    padding: 20px;
    border: 3px solid white;
    margin: 30px;
    position: relative;
}

main::before {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: red;
    padding: 0 10px;
    font-size: 1.2em;
}

section {
    margin: 20px 0;
    padding: 20px;
    border-left: 5px solid red;
}

@keyframes text-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.marquee {
    white-space: nowrap;
    overflow: hidden;
    background: red;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.marquee span {
    display: inline-block;
    animation: text-scroll 20s linear infinite;
    font-weight: bold;
    text-transform: uppercase;
}

footer {
    background: #fff;
    color: #000;
    padding: 20px;
    margin-top: 50px;
    text-align: center;
    border-top: 3px solid red;
}
