/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
    margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* 4. Add accessible line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
    text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
    isolation: isolate;
}

#splash {
    display: flex;
    min-height: 100vh;
    min-width: 100vw;

    justify-content: center;
    align-items: center;
}
#splash > section {
    margin: 0px 20vw;
}

.main-section {
    width: 40vw;
}
@media (max-width: 600px) {
    .main-section {
        width: 80vw;
    }
}

.header {
    background: black;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    padding: 20px;
    font-size: 3rem;
    text-transform: uppercase;
    justify-self: center;
    text-align: center;
}

.marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;

    font-family: Arial, Helvetica, sans-serif;
    justify-content: center;
    align-items: baseline;
    width: 100%;
    background: black;
    color: yellow;
    font-weight: bold;
}
.marquee__item {
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-name: marquee-content;
    animation-timing-function: linear;
}
/**
		* BOTH of the marquee items are going to be translating left at the same time.
		* And, once each of them has translated to -100%, they will both snap back into
		* place, making it seem as if they are continuously scrolling.
		*/
@keyframes marquee-content {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

.message {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-weight: 300;
    font-size: 1.5rem;
}
