﻿@media only screen and (max-width: 1000px) {
    html, body {
        font-size: 16px;
    }

    .top-menu {
        display: none;
    }

    .main-container {
        position: relative;
        min-width: initial;
        overflow: hidden;
    }

    .mobile-top-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 15px;
        background: #ffffff1c;
        border-radius: 0 0 8px 8px;
        border: 2px solid #fff;
        border-top: none;
        align-items: center;
    }

        .mobile-top-menu > a {
            font-size: 0;
        }

            .mobile-top-menu > a#mobileMenuToggle {
                justify-self: start;
            }

            .mobile-top-menu > a.mobile-login-btn {
                justify-self: end;
                border: 2px solid #fff;
                border-radius: 8px;
                width: 36px;
                height: 36px;
                display: grid;
                justify-items: center;
                align-items: center;
            }

    .no-app {
        display: none;
    }

    .app-only {
        display: initial;
    }

    .footer-btns {
        grid-template-columns: 1fr;
        grid-row-gap: 15px;
    }

    .footer-middle .menus {
        display: none;
    }

    .footer-bottom {
        margin: 5px;
        padding: 15px;
        grid-template-columns: 1fr;
        grid-row-gap: 15px;
    }

    .news-letter {
        text-align: center;
    }

        .news-letter p {
            font-size: 85%;
        }

    .licenses {
        justify-content: center;
    }

    .contact {
        grid-row-start: 3;
    }

    .header-title {
        margin-top: 70px;
        grid-template-columns: 1fr;
        padding: 2px;
        grid-row-gap: 15px;
    }

    .header {
        padding: 15px;
        padding-bottom: 115px;
    }

    .header-title > div:last-child {
        grid-row-start: 1;
    }

    .header-title h1 {
        font-size: 120%;
        text-align: center;
    }

    .header-title p {
        text-align: justify;
        font-size: 90%;
    }

    .header-title .links {
        margin-top: 35px;
        grid-template-columns: 1fr;
        grid-row-gap: 10px;
    }

    .main-content {
        margin: 15px;
        margin-top: -75px;
        padding: 5px;
    }

    .promo h2 {
        margin: 5px;
        font-size: 115%;
    }

    .promo p {
        font-size: 90%;
    }

    .promo-item {
        grid-template-columns: 1fr;
        padding: 15px;
        margin: 15px 35px;
        grid-row-gap: 12px;
        margin-top: 0;
        width: initial;
        justify-items: center;
    }

        .promo-item > div {
            font-size: 100%;
            text-align: center;
        }

        .promo-item img {
            grid-row-start: 1;
        }

    .promo-items.glide {
        display: block;
        padding: 5px;
    }

    .glide__bullets {
        bottom: 15px;
    }

    .glide__bullet {
        background-color: rgb(0 0 0 / 50%);
    }

        .glide__bullet:hover, .glide__bullet:focus {
            border: 2px solid #000;
            background-color: rgb(0 0 0 / 75%);
        }

    .glide__bullet--active {
        border: 2px solid black;
    }

    .glide__arrow {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 2px solid rgb(57 57 57 / 50%);
    }

        .glide__arrow:hover {
            border-color: #555;
        }

    .headline {
        font-size: 120%;
        margin-top: 25px;
    }

    .plans {
        grid-template-columns: 1fr;
    }

        .plans .plan {
            margin: 15px 45px;
        }

    .buy-btn {
        max-width: 80%;
    }

    .glide__arrow {
        background: #fff;
        box-shadow: 3px 3px 9px -6px #000;
        border: none;
    }

    .glide__arrow--left {
        left: -2px;
    }

    .glide__arrow--right {
        right: -2px;
    }

    .footer {
        margin-top: -45px;
    }

    .plans .plan {
        box-shadow: none;
        border: 2px solid #4D3375;
        border-radius: 20px;
    }

        .plans .plan ul {
            margin-right: 0;
            margin-top: 15px;
            margin-bottom: 25px;
            list-style: none;
            text-align: center;
        }

    .mobile-menu {
        background: #ffffff76;
        position: absolute;
        left: 0;
        right: 0;
        top: 75px;
        color: #000;
        z-index: 2;
        border-radius: 8px;
        font-size: 14px;
        backdrop-filter: blur(10px);
        box-shadow: -1px 12px 10px -13px #000;
        overflow: hidden;
        display: none;
    }

    @keyframes mobile-menu-animation {
        from {
            opacity: 0;
            top: 50px;
        }

        to {
            opacity: 1;
            top: 75px;
        }
    }

    .mobile-menu.show {
        display: block;
        animation: mobile-menu-animation .3s ease-in-out;
    }

        .mobile-menu ul {
            list-style: none;
            padding: 0;
            margin: 8px;
        }

            .mobile-menu ul a {
                display: block;
                margin-bottom: 7px;
                color: #61448f;
                font-weight: bold;
                padding: 3px;
                border-radius: 8px;
                background: #ffffff47;
                text-align: center;
                box-shadow: 0 2px 6px -5px #000;
            }

    .contact-page {
        margin-bottom: 0;
        max-width: 80%;
        margin-top: 15px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .contact-items > div {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .alt-contact .footer {
        margin-top: 0;
    }

    .alt-contact .header {
        padding-bottom: 58px;
        border-radius: 0 0 8px 8px;
        position: initial;
    }
}
