@import url("marquee.css");
@import url("flex-grid.css");

@font-face {
    font-family: 'SeoulHangang';
    src: url('../font/SeoulHangang.woff2') format('woff2'),
    url('../font/SeoulHangang.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

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

html,
body {
    height: 100%;
}

body {
    background: #0ae3a0;
    color: #fff;
    line-height: 1.5;
    font-family: 'SeoulHangang', Arial, sans-serif;
}

.full-width {
    width: 100%;
}

.main h1,
.main h2 {
    margin-bottom: 20px;
    font-size: 72px;
    font-weight: normal;
    line-height: 1.2;
}

.page-container h1 {
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-container h2 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-container section {
    margin-bottom: 40px;
}

.article-header {
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 2px solid #fff;
}

.page-container p {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.4;
}

.page-container .intro-text p {
    font-size: 26px;
}

.page-container ul {
    margin-bottom: 20px;
    margin-left: 20px;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.2;
}

.page-container a {
    color: #fff;
    text-decoration: underline;
}
.page-container a:focus,
.page-container a:visited,
.page-container a:hover {
    color: #fff;
    text-decoration: none;
}

.page-container li {
    margin-bottom: 10px;
    line-height: 1.4;
}

a {
    outline: none;
}

.header {
    margin-bottom: 150px;
}

.header .header-logo img {
    max-width: 200px !important;
}

.page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-footer {
    padding: 40px !important;
}

.page-footer .footer-logo img {
    max-width: 280px;
}

.section {
    padding: 80px 40px;
}

article {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 1280px;
}

.waiting-list-block {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
    max-width: 485px;
    text-align: center;
    border-radius: 12px;
    color: #000;
    background-color: #23C797;
}

.waiting-list-block p {
    font-size: 24px;
}

.primary-button {
    padding: 0 16px;
    min-width: 100px;
    height: 56px;
    border-radius: 4px;
    font-size: 20px;
    line-height: 56px;
    vertical-align: middle;
    color: #fff;
    background-color: #000;
    transition: 0.1s ease-out;
    letter-spacing: 0.5px;
    border: none;
    outline: none;
    cursor: pointer;
}

.primary-button:hover {
    background-color: #09d596;
}

.page-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding: 40px 40px 80px;
    position: relative;
    background: url('../img/hero-background.png') no-repeat;
    background-color: #000;
    background-size: contain;
    background-position-y: top;
}

.page-container.__cover {
    background-size: cover;
}

.page .footer-quote {
    font-size: 24px;
}

.hero {
    padding: 180px 40px;
    position: relative;
    background: url('../img/hero-background.png') no-repeat;
    background-size: cover;
    background-position-y: bottom;
}

.top-badges {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-badges a {
    display: inline-flex;
}

.hero-content {
    text-align: center;
    margin-bottom: 120px;
}

.hero-content img {
    max-width: 100%;
}

.hero-subtitle {
    font-size: 34px;
}


.background-3 {
    border-radius: 60px 60px 0 0;
    background: url("../img/background-3.png") center no-repeat;
    background-size: cover;
    box-shadow: 0 -16px 24px rgba(0, 0, 0, 0.45);
}

.container {
    max-width: 1300px;
    margin: auto;
}

.dark {
    padding: 150px 40px;
    background: url("../img/background-2.png") no-repeat;
    background-size: cover;
    background-position-y: top;
}

.teal {
    background: #0ae3a0;
    color: #000;
}

.purple {
    background: #a78bfa;
    color: #000;
}

.teal h2,
.purple h2 {
    color: #000;
}

.phone-preview img {
    width: 320px;
}

.text-block {
    max-width: 700px;
}

p {
    font-size: 32px;
}

.screens-grid img {
    max-width: 840px;
}

/* COMMUNITY PREVIEW */

.community-heading {
    max-width: 650px;
}

.community-image {
    text-align: right;
}

/* FOOTER */
.footer {
    padding: 60px 40px;
    text-align: center;
}

.footer-logo {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
}

.footer-quote {
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.footer-store-qrcode {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.footer-store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.sub-footer * {
    font-size: 16px;
    font-weight: bold;
}

.sub-footer a {
    color: #000;
    text-decoration: none;
}

.sub-footer a:hover {
    text-decoration: underline;
}

.padding-bottom-0 {
    padding-bottom: 0 !important;
}

.section.teal .flex-container .screens-grid {
    display: flex;
    justify-content: center;
}

@media (max-width: 1199px) {
    .section.teal .flex-container {
        flex-direction: column;
    }
    .section.teal .flex-container .flex-item {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 991px) {
    .hero-content img {
        max-width: 360px !important;
    }
    .footer-logo {
        margin-bottom: 10px;
    }
    .footer-logo img {
        max-width: 320px !important;
    }
    .footer-quote {
        margin-bottom: 40px;
    }
    .sub-footer {
        gap: 20px;
    }
    .sub-footer-item {
        align-items: center !important;
        justify-content: center !important;
        gap: 20px;
        width: 100%;
    }
    .sub-footer * {
        order: 2;
    }
    .footer-store-buttons {
        order: 1;
        margin-bottom: 10px;
    }
    .tablet-hidden {
        display: none;
    }
    img {
        max-width: 100% !important;
    }
    .top-badges {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 50px;
    }
    .page-container .top-badges {
        margin-bottom: 0;
    }
    .header {
        margin-bottom: 100px;
    }
    .main h1,
    .main h2 {
        font-size: 52px !important;
    }
    p,
    .hero-subtitle {
        font-size: 26px;
    }
    .hero,
    .dark,
    .section {
        padding: 40px;
    }
    .hero-content {
        margin-bottom: 50px;
    }
    .store-buttons {
        display: flex;
        justify-content: center;
        gap: 50px;
    }
    .store-buttons .flex-container {
        margin: 0;
    }
    .footer {
        padding: 40px;
    }
    .background-3 {
        border-radius: 0;
    }
    .community-image {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .small-tablet-show {
        display: none;
    }
}

@media (max-width: 767px) {
    .main h1,
    .main h2 {
        font-size: 36px !important;
    }
    .waiting-list-block {
        padding: 20px;
        gap: 20px;
    }
    p,
    .waiting-list-block p,
    .hero-subtitle {
        font-size: 18px;
    }
    .community-heading {
        margin: 0 auto 20px;
        text-align: center;
    }
    .small-tablet-hidden {
        display: none;
    }
    .small-tablet-show {
        display: block;
    }
}


@media (max-width: 479px) {
    .primary-button {
        font-size: 16px;
    }
    .hero-content img {
        max-width: 100% !important;
    }
    .footer-logo img {
        max-width: 100% !important;
    }
    .sub-footer {
        flex-direction: column;
        gap: 20px;
    }
    h1,
    h2 {
        font-size: 26px !important;
    }
}
