@charset "utf-8";

@import "global.css";

footer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background-color: #d9d9d9;
  position: relative;
  color: #404040;
}

footer div.container {
  min-height: var(--footer-height-mobile);
  padding: 20px;
  position: relative;
}

@media only screen and (min-width: 1280px) {
  footer div.container {
    width: var(--desktop-max-width);
    min-height: var(--footer-height-desktop);
    padding: 20px 0;
  }
}

footer div.container div.logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

footer div.container div.logo img {
  cursor: pointer;
}

footer div.container div.contact-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  gap: 20px;
  margin-top: 15px;
}

@media only screen and (min-width: 1280px) {
  footer div.container div.contact-wrapper {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }
}

footer div.container div.contact-wrapper div.contact-col {
  display: flex;
  flex-direction: column;
  align-items: space-between;
  justify-content: flex-end;
  gap: 5px;
}

footer div.container div.contact-wrapper div.contact-col div.contact {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  color: #404040;
}

@media only screen and (min-width: 1280px) {
  footer div.container div.contact-wrapper div.contact-col div.contact {
    align-items: center;
  }
}

footer div.container div.contact-wrapper div.contact-col div.contact a,
footer div.container div.contact-wrapper div.contact-col div.contact p {
  font-size: 15px;
  color: #404040;
  font-weight: 400;
}

@media only screen and (min-width: 1280px) {
  footer div.container div.contact-wrapper div.contact-col div.contact a,
  footer div.container div.contact-wrapper div.contact-col div.contact p {
    font-size: 16px;
  }
}

footer div.container div.contact-wrapper div.contact-col div.contact p strong {
  font-weight: 700;
  cursor: pointer;
}

/* 스크롤 버튼 */
footer div.scroll {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: var(--scroll-z-index);
}

@media only screen and (min-width: 1280px) {
  footer div.scroll {
    bottom: 120px;
    right: 120px;
    width: 60px;
    height: 60px;
  }
}

footer div.scroll img {
  width: 100%;
  height: 100%;
}
