@import url("https://fonts.googleapis.com/css2?family=Martel+Sans:wght@200;300;400;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-width: 0;
}

html, body {
  overflow-x: hidden;
}

body {
  background-color: black;
}

separation {
  display: block;
  width: 100%;
}

.main {
  background-image: url("resources/bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 80vh;
  width: 100%;
  position: relative;
}

.main .box {
  min-height: 80vh;
  width: 100%;
  opacity: 0.44;
  background-color: black;
  position: absolute;
  top: 0;
  left: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 80vw;
  margin: auto;
  padding-top: 10px;
  gap: 12px;
  flex-wrap: wrap;
}

nav img {
  width: 145px;
  max-width: 40vw;
  position: relative;
  z-index: 10;
}

nav button {
  position: relative;
  z-index: 10;
}

.text {
  font-family: "Martel Sans", sans-serif;
  color: white;
  min-height: calc(100% - 53px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  gap: 20px;
  text-align: center;
  padding: 0 16px;
  max-width: 100%;
}

.text > :first-child {
  font-weight: 900;
  font-size: clamp(24px, 5vw, 48px);
}

.text > :nth-child(2) {
  font-weight: 400;
  font-size: clamp(16px, 3vw, 24px);
}

.text > :nth-child(3) {
  font-weight: 400;
  font-size: clamp(14px, 2.5vw, 20px);
}

.btn-red {
  background-color: red;
  padding: 10px 24px;
  font-weight: 400;
  color: white;
  font-size: clamp(14px, 2vw, 20px);
  border-radius: 5px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 10px;
  font-weight: 400;
  font-size: clamp(14px, 2vw, 20px);
  background-color: rgba(23, 23, 23, 0.57);
  color: white;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.57);
  cursor: pointer;
  white-space: nowrap;
}

.main input {
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 3px;
  background-color: rgba(23, 23, 23, 0.7);
  color: white;
  font-weight: 600;
  border: 1px solid rgba(251, 235, 235, 0.5);
  width: 350px;
  max-width: 100%;
}

.main-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.first {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 70vw;
  margin: auto;
  color: white;
  gap: 40px;
  flex-wrap: wrap;
}

.secImg {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 555px;
}

.secImg img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  display: block;
}

.secImg video {
  width: 72%;
  max-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.first > div {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  padding: 34px 0px;
  text-align: center;
  max-width: 100%;
}

.first > div :first-child {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: bolder;
}

.first > div :nth-child(2) {
  font-size: clamp(16px, 3vw, 24px);
  font-weight: bolder;
}

.faq {
  color: white;
  background-color: black;
  position: relative;
  top: 22px;
}

.faq h2{
  text-align: center;
}

.faqbox:hover {
  background-color: rgb(91, 88, 88);
  transition: all 0.2s ease-out;
}

.faqbox {
  display: flex;
  background-color: gray;
  padding: 17px;
  max-width: 60vw;
  margin: 34px auto;
  justify-content: space-between;
  font-size: clamp(16px, 2.5vw, 24px);
  cursor: pointer;
  gap: 20px;
  flex-wrap: wrap;
}

footer {
  color: white;
  max-width: 60vw;
  margin: auto;
  padding: 14px;
}

footer .questions {
  padding: 34px 0;
}

.footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: white;
  gap: 20px;
}

.footer-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-item a {
  color: white;
  word-break: break-word;
}

@media screen and (max-width: 900px) {
  nav,
  .first,
  .faqbox,
  footer {
    max-width: 90vw;
  }

  .footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 500px) {
  .main-buttons {
    flex-direction: column;
  }

  .main input,
  .btn-red {
    width: 100%;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-item {
    align-items: center;
  }
}

@media screen and (max-width: 360px) {
  nav,
  .first,
  .faqbox,
  footer {
    max-width: 94vw;
  }

  .faqbox {
    padding: 14px;
    font-size: 15px;
  }
}




