﻿html {
    height: 100%;
}
.container {
    margin: auto;
    position: absolute;
    width: 150px;
    text-align: center;
    top: calc(50% - 15px);
    left: calc(50% - 127px);
    height: 150px;
    margin-top: 50px;
    cursor: pointer;
    height: 60px;
    align-content: center;
}


.progress2 {
    padding: 2px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}

.progress-bar2 {
    height: 6px;
    border-radius: 30px;
    background-image: linear-gradient( to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05) );
    transition: 0.4s linear;
    transition-property: width, background-color;
}

.progress-moved .progress-bar2 {
    width: 100%;
    background-color: #d49804;
    animation: progressAnimation 6s;
}

@keyframes progressAnimation {
    0% {
        width: 0%;
        background-color: #f9bcca;
    }

    100% {
        width: 100%;
        background-color: #d49804;
    }
}


#global {
    margin: auto;
    position: absolute;
    top: calc(50% - 70x);
    left: calc(50% - 50px);
    width: 100px;
    height: 100px;
    margin-top: 50px;
    cursor: pointer;
    align-content: center;
}

.local-display-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap; /* добавьте это свойство */
}

.text-logo {
    font-family: Verdana,Geneva,sans-serif;
    font-size: 100px;
    color: #ffffff;
    position: relative;
    bottom: 20px;
    right: 45px;
    display: inline-block;
    margin-right: 60px;
    font-weight: 500; /* add this property to make the text bold */
}

.mask {
    position: absolute;
    border-radius: 2px;
    overflow: hidden;
    perspective: 1000;
    backface-visibility: hidden;
}

.rotate {
    transform: rotate(140deg) scaleX(-1) scaleY(-1);
    position: absolute;
    left: 20px;
    bottom: 5px;
}

h1 {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    line-height: 26.4px;
}

h3 {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    line-height: 15.4px;
}

p {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 20px;
}

blockquote {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 21px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 30px;
}

pre {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 18.5714px;
}

.plane {
    background: #5583c8;
    width: 400%;
    height: 100%;
    position: absolute;
    transform: translate3d(0px,0,0);
    /*transition: all 0.8s ease; */
    z-index: 100;
    perspective: 1000;
    backface-visibility: hidden;
}

.animation {
    transition: all 3.3s ease;
}

@keyframes animColorTop {
    0% {
        background: #5583c8; /* Исходный цвет */
    }


    50% {
        background: #d49804; /* Возврат к исходному цвету */
    }

    100% {
        background: #5583c8; /* Исходный цвет */
    }
}

@keyframes animColorBack {
    0% {
        background: #3a4e91; /* Исходный цвет */
    }


    50% {
        background: #b25e06; /* Возврат к исходному цвету */
    }

    100% {
        background: #3a4e91; /* Исходный цвет */
    }
}

#top .plane {
    z-index: 2000;
    animation: trans1 1.8s ease-in infinite 0.8s backwards, animColorTop 3.6s steps(1) infinite forwards 0.8s;
}

#middle1 .plane {
    transform: translate3d(0px,0,0);
    background: #3a4e91;
    animation: trans2 1.8s linear infinite 0.3s backwards, animColorBack 3.6s steps(1) infinite forwards 0.3s;
}

#middle .plane {
    transform: translate3d(0px,0,0);
    background: #3a4e91;
    animation: trans2 1.8s linear infinite 1.2s backwards, animColorBack 3.6s steps(1) infinite forwards 1.2s;
}
#bottom .plane {
    z-index: 4000;
    animation: trans3 1.8s ease-out infinite 1.6s backwards, animColorTop 3.6s steps(1) infinite forwards 1.6s;
}




#top {
    width: 53px;
    height: 20px;
    left: 20px;
    top: 2px;
    transform: skew(-25deg, 0);
    z-index: 100;
}

#middle {
    width: 33px;
    height: 20px;
    left: 20px;
    top: 17px;
    transform: skew(-25deg, 40deg)
}

#middle1 {
    width: 33px;
    height: 20px;
    left: 40px;
    bottom: -9px;
    transform: skew(-25deg, 40deg)
}

#bottom {
    width: 53px;
    height: 20px;
    top: 30px;
    transform: skew(-25deg, 0)
}

@keyframes trans1 {
    from {
        transform: translate3d(53px,0,0)
    }

    to {
        transform: translate3d(-250px,0,0)
    }
}

@keyframes trans2 {
    from {
        transform: translate3d(-160px,0,0)
    }

    to {
        transform: translate3d(53px,0,0)
    }
}

@keyframes trans3 {
    from {
        transform: translate3d(160px,0,0)
    }

    to {
        transform: translate3d(-220px,0,0)
    }
}