@font-face {
  font-family: "Daxline Pro";
  src: url("./font/daxlinepro/DaxlinePro-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Daxline Pro";
  src: url("./font/daxlinepro/DaxlinePro-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

body {
  font-family: "Daxline Pro", "Segoe UI", sans-serif;
  background-color: #fcf9f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  background-color: #ffe400;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  padding-left: 140px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.flag {
  height: 35px;
}

.header h1 {
  font-size: 1.1rem;
  font-weight: bold;
}

.intro-wrapper {
  background-color: #fff;
  margin: 0 auto;
  padding: 30px;
}

.intro {
  text-align: center;
  background-color: #fffacc;
  padding: 15px 20px;
  width: 85%;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.intro h1 {
  color: #060945;
  margin: 10px 0;
}
.intro h2 {
  font-weight: normal;
}

.intro p {
  color: #1e1e1e;
  font-size: 1rem;
  margin-top: 10px;
  line-height: 1.5;
}

.content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.test-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  margin: 40px auto;
  padding-bottom: 20px;
  overflow: hidden;
}
.image-section img {
  width: 100%;
  height: 566px;
  max-width: 586px;
  border-radius: 10px;
}

.guidelines {
  width: 682px;
  height: 566px;
  background-color: #fff;
  padding: 40px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guidelines h3 {
  font-weight: bold;
  border-bottom: 3px solid #ffe400;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.guidelines ol {
  list-style: none;
  counter-reset: step;
  flex-grow: 1;
}

.guidelines li {
  counter-increment: step;
  margin-bottom: 20px;
  position: relative;
  padding-left: 70px;
  line-height: 1.5;
}

.guidelines li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  background: #fffacc;
  color: #333;
  border-radius: 40px;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  font-size: 1rem;
}

.video-guide {
  display: flex;
  align-items: center;
  background-color: #fcf9f9;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.play-icon {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 2.3rem;
  color: #ffe400;
}

.test-btn {
  background-color: #f3d267;
  border: none;
  padding: 12px 20px;
  width: 221px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.test-btn:hover {
  background-color: #ffd633;
}

.footer {
  background-color: #ffffff;
  text-align: center;
  font-size: 0.85rem;
  color: #7a7979;
  padding: 25px;
  border-top: 1px solid #eee;
}

@media (max-width: 1024px) {
  .header {
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 20px;
    text-align: center;
  }

  .header h1 {
    font-size: 1rem;
    margin-top: 10px;
  }

  .test-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .image-section img,
  .guidelines {
    width: 90%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .intro {
    width: 95%;
    padding: 20px 10px;
  }

  .guidelines {
    padding: 25px 20px;
  }

  .guidelines li {
    padding-left: 50px;
  }

  .guidelines li::before {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .header h1 {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .logo-section {
    flex-direction: column;
    gap: 10px;
  }

  .header {
    padding: 10px;
  }

  .header h1 {
    font-size: 0.9rem;
    text-align: center;
  }

  .intro h1 {
    font-size: 1.2rem;
  }

  .intro p {
    font-size: 0.9rem;
  }

  .test-btn {
    width: 100%;
  }

  .video-guide {
    flex-direction: column;
    text-align: center;
  }

  .play-icon {
    margin: 0 auto 10px;
  }
}
