@import "reset.css";

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000000;

  font-family: "Noto Sans", sans-serif;
  color: white;
}

.logo {
  top: 0;
  left: 0;
  margin-left: 3vw;
  padding-top: 3vh;
  position: absolute;
  z-index: 10;
}

#nav {
  font-family: "Noto Sans", sans-serif;
  font-size: 24px;

  position: absolute;
  top: 0;
  right: 0;
  padding: 40px;
  width: 30%;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  margin-right: 2.5vw;

  z-index: 10;
}

.nav-link {
  cursor: pointer;
  color: #d9d9d9;
  text-decoration: none;
}

section {
  width: 100%;
  /* To prevent sections from hiding under the fixed navigation */
}

#section1 {
  position: relative;
}

.section1_background {
  width: 100%;
  height: auto;
}

.section1_background img {
  width: 100%;
  height: auto;
  /* 이미지의 가로 길이를 기기의 가로에 맞게 설정하고 세로 길이는 비율에 따라 자동으로 설정합니다 */
}
.centered-text {
  text-align: center;
  margin-top: 50px;
}

.centered-text h1 {
  font-size: 80px;
  color: white;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: calc(3vw + 12px);
}

.fc_description {
  font-family: "Noto Sans", sans-serif;
  font-size: calc((2 / 4) * (3vw + 12px));
  margin-top: 60px;
  display: flex;
  justify-content: center;
  height: 30vh;
  color: white;
}

.fc_description {
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.globe-image {
  display: flex;
  justify-content: flex-end;
}

.globe-image img {
  max-width: 50%;
  height: auto;
  margin-right: 5vw;
}

.vision {
  color: white;
  max-width: 35%;
  height: auto;
  margin-top: 100px;
  font-family: "Noto Sans", sans-serif;
  font-size: calc((2 / 4) * (3vw + 12px));
  line-height: 1.5;
  margin-left: 5vw;
}

.vision_title {
  font-weight: 600;
}
.vision_subtitle {
  margin-top: 18px;
  font-size: calc((2.2 / 4) * (3vw + 12px));
  font-weight: 600;
}

.vision_description {
  margin-top: 26px;
}

.mission_parent {
  display: flex;
  justify-content: flex-end;
}

.mission {
  color: white;
  max-width: 35%;
  height: auto;
  margin-top: 100px;
  font-family: "Noto Sans", sans-serif;
  font-size: calc((2 / 4) * (3vw + 12px));
  line-height: 1.5;
  margin-right: 5vw;
  order: 2;
}

.mission_title {
  font-weight: 600;
}
.mission_subtitle {
  margin-top: 18px;
  font-size: calc((2.2 / 4) * (3vw + 12px));
  font-weight: 600;
}

.mission_description {
  margin-top: 26px;
}

#section2 {
  margin-top: 200px;
}

.members {
  margin-left: 5vw;
  color: white;
  font-family: "Noto Sans", sans-serif;
  font-size: calc((2.2 / 4) * (3vw + 12px));
}

.members_description {
  margin-top: 50px;
  margin-left: 5vw;
  font-size: calc((1.8 / 4) * (3vw + 12px));

  font-family: "Noto Sans", sans-serif;
  color: white;
}

.section2_background {
  display: inline-block;
  position: relative;
  animation: fadeIn 2s ease-in-out;
}

.section2_background img {
  display: block;
  width: 100%;
  height: auto;
}

.section2_background::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 30%
  );
  pointer-events: none;
}

.dropdown {
  background-color: #f5f5f5;
  color: #000000;
  width: 100%;
  font-family: "Noto Sans", sans-serif;
}

.dropdown_member {
  padding: 7%;
}

.dropdown_name {
  margin-bottom: 3.5vh;
  font-weight: 600;
  font-size: calc((2.2 / 4) * (3vw + 12px));
}

.dropdown_career {
  font-size: calc((2 / 4) * (3vw + 12px));
  line-height: 1.5;
  top: 20%;
  left: 10%;
  right: 10%;
  margin-bottom: 5vh;
}

.dropbtn {
  display: block;
  margin: auto;

  width: 5%;
  height: auto;
  transition: transform 0.3s ease;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  background-color: #f5f5f5;
  color: #000000;
  width: 100%;
  font-family: "Noto Sans", sans-serif;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: block;
}

#section3 {
  color: white;
  height: 240vh;
}

.line-with-text {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2vh;
  margin-top: 20vh;
}

.line-without-text {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1px;
  margin-top: 15vh;
  background: white;
}
.line-with-text span {
  font-size: calc((2.5 / 4) * (3vw + 12px));
}

.line-with-text:before,
.line-with-text:after {
  content: "";
  flex-grow: 1;
  background: white;
  height: 1px;
  position: relative;
  top: 0em;
}

.line-with-text:before {
  margin-right: 0.5em;
}

.line-with-text:after {
  margin-left: 0.5em;
}

.first_product {
  display: flex;
  justify-content: space-between;
}

.product_store {
  width: 35%;
  /* height: 30vh; Viewport Height, 20% of the screen's height */
  height: auto;
  margin-top: 100px;
  margin-right: 5vw;
  position: relative;
  overflow: hidden;
}

.slide,
.slide_growgrid,
.slide_faas {
  display: block;
  width: 100%;
  height: auto; /* Make sure the slide is as big as the .product_store */
  background-size: cover; /* This will make the image cover the entire slide */
  background-position: center;

  opacity: 0;
  padding-bottom: 22.25%; /* for a 16:9 aspect ratio */
  transition: opacity 1s ease-in-out;
}

.slide.show,
.slide_growgrid.show,
.slide_faas.show {
  opacity: 1;
}

.store_img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store_img1 {
  width: 100%;
  height: auto;
}
.learn-more-btn {
  margin-top: 2.5vh;
  display: inline-block;
  padding: 10px 20px;
  font-size: calc((2 / 4) * (3vw + 12px));
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #333;
}

.button-container {
  text-align: right;
}

.product_growgrid {
  width: 30%;
  height: auto; /* Viewport Height, 20% of the screen's height */
  margin-top: 100px;
  margin-left: 5vw;
  position: relative;
  overflow: hidden;
  order: 1;
}

.recruit_content {
  /* width: 80%;
  text-align: center;
  font-family: "Noto Sans", sans-serif;
  font-size: calc((2 / 4) * (3vw + 12px));
  display: flex;
  justify-content: center;
  height: 20vh;
  color: white;
  line-height: 1.5;
  margin-left: 8vw;
  margin-right: 8vw; */
  display: flex;
  justify-content: center;
  color: white;
}

.recruit_content div {
  text-align: center;
  max-width: 48%;
  height: auto;
  margin-top: 100px;
  font-family: "Noto Sans", sans-serif;
  font-size: calc((2 / 4) * (3vw + 12px));
  line-height: 1.5;
}

.recruit-centered-text {
  text-align: center;
  margin-top: 90px;
  margin-bottom: 30px;
}

.recruit-centered-text p {
  color: white;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  font-size: calc((2 / 4) * (3vw + 12px));
}

.recruit_link {
  display: flex;
  justify-content: center;
  margin-top: 5vh;
}

.recruit_link-btn {
  margin-top: 2vh;
  display: inline-block;
  padding: 15px 30px;
  font-size: calc((2 / 4) * (3vw + 12px));
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.recruit_link-btn:hover {
  background-color: #333;
}

#section5 {
  margin-top: 30vh;
}

.press {
  padding-bottom: 3vh;
  border-bottom: 1px solid white;
}

.press_article {
  display: flex;
  flex-wrap: wrap;
}
.press-alink {
  text-decoration: none;
}
.press-link {
  margin-left: 5vw;
  font-size: calc((2 / 4) * (3vw + 12px));
  color: white;
  text-decoration: none;
}
.press-link.active {
  border-bottom: 5px solid white; /* 혹은 원하는 색상으로 변경 */
  padding-bottom: 2.5vh;
}

.press_picture {
  width: 300px;
  height: 200px;
  margin-top: 100px;

  margin-left: 5vw;
  overflow: hidden;
}

.press_container {
  margin-top: 100px;
  margin-left: 5vw;
  color: white;
  width: 60%;
  height: auto;
  font-family: "Noto Sans", sans-serif;
  font-size: calc((2 / 4) * (3vw + 12px));
  line-height: 1.5;
}

.press_title {
  font-size: calc((1.2 / 4) * (3vw + 12px));
}

.press_subtitle {
  margin-top: 18px;
  font-size: calc((2 / 4) * (3vw + 12px));
  font-weight: 600;
}

.press_description {
  margin-top: 18px;

  font-size: calc((1.2 / 4) * (3vw + 12px));
}
.press_date {
  margin-top: 18px;

  font-size: calc((1.2 / 4) * (3vw + 12px));
}

.contact {
  margin-top: 20vh;
  padding-left: 5vw;

  font-family: "Noto Sans", sans-serif;

  font-size: calc((2.2 / 4) * (3vw + 12px));
}

.address_email {
  margin-top: 10vh;
  font-size: calc((1.5 / 4) * (3vw + 12px));

  font-family: "Noto Sans", sans-serif;

  display: flex;
  justify-content: space-between;
  padding-left: 5vw;
  padding-right: 10vw;
}

.address {
  width: 50vw;
}
.address_link {
  padding-left: 5vw;
  margin-top: 5vh;
  margin-bottom: 30vh;
}

.address_link-btn {
  margin-top: 2vh;
  display: inline-block;
  padding: 15px 30px;
  font-size: calc((1.4 / 4) * (3vw + 12px));
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .press_article {
    display: block; /* flex를 제거하고 block으로 설정 */
  }

  .logo {
    display: none;
  }

  #nav {
    font-size: 15px;
    margin-right: 0vw;
    flex-direction: column;
    padding-top: 10px;
  }

  .nav-link {
    margin-bottom: 10px;
    text-align: right;
  }

  .vision,
  .mission,
  .members_description {
    max-width: 100%;
    margin-left: 10vw;
    margin-right: 10vw;
  }

  .product_store,
  .product_growgrid {
    width: 80%;
    height: 30vh;

    margin-left: 10vw;
    margin-right: 20vw;
    overflow: hidden;
  }
  .product_growgrid {
    order: 2;
  }
  .members {
    margin-left: 10vw;
    order: 1;
  }

  .first_product {
    display: block;
  }

  #section3 {
    margin-bottom: 50vh;
  }

  .address {
    text-align: center;
  }
  #section5 {
    margin-top: 20vh;
  }
}
