body {
  background-color: #F4F4F4;
}

pre {
  font-family: 'NanumSquareR', sans-serif;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.main-container {
  padding-top: 160px;
}

@media screen and (max-width: 767px) {
  .main-container {
    padding-top: 70px;
  }
}

.main {
  position: relative;
  left: 0;
  top: 0;

  background-color: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}

@keyframes fade_in_bottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes fade_in_left {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

.post {
  position: relative;
  width: 1200px;
  min-height: 800px;
  margin: 0 auto;

  font-size: 16px;
}

.post__image {
  position: absolute;
  top: 50px;
  left: 0;
  width: 450px;
  height: 675px;

  box-shadow: 5px 5px 5px rgba(0, 0, 0, .2);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  animation-name: fade_in_left;
  animation-duration: 1s;
}

.post__flex {
  position: relative;
  width: 1200px;
  padding: 60px 0 60px 500px;
}

.post__s1 {
  animation-name: fade_in_bottom;
  animation-duration: .5s;
}

.post__title {
  width: 80%;

  font-family: 'NanumSquareB', sans-serif;
  font-size: 2em;
  word-wrap: break-word;
  word-break: keep-all;
}

.post__author {
  padding-top: 1em;
  color: black;
  text-decoration: none;
  line-height: 160%;
}

.post__author > a {
  color: black;
  text-decoration: none;

  transition: all .2s;
}

.post__author > a:hover {
  color: #77C7C2;
}

.post__illustrator {
  color: black;
  text-decoration: none;
  line-height: 160%;
}

.post__release {
  color: black;
  text-decoration: none;
  line-height: 160%;
}

.post__category {
  padding-top: 1em;
  word-wrap: break-word;
}

.post__category > a {
  padding-right: .3em;

  font-family: 'NanumSquareB', sans-serif;
  color: #77C7C2;
  text-decoration: none;

  transition: all .2s;
}

.post__category > a:hover {
  color: #246964;
}

.post__tags {
  padding-top: .3em;
  word-wrap: break-word;
}

.post__tags > a {
  padding-right: .3em;

  font-family: 'NanumSquareB', sans-serif;
  color: #77C7C2;
  text-decoration: none;
}

.post__tags > a:hover {
  color: #246964;
}

.post__s2 {
  padding-top: 2em;

  animation-name: fade_in_bottom;
  animation-duration: 1s;
}

.post__detail {
  color: black;
  line-height: 130%;
}

.post__detail2 {
  padding: 24px;
  margin: 36px 0;

  background-color: #D2ECEA;
  border-radius: 10px;

  color: #246964;
  text-align: center;
  line-height: 160%;
}

.post__s3 {
  animation-name: fade_in_bottom;
  animation-duration: 1s;
}

.post__detail3 {
  color: black;
  line-height: 2em;
}

.post__hyperlink {
  word-wrap: break-word;
}

.post__hyperlink > a {
  display: block;
  margin: 0;

  color: #77C7C2;
  text-decoration: none;
  line-height: 2em;

  transition: all .2s;
}

.post__hyperlink > a:hover {
  color: #246964;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .post {
    width: 768px;
    min-height: 500px;
  }

  .post__title {
    width: 100%;
  }

  .post__image {
    width: 300px;
    height: 450px;
  }

  .post__flex {
    width: 768px;
    padding: 60px 0 60px 370px;
  }
}

@media screen and (max-width: 767px) {
  .post {
    width: 100vw;
    min-height: 0;

    font-size: 3.2vw;
  }

  .post__title {
    width: 100%;

    font-size: 1.5em;
    word-break: break-all;
  }

  .post__image {
    position: absolute;
    top: 8vw;
    left: 5vw;
    width: 40vw;
    height: 60vw;

    box-shadow: 5px 5px 5px rgba(0, 0, 0, .2);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .post__flex {
    width: 100vw;
    padding: 68vw 5vw 0 5vw;
  }

  .post__s1 {
    position: absolute;
    top: 8vw;
    left: 50vw;
    width: 45vw;
    height: 60vw;
    overflow-y: auto;
  }

  /*
  .post__s3 {
    position: absolute;
    top: 40vw;
    left: 50vw;
    width: 45vw;
    height: 28vw;

    overflow-y: auto;
  }
  */

  .post__s3 {
    padding-bottom: 1rem;
  }

  .post__detail3 {
    color: #585858;
    line-height: 1.5em;
  }

  .post__hyperlink > a {
    display: block;
    margin: 0;

    color: #0D988E;
    text-decoration: none;
    line-height: 1.5em;
  }
}
