* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 22px;
  font-weight: 500;
  color: #1f2d3d;
  line-height: 1.4545454545;
}

span {
  font-size: 14px;
  font-weight: 400;
  color: #7d858f;
  line-height: 1.5;
}

strong {
  font-size: 22px;
  color: #2860e1;
  line-height: 1.0909090909;
}

strong span {
  font-size: 16px;
  font-weight: 400;
  color: #525d69;
  line-height: 1.5;
}

button {
  display: block;
  width: 28px;
  height: 28px;
  border: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: transparent;
}

#prev {
  background-image: url(./icon-backward.svg);
}

#next {
  background-image: url(./icon-forward.svg);
}

/* code here */

.card {
  width: 400px;
  padding: 10px;
}
.card-carousel img {
  display: block;
  width: 100%;
  /* 부모 width를 따름 */
  height: auto;
  /* 높이는 비율을 따름 */
}

#prev,
#next {
  position: absolute;
}

.card-carousel {
  position: relative;
}

#prev {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

#next {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.card-content strong {
  display: block;
  text-align: right;
}
