.loader{
    background: rgba(0, 0, 0, 1);
    background-image: url(https://editor.teremok.games/img/bg/bg-d.jpg);
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: 9999999999;
    position: fixed;
    top: 0;
    left: 0;
}
.loader-text{
    text-align: center;
    font-weight: 900;
    margin-top: 30%;
}

.hexagon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    width: 110px;
    height: 110px;
    margin-top: -80px;
    margin-left: -80px;
    animation: spin-big 2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.hexagon-medium {
    width: 80px;
    height: 80px;
    margin-top: -20px;
    margin-left: -5px;
    transform: rotate(90deg);
    animation: spin-medium 2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.hexagon-small {
    width: 50px;
    height: 50px;
    margin-top: 20px;
    margin-left: -40px;
    animation: spin-small 2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}


@keyframes spin-big {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

@keyframes spin-medium {
    from {
        transform: rotate(90deg);
    }
    to {
        transform: rotate(450deg);
    }
}

@keyframes spin-small {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}