html {
    font-size: 100%;
}

body {
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Space Grotesk', serif;
    color: #fff;
    background-image: linear-gradient(#457b9d, #00296b);
}

.flex-container {
    max-width: 1280px;
    justify-content: left;
    margin: 0 auto;
}

p {
    max-width: 50ch;
}

h1 {
    font-size: 47.78px;
    text-align: center;
    text-transform: uppercase;
    padding: 4rem;
    color: #fff;
    text-shadow: 2px 2px 2px #001d3d;
    animation-name: growandspin;
    animation-duration: 4s;
}

h2 {
    font-size: 39.81px;
    text-transform: uppercase;
    text-decoration: underline;
    color: #e7c343;
}

h3 {
    font-size: 27.65px;
    color: #e7c343;
}

h1, h2, h3 {
    font-family: 'AudioWide', serif;
}

.intro {
    margin: 0 auto;
    gap: 2rem;
    display: flex;
    width: calc((100% / 1) - (3rem / 3));
}

.intro p {
    background-color: #001d3d;
    gap: 2rem;
    padding: 2rem;
}

.origin, .plot, .reboots, .characters, .cancel, .merch {
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
    display: flex;
    width: calc((100% / 1) - (2rem / 2));

}

.source {
    justify-self: center;
}

section {
    background-color: #001d3d;
    padding: 5rem;
    margin-bottom: 2rem;
    box-shadow: 5px 5px 5px 5px #001d3d;
}

.extra {
    margin-left: 2rem;
}

div {
    justify-content: left;
}

section:nth-child(even) {
    animation-name: slide-right;
    animation-duration: 2.5s;
    animation-timing-function: ease-in;
}

section:nth-child(odd) {
    animation-name: slide-left;
    animation-duration: 2.5s;
    animation-timing-function: ease-in;
}


@keyframes slide-right {
    from {
        translate: 50vw 0;
        scale: 100% 1;
    }

    to {
        translate: 0 0;
        scale: 100% 1;
    }
}

@keyframes slide-left {
    from {
        translate: -150vw 0;
        scale: 100% 1;
    }

    to {
        translate: 0 0;
        scale: 100% 1;
    }
}