.footer {
  background-color: #021738;
  width: 100%;
  height: 228px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  position: relative;
}

.footer a {
	color: #fff;
	text-decoration: unset;
	font-weight: bold;
}

.footer-top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #1e2b3c;
}

.footer-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-line {
  width: 1171px;
  display: flex;
  flex-direction: row;
  list-style-type: none;
}

.top-item {
  margin: 12px 0px 12px 0px;
}

.top-item-left {
  padding: 0px 19px 0px 0px;
}

.top-item-center {
  padding: 0px 19px 0px 19px;
  border: solid;
  border-width: 0px 1px 0px 1px;
  border-color: #a4a4a4;
}

.top-item-right {
  padding: 0px 0px 0px 19px;
}

.bottom-line {
  width: 1171px;
  display: flex;
  flex-direction: row;
  padding: 32px 0px 32px 0px;
}

.bottom-desc {
  line-height: 1.5;
}

.bottom-desc div:nth-child(3) {
  margin: 0px 0px 20px 0px;
}

.logo-bottom {
  width: 280px;
  height: 72px;
}

@media (max-width: 1171px) {
  .footer {
    height: auto;
  }
  .top-line,
  .bottom-line {
    width: 90%; /* 화면 너비의 90%로 조정 */
  }

  .top-item {
    margin: 8px 0; /* 간격 축소 */
  }

  .top-item-center {
    padding: 0px 19px 0px 19px;
  }

  .bottom-desc {
    font-size: 14px; /* 글씨 크기 축소 */
    line-height: 1.4; /* 줄 간격 조정 */
  }

  .logo-bottom {
    width: 280px;
    height: auto;
  }
}

@media (max-width: 830px) {
  .footer {
    margin-bottom: 65px;
  }

  .top-line,
  .bottom-line {
    width: 90%; /* 화면 너비의 90%로 조정 */
  }
  /* .footer-top {
    border: none;
  } */
  .top-item {
    margin: 16px 0px 16px 0px;
    font-weight: 700;
    font-size: 16px;
  }
  .top-item-left {
    padding: 0px 12px 0px 0px;
  }

  .top-item-center {
    padding: 0px 12px 0px 12px;
    border: solid;
    border-width: 0px 2px 0px 2px;
    border-color: #a4a4a4;
  }

  .top-item-right {
    padding: 0px 0px 0px 12px;
  }

  .bottom-line {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 8px 0px 0px 0px;
  }

  .bottom-desc div {
    font-size: 16px;
    line-height: 2;
  }
  .bottom-desc div:nth-child(4) {
    font-size: 16px;
    line-height: 2;
  }

  .bottom-desc div:nth-child(3) {
    margin: 0px 0px 0px 0px;
  }
}

@media (max-width: 480px) {
  .top-line,
  .bottom-line {
    width: 90%;
  }

  /* .footer-top {
    border: none;
  } */
  .top-item {
    margin: 8px 0px 8px 0px;
    font-weight: 700;
    font-size: 10px;
  }
  .top-item-left {
    padding: 0px 6px 0px 0px;
  }

  .top-item-center {
    padding: 0px 6px 0px 6px;
    border: solid;
    border-width: 0px 2px 0px 2px;
    border-color: #a4a4a4;
  }

  .top-item-right {
    padding: 0px 0px 0px 6px;
  }

  .bottom-desc div {
    font-size: 10px;
    line-height: 26px;
  }
  .bottom-desc div:nth-child(4) {
    font-size: 12px;
    line-height: 26px;
    display: flex;
    align-items: center;
  }

  .logo-bottom {
    width: 200px;
    height: auto;
  }
}
