#hero {
  width: 90vw;
  border-radius: 40px;
  margin-top: 70px;
  box-shadow: 10px 10px 30px var(--shadow-gray);
  overflow: hidden;
}

#hero-text-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  gap: 30px;
}

#hero-h2,
#hero-h3 {
  font-family: "Rubik";
}

#hero-h2 {
  font-weight: 600;
  font-size: var(--hero-h2);
}

#hero-h3 {
  font-weight: normal;
  font-size: var(--hero-h3);
}

.btn-hero {
  width: 40%;
  color: var(--text-white);
}

.btn-hero > svg {
  transition-duration: 0.3s;
}

.btn-hero:active > svg,
.btn-hero:hover > svg {
  transform: translateX(10px);
}

#hero-img {
  object-fit: contain;
}

#trust {
  display: flex;
  text-align: center;
  margin-top: -50px;
  width: 100vw;
  gap: 40px;
}
#star-wrap {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 5px;
}

.star {
  width: 15px;
  height: 15px;
  object-fit: cover;
}

.google-map-logo {
  width: 160px;
  height: 50px;
  display: block;
  object-fit: contain;
}

#rating-images-wrap {
  display: inline-flex;
  margin-top: 10px;
}

.rating-images {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-left: -10px;
  border: 3px solid var(--text-white);
}

.rating-images:first-child {
  margin-left: 0;
  border: none;
}

#partner-brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  row-gap: 20px;
}

.brands {
  object-fit: contain;
  width: 100px;
  height: 50px;
  filter: invert(60%);
}

#features {
  padding: 50px 0 100px;
  background-color: var(--lightgray);
  border-radius: 40px;
  width: 95vw;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 100px;
}

#ft-body {
  display: flex;
}

.ft-list {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
  gap: 10px;
  height: 450px;
  color: var(--text-white);
  border-radius: 40px;
  background-size: cover;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 10px 10px 20px var(--shadow-gray);
  transition-duration: 0.3s;
}

.ft-list:nth-child(odd):hover {
  transform: rotate(2deg);
}

.ft-list:nth-child(even):hover {
  transform: rotate(-2deg);
}

.ft-list::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-color: var(--bg-black-transparent);
  width: 100%;
  height: 100%;
}

.ft-list > p {
  margin: 0 auto 30px;
  width: 80%;
}

.ft-topic {
  display: block;
  font-weight: 500;
}

#our-promise {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 15px;
  width: 90%;
  outline: 1px solid var(--shadow-gray);
  padding: 25px;
  border-radius: 30px;
}

#our-promise > button:hover {
  transform: translateX(7px);
}

#activities-wrap {
  font-family: "Rubik";
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 15px;
  text-align: center;
  font-weight: normal;
}

#activities-list {
  display: grid;
  grid-template-columns: repeat(2, 45vw);
  place-items: center;
}

#activities-list > div {
  width: 100%;
  height: 70px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  border: 1px solid rgba(50, 50, 50, 0.3);
  transition-duration: 0.3s;
  backdrop-filter: blur(30px);
  font-size: var(--font-size-small);
}

#activities-list > div:last-child {
  grid-column: span 2;
}

#activities-list > div:hover {
  transform: translateY(-5px);
  background-color: transparent;
}

#crew {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 15px;
}

#crew-flow-parent {
  width: 90vw;
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 20px;
}

.crew-flow-child {
  background-size: cover;
  border-radius: 50px;
  box-shadow: 10px 10px 10px var(--shadow-gray);
  z-index: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  color: var(--text-white);
  transition-duration: 0.3s;
}

.crew-flow-child span {
  font-family: "Rubik";
}

.crew-flow-child:nth-child(odd):hover {
  transform: rotate(-2deg);
}

.crew-flow-child:nth-child(even):hover {
  transform: rotate(2deg);
}

.crew-flow-child > * {
  margin: 0 0 50px 50px;
}

.crew-flow-child > *:first-child {
  margin-bottom: 5px;
}

.crew-flow-child::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: linear-gradient(to bottom, transparent, var(--bg-black));
}

.crew-flow-child:nth-child(1) {
  background: url("/img/406.jpg") no-repeat center / cover;
}

.crew-flow-child:nth-child(2) {
  background: url("/img/465.jpg") no-repeat left / cover;
}

#testimonial {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 5px;
  text-align: center;
}

#testimonial img {
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 10px 10px 20px var(--shadow-gray);
}

#carousel-wrap {
  display: flex;
  flex-flow: column;
  gap: 40px;
  width: 85vw;
}

#carousel-slide {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-evenly;
  overflow: auto;
  gap: 50px;
  width: 85vw;
  margin: 0 auto;
}

#carousel-slide div {
  padding: 20px 0;
  font-family: "Rubik";
}

#carousel-slide div blockquote {
  margin-top: 20px;
}

#carousel-slide div cite {
  display: block;
  text-align: right;
}

#arrow-wrap {
  display: flex;
  flex-flow: row nowrap;
  gap: 20px;
}

.arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--shadow-gray);
  border-radius: 50%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

#contact {
  text-align: center;
  display: flex;
  gap: 5px;
  flex-flow: column nowrap;
  align-items: center;
  overflow: hidden;
  width: 100vw;
  padding: 50px 0;
}

#cta {
  height: 400px;
  color: var(--text-white);
  border-radius: 50px;
  background: url("/img/gym-workout-66d087d56ef90.jpg") no-repeat center / cover;
  position: relative;
  overflow: hidden;
  z-index: 0;
  width: 90vw;
}

#cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-color: var(--bg-black-transparent);
  backdrop-filter: blur(3px);
  width: 100%;
  height: 100%;
}
#cta-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: ;
  gap: 10px;
  padding: 10% 30px;
}
#cta-btn-wrap {
  display: inline-flex;
  width: 100%;
  justify-content: space-evenly;
  margin-top: 90px;
}

#cta-btn,
#cta-btn-negative {
  width: 100%;
  border: none;
}

#cta-btn-negative {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--text-white);
}

#map-wrap {
  width: 90vw;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  flex-flow: column nowrap;
  align-content: center;
  box-shadow: 10px 10px 10px var(--shadow-gray);
}

#map {
  min-width: 400px;
  height: 500px;
  border: none;
}

#map:focus {
  outline: none;
}
#social-link {
  text-align: center;
}

#social-link-inline {
  display: inline-flex;
  gap: 20px;
  margin: 20px 0;

}

address {
  line-height: 40px;
  display: flex;
  flex-flow: column;
}

@media only screen and (min-width: 0) and (max-width: 699px) {
  button {
    width: 40vw;
    height: 60px;
    border: none;
  }

  #ql-wrap {
    display: none;
  }

  #hero {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding-top: 40px;
  }

  #hero-img {
    width: 100%;
    height: 400px;
  }

  #hero-text-wrap {
    height: 100%;
    width: 100%;
  }

  #hero-h2,
  #hero-h3 {
    padding: 0 30px;
  }

  .btn-hero {
    width: 40%;
    height: 60px;
  }

  #trust {
    flex-flow: column nowrap;
    align-items: center;
  }

  #star-wrap {
    width: 100%;
  }

  #partner-brands {
    width: 80%;
  }


  #ft-body {
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
  }

  .ft-list {
    width: 90%;
  }

  #activities-list {
    gap: 5vw;
  }



  #crew-flow-parent {
    display: flex;
    flex-flow: column;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
  }

  .crew-flow-child {
    width: 100%;
    height: 500px;
  }

  #testimonial img {
    width: 60vw;
    height: 400px;
  }


}

@media only screen and (min-width: 700px) {
  body:has(#dd-checkbox:checked) {
    overflow: scroll;
  }

  #dd-toggle {
    display: none;
  }

  nav {
    height: 60px;
  }

  body:has(#dd-checkbox:checked) ul#navbar {
    background-color: var(--text-white);
  }

  #hero {
    height: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
  }

  #hero-h2 {
    width: 80%;
  }
  
  #hero-img {
    height: 300px;
    width: 100%;
    align-self: end;
  }

  .btn-hero {
    height: 60px;
    margin: 0;
  }

  #trust {
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
  }

  #star-wrap {
    width: 40%;
  }

  #partner-brands {
    width: 40%;
  }

  #features > ul {
    width: 100%;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    place-items: center;
  }

  #features > ul > li {
    width: 100%;
  }



  #our-promise {
    width: 90%;
  }

  #activities-list {
    grid-template-columns: repeat(5, 18vw);
    place-content: center;
    gap: 2vw;
  }

  #activities-list > div:last-child {
    grid-column: span 3;
  }

  button {
    height: 60px;

    width: 200px;
  }

  #crew-flow-parent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
  }

  .crew-flow-child {
    width: 100%;
    height: 400px;
  }

  #testimonial img {
    width: 40vw;
    height: 400px;
  }

}

/*@media only screen and (orientation: landscape) {
  #hero {
    height: 120dvh;
    
  }
  .btn-hero {
    margin-top: ;
  }
}*/
/*@media only screen and (min-width: 2000px) {
  body {
    width: 70vw;
  }
}*/