﻿
/* --- mobile ad popup --- */

body::after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url(/assets/mobile-app-ad.jpg);
}

.mobile-app-ad .swal2-modal {
    background: url(/assets/mobile-app-ad.jpg) no-repeat #b8cce8 right bottom;
    width: 822px;
    height: 822px;
    padding: 0;
}

    .mobile-app-ad .swal2-modal a.android-app {
        width: 150px;
        height: 50px;
        position: absolute;
        bottom: 104px;
        right: 54px;
    }

    .mobile-app-ad .swal2-modal a.ios-app {
        width: 150px;
        height: 50px;
        position: absolute;
        bottom: 104px;
        right: 218px;
    }

.mobile-app-ad .swal2-close {
    color: #181a2a;
}

    .mobile-app-ad .swal2-close:hover {
        color: #fff;
    }

.mobile-app-ad .title {
    position: absolute;
    top: 105px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 42px;
    color: #181c47;
}

.mobile-app-ad .text {
    font-style: italic;
    color: #000;
    position: absolute;
    font-size: 24px;
    max-width: 315px;
    text-align: justify;
}

    .mobile-app-ad .text.line1 {
        top: 260px;
        right: 45px;
        font-weight: 600;
    }

    .mobile-app-ad .text.line2 {
        top: 380px;
        right: 45px;
    }

    .mobile-app-ad .text.line3 {
        top: 430px;
        right: 45px;
    }

    .mobile-app-ad .text.line4 {
        top: 480px;
        right: 45px;
    }

    .mobile-app-ad .text.line5 {
        top: 530px;
        right: 45px;
    }

    .mobile-app-ad .text.line6 {
        bottom: 60px;
        right: 50px;
        max-width: none;
        font-style: normal;
    }

@media (max-width: 900px) {
    .mobile-app-ad .swal2-modal {
        background-position: right -20px bottom -70px;
        width: 380px;
        height: 465px;
    }

    .mobile-app-ad .title {
        top: 35px;
        font-size: 28px;
    }

    .mobile-app-ad .text.line1 {
        top: 130px;
        right: 35px;
    }

    .mobile-app-ad .text.line2 {
        top: 210px;
    }

    .mobile-app-ad .text.line3 {
        top: 245px;
    }

    .mobile-app-ad .text.line4 {
        top: 280px;
    }

    .mobile-app-ad .text.line5 {
        top: 315px;
    }

    .mobile-app-ad .text.line6 {
        display: none;
    }

    .mobile-app-ad .swal2-modal a.android-app {
        bottom: 34px;
        right: 34px;
    }

    .mobile-app-ad .swal2-modal a.ios-app {
        bottom: 34px;
        right: 198px;
    }
}

@media (max-width: 400px) {
    .mobile-app-ad .swal2-modal {
        background-position: right -20px bottom -70px;
        background-size: 700px auto;
        width: 320px;
        height: 420px;
    }

    .mobile-app-ad .title {
        font-size: 24px;
        top: 30px;
    }

    .mobile-app-ad .text {
        font-size: 20px;
    }

    .mobile-app-ad .text.line1 {
        max-width: 265px;
        top: 115px;
    }

        .mobile-app-ad .text.line2 {
            top: 190px;
        }

        .mobile-app-ad .text.line3 {
            top: 225px;
        }

        .mobile-app-ad .text.line4 {
            top: 260px;
        }

        .mobile-app-ad .text.line5 {
            top: 295px;
        }

    .mobile-app-ad .swal2-modal a.android-app {
        bottom: 18px;
        right: 25px;
        width: 130px;
        height: 44px;
    }

    .mobile-app-ad .swal2-modal a.ios-app {
        bottom: 18px;
        right: 164px;
        width: 130px;
        height: 44px;
    }
}
