/* 기본 스타일 정의 */
@font-face {
  font-family: "Pretendard-Regular";
  src: url("https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff")
    format("woff");
  font-weight: 400;
  font-style: normal;
}

/* global  */

:root {
  /* 색상 */
  --primary-color: #00a5ae;
  --secondary-color: #f19800;
  --accent-color: #e63946;
  --border-gray: #eee;
  --primary-light-color: #e5eff3;
  --basic-color: #282828;

  /* 사이즈 */
  --nav-height: 96px;
  --max-width: 1200px;
  --subImg-height: 300px;
}

* {
  font-family: "Pretendard-Regular";
  color: var(--basic-color);
}

body {
  overflow-x: hidden;
}
header {
  position: relative;
  background-color: #fff;
}

main {
  top: var(--nav-height);
  margin-top: 50px;
}

nav {
  height: var(--nav-height);
}

section {
  margin: 50px 0;
}
legend {
  display: none;
}
fieldset {
  padding: 10px;
  border: none;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  padding: 12px;
  text-align: center;
}
h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 12px;
}
a {
  display: inline-block;
}
.main-logo-btn,
.main-logo {
  width: 200px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0 12px;
}

.flex {
  display: flex;
}

.point {
  color: var(--secondary-color);
}

.text-01 {
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
}
.text-02 {
  font-size: 20px;
  line-height: 28px;
}

.text-03 {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.item-left {
  display: flex;
  align-items: flex-start;
}

.menu-icon {
  width: 30px;
  height: 30px;
}

.border-b {
  border-bottom: 1px solid var(--border-gray);
}

.btn {
  padding: 20px;
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  color: #fff;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  text-align: center;
}

.btn.link {
  text-align: center;
  width: 30%;
}

.btn:active {
  transform: scale(0.95);
}

.btn:hover,
.btn.selected {
  border: 1px solid var(--secondary-color);
  background-color: #fff;
  color: var(--secondary-color);
}

/* 메인페이지 */
.download-svg {
  width: 20px;
  height: 20px;
}
.nav-section {
  display: flex;
  justify-content: space-between;
}
.nav-btn-group {
  display: flex;
}
.nav-btn-item {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  align-content: center;
  padding: 10px;
  font-size: 18px;
  font-weight: 700;
}

.nav-btn-item.active {
  color: var(--primary-color);
}

.download-link-btn::after {
  content: "";
  background-image: url(./img/download.svg);
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
}
.nav-btn-item:hover,
.nav-btn-item:focus {
  color: var(--primary-color);
}

.download-link-btn:hover::after {
  background-image: url(./img/download-hover.svg);
}

.banner-section {
  display: flex;
  flex-direction: row;
}

.banner-text-group {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 4px;
}

.banner-img-group {
  display: flex;
  width: 70%;
}

.banner-img {
  width: 50%;
}

.download-section {
  padding: 50px;
  background-color: #eee;
  display: flex;
  justify-content: center;
}

.dabonda-release-img {
  width: 100%;
}

.files-img {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
}

.release-span {
  font-size: 40px;
  font-weight: 900;
}

.release-span-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding-top: 30px;
}

.link-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.link-btn {
  width: 40%;
}
.link-btn img {
  width: 100%;
}
/* --메인페이지 */

#page_wrap .btn {
  padding: 0;
  background-color: transparent;
  border: none;
  color: transparent;
  border-radius: 8px;
  transition: none;
  text-align: center;
}

#page_wrap .btn:active {
  transform: none;
}

.btn-section {
  padding: 8px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.badge {
  display: inline-block;
  color: #fff;
  background-color: var(--primary-color);
  padding: 10px;
  border-radius: 15px;
  font-size: 14px;
  text-align: center;
}

.select {
  width: 100%;
  height: 100%;
  text-align: center;
}

.hover-img {
  transition: transform 0.3s ease-in-out;
}

.hover-img:hover,
.hover-img:focus {
  transform: scale(2);
}

/* 색상 */

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-white {
  color: #fff;
}

.center {
  text-align: center;
}

/* 공통영역 */
/* NAV */

#nav-fixed {
  position: fixed;
  width: 100%;
  z-index: 10;
  top: 0;
  background-color: #fff;
  box-shadow: 0px 3px 9px 1px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 3px 9px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 3px 9px 1px rgba(0, 0, 0, 0.2);
}

.sitemap-area {
  display: none;
}

.sitemap-area.open {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    136deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(136, 218, 255, 1) 100%
  );
  z-index: 99;
}
.sitemap-area {
  position: relative;
}

.sitemap-area.open::after {
  content: "";
  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 300px;
  height: 90px;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  width: 200px;
  margin-left: 20px;
}

.logo > a > img {
  width: 180px;
}
.menu-list-area {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: flex-end;
}

.menu-list-group {
  display: flex;
  gap: 80px;
  align-items: center;
  height: var(--nav-height);
}

.sitemap-area .menu-list-group {
  margin-top: var(--nav-height);
  padding: 50px;
  width: 100%;
  position: absolute;
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, 1fr);
}

.sitemap-area .menu-list-area {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  margin-top: 32px;
}

.first {
  height: 100%;
  position: relative;
}

.first > a {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  height: 100%;
  padding: 0px;
  position: relative;
}

.first > a:hover {
  color: var(--primary-color);
}

.pc-two-depth {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #eee;
  background-color: #fff;
  z-index: 999;
}

.first > a:focus + .pc-two-depth,
.first > a:hover + .pc-two-depth {
  display: block;
}

.pc-two-depth > .second > a {
  padding: 16px;
  width: 200px;
  text-align: center;
}

.pc-two-depth > .second > a:hover {
  background-color: #eee;
}

.sitemap-area .pc-two-depth {
  display: block;
  background-color: transparent;
  border: none;
  position: static;
  transform: none;
}
.sitemap-area .pc-two-depth .second > a {
  text-align: left;
  padding: 12px 0;
  width: auto;
}

.sitemap-area .pc-two-depth .second > a:hover {
  color: var(--primary-color);
  background-color: transparent;
}

.sitemap-area .first {
  height: auto;
}

.sitemap-area .first > a {
  height: auto;
  padding-top: 20px;
}

.sitemap {
  width: 24px;
  height: var(--nav-height);
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.btn-sitemap {
  background-image: url(../img/svg/sitemap.svg);
  width: 24px;
  height: 24px;
}

.btn-sitemap.open {
  background-image: url(../img/svg/close.svg);
  width: 24px;
  height: 24px;
}

.btn-sitemap.open:hover {
  transform: rotate(180deg);
  transition: transform 0.7s ease;
}

.nav-menu-list > li > .menu-item:hover {
  border-bottom: 2px solid #fff;
}

.first:hover > a + .pc-two-depth,
.pc-two-depth:hover {
  display: block;
}

/* footer */

footer {
  background-color: #eee;
  padding: 20px;
  margin-top: 30px;
}

footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 30px;
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-list-group {
  border-bottom: 1px solid #cacaca;
  padding: 50px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer-first > a {
  font-weight: 700;
  padding-bottom: 20px;
}

.footer-second > a {
  padding-bottom: 4px;
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  max-width: var(--max-width);
}
.footer-content > img {
  object-fit: contain;
  width: 150px;
}
.ara-info-section {
  font-size: 14px;
}
.footer-link-container {
  display: flex;
  align-items: center;
  width: auto;
  gap: 8px;
  font-size: 14px;
  padding-top: 12px;
}

/* 테이블 */

.table-wrapper {
  width: 100%;
  padding: 8px 0;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}
.table thead {
  border-bottom: 1px solid black;
}
.overflow-x-auto {
  overflow-x: auto;
}
.table thead {
  background-color: #f4f4f4;
}
.table-description {
  padding: 8px 0;
}

/* 서브페이지 */

.content-group {
  width: 100%;
  margin-top: 50px;
}
.content-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  justify-items: center;
  padding: 16px;
  width: 100%;
}

.content-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  padding: 16px;
  width: 100%;
}

.content-grid4 > img {
  width: 100%;
}

.content-box {
  width: 100%;
  display: flex;
  flex-direction: column;

  align-items: center;
}
.content-box > img {
  width: 100%;
}

.content-box > div {
  font-size: 16px;
  font-weight: 400;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  width: 200px;
  text-align: center;
}

.dbd-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dbd-container1 {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dbd-container1 h2 {
  font-size: 32px;
  margin: 0;
  text-align: left;
  color: #000;
}

.dbd-div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 20px;
}

.dbd-content.dbd-img1 {
  flex: 1;
}

.dbd-content.dbd-img1 img {
  max-width: 100%;
  height: auto;
}

.dbd-div p {
  flex: 2;
  margin-left: 20px;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  padding-top: 70px;
}

.dbd-image {
  padding: 0px 20px 40px 20px;
}

.dbd-image2 {
  padding: 10px 20px 10px 20px;
}

.dbd-content.dbd-img2 {
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 20px 0;
}

.dbd-content.dbd-img2 img {
  max-width: 20%;
  height: auto;
}

.dbd-button-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px 0;
}

.icon-container span {
font-size: 18px;
font-weight: 700;
color: #065FAE;
padding-bottom: 5px;
margin-bottom: 0.5rem;
}

.icon-container p {
font-size: 15px;
}

div.dbd-button-container .dbd-btn {
  padding: 15px 25px;
  background-color: #0d539c;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

div.dbd-button-container .dbd-btn:hover {
  background-color: #08396d;
  border-color: #08396d;
}

.dbd-container2 {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px 0;
}

.dbd-content.dbd-img3 {
  text-align: center;
  position: relative;
}

.dbd-content.dbd-img3 img {
  max-width: 100%;
  height: auto;
}

.dbd-content.dbd-img3 .dbd-image7 {
  width: 1300px;
  max-width: 100%;
  height: 550px;
}

.dbd-text-container {
  position: absolute;
  top: 10%;
  left: 42%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  /* 텍스트 간격 */
}

.dbd-text1,
.dbd-text2,
.dbd-text3 {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.dbd-text1 {
  font-size: 50px;
  font-weight: bold;
  position: relative;
  padding-right: 10px;
}

.dbd-text1::after {
  content: "";
  position: absolute;
  top: 0;
  right: -15px;
  height: 100%;
  width: 5px;
  background-color: white;
}

.dbd-text2 {
  font-size: 24px;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.dbd-text2 .span-shadow {
  font-size: 36px;
  font-weight: bold;
  display: inline-block;
  margin-left: 10px;
  text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.5),
    -1px -1px 6px rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
}

.dbd-text2-1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.dbd-text2-1 > span {
  color: #fff;
}

.dbd-text3 {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  text-align: center;
}

.dbd-text3 .text-blue {
  color: #0d539c;
  font-weight: bold;
  text-shadow: 3px 3px 4px rgba(255, 255, 255, 0.5),
    -3px -3px 4px rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .banner-section {
    flex-direction: column;
  }
  .banner-text-group * {
    text-align: center;
  }

  .release-span-group {
    flex-direction: column;
    gap: 10px;
  }
  .files-img {
    width: 50%;
  }

  .banner-img-group {
    justify-content: center;
  }
  .banner-img {
    width: 35%;
  }

  .dbd-div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dbd-div p {
    margin-left: 0;
    padding-top: 20px;
  }

  .dbd-content.dbd-img2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
    align-items: center;
  }

  .dbd-content.dbd-img2 img {
    max-width: 100%;
    height: auto;
  }

  .dbd-content.dbd-img2 img:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 2;
    justify-self: center;
  }

  .dbd-content.dbd-img2 img:nth-child(5) {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: center;
  }

  .dbd-button-container {
    padding-bottom: 50px;
  }

  .dbd-text-container {
    position: absolute;
    top: 10%;
    left: 42%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    /* 텍스트 간격 */
  }

  .dbd-text1 {
    font-size: 32px;
    font-weight: bold;
    position: relative;
    padding-right: 10px;
    padding-left: 50px;
    white-space: nowrap;
  }

  .dbd-text1::after {
    content: "";
    position: absolute;
    top: 0;
    right: -15px;
    height: 100%;
    width: 5px;
    background-color: white;
  }

  .dbd-text2 {
    font-size: 2.5vw;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .dbd-text2 span {
    display: inline-block;
    margin-left: 10px;
  }

  .dbd-text3 {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.8vw;
    text-align: center;
    white-space: nowrap;
  }

  .content-grid3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .content-grid3 {
    grid-template-columns: repeat(1, 1fr);
  }
  .content-grid4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-img {
    width: 40%;
  }

  .dbd-div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dbd-div p {
    margin-left: 0;
    padding-top: 20px;
  }

  .dbd-content.dbd-img2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dbd-content.dbd-img2 img {
    max-width: 80%;
    margin-bottom: 10px;
  }

  .dbd-button-container {
    padding-bottom: 50px;
  }

  .dbd-content.dbd-img3 .dbd-image7 {
    width: 90%;
    max-width: 100%;
    height: auto;
  }

  .dbd-text-container {
    position: absolute;
    top: 10%;
    left: 42%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    /* 텍스트 간격 */
  }

  .dbd-text1 {
    font-size: 32px;
    font-weight: bold;
    position: relative;
    padding-right: 10px;
    padding-left: 50px;
    white-space: nowrap;
  }

  .dbd-text1::after {
    content: "";
    position: absolute;
    top: 0;
    right: -15px;
    height: 100%;
    width: 5px;
    background-color: white;
  }

  .dbd-text2 {
    font-size: 2.5vw;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .dbd-text2 span {
    display: inline-block;
    margin-left: 10px;
  }

  .dbd-text3 {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5vw;
    text-align: center;
    white-space: nowrap;
  }

  footer .container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .nav-section {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    border-bottom: 1px solid #eee;
    padding: 10px;
  }
  .banner-img {
    width: 50%;
  }

  .files-img {
    width: 70%;
  }
  .text-01 {
    font-size: 18px;
  }
  .text-02 {
    font-size: 14px;
    line-height: 20px;
  }
  .text-03 {
    font-size: 18px;
  }
  h3 {
    font-size: 20px;
  }
  .btn {
    padding: 10px;
  }
  .download-section {
    padding: 20px;
  }
  .dbd-div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dbd-div p {
    margin-left: 0;
    padding-top: 20px;
  }

  .dbd-content.dbd-img2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dbd-content.dbd-img2 img {
    max-width: 80%;
    margin-bottom: 10px;
  }

  .dbd-button-container {
    padding-bottom: 50px;
  }

  .dbd-content.dbd-img3 .dbd-image7 {
    width: 90%;
    max-width: 100%;
    height: auto;
  }

  .dbd-text-container {
    position: absolute;
    top: 9%;
    left: 42%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    /* 텍스트 간격 */
  }

  .dbd-text1 {
    font-size: 24px;
    font-weight: bold;
    position: relative;
    padding-right: 10px;
    padding-left: 50px;
    white-space: nowrap;
  }

  .dbd-text1::after {
    content: "";
    position: absolute;
    top: 0;
    right: -15px;
    height: 100%;
    width: 5px;
    background-color: white;
  }

  .dbd-text2 {
    font-size: 2.5vw;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .dbd-text2 .span {
    display: inline-block;
    margin-left: 10px;
  }

  .dbd-text2 .span-shadow {
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    margin-left: 10px;
    text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.5),
      -1px -1px 6px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
  }

  .dbd-text3 {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5vw;
    text-align: center;
    white-space: nowrap;
  }

  .content-grid4 {
    grid-template-columns: repeat(1, 1fr);
  }

  .dbd-image {
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
  }
}

@media (max-width: 300px) {
  .banner-img-group {
    flex-direction: column;
    align-items: center;
  }
  .banner-img {
    width: 80%;
  }
}
