
.modalWrap{
    z-index: 101;
    display: none;
}
.background-black{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    z-index: 101;
}
.centerBox{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60%;
    transform: translate(-50%,-50%);
    z-index: 101;
}
.modalBox{
    background-color: #fff;
    border-radius: 4px;
    padding: 2rem;
    z-index: 102;
}
.modalTitle{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 2rem;
}
.modalTitle i{
    font-size: 25px;
    cursor: pointer;
}
.modalTitle h2{
    font-size: 20px;
    color: #3b3b3b;
    text-align: center;
    font-weight: bold;
}
.modalContent p {
    font-size: 16px;
    line-height: 1.4;
    color: #3b3b3b;
    margin-bottom: 20px;
}
.checkBox{
    padding: 15px 10px;
    background-color: #FAFAFA;
}
.checkBox label{
    font-size: 16px;
    font-weight: 300;
    color: #3b3b3b;
    margin-left: 10px;
}

.colorWrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
}

.cardList{
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
    
    overflow-y: scroll;
    height: 400px;
    flex-wrap: wrap;
    padding: 20px;
}
.card{
    background-color: #fff;
    width: 32%;
    height: 350px;
    border-radius: 4px;
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    margin: 0 5px;
}
.cardImg{
    margin-top: 20px;
}
.card h2{
    font-size: 18px;
    margin:  20px 0;
    color: #3b3b3b;
    line-height: 1.4;
}
.card h3{
    margin-bottom: 20px;
    color: #3b3b3b;
}
.card h4{
    font-size: 16px;
    color: #3b3b3b;
    background-color: #F7F7F7;
    padding: 10px 0;
    width: 100%;
}

@media (max-width: 1200px) {
    .centerBox{
        width: 100%;
    }
    
}
@media (max-width: 768px) {
    .centerBox{
        top: 0;
        left: 0;
        transform: translate(0);
    }
    .modalBox{
        overflow-y: scroll;
        height: 100vh;
    }
    .cardList{
        height: 100%;
    }
    .card{
        width: 100%;
    }
}