/* ========== reset & base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: url('./img/ic_bg.png') no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    background-attachment: fixed;
}

.main-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 70px 100px 70px;
}

.left-area {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.phone-img {
    max-width: 900px;
    width: 100%;
    display: block;
}

.right-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 40px;
}

.logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.offline-title {
    font-family: 'Lato', Lato;
    font-weight: 900;
    font-size: 60px;
    color: #FFFFFF;
    line-height: 90px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 12px;
    white-space: nowrap;
}

.description {
    font-family: 'Lato', Lato;
    font-weight: 500;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 36px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 12px;
    max-width: 700px;
}

.bt-img {
    max-width: 356px;
    width: 100%;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s;
    margin-top: 72px;
}

.bt-img:hover {
    opacity: 0.9;
    transform: scale(0.98);
}

.footer {
    position: absolute;
    bottom: 82px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Lato', Lato;
    font-weight: 500;
    font-size: 30px;
    color: #FFFFFF;
    text-shadow: 0 0 1px #FFFFFF, 0 0 1px #FFFFFF;
    font-style: normal;
    text-transform: none;
    pointer-events: none;
    left: 155px;
    line-height: 36px;
    font-style: normal;
    text-transform: none;
    -webkit-text-stroke: 1px #FFFFFF;
}

.footer a {
    color: #FFFFFF;
    text-decoration: none;
    pointer-events: auto;
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    transition: opacity 0.2s;
    text-shadow: 0 0 1px #FFFFFF, 0 0 1px #FFFFFF;
    -webkit-text-stroke: 0.5px #FFFFFF;
}

.footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer span {
    margin: 0 8px;
    pointer-events: none;
    color: #FFFFFF;
}


@media (max-width: 999px) {
    .main-container {
        flex-direction: column;
        justify-content: center;
        padding: 60px 30px 140px 30px;
    }

    .right-area {
        order: 1;
        flex: none;
        width: 100%;
        margin-left: 0;
        align-items: center;
        margin-bottom: 48px;
    }

    .description {
        text-align: center;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .offline-title {
        text-align: center;
        white-space: normal;
        word-break: break-word;
    }

    .left-area {
        order: 2;
        flex: none;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    .phone-img {
        max-width: 80%;
        margin: 20px 20px 20px 20px;
    }

    .bt-img {
        margin-top: 48px;
    }

    .footer {
        left: 0;
        bottom: 80px;
        text-align: center;
    }
}


@media (min-width: 1600px) {
    .description {
        max-width: 800px;
    }

    .right-area {
        margin-left: 80px;
    }
}


@media (max-width: 700px) {
    .offline-title {
        font-size: 40px;
        line-height: 60px;
    }

    .description {
        font-size: 22px;
        line-height: 32px;
    }

    .footer a,
    .footer {
        font-size: 22px;
        text-align: center;
    }

    .bt-img {
        max-width: 280px;
    }

    .footer {
        left: 0;
        bottom: 80px;
        text-align: center;
    }
}


.phone-img {
    max-width: 900px;
    width: 100%;
    height: auto;
}


@media (min-width: 1000px) {
    .right-area {
        align-items: flex-start;
    }

    .offline-title {
        text-align: left;
        width: auto;
    }

    .description {
        text-align: left;
    }

    .bt-img {
        align-self: flex-start;
    }
}