@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Rubik:wght@700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-image: url(./images/bg_pattern.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a,
a:visited,
a:link {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

.inner {
  width: 1100px;
  margin: 0 auto;
  position: relative;
  margin-top: 5px;
}

/* 헤더 */
header {
  position: fixed !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #333;
  padding: 5px 0 5px 0;
}

header .header__title {
  font-family: "Rubik", sans-serif;
  font-size: 40px;
  font-weight: bold;
  color: rgba(154, 232, 154, 0);
  background-image: url("./images/logo3.PNG");
  background-repeat: no-repeat;
  background-size: contain;
}

header .nav {
  position: absolute;
  top: 10px;
  right: 0;
  display: flex;
}

header .nav a {
  color: #fff;
  font-weight: 800;
}

header .nav a:hover {
  font-size: 18px;
  font-weight: 900;
  color: royalblue;
  transition: 0.3s;
}

.nav ul {
  font-family: "Rubik", sans-serif;
  display: flex;
}

.nav ul li {
  margin-right: 12px;
}

.container {
  height: 2200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.container .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 20px;
}
section.row {
  background-image: url(./images/casionbg.png);
  background-repeat: no-repeat;
  background-size: cover;
  margin: auto -20px;
}

section.row.post {
  background-image: none;
}

/* 배너 */
.banner {
  font-family: "Rubik", sans-serif;
  font-weight: bold;
  color: rgb(154, 232, 154); /* #ffffff or white */
  text-align: center;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.banner__subtitle {
  font-size: 27px;
}

.banner__title {
  font-size: 45px;
  margin: 7px 0;
}
.banner_ppl {
  margin-bottom: 10px;
}
.banner__date {
  font-size: 22px;
}

div.siteCotents {
  font-family: "Rubik", sans-serif;
  font-weight: bold;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 18px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 5%;
  margin-right: 5%;
  line-height: 170%;
  background-color: rgba(245, 245, 245, 0.374);
}

.redBold {
  color: red;
  font-weight: 800;
}
.greedBold {
  color: rgb(15, 223, 178);
  font-weight: 800;
}
.jamongBold {
  color: rgb(192, 79, 79);
  font-size: 25px;
  font-weight: 900;
}

/* 포스트 */
.post {
  margin-top: 10px;
  row-gap: 10px;
  text-align: center;
}

.post__item {
  font-family: "Rubik", sans-serif;
  text-align: center;
  align-items: center;
}
.post__item img:hover {
  transition: 0.5s;
  transform: scale(1.4);
  z-index: 12;
}

.post__item img {
  width: 300px;
  height: 100px;
  display: block;
}

.post__title {
  font-size: 22px;
  font-weight: 900;
  margin: 10px 0 8px 0;
  color: #b8b0e8;
}

.post__type {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}
/* 컨텐츠 영역 */
.contents {
  margin-top: 10px;
  margin-left: 20%;
  margin-right: 20%;
  margin-bottom: 10%;
  letter-spacing: 0.2px;
  word-spacing: 0.4px;
  line-height: 30px;
}
.contents div {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  margin-top: 15px;
  margin-bottom: 15px;
}
.contents h1 {
  color: #c9c9c9;
  font-size: 40px;
  font-weight: 800;
}
.contents .contentsInner {
  font-weight: 600;
  font-size: 20px;
  color: rgb(163, 216, 164);
}

/* 푸터 영역 */
.footer {
  position: fixed;
  bottom: 0%;
  left: 0;
  right: 0;
  margin-top: 87px;
  height: 40px;
  background-color: #333333ac;
  font-weight: bold;
  color: white;
}

.footer > div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer p {
  font-family: "Lora", serif;
  font-size: 16px;
  color: #c9c9c9;
}

@media screen and (max-width: 680px) {
  .header__title {
    font-size: 30px;
  }
  .banner {
    height: 400px;
    color: #cef2f8;
  }
  .banner__subtitle {
    font-size: 18px;
  }
  .banner__title {
    font-size: 25px;
  }
  .banner__date {
    font-size: 16px;
  }
}

@media screen and (max-width: 999px) {
  header {
    z-index: 10;
  }

  header .header__title {
    margin-left: 5%;
  }

  div.siteCotents {
    margin: 5px;
    font-size: 12px;
  }

  div .contents {
    margin-right: 20px;
    margin-left: 20px;
  }

  .contents h1 {
    margin-top: 0px;
    font-size: 30px;
    font-weight: 700;
  }
  .contents .contentsInner {
    font-weight: 500;
    font-size: 15px;
  }

  /* 포스트 */
  .post {
    margin-top: 5px;
    row-gap: 5px;
  }

  .post__item {
    transform: scale(0.7);
    margin: -20px -30px -20px -30px;
  }

  .container .row {
    column-gap: 0px;
  }
}

@media screen and (max-width: 558px) {
  div.siteCotents {
    margin-bottom: 15px;
    font-size: 13px;
  }
  section.row.post {
    margin: auto -30px;
    padding-left: 0px;
  }

  .post__item {
    margin: auto -75px;
    transform: scale(0.4);
    margin-top: -40px;
    margin-bottom: -40px;
  }

  .post__title {
    transform: scale(1.5);
    font-weight: 200px;
  }

  .post__type {
    margin: auto;
    transform: scale(1.5);
    font-weight: 200px;
    margin-top: 20px;
  }

  .container .row {
    column-gap: 10px;
    padding: -20px;
  }

  .post__item img {
    transform: scale(1.2);
    margin-bottom: 25px;
    margin-top: -20px;
  }

  .post__item img:hover {
    transition: 0.5s;
    transform: scale(1.3);
    z-index: 12;
  }

  header .header__title {
    transform: scale(0.5);
  }

  header .nav a {
    font-size: 12px;
  }
}
