*, :after, :before {
    box-sizing: inherit;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

html {
    box-sizing: border-box
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0
}

p {
    margin: 0
}

picture {
    display: block
}

img {
    display: block;
    border: none
}

img, svg {
    vertical-align: middle
}

a {
    background-color: transparent;
    color: inherit;
    text-decoration: none
}

:focus {
    outline: none
}

button {
    all: unset
}

:root {
    /*--font-main-weight: 400;*/
    /*--font-main-color: #fff;*/
    /*--font-main-style: normal;*/
    /*--font-main: "Black Han Sans", sans-serif;*/
}

body {
    line-height: 1;
    text-rendering: optimizeSpeed;
    -webkit-text-decoration-skip: objects;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    font-family: var(--font-main), sans-serif;
    font-weight: var(--font-main-weight);
    color: var(--font-main-color);
    font-style: var(--font-main-style);
    text-transform: uppercase;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    position: relative;
    background: linear-gradient(
            144deg,
            #030A57 2%,
            #004391 39%,
            #004B99 44%,
            #4E029E 78%
    );
    font-optical-sizing: var(--font-optical-sizing);
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
}

.main::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    opacity: 0;
    -webkit-animation: fadeInOut 5s ease-in-out infinite;
    animation: fadeInOut 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.content {
    flex: 1;
    position: relative;
    z-index: auto;
    display: flex;
    pointer-events: auto;
    width: 100%;
}

.description {
    position: relative;
    z-index: 8;
}

.btn {
    position: relative;
    z-index: 51;
    aspect-ratio: 552 / 141;
    background: url('../img/btns/btn_default.webp') no-repeat center center;
    background-size: cover;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    background: url('../img/btns/btn_hover.webp') no-repeat center center;
    background-size: cover;
}

.btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    background-image: url('../img/btns/btn_hover.webp');
}

.btn::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    background-image: url('../img/btns/btn_default.webp');
}

.btn-pulse {
    -webkit-animation: 1.5s pulse ease-in-out infinite;
    animation: 1.5s pulse ease-in-out infinite;
    transform-origin: center center;
}

.logo {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    aspect-ratio: 400 / 127;
}

.glide {

}

.glide__bullets {
    display: flex;
    align-items: center;
    justify-content: center;
}

.glide__bullet {
    background: transparent;
    border-radius: 50%;
    border-color: #94F0FF;
    border-style: solid;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.glide__bullet--active {
    background: #94F0FF;
}

.girl-wrapper {
    position:  relative;
    z-index: 2;
    aspect-ratio: 510 / 1115;
    will-change: transform;
    pointer-events: none;
}

.girl {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.girl-mask {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    animation: fadeInOut 5s ease-in-out infinite;
    -webkit-animation: fadeInOut 5s ease-in-out infinite;
}

.glide__slide {
    aspect-ratio: 971 / 208;
}

.glide__slide-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 971 / 208;
}

.carousel {
    margin: 0 auto;
}

@media (orientation: portrait) and (min-width: 0px) {
    .main {
        justify-content: flex-start;
        background: url('../img/bg/bg_portrait.webp') no-repeat center center;
        background-size: cover;
    }

    .content {
        padding-top: clamp(12px, 5vw, 24px);
        flex-direction: column;
        justify-content: space-between;
        gap: clamp(16px, 5vw, 28px);
    }

    .logo {
        width: 40%;
        max-width: 200px;
        margin-bottom: clamp(16px, 5vw, 32px);
    }

    .btn {
        display: block;
        width: 60%;
        max-width: 300px;
    }

    .carousel {
        width: 100%;
    }

    .glide {
        width: 50%;
        margin-bottom: clamp(16px, 5vw, 32px);
    }

    .glide__slide {
        width: 100%;
    }

    .glide__bullets {
        gap: 5px;
    }

    .glide__track {
        margin-bottom: 20px;
    }

    .glide__bullet {
        width: 8px;
        border-width: 2px;
        box-shadow: 0 0 14px 5px rgba(0, 187, 255, 0.35);
    }

    .girl-wrapper {
        width: 45%;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (orientation: portrait) and (min-width: 375px) and (min-height: 800px) {
    .girl-wrapper {
        width: 60%;
    }
}

@media (orientation: portrait) and (min-width: 768px) and (min-height: 1024px) {
    .logo {
        width: 30%;
        max-width: 280px;
        margin-bottom: clamp(16px, 5vw, 32px);
    }

    .btn {
        display: block;
        width: 50%;
        max-width: 460px;
    }

    .carousel {
        width: 100%;
    }

    .glide {
        margin-bottom: clamp(16px, 5vw, 32px);
    }

    .glide__slide {
        width: 100%;
    }

    .glide__bullets {
        gap: 12px;
    }

    .glide__track {
        margin-bottom: 20px;
    }

    .glide__bullet {
        width: 16px;
        border-width: 3px;
        box-shadow: 0 0 16px 12px rgba(0, 187, 255, 0.35);
    }

    .girl-wrapper {
        width: 40%;
        left: 65%;
    }
}

@media (orientation: landscape) and (min-width: 0px) {
    .main {
        justify-content: flex-start;
        background: url('../img/bg/bg_landscape.webp') no-repeat center center;
        background-size: cover;
    }

    .content {
        width: 100%;
        max-width: 1600px;
        padding-top: clamp(12px, 4vw, 80px);
        flex-direction: row;
        justify-content: center;
    }

    .logo {
        width: 35%;
        max-width: 400px;
        margin: 0 auto clamp(16px, 2vw, 42px);
    }

    .description {
        width: 65%;
    }

    .carousel {
        width: 100%;
    }

    .glide {
        margin-bottom: clamp(16px, 2vw, 42px);
    }

    .glide__slide {
        width: 100%;
    }

    .glide__bullets {
        gap: clamp(5px, 1.2vw, 18px);
    }

    .glide__track {
        margin-bottom: clamp(20px, 2vw, 42px);
    }

    .glide__bullet {
        width: clamp(8px, 1.2vw, 28px);
        border-width: 2px;
        box-shadow: 0 0 17px 12px rgba(0, 187, 255, 0.35);
    }

    .btn {
        display: block;
        width: 45%;
        max-width: 560px;
    }

    .girl-wrapper {
        width: 25%;
    }

    .girl,
    .girl-mask {
        bottom: 0;
    }
}

@media (orientation: landscape) and (min-width: 1200px) and (max-height: 600px) {
    .content {
        width: 100%;
        max-width: 1600px;
        padding-top: clamp(12px, 4vw, 20px);
        flex-direction: row;
        justify-content: center;
    }

    .description {
        width: 35%;
    }

    .glide__bullets {
        gap: clamp(5px, 1.2vw, 18px);
    }

    .glide__track {
        margin-bottom: clamp(20px, 2vw, 42px);
    }

    .glide__bullet {
        width: clamp(8px, 1.2vw, 18px);
    }
}

@media (orientation: landscape) and (min-width: 1440px) and (max-height: 600px) {
    .content {
        width: 100%;
        max-width: 1600px;
        padding-top: clamp(12px, 4vw, 20px);
        flex-direction: row;
        justify-content: center;
    }

    .description {
        width: 45%;
    }
}

@media (orientation: landscape) and (min-width: 1920px) and (max-height: 600px) {
    .content {
        width: 100%;
        max-width: 1600px;
        padding-top: clamp(12px, 4vw, 20px);
        flex-direction: row;
        justify-content: center;
    }

    .description {
        width: 35%;
    }

    .glide__bullets {
        gap: clamp(5px, 1.2vw, 18px);
    }

    .glide__track {
        margin-bottom: clamp(20px, 2vw, 42px);
    }

    .glide__bullet {
        width: clamp(8px, 1.2vw, 18px);
    }
}

@media (orientation: landscape) and (min-width: 1600px) and (min-height: 1250px) {
    .content--landscape {
        max-width: clamp(700px, 90vw, 1600px);
    }

    .glide__bullet {
        width: 28px;
        border-width: 3px;
    }

    .girl-wrapper {
        width: 35%;
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.03);
        transform: scale(1.03);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.03);
        transform: scale(1.03);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        -webkit-opacity: 0;
    }
    30% {
        opacity: 1;
        -webkit-opacity: 1;
    }
    70% {
        opacity: 1;
        -webkit-opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-opacity: 0;
    }
}

@-webkit-keyframes fadeInOut {
    0% {
        opacity: 0;
        -webkit-opacity: 0;
    }
    30% {
        opacity: 1;
        -webkit-opacity: 1;
    }
    70% {
        opacity: 1;
        -webkit-opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-opacity: 0;
    }
}
