@font-face {
  font-family: rakkas;
  src: url(./assets/fonts/Rakkas.ttf);
}

@font-face {
  font-family: poppins-regular;
  src: url(./assets/fonts/Poppins-Regular.ttf);
}

@font-face {
  font-family: poppins-bold;
  src: url(./assets/fonts/Poppins-Bold.ttf);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: poppins-regular;
  font-size: 1.6rem;
  line-height: 1.3;
  letter-spacing: 1px;
  overflow-x: hidden;
}

/*** TYPOGRAPHY */
h1 {
  font-family: rakkas;
  font-size: 6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 span {
  color: #b7b7b7;
}

p {
  line-height: 1.1;
}

/*** HEADER */
.header {
  background: #ffffff;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header img {
  width: 30rem;
}

/*** INTRODUCTION  */
.intro {
  max-width: 1280px;
  margin: 0 auto;
}

.intro-wrapper {
  position: relative;
  margin: 0 3rem;
  height: 67rem;
  background-image: url(./assets/images/headerBg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2rem;
  color: #ffffff;
  text-align: center;
}

.intro-shine {
  position: absolute;
  top: 10rem;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
}

.intro-text {
  padding-top: 13rem;
}

.intro-heading {
  letter-spacing: 2px;
  padding-bottom: 1rem;
  line-height: 1.1;
}

.intro-paragraph {
  font-size: 1.7rem;
  line-height: 1.5;
  color: #ffffff;
  width: 50%;
  margin: 0 auto;
}

.intro-img {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.intro-img img {
  transform: translateY(-26rem);
  /* width: 100%; */
}

/*** WHY  */
.available {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 26px 27px 38px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  padding: 1rem 5rem;
  text-align: center;
  line-height: 1.8;
}

.available img {
  width: 1.5rem;
  position: absolute;
  right: -0.5rem;
  top: -0.5rem;
}

.available span {
  letter-spacing: 0.4rem;
  font-weight: 600;
}

.why {
  /* margin-bottom: 20rem; */
  max-width: 1280px;
  margin: 0 auto;
}

.why-wrapper {
  padding: 25rem 5rem 6rem 5rem;
  background: linear-gradient(
      0deg,
      rgba(255, 252, 252, 0) 47.48%,
      #d3d3d3 91.17%
    ),
    #dfdfdf;
  margin: 0 3rem;
  margin-top: -45rem;
  border-radius: 0 0 15px 15px;
}

.why-container {
  padding-top: 10rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3rem;
}

.why-text p {
  color: #0c0c0c;
  line-height: 1.6;
}

.why-text p:last-of-type {
  padding: 2rem 0;
}

.why-text p span {
  font-family: poppins-bold;
}

.why-form {
  display: flex;
  align-items: center;
}

.why-input {
  height: 6rem;
  width: 70%;
  outline: none;
  border: none;
  background-color: #ffffff;
  border-radius: 5px 0 0 5px;
  font-family: inherit;
  padding: 0 3rem 0;
}

.why-btn {
  font-family: poppins-bold;
  letter-spacing: 1px;
  height: 6rem;
  width: 30%;
  background-color: #272727;
  color: #ffffff;
  border: none;
  outline: none;
  border-radius: 0 5px 5px 0;
}

/*** GALLERY  */
.gallery {
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 3rem;
  overflow-x: hidden;
}

.gallery-row {
  display: flex;
  justify-content: center;
  width: 100%;
  column-gap: 3rem;
}

.gallery-img {
  border-radius: 10px;
  width: 100%;
  height: 23rem;
  object-fit: cover;
}

/*** FOOTER  */
.footer {
  background-color: #000000;
}

.footer-wrapper {
  padding: 5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 4rem;
  row-gap: 3rem;
}

@media (min-width: 1281px) {
  .gallery-img {
    min-height: 30rem;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 5rem;
  }

  .intro-wrapper {
    height: 62rem;
  }

  .intro-paragraph {
    width: 60%;
  }

  .intro-img img {
    transform: translateY(-20rem);
  }

  .why-wrapper {
    padding: 35rem 9rem 6rem 9rem;
  }

  .why-container {
    padding-top: 8rem;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 4rem;
    row-gap: 2rem;
  }

  .footer-wrapper img {
    width: 15rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 4rem;
  }

  .header img {
    width: 25rem;
  }

  .intro-wrapper {
    height: 60rem;
  }

  .intro-img img {
    transform: translateY(-15rem);
  }

  .intro-paragraph {
    width: 60%;
    font-size: 1.5rem;
  }

  .available {
    width: 100%;
    margin: 0 0;
  }

  .why-wrapper {
    padding: 35rem 6rem 6rem 6rem;
  }
  .why-text p {
    font-size: 1.4rem;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 3.5rem;
  }

  .header {
    height: 5.5rem;
  }

  .intro-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    height: 100%;
    margin: 0 1.5rem;
  }

  .intro-shine {
    display: none;
  }

  .intro-text {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .intro-paragraph {
    width: 80%;
    font-size: 1.5rem;
  }

  .intro-img {
    /* transform: translateY(-13rem); */
    display: none;
  }

  .available span {
    letter-spacing: 0.5 rem;
    font-size: 1.3rem;
  }

  .why-wrapper {
    margin: 0 1.5rem;
    margin-top: -25rem;
    padding: 35rem 1.5rem 6rem 1.5rem;
  }

  .why-container {
    padding-top: 6rem;
  }

  .why-input {
    padding: 0 2rem;
  }

  .why-input,
  .why-btn {
    height: 5rem;
  }

  .footer-wrapper img {
    width: 12rem;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 3.5rem;
  }

  .header img {
    width: 20rem;
  }

  .intro-paragraph {
    width: 90%;
    font-size: 1.3rem;
  }

  .why-wrapper {
    padding: 30rem 1.5rem 6rem 1.5rem;
  }

  .why-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
  }

  .why-input,
  .why-btn {
    width: 100%;
    border-radius: 5px;
  }
}
