/*
웹 글꼴 로드
*/
@font-face {
    font-family: 'Cafe24Oneprettynight';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.1/Cafe24Oneprettynight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@import url('//cdn.jsdelivr.net/font-iropke-batang/1.2/font-iropke-batang.css');
@import url(//fonts.googleapis.com/earlyaccess/nanummyeongjo.css);

/*
전역 설정
*/
html, body {
    min-height: 100%;
}

body {
    font-family: 'Cafe24Oneprettynight', 'Iropke Batang', 'Nanum Myeongjo', serif;
    margin: 0;
    color: white;
    background-size: cover;
    background-repeat: no-repeat;
}
a {
    text-decoration: none;
    color: white;
}
header {
    position: fixed;
    height: 4.5em;
    background-color: rgba(0,0,0,0.7);
    width: 100%;
    top: 0;
}
footer {
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    font-size: 1.2em;
    position: fixed;
    bottom: 0;
}
footer p {
    padding: 0 1em; 0 0;
}
main {
    width: 100%;
    margin-top: 4.5em;
    margin-bottom: 4em;
    overflow: auto;
}
section {
    display: none;
}
img {
    transition: transform 0.3s;
}
img:hover {
    transform: scale(1.5, 1.5);
}
/* 
특정 글꼴 설정
*/
.iropke {
    font-family: 'Iropke Batang', serif;
}

/* 
상단 메뉴 관련 공통 CSS
*/
.menu {
    position: fixed;
    top: 1em;
    right: 0;
    list-style-type: none;
    padding: 0 1em; 0 0;
}
.menu li {
    display: inline;
    padding-left: 10px;
    font-size: 1.8em;
}
.logo {
    position: fixed;
    top: 0.3em;
    left: 0.2em;
    font-size: 3em;
    color: #FFD579;
    text-shadow: 3px 3px 5px #FFD579;
}
#play {
    display: inline;
}
#stop {
    display: none;
}

/*
본문 문단 상/하 관련 CSS
*/
.up {
    display: inline-block;
    background-color: rgba(0,0,0,0.7);
    border-radius: 10px;
    margin: 1em 1em 1em 1em;
    padding: 1em;
    font-size: 1.5em;
    float: left;
}
.down {
    display: inline-block;
    background-color: rgba(0,0,0,0.7);
    border-radius: 10px;
    margin: 1em 1em 1em 1em;
    padding: 1em;
    font-size: 1.5em;
    float: right;
}
.horizontalLine {
    display: inline-block;
    width: 100%;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

/* 정보 메뉴*/
#info {
    display: none;
    background-color: rgba(0,0,0,0.7);
    border-radius: 10px;
    margin: 1em 1em 1em 1em;
    padding: 1em;
    font-size: 1.5em;
    z-index: 100;
}
#info div {
    float: right;
}
#info img {
    float: left;
    margin: 5px;
}
.underlined {
    text-decoration: underline;
}
#infoPlayBtn {
    display: inline;
}
#infoStopBtn {
    display: none;
}

@media screen and (max-width: 395px) {
    .logo {
        font-size: 1.5em;
    }
}