@font-face {
  font-family: "AppleSDGothicNeoR";
  src: url("../fonts/AppleSDGothicNeoR.ttf");
}

@font-face {
  font-family: "LINESeedKR-Bd";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.0/LINESeedKR-Bd.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "LINESeedKR-Rg";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.0/LINESeedKR-Rg.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Humanbumsuk";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2210-2@1.0/Humanbumsuk.woff2")
    format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "GmarketSansMedium";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}
html {
  font-family: "LINESeedKR-Bd";
  scroll-behavior: smooth;
}

.actionBar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 40px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(0, 0, 0);
  z-index: 3;
}

.sticky {
  display: flex;
  width: 100%;
  justify-content: right;
}
.sticky a {
  margin-right: 25px;
  color: white;
}

.header {
  position: relative;
  height: 50vh;
  margin: 0;
  display: flex;
  justify-content: center; /* 가로로 중간(왼쪽오른쪽, 중심축) */
  align-items: center; /* 세로로 중간(위아래, 교차축) */
  flex-direction: column;
  max-width: 768px;
  margin: 0 auto;
}
.header::after {
  margin: 0 auto;
  max-width: 768px;
  width: 100%;
  height: 50vh;
  position: absolute;
  content: "";
  border-bottom: 2px solid black;
  /* background-image: url("https://live.staticflickr.com/65535/50671050453_08518bc72b_o.jpg"); */
  background-image: url("https://www.urbanbrush.net/web/wp-content/uploads/edd/2022/11/urbanbrush-20221113074333634819.jpg");
  /* background-image: url("https://img.theqoo.net/proxy/https://i.imgur.com/rRJ7jyi.gif"); */
  /* background-image: url("https://blogpfthumb-phinf.pstatic.net/MjAyMzAxMThfMTYy/MDAxNjc0MDIyODA3NjM2.abHtg7N8qmkEUl77sj4xca6rTohPK9PUJxDeTSBb7pYg.ME1OxBn89JqLKv5_BsBUA9zHiFBa8YioqQXOnAeSRxAg.JPEG.rotide622/EA2F5689-FEF0-4964-A4E2-5B04F6512782.jpeg/EA2F5689-FEF0-4964-A4E2-5B04F6512782.jpeg"); */
  /* background-image: url("https://blog.kakaocdn.net/dn/nlmhe/btqS4Ns8CPX/vwwWSIjUsyN6UWWwJwiQfk/img.gif"); */
  /* background-image: url("https://thumbs.gfycat.com/AdvancedBrokenCanary-size_restricted.gif"); */
  /* background-image: url("https://i.pi+nimg.com/originals/6c/e7/77/6ce7775b0fedd09a1c9fff72a80c94e8.gif"); */
  /* background-image: url("https://p4.wallpaperbetter.com/wallpaper/954/691/788/iu-iu-lee-ji-eun-hd-wallpaper-preview.jpg"); */
  /* background-image: url("https://mblogthumb-phinf.pstatic.net/MjAxNzA0MDFfMTkx/MDAxNDkxMDQ1NTk4NTUy.bBXzhdbV9zUKaPi8wr-p-i9hl1H7pZcVox6Zh2JM41Eg._LcGX-e5QFtxBNJOm_IX7CfFRGQQUic1IeEzFXegSFIg.GIF.grace4088/25030C3E58DD0F34316B78.gif?type=w800"); */
  /* background-image: url("https://images.ctfassets.net/lzny33ho1g45/think-like-a-programmer-p-img/c9e2b67c2a3ade9db1414dfd06cf2a24/file.png?w=1520&fm=jpg&q=30&fit=thumb&h=760"); */
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: -1;
}

.header h1 {
  font-size: 80px;
  text-align: left;
  margin-left: 7%;
  width: 93%;
  max-width: 768px;
}

.header h4 {
  color: rgb(0, 0, 0);
  position: absolute;
  bottom: 20px;
  -webkit-animation: blink 0.5s ease-in-out infinite alternate;
  -moz-animation: blink 0.5s ease-in-out infinite alternate;
  animation: blink 0.5s ease-in-out infinite alternate;
}
@-webkit-keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

body a {
  color: black;
  text-decoration: none;
}

body {
  margin: 0;
  background-color: white;
}

.main {
  padding: 20px;
  max-width: 768px;
  margin: 0 auto;
}

.contents {
  margin: 0px 10px;
}
.contents p {
  color: gray;
  font-size: small;
}
.contents a {
  color: black;
  text-decoration: none;
}
.contents a:hover {
  text-decoration: underline;
  color: darkslategrey;
}

.content {
  /* background-color: wheat; */
  margin-bottom: 20px;

  /* border-radius: 20px; */
  padding: 15px 0px; /* 세로방향 | 가로방향 */

  border-bottom: 0.5px solid darkslategrey;
}
.content p {
  font-family: "LINESeedKR-Rg";
}

.content-with-image {
  display: flex;
  justify-content: space-between;
  border-bottom: 0.5px solid darkslategrey;
  margin-bottom: 20px;
  align-items: center;

  padding: 1px 0px; /* 세로방향 | 가로방향 */
}
.content-with-image div {
  width: 70%;
}
.content-with-image p {
  font-family: "LINESeedKR-Rg";
}
.content-with-image .img {
  width: 30%;
  height: 25vw;
  max-height: 300px;
  margin: 10px 0px 10px 15px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 10px;
}

footer {
  color: black;
  text-align: center;
  margin-top: 200px;
  width: 100%;
}
footer a {
  color: black;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
  color: darkslategrey;
}

.post-title {
  max-width: 768px;
  display: flex;
  height: 120px;
  width: 90%;
  margin: 0 auto;
  border-bottom: 1px solid rgb(0, 0, 0);
  align-items: flex-end;
  position: relative;
  padding-bottom: 15px;
}
.post-title h1 {
  margin-bottom: 0;
}
.post-title div {
  bottom: -30px;
  right: 0;
  position: absolute;
  float: right;
}
.post-title div a {
  margin: 0 4px;
}
.post-title div a:hover {
  text-decoration: underline;
  color: darkslategrey;
}

.post-content {
  padding: 20px;
  max-width: 768px;
  width: 90%;
  margin: 0 auto;
  font-family: "LINESeedKR-Rg";
}
.post-content p {
  color: #303030;
}
.post-content .date {
  font-family: "LINESeedKR-Bd";
}
.post-content img {
  width: 100%;
  border-radius: 10px;
}
.post-content iframe {
  width: 100%;
  aspect-ratio: 16/9;
}
.post-content a {
  color: purple;
}
.post-content a:hover {
  text-decoration: underline;
  color: purple;
  text-decoration: underline;
}

form #id_title {
  width: 100%;
  margin: 0 auto;
  font-size: 30px;
  font-family: "LINESeedKR-Bd";
  padding: 5px;
  border: 0px;
}
form #id_title:focus {
  outline: none;
}

@media (min-width: 768px) {
  form .detail {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
  }
}

form #id_title_image {
  font-family: "LINESeedKR-Rg";
  margin-top: 10px;
  width: 200px;
}
form p {
  font-size: 15px;
  margin-top: 15px;
  margin-bottom: 0px;
  font-family: "LINESeedKR-Bd";
}
form #id_category {
  margin: 5px 0;
  width: 150px;
  height: 50px;
  font-family: "LINESeedKR-Rg";
  padding: 5px;
  border: 0;
  border-top: 1px solid rgb(0, 0, 0);
  border-bottom: 1px solid rgb(0, 0, 0);
}
form #id_category:focus {
  outline: none;
}

form #id_content {
  width: 100%;
  height: auto;
  margin: 0 auto;
  font-family: "LINESeedKR-Bd";
  padding: 5px;
  border: 0px;
  border-bottom: 1px solid rgb(0, 0, 0);
  resize: none; /* 사용자 임의 변경 불가 */
  overflow: visible;
  font-size: 15px;
}
form #id_content:focus {
  outline: none;
}

form .submit {
  font-family: "LINESeedKR-Bd";
  margin: 30px auto;
  width: 90px;
  height: 40px;
  border-radius: 20px;
  background-color: rgb(0, 0, 0);
  color: white;
  transition: 0.5s;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  border: 0;
}
form .submit:hover {
  transform: scale(95%);
  background-color: black;
}
form .submit:active {
  transform: scale(90%);
  background-color: black;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}
.alert-danger .alert-link {
  color: #6a1a21;
}
.alert {
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.login-container {
  margin: 0 auto;
  max-width: 768px;
  padding: 30px;
}

.mb-3 {
  width: 60%;
  max-width: 600px;
  display: flex;
  margin: 0 auto;
  justify-content: center;
  flex-direction: column;
}

#username {
  font-size: 15px;
  padding: 2px;
}
#password {
  font-size: 15px;
  padding: 2px;
}

#id {
  font-size: 15px;
  padding: 5px;
  border: 0;
  border-bottom: 1px solid rgb(0, 0, 0);
  margin-bottom: 10px;
}
#id:focus {
  outline: none;
}
#pw {
  font-size: 15px;
  padding: 5px;
  border: 0;
  border-bottom: 1px solid rgb(0, 0, 0);
  margin-bottom: 20px;
}
#pw:focus {
  outline: none;
}

code {
  border-radius: 10px;
}
