@charset "UTF-8";
:root {
  --c-bg: #fff;
  --c-text: #333;
  --c-section-bg: #fafafa;
  --c-article-bg: #fff;
  --c-article-bg-active: #e0eaff;
  --c-article-text: #000;
  --a-profile-border: 5px solid #222;
  --a-article-border: 3px solid #222;
  --a-img: 1px solid #ddd;
}

:root[color-theme=light] {
  --c-bg: #fff;
  --c-text: #333;
  --c-section-bg: #fafafa;
  --c-article-bg: #fff;
  --c-article-bg-active: #e0eaff;
  --c-article-text: #000;
  --a-profile-border: 5px solid #222;
  --a-article-border: 3px solid #222;
  --a-img: 1px solid #ddd;
}

:root[color-theme=dark] {
  --c-bg: #555;
  --c-text: #fff;
  --c-section-bg: #333;
  --c-article-bg: #222;
  --c-article-bg-active: #30373f;
  --c-article-text: #fff;
  --a-profile-border: 5px solid #fefefe;
  --a-article-border: 3px solid #eee;
  --a-img: 1px solid #333;
}

/* ---------- 공통 적용 ---------- */
body {
  background: var(--c-bg);
}

main {
  width: 100%;
  min-width: 380px;
}

section {
  width: 100%;
  min-width: 380px;
  margin: 0 auto;
  background: var(--c-section-bg);
}

figure {
  width: 100%;
  height: 100vh;
  max-height: 1280px;
  background: #000;
  overflow: hidden;
  position: relative;
}
figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  position: absolute;
}
figure .figure-text {
  width: 100%;
  position: absolute;
}
figure .figure-text h1 {
  margin-bottom: 20px;
  text-align: center;
  color: #79C;
}
figure .figure-text p {
  margin-bottom: 60px;
  text-align: center;
  color: #CEF;
}

#post-container {
  clear: both;
  margin: 0 auto;
  padding: 100px 0;
  width: 90%;
}
#post-container article {
  border: var(--a-article-border);
  background: var(--c-article-bg);
  padding: 10px;
  border-radius: 10px;
  transition: all 0.3s;
  position: relative;
}
#post-container article h2 {
  margin-bottom: 10px;
  font-size: 1.4em;
  line-height: 1.4em;
  word-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
#post-container article h2 a {
  color: var(--c-article-text);
}
#post-container article p {
  color: var(--c-article-text);
  font-size: 1.2em;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.2;
  height: 3.6em;
  text-align: left;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
#post-container article .pic {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: var(--a-img);
  min-width: 110px;
}
#post-container article .pic img {
  width: 100%;
}
#post-container article .pic .no-img {
  height: 100%;
}
#post-container article:hover {
  background-color: var(--c-article-bg-active);
  cursor: pointer;
}

h1, span, a {
  color: var(--c-text);
}

/* ---------- media ---------- */
@media (max-width: 780px) {
  section {
    max-width: 780px;
  }
  figure {
    height: 100%;
    min-height: 250px;
  }
  figure .figure-text {
    top: 30%;
    left: 50%;
    transform: translate(-50%, 0%);
  }
  figure .figure-text h1 {
    font-size: 30px;
  }
  figure .figure-text p {
    font-size: 20px;
    line-height: 20px;
  }
  #profile-container {
    padding-top: 70px;
  }
  #profile-container article > img {
    display: block;
    border: var(--a-profile-border);
    margin: 0 auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
  }
  #profile-container article > h1 {
    text-align: center;
    margin: 20px auto;
    font-size: 20px;
  }
  #profile-container article > ul {
    padding: 10px 0 10px 20px;
    width: 60%;
    max-width: 380px;
    margin: 10px auto;
    border-left: var(--a-article-border);
  }
  #profile-container article > ul li {
    text-align: left;
    line-height: 2em;
  }
  #profile-container article > ul li span {
    font-size: 1em;
  }
  #profile-container article > ul li:last-child {
    border: none;
  }
  #post-container h1 {
    color: var(--c-text);
    text-align: center;
    padding-top: 50px;
    padding-bottom: 20px;
  }
  #post-container .wrap-top, #post-container .wrap-new {
    width: 100%;
    height: 150px;
    margin: 0 auto;
  }
  #post-container .wrap-top .top-post, #post-container .wrap-top .new-post, #post-container .wrap-new .top-post, #post-container .wrap-new .new-post {
    width: 100%;
    height: 100%;
  }
  #post-container .wrap-top .top-post-pic, #post-container .wrap-top .new-post-pic, #post-container .wrap-new .top-post-pic, #post-container .wrap-new .new-post-pic {
    float: left;
    width: 25%;
    height: 100%;
  }
  #post-container .wrap-top .top-post-text, #post-container .wrap-top .new-post-text, #post-container .wrap-new .top-post-text, #post-container .wrap-new .new-post-text {
    float: left;
    width: 60%;
    margin-left: 10px;
  }
  #post-container .wrap-top .top-post-text h2, #post-container .wrap-top .new-post-text h2, #post-container .wrap-new .top-post-text h2, #post-container .wrap-new .new-post-text h2 {
    font-size: 1.3em;
  }
}
@media (min-width: 780px) and (max-width: 1080px) {
  .no-tab {
    display: none;
  }
  section {
    max-width: 1080px;
  }
  figure .figure-text {
    top: 20%;
    left: 50%;
    transform: translate(-50%, -10%);
  }
  figure .figure-text h1 {
    font-size: 40px;
  }
  figure .figure-text p {
    font-size: 25px;
    line-height: 25px;
  }
  #profile-container {
    padding-top: 100px;
  }
  #profile-container article > img {
    display: block;
    border: var(--a-profile-border);
    margin: 0 auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
  }
  #profile-container article > h1 {
    text-align: center;
    margin: 20px auto;
    font-size: 30px;
  }
  #profile-container article > ul {
    padding-top: 5%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  #profile-container article > ul li {
    width: 33%;
    text-align: center;
    border-right: 1px solid #888;
  }
  #profile-container article > ul li span {
    font-size: 1.2em;
  }
  #profile-container article > ul li:last-child {
    border: none;
  }
  #post-container h1 {
    color: var(--c-text);
    text-align: center;
    padding-top: 50px;
    padding-bottom: 20px;
  }
  #post-container .wrap-top {
    width: 100%;
    height: 200px;
    margin: 0 auto;
  }
  #post-container .wrap-top .top-post {
    width: 100%;
    height: 100%;
  }
  #post-container .wrap-top .top-post-pic {
    float: left;
    width: 20%;
    height: 100%;
  }
  #post-container .wrap-top .top-post-text {
    float: left;
    width: 70%;
    margin-left: 5%;
  }
  #post-container .wrap-new {
    clear: both;
    width: 100%;
    height: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  #post-container .wrap-new .new-post {
    width: 30%;
    height: 100%;
    float: left;
  }
  #post-container .wrap-new .new-post-pic {
    width: 100%;
    height: 40%;
    margin-bottom: 10px;
  }
}
@media (min-width: 1080px) {
  section {
    max-width: 2560px;
  }
  figure {
    height: calc(90vh - 100px);
  }
  figure .figure-text {
    top: 20%;
    left: 50%;
    transform: translate(-50%, -10%);
  }
  figure .figure-text h1 {
    font-size: 50px;
  }
  figure .figure-text p {
    font-size: 30px;
    line-height: 30px;
  }
  #profile-container {
    padding-top: 100px;
    max-width: 1680px;
    margin: 0 auto;
  }
  #profile-container article > img {
    display: block;
    border: var(--a-profile-border);
    margin: 0 auto;
    width: 350px;
    height: 350px;
    border-radius: 50%;
  }
  #profile-container article > h1 {
    text-align: center;
    margin: 20px auto;
    font-size: 3em;
  }
  #profile-container article > ul {
    padding-top: 5%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  #profile-container article > ul li {
    width: 33%;
    text-align: center;
    border-right: 1px solid #888;
  }
  #profile-container article > ul li span {
    font-size: 2em;
  }
  #profile-container article > ul li:last-child {
    border: none;
  }
  #post-container {
    max-width: 1500px;
  }
  #post-container h1 {
    color: var(--c-text);
    text-align: center;
    padding-top: 50px;
    padding-bottom: 20px;
  }
  #post-container .wrap-top {
    width: 100%;
    height: 200px;
    margin: 0 auto;
  }
  #post-container .wrap-top .top-post {
    width: 100%;
    height: 100%;
  }
  #post-container .wrap-top .top-post-pic {
    float: left;
    width: 20%;
    height: 100%;
  }
  #post-container .wrap-top .top-post-text {
    float: left;
    width: 70%;
    margin-left: 5%;
  }
  #post-container .wrap-new {
    clear: both;
    width: 100%;
    height: 350px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  #post-container .wrap-new .new-post {
    width: 20%;
    height: 100%;
    float: left;
  }
  #post-container .wrap-new .new-post-pic {
    width: 100%;
    height: 40%;
    margin-bottom: 10px;
  }
  .wrap::after {
    content: "";
    display: block;
    clear: both;
  }
}

/*# sourceMappingURL=index.css.map */
