


.modal{
    position: fixed;
    background-color: rgba(0, 0, 0, 0.204);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    overflow-y: scroll;
    padding-bottom: 0;

    opacity: 0;
    visibility: hidden;

    &.show{
        opacity: 1;
        visibility: visible;
    }

    &__box{
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 50px;
        padding-bottom: 80px;
        padding-left: clamp(10px, 2.667vw, 30px);
        padding-right: clamp(10px, 2.667vw, 30px);
    }


    .modal-reg{
        background-color: #fff;
        width: 100%;
        max-width: 879px;
        padding: 40px clamp(20px, 4vw, 40px);
        position: relative;

    }

    .modal-close{
        position: absolute;
        top: 24px;
        right: 24px;
        cursor: pointer;
        transition: 0.23s;
        &:hover{
            opacity: 0.9;
        }

        @include sm-mobile{
            svg{
                width: 24px;
                height: 24px;
            }
        }
    }

}