body.loading > *:not(#preloader) {
  visibility: hidden;
}

html {
    font-size: 18px;
}

/* loading */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    position: relative;
}

.bg-loading {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cloud-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.image-text {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 30px 0;
}

.image-text .image {
    width: 50%;
}

.image-text .image img {
    width: 100%;
    border-radius: 4px;
}

.image-text .text {
    width: 50%;
}

.image-text.right .text {
    text-align: right;
}

.image-text>img {
    width: 50%;
}



body {
    top: 0px !important;
}

.list-lang {
    display: none;
    position: absolute;
    background: #fff;
        top: 30px;
    z-index: 20;
    width: max-content;
    flex-direction: column;
}

.list-lang button {
    border: none;
    white-space: nowrap;
    padding: 5px 10px;
    cursor: pointer;
    background: #fff;
    font-size: 16px;

}

.current-lang {
    width: 100%;
    height: 100%;
    font-size: 20px;
    padding-bottom: 10px;
    position: relative;
    text-transform: uppercase;
}

.current-lang::after {
    right: 10px;
    content: '▼';
    margin-left: 6px;
    font-size: 10px;
}


.current-lang:hover + .list-lang {
    display: flex;
}

.list-lang.active {
    display: flex;
}

.list-lang:hover {
    display: flex;
}


/* mobile */
@media (max-width: 992px) {
    #preloader .cloud-loading {
        width: 200px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    .image-text {
        flex-direction: column;
    }

    .image-text .image,
    .image-text .text {
        width: 100%;
    }

    .image-text>img {
    width: 100%;
}
}

@media (max-width: 576px) {
    html {
        font-size: 12px;
    }

    .current-lang {
        font-size: 1rem;
    }
}
