/** @format */
html,
body {
  overflow-x: hidden;
}

section:nth-of-type(even) {
  background-color: #f7f7f7;
}

section#home {
  width: 100%;
  height: auto;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

section#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(165, 162, 162, 0.5),
      rgba(165, 162, 162, 0.5)
    ),
    url("../images/klavish/klavish-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

section#home .container {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 120px;
}

#home .middle-content {
  max-width: 700px;
  flex-grow: 1;
  gap: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#home .middle-content h1.title {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 40px;
}

#home .middle-content p {
  font-size: 1.25rem;
}

#section2 {
  min-height: auto;
}

#section2 .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

#section2 .container .content {
  color: var(--dark-color);
  margin-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

#section2 .container .content > div {
  align-items: justify;
  max-width: 550px;
}

#section2 .container .content p {
  margin-bottom: 16px;
}

#section2 .container .content ul {
  margin-left: 24px;
}
#section2 .container .content ul li,
#section2 .container .content .footer-content {
  font-size: 0.875rem;
  font-weight: 300;
}

#section2 .container .content .footer-content {
  color: var(--primary-color);
  font-weight: 600;
}

#section2 .content-img {
  width: 100%;
}

section#section3 {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

section#section3::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/klavish/klavish-section3-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

section#section3 .why-content {
  height: 480px;
  width: 90%;
  margin: auto;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  z-index: 0;
}

section#section3 .why-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-color);
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: -1;
}

section#section3 .why-column {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-left: 1px solid var(--white-color);
}

section#section3 .why-column:first-child {
  border-left: none;
}

section#section3 .why-column .why-title {
  margin-top: 16px;
  color: var(--white-color);
  text-align: center;
}

section#section3 .why-column .content-img {
  height: 50px;
  width: auto;
}

section#section4 .application-content {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 100px;
  row-gap: 16px;
  flex-direction: column;
}

section#section4 .application-content .application-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

section#section4 .application-column h5 {
  margin: 0;
  line-height: 1;
}

section#section4 .section-desc {
  max-width: 820px;
}

section#section5 .product-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

section#section5 .product-column {
  text-align: center;
}

section#section5 .product-column .product-title {
  margin-top: 8px;
  text-transform: capitalize;
  color: var(--primary-color);
  font-weight: 500;
}

section#section6 {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

section#section6::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(165, 162, 162, 0.5),
      rgba(165, 162, 162, 0.5)
    ),
    url("../images/klavish/klavish-product-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

section#section6 .product-2-content {
  height: 540px;
  width: 100%;
  margin: auto;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  z-index: 0;
}

section#section6 .product-2-column {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

section#section6 .product-2-column:first-child {
  border-left: none;
}

section#section6 .product-2-column .product-2-title {
  margin-top: 32px;
  padding: 0 16px;
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
}

section#section6 .product-2-column .content-img {
  height: 90px;
  width: 90px;
}

.content-img img {
  width: 100%;
  height: 100%;
}

.display-img {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

@media (min-width: 61rem) {
  section#home {
    margin-top: 120px;
    height: calc(100vh - 120px);
  }

  #home .middle-content {
    margin-left: 140px;
    justify-content: center;
  }

  #section2 .content-img {
    width: 565px;
  }

  #section2 .container {
    flex-direction: row;
  }

  section#section4 .application-content {
    flex-direction: row;
  }

  section#section3 .why-content {
    width: 70%;
    grid-template-columns: repeat(4, 1fr);
  }

  section#section3 .why-column {
    padding-top: 160px;
    justify-content: flex-start;
  }

  section#section3 .why-column .content-img {
    height: 70px;
    width: auto;
  }

  section#section6 .product-2-content {
    width: 80%;
    grid-template-columns: repeat(4, 1fr);
  }
}
