/* BASIC css start */
/* ±âº» ½ºÅ¸ÀÏ */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* °¡·Î ½ºÅ©·Ñ ¹æÁö */
  top: 70px;
}

h1, h2 {
  margin: 0;
}

/* °øÅë p ÅÂ±× ½ºÅ¸ÀÏ */
p {
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}

/* ÆÐ·²·¢½º ÄÁÅ×ÀÌ³Ê */
.parallax-container {
  position: relative;
  width: 100%;
  min-height: 100vh; /* ÃÖ¼Ò ³ôÀÌ ¼³Á¤ */
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* PC¿¡¼­´Â fixed */
  z-index: -1;
  transform: translateY(0) scale(1.1); /* ÆÐ·²·¢½º È¿°ú ±âº»°ª */
  transition: transform 0.1s linear; /* ºÎµå·¯¿î ÀÌµ¿ */
}

/* ÅØ½ºÆ® ÄÁÅÙÃ÷ */
.content {
  position: relative;
  text-align: center;
  padding-top: 40vh;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content h1 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #fff;
}

.content h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.2em;
}

/* ÅØ½ºÆ® ¼½¼Ç */
.text-section {
  padding: 80px 20px;
  margin: 0;
  background-color: #222;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.text-section h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
  color: #fff;
}

/* È­¸é¿¡ º¸ÀÏ ¶§ Àû¿ëÇÒ ¾Ö´Ï¸ÞÀÌ¼Ç */
.content.visible,
.text-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ÇªÅÍ */
footer {
  background-color: #222;
  color: #aaa;
  text-align: center;
  padding: 20px 0;
}

/* ¸ð¹ÙÀÏ ´ëÀÀ */
@media (max-width: 768px) {
  .parallax-container {
    min-height: 90vh; /* ¸ð¹ÙÀÏ¿¡¼­´Â Á¶±Ý ³·°Ô */
  }

  .parallax-background {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* ¸ð¹ÙÀÏ¿¡¼­´Â fixed »ç¿ë ±ÝÁö */
  }

  .text-section {
    padding: 60px 15px;
  }
}

/* BASIC css end */

