* {
    margin: 0;
    padding: 0;
}

.section-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#intro-section {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

#intro-container {
    padding-top: 50px;
}

.intro-text {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

#pre-title {
    font-family: 'Untitled-Sans-Regular';
    font-size: 28px;
    line-height: 17px;
}

#main-title {
    font-family: 'PPEiko-Thin';
    font-size: 60px;
    margin:-1px 0;
}

#sub-title {
    font-family: 'NotoSansKR-Thin';
    font-size: 30px;
    line-height: 22px;
}

#intro-footer {
    padding-bottom: 50px;
    color: #fff;
}

.chapter-cover {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 100%;
    cursor: pointer;
}

/*.chapter-cover:hover .chapter-title {
    text-decoration: underline;
    text-decoration: underline solid 1px;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}*/

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

.chapter-title {
    font-family: 'PPEiko-Thin';
    font-size: 35px;
    text-align: center;
    padding: 0 24vh;
    line-height: 32px;
    text-decoration: none;
}

.chapter-title span {
    font-size: 25px;
    font-family: 'NotoSansKR-Thin';
    text-decoration: none;
}

.chapter-meta {
    font-size: 12px;
    font-family: 'Untitled-Sans-Light';
    text-transform: uppercase;
    text-align: center;
}

.chapter-meta span {
    font-family: 'NotoSansKR-Thin';
}

#meta-top {
    padding-top: 17vh;
}

#meta-bottom {
    padding-bottom: 17vh;
}

.chapter-image {
    transition: all 1s;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.chapter-content-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.content-wrapper {
    position: relative;
    height: 100%;
    display: inline-flex;
    justify-content: flex-start;
    flex-shrink: 0;
}

.content-image {
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.content-end {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 100vw;
}

.content-redirect {
    white-space: nowrap;
    font-size: 25px;
    font-family: 'PPEiko-Thin';
    cursor: pointer;
    margin:-17px 0;
    text-align: center;
}

.content-redirect:hover {
    text-decoration: underline;
    text-decoration: underline solid #000 1px;
    text-underline-offset: 5px;
}

#about-intro {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 100%;
}

#person-container {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

#person {
    font-size: 25px;
    font-family: 'PPEiko-Thin';
    line-height: 30px;
}

#person span {
    font-size: 25px;
    font-family: 'NotoSansKR-Thin';

}

.cv {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto 1fr;
    color: #fff;
}

.cv h1 {
    margin-top: 70px;
    text-align: center;
    font-size: 70px;
    font-family: 'PPEiko-Thin';
    grid-row: 1;
}

.cv-center {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cv-wrapper {
    font-size: 16px;
    font-family: 'Untitled-Sans-Light';
}

.cv-wrapper p {
    display: inline-block;
    white-space: pre-wrap;
}

.cv-section {
    font-family: 'Untitled-Sans-Medium';
}

#end-container {
    background-image: url(../data/images/general/end-image.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

#end-container span {
    font-family: 'NotoSansKR-Thin';
}

#menu-container {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    background-color: #fff;
}

#menu-header {
    display: flex;
    justify-content: space-between;
}

.header-item {
    flex: 1;
    display: flex;
    justify-content: left; 
    padding: 10px 20px;
    font-family: 'untitled-sans-light';
}

.header-item:first-child > span { margin-right: auto; }

.header-item:last-child  > span { margin-left: auto;  }

#chapters-wrapper {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    /*margin-left:30px;*/
    overflow: hidden;
    height: auto;
}


.menu-item {
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'untitled-sans-light';
    font-size: 12px;
    text-decoration: none;
   justify-content: left;
   padding-left: 30px;
   padding-right: 30px;
}

.menu-item-second {
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'untitled-sans-light';
    font-size: 12px;
    text-decoration: none;
   justify-content: center;
}

.menu-item-second:hover {
    text-decoration: underline;
    text-decoration: underline solid #000 1px;
    text-underline-offset: 3px;
}

.menu-item:hover {
    text-decoration: underline;
    text-decoration: underline solid #000 1px;
    text-underline-offset: 3px;
}

#content-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    -webkit-justify-content: flex-end;
    align-items: flex-end;
    -webkit-align-items: right;
    padding-bottom: 10px;
    padding-right: 30px;
    font-family: 'untitled-sans-light';
    font-size: 12px;
    text-transform: uppercase;
}

#fullscreen-img {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
}

#fullscreen-offset {
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    bottom: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#close-enlarge {
    position: fixed;
    right: 20px;
    top: 40px;
    width: 60px;
    height: 60px;
}

#error {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #23241E;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    text-align: center;
    z-index: 1000;    
    opacity: 0;
    visibility: hidden;
}

#error h1 {
    font-family: 'PPEiko-Thin';
    line-height: 54px;
    font-size: 50px;
}

#intro-container-second {
    padding-top: 90px;
}