@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
:root {
  --red: #f9032f;
  --black: #000;
  --white: #fff;
}
.navbar {
  background: var(--black);
  height: 60px;
  padding: 0.5rem calc((100vw - 1200px) / 2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.navbar__logo {
  color: var(--white);
  text-decoration: none;
  padding-left: 1rem;
  font-size: 1.5rem;
}
.navbar__link {
  color: var(--white);
  text-decoration: none;
  padding: 0rem 1rem;
}
.navbar__link:hover {
  color: var(--red);
  transition: 1s;
}

@media screen and (max-width: 769px) {
  body.active {
    overflow-y: hidden;
    overflow-x: hidden;
  }
  .navbar__link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
  }
  .navbar__menu {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 100px);
    position: absolute;
    width: 100%;
    top: -1000px;
    transition: 1s;
  }
  .navbar__menu.active {
    top: 100%;
    opacity: 1;
    z-index: 99;
    height: 70vh;
    font-size: 1.5rem;
    background: var(--black);
    transition: 0.5s;
  }
  .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.5s ease-in-out;
    background: var(--white);
    display: block;
    cursor: pointer;
  }
  #mobile-menu {
    position: absolute;
    top: 15%;
    right: 5%;
    transform: translate(5%, 20%);
  }
  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
.hero {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1)),
    url("https://images.unsplash.com/photo-1570829460005-c840387bb1ca?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1489&q=80")
      center/cover no-repeat fixed;
  height: 100vh;
  padding: 0.5rem calc((100vw - 1200px) / 2);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.hero__content {
  color: var(--white);
  padding: 3rem 1rem;
  line-height: 1;
}
.hero__content h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.hero__content p {
  font-size: clamp(1rem, 4vw, 2.5rem);
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.button {
  padding: 1rem 3rem;
  border: none;
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: 0.3s ease;
  text-decoration: none;
  border-radius: 4px;
}
.button:hover {
  background: var(--black);
}
.services {
  padding: 8rem calc((100vw - 1200px) / 2);
}
.services__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1rem;
}
.services__img {
  width: 100%;
  height: 100%;
}
.topline {
  color: var(--red);
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.services__heading {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6vw, 3rem);
}
.services__features {
  list-style: none;
}
.services__feature {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 5vw, 1.2rem);
}
.icon {
  margin-right: 0.5rem;
  color: var(--red);
}
@media screen and (max-width: 769px) {
  .services__container {
    grid-template-columns: 1fr;
  }
}
.memberships {
  background: var(--black);
  color: var(--white);
  padding: 6rem calc((100vw - 1100px) / 2);
  text-align: center;
}
.memberships h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  padding: 0 1rem;
}
.memberships__desc {
  margin-bottom: 3rem;
  font-size: clamp(1rem, 3vw, 1.5rem);
  padding: 1rem;
}
.memberships__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
}
.membership__card {
  padding: 2rem;
  min-height: 450px;
  width: 325px;
  background: var(--white);
  color: var(--black);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.membership__perks {
  min-height: 150px;
}
.membership__card p {
  margin-bottom: 1rem;
}
.card-icon {
  font-size: 3rem;
  color: var(--red);
  margin-bottom: 2rem;
}
.membership__card h3 {
  font-size: clamp(1rem, 5vw, 2rem);
  margin-bottom: 2rem;
}
@media screen and (max-width: 1100px) {
  .memberships__wrapper {
    flex-direction: column;
    align-items: center;
  }
  .membership__card {
    width: 90%;
    margin-bottom: 2rem;
  }
}
.team {
  padding: 8rem calc((100vw - 1100px) / 2);
}
.team__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(auto, 350px);
}
.team__card {
  margin: 1rem;
  border-radius: 10px;
  position: relative;
}
.team__text {
  padding: 1rem;
}
.team__text h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
}
.team__desc {
  font-size: clamp(1rem, 3vw, 1.3rem);
  line-height: 1.4;
}
.team__card p {
  position: absolute;
  bottom: 30px;
  color: var(--white);
  left: 25px;
  font-size: 3rem;
}
.team__img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.text__text:nth-child(1) {
  grid-row: 1 /3;
  grid-column: 2 /3;
}
.team__text:nth-child(2) {
  grid-row: 5 /6;
  grid-column: 1 /2;
}
.team__card:nth-child(3) {
  grid-row: 1 /3;
  grid-column: 1 /2;
}
.team__card:nth-child(4) {
  grid-row: 2/4;
  grid-column: 2/3;
}
.team__card:nth-child(5) {
  grid-row: 3/5;
  grid-column: 1/2;
}
.team__card:nth-child(6) {
  grid-row: 4/6;
  grid-column: 2/3;
}
@media screen and (max-width: 769px) {
  .team__wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .text__text:nth-child(1) {
    grid-row: 1 /2;
    grid-column: 1 /2;
  }
  .team__text:nth-child(2) {
    grid-row: 6 /7;
    grid-column: 1 /2;
  }
  .team__card:nth-child(3) {
    grid-row: 3 /4;
    grid-column: 1 /2;
  }
  .team__card:nth-child(4) {
    grid-row: 4/5;
    grid-column: 1/2;
  }
  .team__card:nth-child(5) {
    grid-row: 5/6;
    grid-column: 1/2;
  }
  .team__card:nth-child(6) {
    grid-row: 2/3;
    grid-column: 1/2;
  }
}
.email {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.6) 35%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
      center/cover no-repeat fixed;
  height: 450px;
  width: 100%;
  padding: 5rem calc((100vw - 1300px) / 2);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}
.email__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.email__content h1 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(1rem, 5vw, 3rem);
  padding: 0 1rem;
}
.email__content p {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  padding: 0 1rem;
  margin-bottom: 2rem;
}
form {
  z-index: 10;
}
.form__wrap input {
  padding: 1rem 1.5rem;
  outline: none;
  width: 350px;
  height: 50px;
  border: none;
  margin-right: 1rem;
  border-radius: 4px;
}
@media screen and (max-width: 769) {
  .form__wrap {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
  }
  .form__wrap input {
    margin-bottom: 1rem;
    width: 100%;
    margin-right: 0;
  }
  button {
    width: 100%;
    min-width: 350px;
  }
}
@media screen and (max-width: 400px) {
  button {
    width: 100%;
    min-width: 250px;
  }
}
.footer {
  padding: 5rem calc((100vw - 1100px) / 2);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  color: var(--white);
  background: var(--black);
}
.footer__desc {
  padding: 0 2rem;
}
.footer__desc h1 {
  padding-bottom: 2rem;
  color: var(--red);
  font-size: 1.5rem;
}
.footer__desc p {
  padding-bottom: 1rem;
}
#phone {
  font-weight: bold;
  font-size: 1.2rem;
}
.footer__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 2rem;
}
.footer__title {
  font-size: 14px;
  margin-bottom: 16px;
}
.footer__link {
  text-decoration: none;
  color: rgb(242, 242, 242);
  font-size: 14px;
  margin-bottom: 0.5rem;
  transition: 0.3s ease-in-out;
}
.footer__link:hover {
  color: var(--red);
}
@media screen and (max-width: 820px) {
  .footer__wrapper {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 400px) {
  .footer__desc,
  .footer__links {
    padding: 1rem;
  }
}
.copy {
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
}
