/*МОБИЛЬНАЯ ВЕРСИЯ*/
@media only screen and (max-width: 819px) {
    header {
        height: 8rem !important;
    }

    header .container {
        height: inherit !important;
    }

    .container.menu {
        width: auto !important;
        margin: 0 2rem !important; /*боковое меню отступ - 2rem */
    }

    .navbar {
        height: inherit !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-top: 0 !important;
    }

    .menu-img.click {
        transform: translateX(calc(4rem + 2rem));
    }

    nav {
        margin-right: -2.1rem !important; /*боковое меню отступ - 2rem */
        width: 0 !important;
        height: 100% !important;
        margin-top: 0 !important;
        transition: width 0.3s;
    }

    .nav-click {
        background: none !important;
        width: 71% !important;
    }

    .menu-item a {
        font-size: 2.25rem !important;
    }

    .menu-item > a, .online {
        margin-left: 4rem !important;
        opacity: 1;
        animation: opacity-out .3s;
    }

    .menu-item > a.opacity, .online.opacity {
        animation: opacity-in .3s ease-in-out;
    }

    .dropdown-content a.opacity {
        animation: opacity-out .3s;
    }

    @keyframes opacity-in {
        0% {
            opacity: 0;
        }
        35% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }

    @keyframes opacity-out {
        0% {
            opacity: 1;
        }
        35% {
            opacity: 0;
        }
        100% {
            opacity: 0;
        }
    }

    nav ul {
        width: 100%;
        overflow: hidden;
        transition: width .3s ease-in;
        display: flex !important;
        flex-direction: column !important;
        background-color: #234B8D !important;
        box-shadow: 0 0.25rem 1.5rem 0 rgba(0, 0, 0, 0.25);
        height: 105vh !important;
        margin-right: 2.1rem !important; /*боковое меню отступ - 2rem */
        position: relative;
    }

    .menu-item {
        height: 7rem !important;
        display: flex !important;
        align-items: flex-end !important;
    }

    .dropdown-content, .dropdown-content-item {
        border-radius: 0 !important;
    }

    .dropdown {
        height: auto !important;
    }

    .dropdown-content {
        height: 0 !important;
        margin-top: 1.5rem !important;
        width: 100% !important;
    }

    .dropdown-content.dropdown-click-dropdown-content {
        height: calc(2 * 7rem) !important;
    }

    .dropdown-content a {
        height: 7rem !important;
        background-color: #274A90CC !important;
        margin-top: 0 !important;
        padding-left: 4rem !important;
    }

    .menu-item a:hover {
        color: #FFFFFF !important;
    }

    .menu-item > a.active-page {
        width: fit-content !important;
    }

    .download-menu-mt {
        margin-top: 0 !important;
        transition: margin-top .3s ease-in-out;
    }

    .download-menu-mt.existence {
        margin-top: 14rem !important;
    }

    .download-menu-mt.remove {
        margin-top: 0 !important;
        transition: margin-top .0s;
    }

    .navbar .navbar-img {
        background-image: url('/img/piktomir-mobile.png')!important;
        width: 4.7rem !important;
        height: 4.7rem !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
    }

    .webplossy .navbar .navbar-img {
        background-image: url('/img/piktomir-mobile.webp')!important;
    }

    .container {
        width: 40rem !important;
    }

    .big-title {
        font-size: 3.5rem !important;
    }

    .small-title {
        font-size: 2.75rem !important;
    }

    .main-text, .list {
        font-size: 1.75rem !important;
    }

    .back-space {
        background-size: cover !important;
    }

    .planets {
        display: none;
    }

    .title-and-planets {
        padding-top: 10rem !important;
        align-items: flex-start;
    }

    .top-cloud {
        margin-top: -16.2rem !important;
    }

    .menu-img {
        right: 2rem;
        margin-top: 0.6rem;
        width: 4rem;
        height: 4rem;
        position: absolute;
        transform: rotate(0deg);
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        z-index: 11;
    }

    .menu-img > span {
        background: #FFFFFF;
        border-radius: 9px;
        display: block;
        height: 0.7rem;
        left: 0;
        position: absolute;
        opacity: 1;
        transform: rotate(0deg);
        transition: all .3s ease;
        width: 4rem;
    }

    .menu-img > span:nth-child(1) {
        top: 0;
    }

    .menu-img > span:nth-child(2) {
        top: 1.35rem;
    }

    .menu-img > span:nth-child(3) {
        bottom: 0.6rem;
    }

    .menu-img.open > span:nth-child(1) {
        transform: rotate(45deg);
        top: 1.3rem;
    }

    .menu-img.open > span:nth-child(2) {
        width: 0;
        opacity: 0;
    }

    .menu-img.open > span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 2rem;
    }
}

@media only screen and (max-width: 449px) {
    html {
        font-size: 8px !important;
    }
}

@media only screen and (min-width: 450px) and (max-width: 599px) {
    html {
        font-size: 9px !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
    html {
        font-size: 12px !important;
    }
}

/*iPad Mini - НЕЗАКОНЧЕНО*/
@media only screen and (min-width: 768px) and (max-width: 819px) {
    html {
        font-size: 15px !important;
    }
}

/*iPad Air*/
@media only screen and (min-width: 820px) and (max-width: 1023px) {
    html {
        font-size: 9px !important;
    }

    .big-title {
        font-size: 3.5rem !important;
    }

    .small-title {
        font-size: 2.75rem !important;
    }

    .main-text, .list {
        font-size: 1.75rem !important;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1065px) {
    html {
        font-size: 11px !important;
    }
}

@media only screen and (min-width: 1066px) and (max-width: 1250px) {
    html {
        font-size: 12px !important;
    }
}

@media only screen and (min-width: 1920px) and (max-width: 2399px) {
    html {
        font-size: 15px !important;
    }
}

@media only screen and (min-width: 2399px) {
    html {
        font-size: 18px !important;
    }
}

html {
    font-size: 13px;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Comfortaa", sans-serif;
}

p, a, li, h1, h2 {
    visibility: hidden;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #17173A;
}

.container {
    width: 79rem;
    margin: 0 auto;
}

.back {
    height: 100%;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6.1rem;
    background: rgba(35, 75, 141, 0.80);
    /* Drop Shadow */
    box-shadow: 0 0.25rem 1.5rem 0 rgba(0, 0, 0, 0.25);
    display: block;
    z-index: 10;
}

.navbar {
    font-weight: 700;
    font-style: normal;
    padding-top: 1.25rem;
}

nav {
    float: right;
    margin-top: 1.1rem;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.navbar .navbar-img {
    background-image: url('/img/piktomir.png');
    width: 20.6rem;
    height: 3.1rem;
    float: left;
    background-repeat: no-repeat;
    background-size: contain;
}

.webplossy .navbar .navbar-img {
    background-image: url('/img/piktomir.webp');
}

nav ul {
    display: flex;
    flex-direction: row;
}

.menu-item {
    display: inline-block;
}

.menu-item a {
    display: block;
    text-decoration: none;
    color: #FFF;
    text-transform: uppercase;
    font-size: 1.25rem;
    font-style: normal;
    line-height: normal;
    cursor: pointer;
}

.menu-item > a:hover, .online:hover {
    color: #45D3FD;
}

.menu-item > a:focus, .online.focus {
    color: #FFFFFF;
    text-shadow: 1px 0 3px #45D3FD;
}

a {
    text-decoration: none;
}

.menu-item > a, .online {
    padding-bottom: 0.3rem;
    border-bottom: 3px solid transparent;
    border-radius: 1px;
    margin-left: 2rem;
}

.menu-item > a.active-page {
    padding-bottom: 0.3rem;
    border-bottom: 3px solid #45D3FD;
    border-radius: 1px;
}

.dropdown {
    width: min-content;
}

.dropdown-content {
    overflow: hidden;
    height: 0;
    transition: height .3s ease-in-out;
    margin-top: 2.7rem;
    border-radius: 1.875rem;
    box-shadow: 0 0 1.5rem 0 rgba(0, 0, 0, 0.25);
    width: 14.25rem;
    text-align: start;
    text-transform: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background-color: #274A90CC;
    z-index: 9;
    position: absolute;
}

.dropdown:hover .dropdown-content, .dropdown-content.dropdown-click-dropdown-content {
    height: calc(2 * 4.94rem);
}

.dropdown:hover {
    height: calc(2 * 4.94rem + 2.7rem);
}

.dropdown-content.remove {
    height: 0;
    transition: height .0s ease-in-out;
}

.menu-piktomir {
    border-radius: 1.875rem 1.875rem 0 0;
}

.menu-piktomir-k {
    border-radius: 0 0 1.875rem 1.875rem;
}

.dropdown-content-item {
    visibility: hidden;
    transition: visibility .3s ease-in-out;
}

.dropdown:hover .dropdown-content-item, .dropdown-content-item.visible {
    visibility: visible;
}

.dropdown-content:hover {
    overflow: visible;
}

.dropdown-content a {
    border-radius: inherit;
    white-space: nowrap;
    height: 4.94rem;
    padding-left: 2rem;
    display: flex;
    align-items: center;
    text-transform: none;
}

.dropdown-content a:hover {
    color: #FFFFFF;
    background-color: #274A90;
    cursor: pointer;
    box-shadow: rgba(0, 163, 255, 0.68) 0 0 1.5rem;
}

.dropdown-content a.focus {
    background-color: #54AEEBB2 !important;
    text-shadow: none;
    box-shadow: 0 0 1.5rem 0 rgba(0, 0, 0, 0.25) !important;
}

.back-space {
    background-image: url('/img/background.png');
    width: 100%;
    height: 40rem;
    position: relative;
    background-repeat: repeat-x;
    background-size: contain;
}

.webplossy .back-space {
    background-image: url('/img/background.webp');
}

.big-title {
    font-weight: 700;
    font-style: normal;
    font-size: 3.3rem;
    line-height: 4rem;
    display: flex;
    align-items: center;
}

.small-title {
    font-weight: 700;
    font-style: normal;
    font-size: 3rem;
    line-height: 3.3rem;
    text-align: left;
}

.main-text {
    font-weight: 500;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 2.25rem;
}

.list {
    font-size: 1.5rem;
    line-height: 2.25rem;
    letter-spacing: 0;
}

.title-and-planets {
    padding-top: 10.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.planets {
    width: 34.5625rem;
    height: 20.5rem;
    margin-right: -15%;
    background-repeat: no-repeat;
    background-size: contain;
}

.top-cloud {
    position: relative;
    margin-top: -13.2rem;
    height: 13.3125rem;
    width: 100%;
    background-size: auto 100%;
    background-repeat: repeat-x;
    background-image: url('/img/svg/top-cloud.svg');
}

.back-white {
    margin: -0.2rem 0 -0.2rem 0;
    background: #FFFFFF;
    z-index: 9;
}

.pb-4-5 {
    padding-bottom: 4.5rem;
}

.main-text.help {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #FFFFFF;
}

.main-text.help > a {
    text-decoration: underline;
    color: #FFFFFF;
}

.main-text.help > a:hover {
    color: #D6D6D6;
}

footer {
    position: relative;
    display: flex;
    align-items: center;
    background: #17173A;
    height: 6.1rem;
}
