@charset "utf-8";

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Thin.otf");
    font-weight: 200;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.otf");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-SemiBold.otf");
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Bold.otf");
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-ExtraBold.otf");
    font-weight: 900;
    font-style: normal;
    font-stretch: normal;
}

/* --- Variables --- */

:root {
    --text-color: #000000;
    --bg-color: #fcf1e2;
    --accent-color: #c02026;
    --border-color: #0f1010;

    --mobile-font: 4.5vw;
    --desktop-font: 1.3vw;
}

/* --- Base --- */

@media only screen and (min-width: 768px) {
    .only-m {
        display: none;
    }
}
.only-d,
.only-d-inline {
    display: none;
}
@media only screen and (min-width: 768px) {
    .only-d {
        display: block;
    }
    .only-d-inline {
        display: inline;
    }
}

html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-size: var(--mobile-font);
    line-height: 1.2rem;

    color: var(--text-color);
    background-color: var(--bg-color);

    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
@media only screen and (min-width: 768px) {
    html {
        font-size: var(--desktop-font);
    }
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    box-sizing: border-box;
    position: relative;
    margin: 0;
    padding: 0;

    font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    font-weight: 400;
    font-optical-sizing: auto;
    font-style: normal;

    color: var(--text-color);
    background-color: #169dd9;

    zoom: 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    background-image: url(../images/divan/bg-m-repeat.jpg);
    background-size: 100% auto;
    background-position: 0 0;
    background-repeat: repeat-y;
}

@media only screen and (min-width: 768px) {
    body {
        background-image: url(../images/divan/bg-d-repeat.jpg);
    }
}

#app {
    position: relative;
    background-image: url(../images/divan/bg-m3.jpg?c=4), url(../images/divan/bg-m-lower.jpg?c=3);
    background-size: 100% auto, 100% auto;
    background-position: 0 0, 0 calc(100% - 140vw);
    background-repeat: no-repeat, no-repeat;
    padding: 0;
    margin: 0;
}

@media only screen and (min-width: 768px) {
    #app {
        background-image: url(../images/divan/bg-d.jpg?c=3), url(../images/divan/bg-d-lower.jpg?c=3);
        background-size: 100% auto, 100% auto;
        background-position: 0 0, 0 calc(100% - 11vw);
        background-repeat: no-repeat, no-repeat;
    }
}

/* Scroll */

#how {
    scroll-margin-top: 2rem;
}

#prizes {
    scroll-margin-top: 2rem;
}

#special {
    scroll-margin-top: 2rem;
}

#faq {
    scroll-margin-top: 2rem;
}

/* --- Elements normalization --- */

input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: transparent;
}

a,
input.submit,
input.button,
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

img {
    display: inline-block;
    width: 100%;
    height: auto;
}

p {
    line-height: 1.3em;
}

/* Axiom */

.axiom {
    padding: 0 6vw;
}
@media only screen and (min-width: 768px) {
    .axiom {
        padding: 0 5vw;
    }
}

.rel {
    position: relative;
}

.m-24 {
    font-weight: 500;
    font-size: 1.4em;
    line-height: 1.2em;
}
@media only screen and (min-width: 768px) {
    .m-24 {
        font-weight: 500;
        font-size: 1.7em;
        line-height: 1.2em;
    }
}

.m-36 {
    font-weight: 500;
    font-size: 2em;
    line-height: 1.2em;
}
@media only screen and (min-width: 768px) {
    .m-36 {
        font-weight: 500;
        font-size: 2.3em;
        line-height: 1.2em;
    }
}

.m-48 {
    font-weight: 500;
    font-size: 1.7em;
    line-height: 1.2em;
}
@media only screen and (min-width: 768px) {
    .m-48 {
        font-weight: 500;
        font-size: 2.5em;
        line-height: 1.2em;
    }
}

.m-56 {
    font-weight: 500;
    font-size: 2em;
    line-height: 1.2em;
}
@media only screen and (min-width: 768px) {
    .m-56 {
        font-weight: 500;
        font-size: 2.8em;
        line-height: 1.2em;
    }
}

.mb-1 {
    margin-bottom: 0.25em;
}
.mb-2 {
    margin-bottom: 0.5em;
}
.mb-3 {
    margin-bottom: 0.75em;
}
.mb-4 {
    margin-bottom: 1em;
}
.mb-5 {
    margin-bottom: 1.25em;
}
.mb-6 {
    margin-bottom: 1.5em;
}
.mb-7 {
    margin-bottom: 1.75em;
}
.mb-8 {
    margin-bottom: 2em;
}
.mb-9 {
    margin-bottom: 2.25em;
}
.mb-10 {
    margin-bottom: 2.5em;
}

.center {
    text-align: center;
}

.strong,
strong {
    font-weight: 600;
}

/* --- Text input --- */

.text {
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 1.1em;
    margin: 0;
    background: transparent;
    outline: 0;
    vertical-align: top;
    border: 2px solid var(--border-color);
    border-radius: 0.7rem;
    background-color: transparent;
    font-weight: 400;
    transition: border-color 300ms ease;
}

input::placeholder {
    color: #595959;
}

/* --- Buttons --- */

.button {
    font-weight: 400;
    color: #fff;
    background: #000;
    padding: 0.9rem 1.2rem;
    text-decoration: none;
    border-radius: 0.7rem;
    font-size: 1.1em;
    transition: opacity 300ms ease;
}

@media only screen and (min-width: 768px) {
    button:hover {
        opacity: 0.8 !important;
    }
    .text {
        font-size: 0.8em;
        padding: 0.5rem 1.2rem;
    }
    .text:hover {
        border: 2px solid #00000066;
    }
    .button {
        font-weight: 500;
        font-size: 1em;
        padding: 0.6rem 1.2rem;
    }
}
.button.red {
    background: var(--accent-color);
}

/* --- Hero --- */

#hero {
    height: 309vw;
}

@media only screen and (min-width: 768px) {
    #hero {
        height: 60vw;
    }
}

.asia {
    position: absolute;
    width: 88%;
    top: 22vw;
    color: #000;
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.27em;
    left: 6vw;
    z-index: 1;
}
#hero-desc {
    position: absolute;
    width: 70%;
    top: 168vw;
    text-align: center;
    color: #000;
    font-size: 0.9em;
    font-weight: 500;
    line-height: 1.27em;
    left: 15vw;
    z-index: 1;
}

#hero-desc strong {
    font-weight: 700;
}

@media only screen and (min-width: 768px) {
    .asia {
        top: 11.5vw;
        left: 5vw;
        width: 33vw;
    }

    #hero-desc {
        top: 27.8vw;
        left: 5vw;
        font-size: 0.75em;
        width: 28vw;
        text-align: left;
    }
}

#hero-button {
    opacity: 1;
    position: absolute;
    width: 88%;
    top: 199vw;
    color: rgb(69, 69, 69);
    font-size: 1em;
    font-weight: 500;
    line-height: 1.27em;
    left: 6vw;
    z-index: 1;
}
#hero-button button {
    width: 100%;
    font-size: 1.2em;
    padding: 1.1em 0;
}
@media only screen and (min-width: 768px) {
    #hero-button {
        top: 33vw;
        left: 5vw;
        width: 21vw;
    }
    #hero-button button {
        font-size: 0.9em;
        padding: 0.8em 0;
        width: 100%;
    }
}

/* FORM */

.form {
    padding: 3em 0 3em 0;
    border-radius: 2em;
    margin: 1em 2vw 5em;
    background-color: #fff;
}

@media only screen and (min-width: 768px) {
    .form {
        margin: 2.5em 13vw 5em;
        border-radius: 1.4em;
    }
    .form .accent-axiom {
        padding: 2vw 5vw 0;
    }
    .form .form-title {
        flex: 0 0 51%;
    }
    .form .form-title p.only-d {
        color: rgb(69, 69, 69);
        font-size: 0.95em;
    }
    .form .form-title p.m-56 {
        font-size: 2.25em;
        margin-bottom: 0.6em;
    }
    .form .cta {
        padding: 0.5em 0 0 0;
        flex: 0 0 37%;
    }
}

#form .form-item {
    margin-bottom: 0.8rem;
}

.form-item-button p {
    font-size: 0.7em;
    line-height: 1.15em;
    padding-top: 0.8rem;
}
.form-item-button p a {
    text-decoration: underline;
}
.form-item-button p a:hover {
    text-decoration: none;
}

@media only screen and (min-width: 768px) {
    .form-text p {
        font-size: 0.6em;
        line-height: 1.1em;
    }
    .form-item-button p {
        font-size: 0.6em;
        line-height: 1.15em;
        font-style: italic;
        color: #000;
        padding-top: 0.6rem;
    }
}
.form-text p a {
    text-decoration: underline;
    border: 0;
}
.form-text p a:hover {
    text-decoration: none;
    border: 0;
}

.sending {
    opacity: 0.3;
    pointer-events: none;
}

/* Intro */

.intro {
    text-align: center;
    margin: 0 auto 5em;
    max-width: 90vw;
}

.intro-text {
    margin-bottom: 3em;
}

@media only screen and (min-width: 768px) {
    .intro {
        max-width: 69vw;
        margin: 0 auto 4em;
        text-align: center;
    }
    .intro-text {
        font-size: 0.9em;
        margin-bottom: 3em;
    }
}

/* --- Steps --- */

.steps {
    margin-bottom: 25vw;
    padding: 0 4vw;
}
@media only screen and (min-width: 768px) {
    .steps {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: stretch;
        width: 78%;
        margin: 0 auto 1em;
    }
    .steps .step {
        flex: 0 0 30%;
    }
}
.steps .step {
    margin-bottom: 4vw;
    background-color: #fff;
    border-radius: 0.8em;
    padding: 2.5em;
}
.steps .step strong {
    font-size: 1.4em;
    display: block;
    margin-bottom: 0.5em;
    color: rgb(33, 33, 33);
}
.steps .step p {
    font-size: 1.05em;
    color: rgb(61, 61, 61);
}
@media only screen and (min-width: 768px) {
    .steps .step p {
        font-size: 0.8em;
    }
}
.steps .step.active {
    background-color: var(--accent-color);
}
.steps .step.active strong {
    color: #fff;
}
.steps .step.active p {
    font-weight: 600;
    color: #fff;
}

/* --- Slider --- */

@media only screen and (min-width: 768px) {
    .prizes .m-36 {
        text-align: center;
    }
}

.slider-title {
    position: relative;
    padding-top: 7.5vw;
    margin-bottom: 9vw;
}
@media only screen and (min-width: 768px) {
    .slider-title {
        text-align: center;
        padding-top: 0;
        line-height: 0.8em;
        font-size: 1.3em;
        margin-bottom: 2.2vw;
    }
    .cta {
        padding-bottom: 1.5em;
    }

    #mform {
        margin-bottom: 1em !important;
    }
}

.s1-wrapper {
    padding-bottom: 2.5em;
}
.s2-wrapper {
    padding-bottom: 2.5em;
}
@media only screen and (min-width: 768px) {
    .s1-wrapper,
    .s2-wrapper {
        position: relative;
        padding-left: 6.4vw;
        padding-right: 6.4vw;
        margin-top: 2.5vw;
    }
    .s2-wrapper {
        margin-top: 1vw;
        padding-bottom: 1em;
        margin-bottom: 4em;
    }
}
#s1 {
    padding-top: 1em;
    margin-bottom: 0.5em;
}
@media only screen and (min-width: 768px) {
    #s1,
    #s2 {
        padding-top: 0;
    }
    #s1 {
        margin-bottom: 5.5vw;
    }
}

.slider-buttons {
    position: relative;
    top: 0;
    left: 8.5vw;
    z-index: 10;
    width: 83vw;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 1em;
}

.swiper-slider-button-prev img,
.swiper-slider-button-next img {
    width: 14vw;
    height: auto;
}
@media only screen and (min-width: 768px) {
    .slider-buttons {
        position: absolute;
        width: 91%;
        left: 4.5%;
        top: 6.8vw;
        right: auto;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: stretch;
    }

    .swiper-slider-button-prev img,
    .swiper-slider-button-next img {
        width: 4vw;
        display: block;
        border-radius: 0 !important;
        padding: 0;
        margin: 0;
        height: auto;
    }
}

.swiper-wrapper > div {
    border-radius: 2em;
    background-color: #fff;
}

.s1-slide {
    height: 143vw;
}

.s1-slide img {
    border-radius: 2em;
}

.s1-slide .slide-content {
    padding: 2em;
}

#s2 .slide-content {
    padding: 1em 1.8em;
}
@media only screen and (min-width: 768px) {
    .swiper-wrapper > div {
        border-radius: 1.4em;
    }
    .s1-slide {
        height: 30vw;
    }
    .s1-slide .slide-content {
        padding: 1.5em 2em;
        font-size: 0.9em;
    }
    .s1-slide img {
        border-radius: 1.4em;
    }
}
.s1-slide .s1-title {
    font-size: 1.4em;
    font-weight: 500;
    margin-bottom: 0;
    color: rgb(52, 52, 52);
}
@media only screen and (min-width: 768px) {
    .s1-slide .s1-title {
        font-size: 1.1em;
    }
}

#s2 .s1-title {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 0;
    color: rgb(52, 52, 52);
}
@media only screen and (min-width: 768px) {
    #s2 .s1-title {
        font-size: 1.1em;
    }
}

/* Order buttons */

.order-buttons {
    margin: 2rem 0 1rem 0;
}

.order-buttons button {
    width: 100%;
    margin-bottom: 0.8rem;
    font-size: 1.1em;
    padding: 1rem 0.5rem;
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color);
    font-weight: 500;
}

@media only screen and (min-width: 768px) {
    .order-buttons {
        margin: 2.6rem 0 0 0;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: stretch;
    }
    .order-buttons > a {
        flex: 0 0 48%;
        width: 48%;
    }
    .order-buttons button {
        display: inline-block;
        padding: 0.5rem 0.5rem;
        font-size: 0.81em;
        border-radius: 0.6em;
        font-weight: 600;
    }
}

.order-buttons button.grey {
    border: 1px solid rgb(204, 204, 204);
    background: transparent;
    color: #000;
}
@media only screen and (min-width: 768px) {
    .order-buttons button.grey:hover {
        border: 1px solid #000;
        background: transparent;
        color: #000;
    }
}

/* ACCENT */

.accent {
    padding: 3em 0 2em 0;
    border-radius: 2em;
    margin: 1em 2vw 3em;
    background-color: #ffffff;
}
@media only screen and (min-width: 768px) {
    .accent {
        padding: 4em 0;
        margin: 1em 6.4vw 5em;
        border-radius: 1.4em;
    }
}

.accent-axiom {
    padding: 0 7vw 0;
}
.accent-desc p.m-36 {
    color: #000;
    margin-top: 0vw;
    font-size: 1.5em;
}
.accent-img img {
    border-radius: 2.1em;
}
@media only screen and (min-width: 768px) {
    .accent-axiom {
        padding: 0 5.4vw 0;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: stretch;
    }
    .accent-img {
        flex: 0 0 47%;
        order: 2;
    }
    .accent-img img {
        border-radius: 1.6em;
    }
    .accent-img .mb-10 {
        margin-bottom: 0;
    }

    .accent-desc {
        flex: 0 0 41%;
        order: 1;
    }
    .accent-desc p {
        font-size: 0.93em;
        color: rgb(69, 69, 69);
    }
    .accent-desc p.m-56 {
        color: #000;
        margin-top: 9vw;
        font-size: 2.26em;
    }
    .accent-desc p.m-36 {
        color: #000;
        margin-top: 0vw;
        font-size: 1.6em;
    }
}

/* FAQ */

#faq-wrapper {
    position: relative;
}
@media only screen and (min-width: 768px) {
    .faq-container {
        width: 50%;
        margin: 0 auto;
    }
    #faq-wrapper .accent-axiom {
        display: block;
    }
    #faq-wrapper .accent-axiom .m-56 {
        font-size: 2.2em;
    }
}

.faq {
    position: relative;
    z-index: 2;
    padding: 0;
    border-radius: 2em;
    margin: 1em 6vw 3em;
}
@media only screen and (min-width: 768px) {
    .faq {
        border-radius: 1.4em;
        margin: 1em 3.5vw 3em;
    }
}

.faq-item {
    position: relative;
    border-bottom: 1px solid #d2d2d2;
    padding: 1.4em 0 1.4em 0;
}
.faq-item-header {
    cursor: pointer;
    position: relative;
    font-weight: 500;
    font-size: 1.1em;
    line-height: 1.2em;
    margin-bottom: 0;
}
@media only screen and (min-width: 768px) {
    .faq-item-header {
        font-size: 0.8em;
    }
}
.faq-item.active .faq-item-header {
    margin-bottom: 0.8em;
}

.faq-item-header span {
    max-width: 85%;
    display: block;
}
.faq-item-header::after {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    background: url(../images/divan/faq-arrow.svg) no-repeat;
    background-size: 1em auto;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}
@media only screen and (min-width: 768px) {
    .faq-item-header::after {
        top: 70%;
    }
}
.faq-item.active .faq-item-header::after {
    background: url(../images/icon-close.svg) no-repeat;
    background-size: 1em auto;
}

@media only screen and (min-width: 768px) {
    .faq-item-header::after {
        width: 1em;
        height: 1em;
        right: 0;
        background-size: 1em auto;
    }
    .faq-item.active .faq-item-header::after {
        background: url(../images/icon-close.svg) no-repeat;
        background-size: 1em auto;
    }
}

.faq-item:first-child {
    border-top: 1px solid #d2d2d2;
}

.faq-item .faq-item-body {
    display: none;
    font-size: 0.85em;
}

.faq-item.active .faq-item-body {
    display: block;
}
@media only screen and (min-width: 768px) {
    .faq-item-body {
        font-size: 0.6em;
        line-height: 1.3em;
    }
}
.faq-item-body a {
    text-decoration: underline;
}
.faq-item-body a:hover {
    text-decoration: none;
}
/* --- Header --- */

header {
    position: absolute;
    width: 100%;
    padding: 1rem 0;
}
@media only screen and (min-width: 768px) {
    header {
        padding: 1.15rem 0;
    }
}
header nav {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 6vw;
}
@media only screen and (min-width: 768px) {
    header nav {
        padding: 0 0 0 5vw;
        display: block;
    }
    header nav > div:nth-child(2) {
        display: none;
    }
    header nav > div:nth-child(1) {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
    }
}
header a.nav-link {
    font-weight: 600;
    margin-right: 2rem;
    display: none;
    transition: color 300ms ease;
}
header a.nav-link:hover {
    color: var(--accent-color);
}

#mobile-menu {
    pointer-events: none;
    opacity: 0;
    position: absolute;

    width: 100%;
    padding: 2.4rem 0.2rem 0.6rem 0.2rem;
    background-color: #fff;
    color: var(--text-color);
    top: 0;
    left: 0;
    z-index: 10;
    border-bottom: 3px solid #000;
    transition: opacity 300ms ease;
}

body.menu-active #mobile-menu {
    opacity: 1;
    pointer-events: all;
}
#mobile-menu a {
    display: block;
    padding: 0.8rem 7.5vw;
    font-size: 1.2rem;
    font-weight: 700;
}
@media only screen and (min-width: 768px) {
    #mobile-menu {
        position: relative;
        opacity: 1;
        pointer-events: all;
        padding: 0;
        text-align: right;
        background-color: transparent;
        border: 0;
        padding-right: 3.5vw;
        width: 70vw;
    }
    #mobile-menu a {
        display: inline-block;
        font-size: 0.7em;
        margin-right: 0vw;
        margin-left: 3.2vw;
        padding: 0.8rem 0.85rem;
        font-weight: 500;
    }
}
header img#logo {
    width: 68vw;
    height: auto;
    margin: 0 2.5rem 0 -0.5rem;
}
@media only screen and (min-width: 768px) {
    header img#logo {
        width: 24vw;
        height: auto;
        margin: 0;
    }
}

#main-logo-link {
    position: absolute;
    width: 28vw;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

#second-logo-link {
    position: absolute;
    width: 28vw;
    height: 100%;
    top: 0;
    left: 37vw;
    z-index: 1;
}

@media only screen and (min-width: 768px) {
    #main-logo-link {
        width: 11vw;
        left: 0vw;
    }
    #second-logo-link {
        left: 14vw;
        width: 10vw;
    }
}

@media only screen and (min-width: 768px) {
    #main-promo-link {
        width: 11.5vw;
    }
}

/* --- Footer --- */

footer {
    background-color: #000;
    color: #fff;
    padding: 3.5em 20vw;
    font-size: 0.8em;
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
}
@media only screen and (min-width: 768px) {
    footer {
        font-size: 0.9em;
        padding: 3em 4vw;
        border-top-left-radius: 2em;
        border-top-right-radius: 2em;
    }
}

footer > div {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: stretch;
}
@media only screen and (min-width: 768px) {
    footer > div {
        display: flex;
        flex-flow: column wrap;
        justify-content: space-between;
        align-items: flex-end;
    }
}
#copy-get {
    order: 3;
}
@media only screen and (min-width: 768px) {
    #copy-get {
        order: 2;
        margin-bottom: 0;
        margin-right: 0;
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-start;
        align-items: stretch;
    }
}
#copy-social {
    order: 2;
    margin-bottom: 2em;
}
@media only screen and (min-width: 768px) {
    #copy-social {
        position: absolute;
        top: 4vw;
        left: 0;
        flex: 0 0 auto;
        order: 2;
        margin: 0;
    }
}
#copy-logo img {
    margin-bottom: 3em;
}
@media only screen and (min-width: 768px) {
    #copy-logo {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    #copy-logo img {
        width: 12vw;
        margin-bottom: 0;
    }
}

#copy-text {
    order: 1;
    font-size: 0.9em;
    line-height: 1.2em;
    padding: 0;
    text-align: left;
    margin-bottom: 2em;
}
@media only screen and (min-width: 768px) {
    #copy-text {
        font-size: 0.6em;
        flex: 1 0 auto;
        order: 1;
        margin: 0.7em 0 3.5em 0;
        padding: 0;
        text-align: left;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: stretch;
        width: 65vw;
    }
}
#copy-text > div {
    margin: 0 0 1em 0;
}
@media only screen and (min-width: 768px) {
    #copy-text > div {
        margin: 0;
    }
}
#copy-text a {
    text-decoration: underline;
}

#copy-text a:hover {
    text-decoration: none;
}

#copy-get div {
    margin: 0 0 1em;
}

#copy-get a img {
    height: 13vw;
    width: auto;
}
@media only screen and (min-width: 768px) {
    #copy-get div {
        margin: 0 0 0 1em;
    }
    #copy-get a img {
        height: 2.4vw;
        width: auto;
    }
}

#copy-social {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

#copy-social div {
    margin: 0 0.8em 0 0;
}
#copy-social a img {
    height: 11vw;
    width: auto;
}
@media only screen and (min-width: 768px) {
    #copy-social div {
        margin: 0 1em 0 0;
    }
    #copy-social a img {
        height: 2vw;
        width: auto;
    }
}

footer img {
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
}

footer a:hover img {
    opacity: 0.7;
}

/* Text page */

#frame-text {
    padding: 0 0 4rem 0;
}
@media only screen and (min-width: 768px) {
    #frame-text {
        padding: 1rem 0;
    }
}
.long-text {
    position: relative;
    z-index: 2;
    padding: 1.3rem 0.8rem;
    background-color: #ffffffdd;
    backdrop-filter: blur(10px);
    border-radius: 2rem;
}

@media only screen and (min-width: 768px) {
    .long-text {
        padding: 4rem 2rem;
    }
}

/* --- Headings --- */

.long-text h1 {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    line-height: 1em;
    margin-bottom: 0.5em;
}
@media only screen and (min-width: 768px) {
    .long-text h1 {
        font-size: 2.7rem;
    }
}

/* --- Hero and Paragraphs --- */

.long-text .hero {
    font-size: 1.6rem;
    line-height: 1.25em;
    margin-bottom: 1em;
}

.long-text p {
    font-size: 0.65rem;
    line-height: 1.35em;
    margin-bottom: 1.5em;
}
@media only screen and (min-width: 768px) {
    .long-text p {
        font-size: 1rem;
        line-height: 1.4em;
        margin-bottom: 1.5em;
    }
}
.long-text a {
    text-decoration: underline;
}
.long-text a:hover {
    text-decoration: none;
}
/* --- Lists --- */

.long-text ul {
    padding: 0 0 0 2rem;
    margin: 0 0 1.4rem 0;
    list-style: disc;
}

.long-text ul li {
    margin-bottom: 0.3rem;
    font-size: 0.7em;
}
@media only screen and (min-width: 768px) {
    .long-text ul li {
        margin-bottom: 0.3rem;
        font-size: 1em;
    }
}

.long-text ul ul {
    margin: 0;
    list-style: circle;
}

.long-text ul ol {
    margin: 0;
}

.long-text ol h1 {
    font-size: 1.2em;
    margin-bottom: 0.3em;
    margin-top: 1em;
    display: inline;
}
.long-text ul,
.long-text ol,
.long-text li {
    margin: 0;
    padding: 0;
    font-size: 1rem;
}
.long-text ol {
    list-style: none;
}

.long-text ul,
.long-text ol {
    margin: 0 0 1em 1rem;
}

.long-text ul li,
.long-text ol li {
    margin: 0 0 0.5em 0;
}

.long-text ol ul,
.long-text ol ol {
    margin-top: 0.5em;
}
.long-text ol ul li {
    margin-left: 1em;
}

.long-text ol {
    counter-reset: item;
}

.long-text ol ol {
    padding: 0 0 0 1.5em;
}

.long-text ol > li:before {
    content: counters(item, ".") ".";
    padding-right: 0.5em;
    counter-increment: item;
}

.table-wrapper {
    overflow: auto;
}
.long-text table td,
.long-text table th {
    margin: 0;
    padding: 1rem 0.5rem 0 0;
    font-size: 0.6rem;
}

/* Popup */

.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 200ms ease;
    background: #ffffff88;
    backdrop-filter: blur(10px);
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.popup.active {
    opacity: 1;
    pointer-events: all;
}

.popup > div {
    position: relative;
    padding: 1em 3em 1em 1em;
    background-color: #fff;
    max-width: 90vw;
}
@media only screen and (min-width: 768px) {
    .popup > div {
        position: relative;
        padding: 2em 3.5em 2em 2em;
        background-color: #fff;
        max-width: 40vw;
    }
}
.popup .close-popup img {
    width: 1.6em;
    height: auto;
}
.popup .close-popup {
    position: absolute;
    top: 4vw;
    right: 4vw;
    z-index: 1;
}

@media only screen and (min-width: 768px) {
    .popup .close-popup {
        top: 1vw;
        right: 1vw;
    }
}

#popup-err > div {
    border-bottom: 3px solid orangered;
}
#popup-alr > div {
    border-bottom: 3px solid rgb(104, 172, 255);
}

#popup-ok > div,
#popup-nf > div,
#popup-sub > div {
    border-bottom: 3px solid rgb(164, 251, 32);
}
