@font-face {
    font-family: 'NEXON Lv2 Gothic';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv2 Gothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.btm-wrapper {
    /* 여기에 btm-wrapper에 대한 공통 스타일을 넣을 수 있습니다. */
    font-size: 1.2em;
}

.btm-wrapper:before {
    display: block;
    content: "";
    border-top: 1px solid #c5c5c5;
    margin-top: 30px;
    margin-bottom: 30px;
}

.btm-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'NEXON Lv2 Gothic';
}

.btm-wrapper a {
    text-decoration: none;
    color: #fff;
}

.btm-wrapper a:hover {
    color: #3ebb3a;
}

.btm-wrapper .inline-p {
    color: #333;
    font-weight: bold;
}

.btm-wrapper .inline-p:hover {
    color: #da2121;
}

.btm-wrapper .inline-h3 {
    color: #fff;
}

.btm-wrapper .inline-h3:hover {
    color: #333;
    font-weight: bold;
}

.btm-wrapper body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.btm-wrapper header {
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.btm-wrapper li {
    text-decoration: none;
}

.btm-wrapper .left {
    text-align: left;
}

/* Main Content */
.btm-wrapper .content-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 1.2em;
}

/* Main Image Section */
.btm-wrapper .main-img-container {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    overflow: hidden;
    max-height: 250px;
    border-radius: 10px;
}

.btm-wrapper .main-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.btm-wrapper .blur-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    backdrop-filter: blur(4px);
    z-index: -1;
    border-radius: 10px;
}

.btm-wrapper .main-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* background-color: #0000003b;
    border-radius: 6px; */
}

.btm-wrapper .main-text-container h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
}

.btm-wrapper .main-text-container p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.btm-wrapper .damca-btn {
    padding: 15px 30px;
    background-color: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btm-wrapper .damca-btn:hover {
    background-color: #e63939;
}

/* Main Box 2 */
.btm-wrapper * {
    margin: 0;
}

.btm-wrapper body {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: auto;
}

.btm-wrapper h3 {
    margin-bottom: 2em;
}

.btm-wrapper #main-box-2 {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    /* position: relative; 그라데이션 쓸때 */
    border-top: 5px solid red;
}

/* #main-box-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px; 
    background: linear-gradient(to right, red, orange); 
    border-radius: 10px 10px 0 0;
} */
.btm-wrapper .main-content-title {
    text-align: center;
}

.btm-wrapper .main-content-title h2 {
    font-size: 2.2em;
    margin: 15px 0 20px 0;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    word-break: auto-phrase;
}

.btm-wrapper .main-content-para {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    font-size: 1.2em;
}

.btm-wrapper .content-img-wrapper {
    float: right;
    width: 250px;
    height: 250px;
    margin-left: 20px;
    object-fit: cover;
}

.btm-wrapper .asd {
    max-height: 300px;
    object-fit: cover;
    overflow: hidden;
    text-align: center;
    margin-bottom: 20px;
}

.btm-wrapper .asd img {
    height: 100%;
    border-radius: 6px;
}

.btm-wrapper .content-img-wrapper img {
    max-width: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .btm-wrapper .main-content-para {
        /* display: flex; */
        flex-direction: column;
    }

    .btm-wrapper .content-img-wrapper {
        float: none;
        width: 100%;
        object-fit: cover;
        margin-left: 0;
        text-align: center;
        margin-bottom: 3em;
    }

    .btm-wrapper .asd img {
        width: 80%;
    }
}

.btm-wrapper .main-box-2-1-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 10px;
    margin: 1.5em 0 2em 0;
}

.btm-wrapper .box-2-1-container {
    border-radius: 6px;
    background-color: #fad45642;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1em;
}

.btm-wrapper .main-box-2-1-content {
    text-align: center;
    padding: 15px;
}

.btm-wrapper .main-box-2-title p {
    font-size: 1.1em;
    color: #3d3c3c;
    font-weight: bold;
}

.btm-wrapper .main-box-2-para p {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff4d4d;
}

/*ribbon*/
.btm-wrapper .ribbon {
    position: relative;
    padding: 0 0.5em;
    font-size: 2em;
    margin: 0 0 1em -0.625em;
    /* line-height: 1.875em; */
    /* color: #e6e2c8; */
    color: #eee;
    border-radius: 0 0.156em 0.156em 0;
    /* background: rgb(123, 159, 199); */
    background: rgb(224, 46, 46);
    box-shadow: -1px 2px 3px rgba(0, 0, 0, 0.5);
    left: -0.25em;
    padding-right: 30px;
    /* width: 65%; */
    display: inline-block;
}

.btm-wrapper .ribbon:before, .btm-wrapper .ribbon:after {
    position: absolute;
    content: '';
    display: block;
}

.btm-wrapper .ribbon:before {
    width: 0.469em;
    height: 117%;
    padding: 0 0 0.438em;
    top: 0;
    left: -0.469em;
    background: inherit;
    border-radius: 0.313em 0 0 0.313em;
}

.btm-wrapper .ribbon:after {
    width: 0.313em;
    height: 0.313em;
    background: rgba(0, 0, 0, 0.35);
    bottom: -0.313em;
    left: -0.313em;
    border-radius: 0.313em 0 0 0.313em;
    box-shadow: inset -1px 2px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .btm-wrapper .ribbon {
        line-height: 0.4em;
        padding: 0.4em 0 0.4em 0;
        margin: 1em 0 1em 0;
        width: 105%;
    }
}

.btm-wrapper .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 40
}

.btm-wrapper .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding-right: 5px;
}

.btm-wrapper .main-2-2-box {
    background-color: #333;
}

.btm-wrapper .main-2-2-title h3 {
    font-size: 0.6em;
    margin: 10px 0 10px 0;
    position: relative;
    left: 0.5em;
    font-weight: bold;
}

.btm-wrapper .main-2-2-para {
    margin-bottom: 2.5em;
    font-size: 1.2em;
}

.btm-wrapper .main-2-2-title h3 .circle {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    /* background-color: #ff4d4d; */
    background-color: #333333;
    border-radius: 50%;
}

/* Intro Section */
.btm-wrapper .intro {
    text-align: center;
    margin-bottom: 40px;
    word-break: auto-phrase;
}

.btm-wrapper .intro h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.btm-wrapper .color-red {
    color: #ff4d4d;
}

/* Info Container */
.btm-wrapper .info-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.btm-wrapper .info-container h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
}

.btm-wrapper .info-container-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.btm-wrapper .info-wrap {
    flex: 1;
    min-width: 250px;
    text-align: center;
    p {
        text-align: left;
    }
}

.btm-wrapper .img-wrap img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
}

.btm-wrapper .info-text h3 {
    font-size: 1.4em;
    margin: 15px 0;
}

.btm-wrapper .info-text p {
    color: #666;
}

/* Main Box 1 */
.btm-wrapper #main-box-1 {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    p {
        text-align: left;
        font-size: 1.1em;
    }
}

.btm-wrapper .border-green {
    border-top: 5px solid rgb(87, 207, 117);
}

.btm-wrapper .border-blue {
    border-top: 5px solid rgb(87, 87, 207);
}

.btm-wrapper .border-yellow {
    border-top: 5px solid rgb(219, 221, 82);
}

.btm-wrapper #main-content-1 h2, .btm-wrapper #main-content-2 h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    text-align: center;
}

.btm-wrapper #main-content-2 article {
    margin: 20px 0;
}

.btm-wrapper #main-content-2 h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* Footer */
.btm-wrapper footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
    color: #666;
}

@media (max-width: 768px) {
    .btm-wrapper .main-text-container h1 {
        font-size: 2em;
    }

    .btm-wrapper .main-text-container p {
        font-size: 1em;
    }

    .btm-wrapper .main-box-2-1-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

    .btm-wrapper .info-container-inner {
        flex-direction: column;
    }

    .btm-wrapper .content-5-item {
        flex-direction: column;
    }

    .btm-wrapper .reverse {
        flex-direction: column-reverse;
    }
}

.btm-wrapper #main-box-5 {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.btm-wrapper .img-container {
    min-width: 250px;
    text-align: center;
}

.btm-wrapper .img-container img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btm-wrapper .content-5-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.btm-wrapper .content-5-desc {
    background-color: #ffffff88;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btm-wrapper .content-5-title {
    margin-bottom: 20px;
}

.btm-wrapper .qna-container {
    margin-bottom: 1em;
}

.btm-wrapper .qna-container h2 {
    font-weight: bold;
}

.btm-wrapper .item-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    display: flex;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
}

.btm-wrapper .item-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btm-wrapper .item-img {
    max-width: 70px;
    max-height: 70px;
    margin-right: 20px;
    flex: 1;
}

.btm-wrapper .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .btm-wrapper .item-img {
        min-width: 50px;
    }

    .btm-wrapper {
        /* 여기에 btm-wrapper에 대한 공통 스타일을 넣을 수 있습니다. */
        font-size: 0.9em;
    }

    .btm-wrapper .content-wrapper {
        padding: 0.5em;
    }

    .btm-wrapper #main-box-2 {
        padding: 6px;
    }
}

.btm-wrapper .item-content {
    border-left: 1px solid rgb(180, 180, 180);
    /* margin-left: 20px; */
    padding-left: 20px;
    flex: 2;
    h3 {
        margin-bottom: 0.3em;
        font-weight: bold;
    }

    p {
        line-height: 20px;
        font-size: 1.1em;
    }
}
