h1 {
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: lighter;
    text-align: right;
    margin-top: 20px;
    margin-right: 40px;
    line-height: 130%;
}

h2 {
    font-size: 60px;
    font-family: "Danfo", serif;
    font-weight: bold;
    margin-top: 10px;
    margin-left: 40px;
    margin-right: 50px;
    line-height: 130%;
}

h3 {
    font-size: 60px;
    font-family: "Danfo", serif;
    font-weight: bold;
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 50px;
    line-height: 130%;
}

#compressedimg {
    height: 30%;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
}




body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    height: 100vh;
}




.section {
    flex: 1;
    overflow-y: auto; /* Enables vertical scrolling */
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
    padding-top: 0px
}





/* section 1 */
#section1 {
    background-color: none;
    border-right: 2px solid black;
}

#sectiontitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 35px;
    font-weight: bold;
    line-height: normal;
    padding-bottom: 30px;
    border-bottom: 2px solid black;
}

#smalltitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: bold;
    padding-top: 10px;
}

#korparagraph {
    word-wrap: break-word;
    line-height: 150%;
    margin-right: 0px;
    padding-bottom: 50px;
    border-bottom: 2px solid black;
    border-bottom-style: dotted;

    font-family: "Noto Sans KR", sans-serif;
    font-size: large;
    font-weight: 380;
    word-break: keep-all; /* Prevents breaking within words in CJK (Chinese, Japanese, Korean) text */
    overflow-wrap: break-word; /* Ensures long words will break and wrap to the next line */
    white-space: normal; /* Default value, allows lines to wrap */
}

#bold {
    font-weight: bold;
}





/* section 2*/
#section2 {
    background-color: none;
    border-right: 2px solid black;
}

#italic {
    word-wrap: break-word;
    line-height: 150%;
    margin-right: 0px;
    color: white;
    background-color: black;
    padding-bottom: 3px;

    font-style: italic;
    font-family: "Noto Sans KR", sans-serif;
    font-size: large;
    font-weight: 600;
    word-break: keep-all; /* Prevents breaking within words in CJK (Chinese, Japanese, Korean) text */
    overflow-wrap: break-word; /* Ensures long words will break and wrap to the next line */
    white-space: normal; /* Default value, allows lines to wrap */
}





/* section 3 */
#section3 {
    background-color: none;
}

#tab-heading {
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 5vh;
    list-style-type: none;
    text-align: center;
    z-index: 999;
    background: none;
    color: black;
    margin-top: 0%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: bold;
    position: sticky;
    box-shadow: 0px 9px 8px -8px rgba(30, 30, 30, 0.3);
    
    padding-block: 20px;
    padding-left: 10px;
    border-bottom: 1px solid black
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.tab-content.show {
    max-height: max-content; /* 충분히 큰 값으로 설정 (내용의 최대 높이) */
}


#tab-heading2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 5vh;
    list-style-type: none;
    text-align: center;
    z-index: 999;
    background: none;
    color: black;
    margin-top: 0%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: bold;
    position: sticky;
    box-shadow: 0px 9px 8px -8px rgba(30, 30, 30, 0.3);
    
    padding-block: 20px;
    padding-left: 10px;
    border-bottom: 1px solid black
}

.tab-content2 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.tab-content2.show {
    max-height: max-content; /* 충분히 큰 값으로 설정 (내용의 최대 높이) */
}


#processimg1 {
    justify-content: center;
    width: 100%;
}

#processimg2 {
    justify-content: center;
    width: 100%;
}

#mark {
    display: flex;
    align-self: right;
    justify-content: right;

}
















/* Remove border from the last section */
.section:last-child {
    border-right: none;
}




/* 화면 비율 - 1024 under */
@media screen and (max-width: 1024px) {
h1 {
    font-size: 12px;
}
h2 {
    font-size: 50px;
}
h3 {
    font-size: 50px;
}

.container {
    display: block;
    height: 100vh;
}

.section {
    flex: 1;
    overflow-y: auto; /* Enables vertical scrolling */
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
    padding-top: 0px
}

#section1 {
    background-color: none;
    border-right: none;
}
#section2 {
    background-color: none;
    border-right: none;
}
#section3 {
    background-color: none;
    border-right: none;
}

#compressedimg {
    height: 24%;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
}

#processimg2 {
    justify-content: center;
    width: 50%;
}
}




/* 화면 비율 - 720 under*/
@media screen and (max-width: 720px) {
#sectiontitle {
    font-size: 30px;
}
#smalltitle {
    font-size: 20px;
}
#tab-heading {
    font-size: 20px;
}
#tab-heading2 {
    font-size: 20px;
}
#korparagraph {
    font-size: medium;
}

#italic {
    font-size: medium;
}

#compressedimg {
    height: 18%;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
}
}




/* 화면 비율 - 430 under*/
@media screen and (max-width: 430px) {
h2 {
    font-size: 40px;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 30px;
}
h3 {
    font-size: 40px;
    margin-top: 20px;
    margin-left: 40px;
    margin-right: 50px;
} 

#processimg2 {
    justify-content: center;
    width: 100%;
}
}