:root{
    --btnsScale:1;
}


.boxBlock{
    position: relative;
    height: 450px;
    margin-bottom: -30px;
    margin-top: 55px;
}

.mainBG{
    background: linear-gradient(-90deg,#0063b8,#050b40)!important;
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 0;
}

.mainBG1:after{
    content: "";
    display: block;
    background: url(/files/imgs/main2.svg?v=2) bottom no-repeat;
    background-size: cover;
    bottom: -8px;
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    z-index: -1;
}

.mainBlock{
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mainCounter{
    display: inline-block; 
    color: white; 
    transform: translateY(-50px);
    margin-left: 150px;
    margin-top: 20px;
}

.mainButton{
    width:180px;
    height:180px;
    position:absolute;
    pointer-events: none; 
}

.mainButton > a{
    pointer-events: auto; 
    color:white;
}



.tr:active .svgMP2 {
    stroke-dashoffset:150;
    background:black;
    transition: stroke-dashoffset 0s;
}



.svgMP{
    stroke-dasharray: 4 0;
    stroke-width: 0.7;
    stroke-dashoffset: 0;
    transition: stroke-dasharray .3s ease, r .3s ease, stroke-dashoffset 5s;
}


.svgMP2{
    stroke-dasharray: 5 3.3;
    pointer-events : none;
    stroke-dashoffset: 0.7;
    transition: stroke-dasharray .3s ease, r .3s ease, stroke-dashoffset 5s;
    stroke-width: 1;
    color: cornflowerblue;
}


.tr:hover .svgMP {
    stroke-dasharray: 4 1;
    r: 10.5;
}

.tr:hover .svgMP2, .svgMP2:hover {
    stroke-dasharray: 5 2;
    r: 7.8;
}





.svgW{
    fill:var(--background-color);
    position:absolute;
    bottom:0;
    width:100%;
    height:auto;
    min-width: 2140px;
    left: 50%;
    transform: translate(-50%, 15%) scale(1, 0.8);
}


.textContainer{
    color: white;
    width: 230px;
    display: inline-block;
    transform: translateY(-80px);
    text-align: center;
}



.changes{
    color: #0f5132;
    background-color: #d1e7dd;
    position: relative;
    padding: 1.8rem 1rem 0.7rem 2rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    border-color: #0f5132;
    box-shadow: 0 0 5px rgb(0 0 0 / 50%);
}

.changes .change{
    position:relative;
}

.changes .change:before{
    content: "";
    width: 7px;
    height: 7px;
    background: #0f5132;
    border-radius: 50%;
    position: absolute;
    left: -15px;
    top: 9px;
}

.updateTime{
    font-weight: bold;
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 2px 5px;
    border: 1px solid currentColor;
    border-radius: 0.25rem 0;
    background: rgba(255,255,255,0.6);
}

.editingText {
    width: 100%;
    border: 0;
    padding-top: 0;
    margin-left: -2px;
    padding-bottom: 0;
    margin-bottom: -6px;
}

.addChange{
    margin-bottom: 0.5rem;
    padding-bottom: 45px;
}

.addChange > textarea{
    width: 100%;
    margin-top: -0.5rem;
    height: 129px;
    border: 1px solid var(--bs-primary);
    border-radius: 8px 8px 0;
    box-shadow: 0 0 5px 0 #00000099;
    padding: 0.3rem;
}

.addChange > div{
    display: flex;
    gap: 0.5rem;
    flex-direction: row-reverse;
    justify-content: flex-start;
    float: right;
    padding: 0.3rem;
    border-radius: 0 0 8px 8px;
    margin-top: -6px;
    z-index: 1;
    position: relative;
    border: 1px solid var(--bs-primary);
    border-top: 0;
    background: white;
    box-shadow: 0 0 5px 0 #00000099;
    clip-path: polygon( -10% 0, 110% 0%, 110% 110%, -10% 110% );
}



@media (max-width: 991px) {
    .mainCounter{
        margin-left: 50px;
    }
    
    :root {
        --btnsScale: 0.9;
    }
    
}

@media (max-width: 768px) {
    .mainCounter{
        margin-left: 30px;
    }
    :root {
        --btnsScale: 0.75;
    }
    .boxBlock{
        height: 380px;
    }
    
}

@media (max-width: 670px) {
    .mainBlock{
        flex-direction: column;
    }
    .textContainer{
        transform: translateY(-30px);
    }
    .mainCounter{
        margin-left: 0;
        margin-top:30px;
    }
    .boxBlock{
        height: 530px;
    }
    
}

@media (max-width: 420px) {
    .mainButton {
        transform: rotate(-90deg);
    }
    .mainCounter{
        transform: rotate(90deg);
        margin-top: 0;
    }
    .boxBlock{
        height: 600px;
    }
    .svgW{
        transform: translate(-60%, 15%) scale(1, 0.8);
    }
    
}

    
