.overlay {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    /*z-index: 999;*/
    z-index: var(--transition-z-index);
    transition: .3s;
}

.bar {
    height: 100vh;
    background: #000000;
    width: 5vw;
}


/* === Counter перенесённый из второго скрипта === */
.counter {
    position: fixed;
    font-family: "NeueMachina", Sans-serif;
    font-size: 100px;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
    /*line-height: 130px;*/
    bottom: 5%;
    left: 2.5%;
    /*transform: translate(-50%, -50%);*/
    display: flex;
    height: 100px;
    clip-path: polygon(0 0, 100% 0, 100% 100px, 0 100px);
    z-index: 1000;
    opacity: 0;
}

.counter-1, .counter-2, .counter-3 {
    position: relative;
    top: -12px;
}

.num1offset1 {
    position: relative;
    right: -12px;
}

.num1offset2 {
    position: relative;
    right: -10px;
}

/*.bar:nth-child(10) { width: calc(100vw * 1 / 55); }*/
/*.bar:nth-child(9) { width: calc(100vw * 2 / 55); }*/
/*.bar:nth-child(8) { width: calc(100vw * 3 / 55); }*/
/*.bar:nth-child(7) { width: calc(100vw * 4 / 55); }*/
/*.bar:nth-child(6) { width: calc(100vw * 5 / 55); }*/
/*.bar:nth-child(5) { width: calc(100vw * 6 / 55); }*/
/*.bar:nth-child(4) { width: calc(100vw * 7 / 55); }*/
/*.bar:nth-child(3) { width: calc(100vw * 8 / 55); }*/
/*.bar:nth-child(2) { width: calc(100vw * 9 / 55); }*/
/*.bar:nth-child(1) { width: calc(100vw * 10 / 55); }*/