.galcks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background-color: #0000001e;
    backdrop-filter: blur(4px);
    box-shadow: 0px 0px 9px #6a6a6a;
    color: #fff;

    a {
        color: var(--color-secondary);
    }
}

.galcks__box {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background: #000c;

    padding: 45px;
    border-radius: 8px;
}

.galcks__box a {
    color: var(--color-secondary);
}

.galcks__box a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.galcks__box.galcks__box--primary {
    bottom: 10px;
    width: 80%;
    margin-bottom: 20px;
}


.galcks__box.galcks__box--secondary {
    /* display: block; */
    display: none;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 80px);
    margin: 0;
    max-width: 800px;
}

.galcks__buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.galcks__button {
    border: 0;
    color: #fff;
    background-color: #404040;
    padding: 14px 28px 14px 28px;
    border-radius: 8px;

    font-weight: 500;
}

.galcks__button.galcks__button--main {
    background: var(--color-secondary);
}


/*  */
.galcks__constents {
    margin-top: 40px;
}

.galcks__constent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/*  */

.galcheckbox {

}

.galcheckbox__label {
    background-color: #fff;
    background-color: #ccc;
    display: inline-block;
    width: 36px;
    height: 20px;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: .2s ease-in-out;
}

.galcheckbox__label::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    background: #fff;
    width: 16px;
    height: 16px;
    border-radius: 100%;
    transition: .2s ease-in-out;
}

.galcheckbox__input {
    display: none;
}

.galcheckbox__input:checked + .galcheckbox__label {
    background: var(--color-secondary);
}

.galcheckbox__input:disabled + .galcheckbox__label {
    background: var(--color-secondary);
    cursor: not-allowed;
    filter: grayscale(0.6);
}

.galcheckbox__input:checked + .galcheckbox__label::after  {
    left: calc(100% - 2px - 16px);
}

.galcks__constent:not(:first-child) {
    margin-top: 12px;
}

.galcks__box-secondary-buttons {
    justify-content: space-between;
    margin-top: 60px;
}


@media(max-width: 776px) {
    .galcks {
        font-size: 14px;
    }

    .galcks__buttons {
        flex-direction: column;

        margin-top: 10px;
    }

    .galcks__box-secondary-buttons {
        padding: 0 24px;
    }

    .galcks__box.galcks__box--primary {
        padding: 30px 24px;
        width: 95%;
        margin-bottom: 0;
    }

    .galcks__box.galcks__box--secondary {
        /* padding: 30px 24px; */
        padding: 30px 0;
        width: 95%;
        top: auto;
        bottom: 10px;
        transform: translate(-50%, 0);
    }

    .galcks__scrollable {
        max-height: 255px;
        overflow-x: auto;
        scrollbar-color: var(--color-secondary) #fff;
        scrollbar-width: thin;
        padding: 0 24px;
    }

    .galcks__scrollable::-webkit-scrollbar-thumb {
        background-color: rgba(155, 155, 155, 0.5);
        border-radius: 20px;
        border: transparent;
    }

    #galcksReturn {
        order: 1;
    }
}

