@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500&display=swap");
@font-face {
  font-family: "Pretendard";
  font-weight: 600;
  font-display: swap;
  src: local("Pretendard SemiBold"), url("../fonts/woff2/Pretendard-SemiBold.woff2") format("woff2"), url("./fonts/woff/Pretendard-SemiBold.woff") format("woff"); }

@font-face {
  font-family: "Pretendard";
  font-weight: 400;
  font-display: swap;
  src: local("Pretendard Regular"), url("../fonts/woff2/Pretendard-Regular.woff2") format("woff2"), url("./fonts/woff/Pretendard-Regular.woff") format("woff"); }

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

.img-fluid {
  max-width: 100%;
  height: auto; }

.english {
  font-family: "Ubuntu", sans-serif; }

.korean {
  font-family: "Pretendard", sans-serif; }

.toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  color: #fff;
  background-color: #fc2d7c;
  border-radius: 5px;
  padding: 6px 12px;
  border: none;
  cursor: pointer; }

.container-fluid {
  padding: 0;
  margin: 0; }
  @media (max-width: 768px) {
    .container-fluid {
      padding: 0;
      margin: 0;
      max-width: 100%; } }
  @media (min-width: 767.98px) {
    .container-fluid {
      padding: 0;
      margin: 0;
      min-width: 100%; } }

::selection {
  color: #fff;
  background: #fc2d7c; }

@media (max-width: 768px) {
  .section {
    padding: 10px; } }

@media (min-width: 767.98px) {
  .section {
    min-width: 100%; } }

.section h2 {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 3rem; }
  @media (max-width: 768px) {
    .section h2 {
      margin-top: -1.5rem;
      font-size: 2.2rem;
      letter-spacing: -1px; } }

.section .text {
  line-height: 1.5rem;
  margin-top: 1.85rem;
  font-weight: 600;
  font-size: 18px; }
  @media (max-width: 768px) {
    .section .text {
      font-size: 1.1rem;
      font-weight: normal;
      letter-spacing: -1px; } }

.section p.button {
  cursor: pointer;
  color: #fc2d7c; }

.section.section1 {
  background-color: #f5f5f5;
  /* background-image: url(../imgs/back.png); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; }
  .section.section1 .form-section {
    margin: auto;
    max-width: 1280px;
    padding: 100px 0;
    text-align: center; }
    .section.section1 .form-section form {
      padding-top: 3rem;
      margin: 10px auto;
      display: flex;
      flex-direction: column;
      align-items: center; }
      @media (max-width: 768px) {
        .section.section1 .form-section form {
          max-width: 80%; max-height: 80%;} }
      @media (min-width: 767.98px) {
        .section.section1 .form-section form {
          width: 400px; } }
      .section.section1 .form-section form legend {
        display: block;
        padding: 15px 0 5px;
        margin-left: -20px;
        text-align: left;
        width: 100%; }
      .section.section1 .form-section form input {
        display: block;
        padding: 5px 10px;
        border-radius: 3px;
        font-size: 1rem;
        border: 1px solid #000;
        background-color: transparent;
        width: 100%; }
        .section.section1 .form-section form input:focus {
          outline: 2px solid #fc2d7c;
          border: 1px solid rgba(255, 255, 255, 0.15);
          background-color: rgba(255, 255, 255, 0.15); }
      .section.section1 .form-section form button {
        background-color: #fc2d7c;
        display: block;
        width: 90%;
        padding: 10px 0;
        margin-top: 2rem;
        border-radius: 15px;
        font-size: 1rem;
        border: none;
        color: #fff;
        font-weight: 600; }
    .section.section1 .form-section .extra {
      margin: 4rem auto 1rem;
      font-size: 0.85rem;
      font-weight: 400;
      max-width: 650px;
      text-align: left; }
      .section.section1 .form-section .extra p {
        line-height: 2rem; }
      .section.section1 .form-section .extra a {
        color: #fc2d7c;
        text-decoration: none;
        font-size: 0.75rem;
        font-weight: 400; }
      .section.section1 .form-section .extra .help {
        text-align: right; }
        .section.section1 .form-section .extra .help a {
          color: #000; }

.section.section2 {
  padding-top: 120px;
  background-color: #000;
  color: #fff; }
  .section.section2 .times {
    margin: 0 auto;
    text-align: center; }
    .section.section2 .times h2 {
      color: #fff; }
      @media (max-width: 768px) {
        .section.section2 .times h2 {
          font-size: 1.5rem; } }
    .section.section2 .times h4 {
      padding: 2rem 0 4rem;
      color: white; }
    .section.section2 .times ul {
      margin: 2rem auto;
      text-align: left;
      list-style: circle;
      font-size: 0.85rem; }
      @media (max-width: 768px) {
        .section.section2 .times ul {
          min-with: 100%;
          margin-left: -25px; } }
      @media (min-width: 767.98px) {
        .section.section2 .times ul {
          max-width: 1200px; } }
      .section.section2 .times ul li {
        padding-bottom: 0.5rem;
        color: #fff; }
    .section.section2 .times .goto-page {
      padding-top: 1.5rem;
      padding-bottom: 2rem; }
      .section.section2 .times .goto-page a {
        color: #fff; }

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4); }

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 600px;
  border-radius: 10px; }
  @media (max-width: 768px) {
    .modal-content {
      width: 70%; } }
  @media (min-width: 767.98px) {
    .modal-content {
      width: 600px; } }
  .modal-content h3 {
    font-size: 1.45rem;
    padding-bottom: 2rem; }
  .modal-content h4 {
    padding: 0.5rem 0;
    font-weight: bold; }
  .modal-content p {
    font-weight: normal;
    font-size: 0.85rem;
    line-height: 1.3rem; }
    .modal-content p.agree {
      margin-top: 1rem; }
  .modal-content ul {
    list-style: decimal;
    margin-left: -10px; }
    .modal-content ul li {
      font-weight: bold;
      line-height: 18px;
      margin-top: 12px;
      margin-bottom: 5px; }
    .modal-content ul ul {
      list-style: decimal-leading-zero;
      margin-left: -15px; }
      .modal-content ul ul li {
        font-weight: normal;
        font-size: 0.85rem; }

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold; }

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer; }

.spinner {
  display: inline-block;
  width: 80px;
  height: 80px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; }
  .spinner:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #000;
    border-color: #000 transparent #000 transparent;
    animation: spinner 1.2s linear infinite; }

@keyframes spinner {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }


.image-container {
  display: flex;
  justify-content: center;
  margin-top: 20px; /* adjust as needed */
  width: 100%;
  height: 100%;
}

.centered-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enlarge-image {
  transform: scale(1.05);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
  max-width: 1000px;
  text-align: center;
}

@media (max-width: 768px) {
  .grid-container {
    display: block;
    margin-top: 20px; 
    margin-left: 0%;
    margin-bottom: 20px;
  }
  .grid-container div {
    margin: 0 auto;
    text-align: center;
    align-items: center;
    width: 100%;
  }
  .grid-container div img {
    display: block;
    margin: 0 auto;
    max-width: 70%;
    height: auto;
  }
}


.grid-container div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid-container img {
  max-width: 70%;
  height: auto;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.button-text {
  margin-bottom: 10px;
  font-weight: bold;
}

#button1 {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  background-color: white;
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

#adler-header {
  font-size: 48px;
  margin-left: 15%;
  font-weight: 300;
}

/* Media query to reduce font size on mobile */
@media only screen and (max-width: 768px) {
  #adler-header {
    font-size: 24px;
    margin-left: 15%;
    font-weight: 450;
    margin-top: -2.5rem;
  }
}
