/* flex */
.flexColCenter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flexColStart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.flexColEnd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.flexColBetween {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.flexColAround {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.flexRowCenter {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.flexRowStart {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.flexRowEnd {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.flexRowBetween {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.flexRowAround {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.rsWrapper {
    width: 1280px;
}

@media (max-width : 1280px) {
    .rsWrapper {
        width: 1100px;
    }
}

@media (max-width : 1100px) {
    .rsWrapper {
        width: 900px;
    }
}

@media (max-width : 900px) {
    .rsWrapper {
        width: 800px;
    }
}

@media (max-width : 700px) {
    .rsWrapper {
        width: 100%;
        /* padding: 0 20px; */
    }
}

/* button */
#mainBtn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: #EC2C7E;
    color: #ffffff;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .2s ease-in-out;

}

#mainBtn:hover {
    /* border: 1px solid #EC2C7E; */
    /* background: #ffffff; */
    /* color: #EC2C7E; */
    /* box-shadow: 0px 0px 10px linear-gradient(rgba(0, 229, 255, 1), rgba(255, 0, 107, 1), rgba(255, 109, 193, 1), rgba(255, 213, 255, 1)); */
    box-shadow:
        20px 0 70px 20px rgba(255, 0, 107, 0.5),
        -20px 0 50px 20px rgba(0, 229, 255, 0.5)
        /* outer cyan */
}

#pinkBtn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: #EC2C7E;
    color: #ffffff;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .2s ease-in-out;
    position: relative;

    &:hover {
        border: 1px solid #EC2C7E;
        background: #ffffff;
        color: #EC2C7E;
    }

    svg path {
        transition: all .2s ease-in-out;
    }

    &.fill:hover {
        svg path {
            fill: #EC2C7E;
        }
    }

    &.all:hover {
        svg path {
            fill: #EC2C7E;
            stroke: #EC2C7E;
        }
    }

    img.activeImg {
        position: absolute;
        opacity: 0;
        transition: all .2s ease-in-out;
    }

    &:hover img.activeImg {
        opacity: 1;
    }

    &:hover img {
        opacity: 0;
    }

    &:disabled {
        background: #7F7F7F;
        color: rgba(255, 255, 255, 0.4);

        svg path {
            fill: rgba(255, 255, 255, 0.4);
        }

        &:hover {
            border: 1px solid transparent;

            svg path {
                fill: rgba(255, 255, 255, 0.4);
            }
        }
    }
}

#pinkBorderBtn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 1px solid #EC2C7E;
    color: #EC2C7E;
    cursor: pointer;
    transition: all .2s ease-in-out;
    position: relative;
    background: transparent;

    &:hover {
        background: #EC2C7E;
        color: #ffffff;
    }
}


#greyBtn {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in-out;
    border-radius: 3px;
}

#greyBtn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

#greyBtn2 {
    background: #D9D9D9;
    /* color: rgba(255, 255, 255, 0.7); */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in-out;
    border-radius: 3px;
    border: 1px solid #D9D9D9;
}

#greyBtn2:hover {
    background: #ffffff;
    /* color: #ffffff; */
}

#redBtn {
    background: linear-gradient(to right, rgba(236, 44, 126, 0.7), rgba(114, 148, 199, 0.7));
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in-out;
    border-radius: 3px;
    border: none;
}

#redBtn:hover {
    box-shadow:
        20px 0 70px 20px rgba(255, 0, 107, 0.5),
        -20px 0 50px 20px rgba(0, 229, 255, 0.5)
}

#redBorderBtn {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in-out;
    position: relative;
    /* overflow: hidden; */
    border: none;
    z-index: 3;
    color: #FFFFFF;

    &::before {
        content: "";
        position: absolute;
        top: -1px;
        left: -1px;
        width: calc(100% + 2px);
        height: calc(100% + 2px);
        background: linear-gradient(#EC2C7E, #7294C7);
        border-radius: 5px;
        z-index: -1;
    }

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: calc(100%);
        height: calc(100%);
        background: #272727;
        z-index: -1;
        border-radius: 5px;
        transition: all .2s ease-in-out;
    }

    &:hover {
        &::after {
            z-index: -3;
        }
    }
}

#greyBorderBtn {
    background: #1F1F22;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in-out;
    border-radius: 3px;
    border: 0.5px solid #7F7F7F;
}

#greyBorderBtn:hover {
    background: #7f7f7f;
}

#greyBorderBtn2 {
    background: transparent;
    color: rgba(149, 149, 149, 0.9);
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in-out;
    border-radius: 3px;
    border: 1px solid rgba(149, 149, 149, 0.3);
}

#greyBorderBtn2:hover {
    background: rgba(149, 149, 149, 0.3);
    color: #ffffff;
}

#blackBtn {
    background: #101010;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in-out;
    border-radius: 3px;
    border: none;
}

#blackBtn:hover {
    background: #ffffff;
}

/* 스크롤바 */
::-webkit-scrollbar {
    display: none;
}

.scroll::-webkit-scrollbar {
    width: 4px;
    background-color: transparent;
    display: initial;
}

.scroll::-webkit-scrollbar-thumb {
    background-color: rgba(217, 217, 217, 0.3);
    border-radius: 4px;
}


/* switch */
label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    cursor: pointer;
}

[type="checkbox"] {
    appearance: none;
    position: relative;
    border-radius: 1.25em;
    width: 32px;
    height: 17px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid transparent;

}

[type="checkbox"]::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 1px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    transform: scale(0.8);
    background-color: #D9D9D9;
    transition: left 250ms linear;
}

[type="checkbox"]:checked {
    background-color: #EC2C7E;
}

[type="checkbox"]:checked::before {
    background-color: white;
    left: 17px;

}

[type="checkbox"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

[type="checkbox"]:disabled:before {
    background-color: lightgray;
}

[type="checkbox"]:disabled+span {
    opacity: 0.7;
    cursor: not-allowed;
}

[type="checkbox"]:focus-visible {
    outline-offset: max(2px, 0.1em);
    outline: max(2px, 0.1em) solid #EC2C7E;
}

[type="checkbox"]:enabled:hover {
    background-color: #EC2C7E;
    border-color: #EC2C7E;
}

a {
    text-decoration: none;
    color: inherit;
}

select {
    outline: none;
}

input {
    box-sizing: border-box;
}