@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;

    font-family: "Inter", sans-serif;

    --brand-pink: #eb738e;
    --brand-yellow: #fdcc03;
    --brand-porcelain: #f2e2d0;
}

body {
    margin: 0;
}

#__nuxt {
    margin: 0;
    background-color: #f2e2d0;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;

    display: flex;
    justify-content: center;
}

a {
    color: black;
    text-decoration: none;
}

a:not(.button):hover {
    text-decoration: underline;
}

.scroll img.overlay {
    grid-column-start: 1;
    grid-column-end: 8;
    max-width: 100%;
    margin: auto;
    object-fit: cover;
    z-index: 1;
    background-image:linear-gradient(to bottom,
        rgba(0,0,0,0),
        rgba(0,0,0,0),
        var(--brand-pink),
        var(--brand-pink),
        var(--brand-pink)
    );
}

.scroll img.overlay, #covers {
        height: 135vh;
}

.scroll * {
    grid-row-start: 1;
    grid-row-end: 2;
}

.scroll .col:nth-child(1) {
    grid-column-start: 1;
    grid-column-end: 2;
}

.scroll .col:nth-child(2) {
    grid-column-start: 2;
    grid-column-end: 3;
}

.scroll .col:nth-child(3) {
    grid-column-start: 3;
    grid-column-end: 4;
}

.scroll .col:nth-child(4) {
    grid-column-start: 4;
    grid-column-end: 5;
}

@keyframes scrollUp {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@keyframes scrollDown {
    from { transform: translateY(-50%); }
    to { transform: translateY(0); }
}

.scroll .col:nth-child(2n) {
    animation-name: scrollUp;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.scroll .col:nth-child(2n + 1) {
    animation-name: scrollDown;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.scroll .col:nth-child(1) {
    animation-duration: 80s;
}

.scroll .col:nth-child(2) {
    animation-duration: 120s;
}

.scroll .col:nth-child(3) {
    animation-duration: 120s;
}

.scroll .col:nth-child(4) {
    animation-duration: 80s;
}

.scroll .col:nth-child(5) {
    animation-duration: 60s;
}

.scroll {
    width: max-content;
    max-width: 100vw;
    height: 100vh;
    
    margin: auto;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;

    overflow: hidden;

    height: 100%;
    justify-content: center;
}

.posters {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: max-content;
    opacity: 0;
}

.posters.reveal, #signup.reveal {
    opacity: 1;
}

.posters > * {
    grid-column-start: 1;
    grid-row-start: 1;
}

.col {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: min(3vw, 3vh);
    padding-bottom: min(3vw, 3vh);
}

.col img {
    width: 100%;
    aspect-ratio: 1440/1920;
}

#covers {
    background-color: var(--brand-pink);
    grid-template-columns: repeat(6, 1fr);
    column-gap: min(3vw, 3vh);;
    aspect-ratio: 1440/2000;
    display: grid;
}

#signup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 72vh;
    margin: 0;
    opacity: 0;
}

h2 {
    text-align: center;
    font-size: 45px;
    font-weight: 700;
    line-height: 38px;
}

p {
    text-align: center;
    text-align: center;
    font-size: 23px;
    line-height: 27px;
    margin: 9px 0;
}

form p {
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 10px;
}

#policies, #copyright {
    font-size: 8px;
    line-height: 12px;
    position: fixed;
}

#policies {
    bottom: 60px;
    right: 40px;
}

#copyright {
    bottom: 30px;
    right: 40px;
}

ul {
    display: flex;
    padding: 0;
}

li {
    list-style-type: none;
    padding: 0;
}

li:not(:last-child)::after {
    content: "|";
    margin: 0 1rem;
}

input {
    border-radius: 4px;
    border: 1px solid #D4D4D4;
    background: #FFF;
    font-size: 10px;
    padding: 10px 20px;
    min-width: 280px;
}

button, .button {
    border-radius: 4px;
    background: var(--onSecondary, #000);
    color: white;
    border: none;
    font-size: 14px;
    padding: 13px 20px;
    display: block;
    margin: auto;
    width: max-content;
}

button:hover, button:active, .button:hover, .button:active {
    background-color: var(--brand-pink);
}

button, .button, input {
    height: 44px;
}

.fields {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

h2, form {
    margin-bottom: 24px;
}

.hidden {
    display: none;
}

article {
    max-width: 960px;
    text-align: left;
    height: min-content;
    padding: 2rem 0;
}

article > * {
    text-align: left;
}

article ul {
    flex-direction: column;
    padding-left: 1rem;
}

article li:not(:last-child):after {
    content: none;
}

article li {
    list-style: disc;
    font-size: 17px;
}

article img {
    margin: 2rem auto;
    display: block;
}

article .update {
    font-size: 10px;
}

article .effective {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 2rem;
}

article p {
    font-size: 17px;
    line-height: 24px;
}

article h1 {
    font-size: 42px;
    margin-bottom: 64px;
}

article h2 {
    font-size: 22px;
    margin: 2rem 0 0 0;
}

article p, article ul {
    margin-top: 0;
}

a {
    font-size: 8px !important;
    font-weight: 400 !important;
}

@media screen and (max-width: 1200px) {
    p {
        font-size: 12px;
    }

    h2 {
        font-size: 28px;
    }

    form p {
        font-size: 12px;
    }

    input {
        min-width: 200px;
    }
}

@media screen and ((max-width: 640px) or (max-aspect-ratio: 4/3)) {
    #__nuxt {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        justify-items: center;
    }

    #__nuxt > * {
        grid-row-start: 1;
        grid-column-start: 1;
    }

    #policies, #copyright {
        position: unset;
    }

    #signup {
        z-index: 1;
        margin: auto;
        justify-content: center;
        height: 40vh;
        margin-bottom: 5px;
        padding-bottom: 10px;
        padding-bottom: 10px;
    }

    .scroll img.overlay, #covers {
        height: 110vh;
        margin-bottom: -5vh;
    }

    h2, p {
        margin-bottom: 0;
    }

}

@media screen and (max-height: 900px) {
    .scroll img.overlay, #covers {
        margin-bottom: 0 !important;
    }
}
