/* Instruction Page Styles */

:root {
  --color-primary-orange: #ffac43;
  --color-secondary-orange: #f9a641;
  --color-dark-orange: #c56e03;
  --color-light-orange: #ffebd1;
  --color-green: #3fb390;
  --color-red: #fb4747;
  --color-dark-red: #cd5355;
  --color-yellow-green: #6c7d15;
  --color-teal: #2b8a6d;
  --color-text-dark: #555555;
  --color-text-medium: #635b53;
  --color-text-light: #fbfbfb;
  --color-white: #ffffff;
  --color-bg-light: #fff9d9;
  --color-bg-cream: #fff1c1;
}

/* Reset and Base Styles */
.instruction-page {
  background-color: var(--color-white);
  margin: 0 auto;
}

.instruction-page-container {
  max-width: 1200px;
  margin: 0 auto;
}

.instruction-page-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.first-section {
  position: relative;
  line-height: 0; 
}

.second-section,
.third-section {
  line-height: 0;
}

.first-section-button {
  position: absolute;
  bottom: 8.7%;
  right: 10%;
  width: 39%;
}

.spacing-vi {
  right: 10.5%;
  bottom : 9%;
}

.spacing-en {
  bottom : 9%;
}

.first-section-button a {
  background: #FFEBD1;
  color: #C55427;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 22px;
  padding: 1.5rem 4rem;
  max-height: 80px;
  line-height: 28px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spacing-en a {
  font-size: 1.25rem;
  line-height: 20px;
  padding: 1.5rem 3rem;
}

.first-section-button a:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.vod-background-section {
  position: relative;
}

.vod-content {
  position: absolute;
  bottom: 10%;
  left: 8%;
  width: 55%;
}

.vod-content span {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 28px;
  color: #FBFBFB;
  text-align: center;
}

.vod-card {
  display: flex;
  flex-direction: column;
}

.vod-card .ytb-frame iframe {
  width: 100%;
  height: 100%;
}

.vod-card .ytb-frame {
  width: 100%;
  height: 100%;
  display: flex;
}

.vod-card .vod-card-content {
  background : rgba(81, 81, 81, 0.44);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 22px;
  color: #FBFBFB;
  text-align: center;
}

.vod-card .vod-card-content span {
   display: flex;
   align-items: flex-start;
   flex-wrap: wrap;
}

.vod-card .vod-card-content svg {
  cursor: pointer;
}

.third-section {
  position: relative;
}

.third-section-button {
  position: absolute;
  bottom: 15%;
  left: 20%;
  width: 35%;
}

.third-section-button a {
  border-radius: 12px;
  background: #3FB390;
  color: #ffffff;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 5px 5px #ACE8D6;
  padding: 1.5rem 2rem;
  max-height: 80px;
  line-height: 28px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.third-section-button a:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.third-section-button a >svg {
  position: absolute;
  right: 1rem;
  top: 125%;
  transform: translateY(-50%);
}



@media (max-width: 768px) {
  .first-section-button {
    bottom: 3%;
    right: 10%;
    width: 80%;
  }

  .first-section-button a {
    padding: 1rem 2rem;
    background: #FFF;
    color: #C55427;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    line-height: 16px;
  }

  .vod-content {
    width: 100%;
    bottom: 0%;
    left: 0;
    padding: 0.75rem;
  }

  .vod-card-content span {
    flex-direction: column;
    align-items: flex-start;
  }

  .vod-card-content > span {
    font-size: 1rem;
    line-height: 14px;
  }

  .vod-card-content > svg {
    width: 30px;
    height: 30px;
  }

  .third-section-button {
    bottom: 17%;
    left: 10%;
    width: 80%;
  }

  .third-section-button a {
    background: #C75250;
    padding: 1rem 2rem;
    box-shadow: none;
  }
}