@charset "utf-8";

@font-face {
    font-family: 'HallymMjo-Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2204@1.0/HallymMjo-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    display: block;    
}

/* em -> 문자 M을 표시하는 가로폭을 기준, 1em = 16px, 반응형 웹을 쓸 때 사용 */
h1 {
    font-size: 1.8em /* 1.8*16= 28.8px */
}
h2 {
    font-size: 1.3em /* 1.3*16= 20.8px */
}
p {
    font-size: 1.3em;
    line-height: 2.5;
}
li {
    font-size: 1em;
    line-height: 2;
}

body {
    width: 1200px;
    margin: 0 auto; /* 가운데 정렬 */
    border: 1px solid black;
    background-color: #fff;
    font-family: 'HallymMjo-Regular', cursive;
}

header {
    width: 100%;
    height: 500px;
    background: url("../images/header.jpg") center no-repeat;
    background-size: cover; /* cover를 쓰면 이미지를 크기에 맞게 최대한 보이게 한다 */
}

nav {
    height: 50px;
    background-color: #000;
}

#main-nav {
    text-align: center;
    padding: 5px;
}
#main-nav li {
    display: inline-block;
    color: #fff;
    font-size: 1em;
    margin: 5px 40px;
    list-style: none;
}

/* a태그 속성: link(방문전) visited(방문후) hover(마우스오버) active(클릭중)*/
nav a:link {
    color: white;
}
nav a:visited {
    color: white;
}
nav a:hover {
    color: rgb(9, 89, 209);
}
nav a:active {
    color: white;
}
#top a:link,
#top a:visited {
    color: white;
}

/* section 본문 */
section {
    position: relative;
    width: 100%;
    padding: 15px 5% 10px 5%;
}
#map {
    background-color: #eee;
}
#intro, #map, #choice {
    /* -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box; */
    box-sizing: border-box;
    height: 420px;
}
.page-title {
    position: absolute;
    top: 20px;
}

#intro .content,
#map .content,
#choice .content {
    position: absolute;
    /* margin-top: 100px; */
    top: 130px;
    width: 80%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
}
#intro .content,
#map .content {
    flex-direction: row;
}
#choice .content {
    flex-direction: row-reverse;
}

.text {
    width: 40%;
}
.photo img {
    max-width: 320px;
    height: auto;
}

#choice .content ol {
    margin-top: 20px;
    text-align: justify; /* text 끝부분 정렬 */
}
#choice .photo {
    margin-left: 20px;
}
#choice img {
    border: 1px solid #fff;
    border-radius: 50%;
}

footer {
    width: 100%;    
    height: 100px;
    background-color: #000;
}
footer p {
    line-height: 100px;
    color: #fff;
    text-align: center;
}

/* top 버튼 */
#top {
    position: fixed;
    bottom: 10px;
    right: 12%;
}
.btn-blue {
    border-radius: 50%;
    color: #fff;
    background-color: #000;
    border: 1px solid white;
    width: 35px;
    height: 35px;
}


/* 버튼을 추가한다면?
#bottom {
    position: fixed;
    top: 10px;
    right: 12%;
}
.btn-red {
    border-radius: 50%;
    color: #fff;
    background-color: #000;
    border: 1px solid white;
    width: 35px;
    height: 35px;
} */