@charset "utf-8";

/* main */
#home_mainMovie {
  width: 100%;
  padding-top: 150px;
  transition: padding 0.3s ease;
}

@media (max-width: 1024px) {
  #home_mainMovie {
    padding-top: 60px;
  }
}

.home_mainMovie_container {
  border-radius: 20px;
  overflow: hidden;
  height: 700px;
  position: relative;
  transition: all 0.3s ease;
}

@media (max-width: 764px) {
  .home_mainMovie_container {
    width: 100%;
    height: 420px;
  }
}

@media (max-width: 480px) {
  .home_mainMovie_container {
    width: 100%;
    height: 250px;
  }
}

.home_mainMovie_container > video {
  filter: brightness(0.5);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home_mainMovie_content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #fff;
  gap: 40px;
  z-index: 1; /* 비디오 위에 표시 */
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  animation: slideIn 0.6s ease-out forwards;
  padding: 0 60px;
}

.home_mainMovie_content > h1 {
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 1.5;
}

.home_mainMovie_content > p {
  font-weight: 500;
  font-size: 28px;
  opacity: 0.9;
}

@keyframes slideIn {
  from {
    transform: translateY(10%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* product */
#home_product {
}

.home_product_container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 160px 0;
}

@media (max-width: 764px) {
  .home_product_container {
    gap: 24px;
    padding: 100px 0;
  }
}

@media (max-width: 480px) {
  .home_product_container {
    padding: 80px 0;
  }
}
.home_vision_titleText {
  font-weight: 700;
  font-size: 3.25rem;
}

.home_product_itemFlex {
  display: flex;
  gap: 26px;
}

.home_product_item {
  position: relative;
  height: 570px;
  overflow: hidden;
  cursor: pointer;
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  transition: flex 0.8s ease;
}

.home_product_item:hover {
  flex: 2.5;
  cursor: none;
}

@media (max-width: 1024px) {
  .home_product_item:hover {
    cursor: pointer;
  }
}

.home_product_item img,
.home_product_item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.home_product_item img {
  z-index: 10;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.home_product_item:hover img {
  opacity: 0;
}

.home_product_textContainer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 20;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 60px;
  justify-content: end;
  align-items: start;
}

@media (max-width: 764px) {
  .home_product_textContainer {
    gap: 20px;
    padding: 30px;
  }
}

.home_product_textContainer > h4 {
  font-size: 2.125rem;
  font-weight: 700;
}

.home_product_textContainer > p {
  font-size: 1.25rem;
  font-weight: 600;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}

.home_product_item:hover .home_product_textContainer > p {
  opacity: 1;
  max-height: 25px;
}

@media (max-width: 480px) {
  .home_product_textContainer {
    gap: 14px;
  }

  .home_product_textContainer > p {
    font-size: 13px;
  }
}

@media (max-width: 1440px) {
  .home_product_itemFlex {
    display: flex;
    flex-direction: column;
    height: 1000px;
    gap: 26px;
  }

  .home_product_item video {
    display: none;
  }

  .home_product_item:hover {
    flex: 1;
  }

  .home_product_item:hover img {
    opacity: 1;
  }

  .home_product_textContainer > p {
    max-height: 25px;
    opacity: 1;
    overflow: hidden;
  }

  .home_product_item:hover .home_product_textContainer > p {
    opacity: 1;
    max-height: 25px;
  }
}

@media (max-width: 480px) {
  .home_product_itemFlex {
    height: 600px;
  }
}

@media (max-width: 764px) {
  .home_product_textContainer > p {
    max-height: fit-content;
  }
  .home_product_item:hover .home_product_textContainer > p {
    opacity: 1;
    max-height: fit-content;
  }
}

/*  competitiveness */
#home_about {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#home_about::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

.home_about_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-top: 150px;
  padding-bottom: 150px;
}

@media (max-width: 480px) {
  #home_about_container {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.home_about_titleArea {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 48px;
  color: #fff;
  z-index: 10;
}

.home_about_title {
  font-weight: 700;
  font-size: 3.25rem;
  color: #fff;
}

.home_about_body {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

.home_about_btns {
  display: flex;
  gap: 14px;
  z-index: 10;
}

.home_about_btns > a {
  display: inline-block;
  padding: 18px 60px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.home_about_btns > a:hover {
  background-color: #4274af;
  border-color: #4274af;
}

@media (max-width: 480px) {
  .home_about_btns > a {
    padding: 14px 30px;
    font-size: 13px;
  }

  .home_about_body {
    font-size: 13px;
  }
}
