@import url(normalize.css);
@import url(font.css);

/* Basic Style */
body {
  font-family: 'Playfair Display', 'Source Han Serif KR', serif;
  font-size: 15px;
  font-weight: normal;
  line-height: 1.4;
  background-color: #fff;
  color: #202026;
  position: relative;
}

h1, h2, h3, h4, h5 {
  margin: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

.wrapper {
  overflow: hidden;
}

/* Header Style */
header {
  position: relative;
}

header:before {
  display: block;
  position: absolute;
  left: 50%;
  top: -50%;
  z-index: 100;
  content: '';
  height: 380px;
  width: 120%;
  background: #f9f9f9;
  -ms-transform-origin: center center;
  transform-origin: center center;
  transition: all .5s cubic-bezier(.52,.01,.16,1);
  -ms-transform: rotate(-5deg) translate(-50%,-50%);
  transform: rotate(-5deg) translate(-50%,-50%);
  transition-delay: .5s;
  z-index: -1;
}

header h1 {
  padding: 20px;
  font-style: italic;
  font-size: 50px;
  letter-spacing: 1px;
}

.motto {
  position: relative;
  padding: 10px 20px;
  font-size: 20px;
}

.motto:before {
  position: absolute;
  left: 20px;
  top: 0;
  content: '';
  width: 100px;
  height: 1px;
  background: #26c585;
}

/* Nav Style */
nav {
  position: fixed;
  top: 0;
  right: 0;
}

/* Contents Style */
main {
  margin-top: 80px;
}

section {
  padding: 20px;
  margin-bottom: 80px;
}

.section-line {
  display: inline-block;
  width: 50px;
  height: 2px;
  background-color: #e2e0e0;
  color: #26c585;
}

.section-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 50px;
}

.section-title p {
  margin-top: 15px;
}

.contents {
  font-family: 'Karla', 'Source Han Sans KR', sans-serif;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.contents .phrase {
  width: auto;
  max-width: 450px;
  font-size: 14px;
  color: #555;
  padding: 0 10px;
}

.contents .paragraph {
  width: auto;
  max-width: 650px;
  font-size: 14px;
  color: #555;
  padding: 0 10px;
}

/* Footer Style */
footer {
  padding: 20px;
  text-align: center;
}

footer .sns {
  margin-bottom: 20px;
}

footer .sns a {
  margin: 10px;
}
