html, body {
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;
}

.btn-primary {
    border-radius: 50px !important;
    background-color: #883a76 !important;
    height: 50px;
    width: 250px;
    font-size: 20px !important;
    font-weight: 600 !important;
    outline: none !important;
    border: 3px solid rgba(255, 255, 255, 0.6) !important;
    transition: width 0.2s ease;
}

.preloader {
    position: fixed;
    inset: 0;
    background: #FFFFFF url(/images/globe/generation.png) center center no-repeat;
    background-size: 50%;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    padding-top: 100px;
}

.progress-wrapper {
    width: 60%;
    max-width: 400px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #84c0d6;
}

.progress-bar {
    width: 0%;
    height: 100%;
    height: 32px;
    line-height: 32px;
    background: #84c0d6;
    transition: width 0.2s ease;
}

#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: url("/images/globe/main-bg.png") center top no-repeat;
    background-size: cover;
    z-index: -1;
}

#globeContainer {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.globe-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.flag-pin {
    position: absolute;
    margin-top: -25px;
    width: 31px;
    height: 50px;
    pointer-events: auto;
    cursor: pointer;    
}

    .flag-pin:hover {
        filter: brightness(1.05);
    }

    .flag-pin[data-title] {
        position: absolute;
    }

        .flag-pin[data-title]:hover::before {
            content: attr(data-title);
            position: absolute;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap;
            font-size: 12px;
            color: #fff;
            background: rgba(0,0,0,.75);
            padding: 4px 8px;
            border-radius: 6px;
            pointer-events: none;
        }

/* Кнопка центрирования камеры */
.focus-btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }

    .preloader {
        background-position: center top 100px;
        background-size: 80%;
    }

    .progress-wrapper {
        justify-content: end;
        width: 90%;
        margin-bottom: 30px;
    }

    #bgVideo {
        background: url("/images/globe/main-bg.png") left top no-repeat;
        background-size: cover;
    }
}