.container-header-button{
    position: absolute;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;

    max-height: calc(100vh - 50px);
    flex-wrap: wrap;

    top: 50vh;
    transform: translateY(-45%);

    left: 0;
    right: 0;
}

.header-button-group{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.header-button-group-row{
    display: flex;
    justify-content: center;
    align-items: center;    
    flex-direction: row;
}

.container-header-button a {
    min-width: 150px;
    min-height: 50px;

    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    color: rgb(0, 0, 0);
    padding: 0 25px 0 25px;
    margin: 5px 5px;
    border: 1px solid rgba(0,0,0,0.5);

    display: flex;
    align-items: center; /*Вирівнювання текста*/
    justify-content: center;/*Вирівнювання текста*/
    text-align: center;

    cursor: pointer;
}

.container-header-button a:hover{
    color: var(--color_1);
}

@media(max-width: 800px){
    /*150 - початкова ширина*/
    /*100 - мінімальна ширина яка нам потрібна коли екран стане 320px */

    .container-header-button a{
        min-width: calc(100px + (150 - 100) * ( (100vw - 320px) / (850 - 320) ) );
        min-height: calc(30px + (50 - 30) * ( (100vw - 320px) / (850 - 320) ) );
    }

}

.button-3d-centr{
    top: 50%;
    transform: translateY(-50%);
}


.button-arrow {
    /*background-color: var(--color_2);*/
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.button-arrow:hover {
    background-color: var(--color_2);
    border-radius: 50%;
}

.right-arrow {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
}
.left-arrow {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
}
.right-arrow span, .right-arrow::before, .right-arrow::after {
    position: absolute;
    height: 5px;
    width: 20px;
    left: 5px;
    content: "";
}
.left-arrow span, .left-arrow::before, .left-arrow::after {
    position: absolute;
    height: 5px;
    width: 20px;
    right: 5px;
    content: "";
}
.left-arrow::before {
    background-color: white;
    top: 0;
    transform: rotateZ(-45deg) translateY(50%);
}
.left-arrow::after {
    bottom: 0;
    background-color: white;
    transform: rotateZ(45deg) translateY(-50%);
}
.right-arrow::before {
    background-color: white;
    top: 0;
    transform: rotateZ(45deg) translateY(50%);
}
.right-arrow::after {
    bottom: 0;
    background-color: white;
    transform: rotateZ(-45deg) translateY(-50%);
}

.button-totop{
    position: fixed;
    bottom: 5%;
    left: 1%;
    background-color: silver;
    border-radius: 50%;
    transform: rotateZ(90deg) translateY(-50%);
}

.button-totop-hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s linear;
}

.button-totop-show {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s linear;
}

.button-modal-window {
    display: block;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 0;
    border-radius: 2rem;
    padding: 1% 1%;
    margin: 1% 1%;
    width: 20%;
    cursor: pointer;
}

.button-modal-window:hover {
    color: #B0C4DE;
}

.button-btn-1 {    
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 0;
    border-radius: 0.5rem;
    padding: 0.7rem 0.7rem;
    margin-top: 0.5rem;
    width: 100%;
    cursor: pointer;
}

.button-btn-1:hover{
    background-color: #646464;
}

.button-btn-width-auto {
    width: auto;
}

.button-display-none{
    display: none;
}

.button-table {
    background-color: #D3D3D3;
    border-radius: 50%;
    border: 0;
    height: 2rem;
    width: 2rem;
    padding-top: 0.25rem;
    cursor: pointer;

    display: flex;
    justify-content:center;
    align-items: center;
    font-size: 1rem;
}

@media screen and (max-width: 580px) {
    .button-table{
        height: 2.3rem;
        width: 2.3rem;
    }
}

@media screen and (max-width: 480px) {
    .button-table{
        height: 2.6rem;
        width: 2.6rem;
    }
}

@media screen and (max-width: 380px) {
    .button-table{
        height: 3rem;
        width: 3rem;
    }
}

.button-table:hover {
    background-color: rgba(244, 181, 61, 0.84);
}

.button-table-background-color{
    background-color: #33CCFF;    
}

.margin-left-02{    
    margin-left: 0.2rem;
}

