@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;
}

body {
    background: #0ae3a0;
    color: #fff;
    line-height: 1.5;
    font-family: 'SeoulHangang', Arial, sans-serif;
}

h1,
h2 {
    margin-bottom: 20px;
    font-size: 72px;
    font-weight: normal;
    line-height: 1.2;
}

a {
    outline: none;
}

.section {
    padding: 80px 40px;
}

.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: 680px;
}

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: 20px;
    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;
    }
    .footer-logo {
        margin-bottom: 10px;
    }
    .footer-quote {
        margin-bottom: 40px;
    }
    .sub-footer {
        flex-direction: column;
        gap: 20px;
    }
    .sub-footer * {
        order: 2;
    }
    .footer-store-buttons {
        order: 1;
        margin-bottom: 10px;
    }
}

@media (max-width: 991px) {
    .tablet-hidden {
        display: none;
    }
    img {
        max-width: 100% !important;
    }
    .top-badges {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 50px;
    }
    h1,
    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) {
    h1,
    h2 {
        font-size: 36px !important;
    }
    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) {
    h1,
    h2 {
        font-size: 26px !important;
    }
}
