﻿
*{
    background: gold;
}

/* 선택 필터 */
.tag{
    display: flex;
    margin-bottom: 20px;
    margin-left: 10px;
}
.label_tag{
    width: 10%;
    height: 50px;
    line-height: 46px;
    margin-right: 8px;

    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #6A5E5E;
    background: #F5F5F7;
    border-radius: 14px;
    cursor: pointer;
}
.label_tag input[type="radio"] + span {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    margin: auto;
}
.label_tag input[type="radio"]:checked + span {
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-radius: 14px;
    font-family: 'SUIT', sans-serif;
    background: var(--normal-red);
    color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.25);
}



/* 이벤트 */
.eventboard h2 {
    font-size: 30px;
    font-weight: 700;
    color: #111;
    line-height: 54px;
    margin-bottom: 20px;
}

.event {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.e_box {
    width: 49%;
    max-width: 588px;
    margin-bottom: 50px;
}
.e_box>div{
    cursor: pointer;

}

.event>div:last-child {
    margin-left: 0;
}
.e_box img{
    max-width: 100%;
    height: auto;
    width: auto; /* 추가적인 이미지가 찌그러지는 것을 방지 */
    display: block; /* 이미지가 부모 요소의 중앙에 정렬되도록 함 */
    margin: 0 auto;
    cursor: pointer;
    border: 1px solid #dedede;
    border-radius: 20px;
}
.e_tit{
    display: flex;
    justify-content: space-between;
    margin: 20px 1% 0 1%;
}
.e_tit>p:first-child{
    font-size: 18px;
    font-weight: 700;
}
.e_date{
    width: 60px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 15px;
    text-align: center;
}
.e_tex{
    font-size: 16px;
    font-weight: 500;
    color: #5b5b5b;
    margin: 0 1%;
}
.e_ing{
    background: var(--strong-red);
    color: #fff;
}
.e_end{
    background: #000;
    color: #fff;
}





/* 반응형 */
@media (max-width:768px) {

    /* 선택 필터*/
    .label_tag {
        width: 15%;
        height: 43px;
        line-height: 40px;
        font-size: 14px;
        font-weight: 700;
        margin-right: 6px;
    }
    .label_tag input[type="radio"]:checked + span {
        height: 43px;
        line-height: 43px;
    }
    .tag{
    margin-left: 0;
}

    /* 이벤트 */
    .eventboard h2 {
        font-size: 26px;
        margin-bottom: 5px;
    }
    .e_box {
        width: 100%;
        max-width: 708px;
    }

}


@media (max-width:580px) {
    .label_tag input[type="radio"]:checked + span {
        height: 44px;
        line-height: 44px;
    }

    /* 선택 필터*/
    .tag {
        display: flex;
        margin-left: 1%;
        flex-wrap: wrap;
    }
    .label_tag {
        height: 43px;
        line-height: 43px;
        margin-right: 5px;
        margin-top: 1%;
        text-align: center;
    }

    /* 이벤트 */
    .eventboard h2 {
        line-height: 30px;
    }
    .e_tit {
        margin: 10px 1% 0 1%;
    }
    .e_tit>p:first-child {
        font-size: 16px;
    }
    .e_tex{
        font-size: 14px;
    }
    .e_date{
        width: 56px;
        height: 26px;
        line-height: 26px;
        font-size: 14px;
    }
    .e_box{
        margin-bottom: 20px;
    }
}



@media (max-width:480px) {

    /* 선택 필터*/
    .label_tag {
        width: 20%;
        font-size: 13px;
        line-height: 40px;
    }
    .label_tag input[type="radio"]:checked + span {
        height: 40px;
        line-height: 40px;
    }

    /* 이벤트 */
    .eventboard h2 {
        font-size: 20px;
        margin-bottom: 0;
    }
    .e_tit>p:first-child {
        font-size: 14px;
    }
    .e_tex {
        font-size: 12px;
    }
    .e_date {
        width: 48px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
    }
}


@media (max-width:360px) {

    /* 선택 필터*/
    .tag {
        margin-bottom: 12px;
    }

}