* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: "Gotham-book";
  src: url("../assets/fonts/Gotham-Book.otf");
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: "Gotham-book";
}
.lang-ar {
  direction: rtl;
}

nav {
  background-color: #090b0e;
  color: #ffffff;
  padding: 0 20px 100px;
  padding-right: 40px;
  position: relative;
  z-index: 4;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: transparent;
  backdrop-filter: blur(20px);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

nav.show {
  transform: translateX(0);
  opacity: 1;
}
nav .nav-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 10px;
}

nav .nav-header span:last-child {
  cursor: pointer;
}

nav .nav-header span {
  font-weight: 400;
  font-size: 15px;
}

nav .pages {
  margin: 80px 30px 0;
  list-style: none;
  font-weight: 400;
  font-size: 25px;
  padding-left: 0;
}
nav .pages li {
  margin-bottom: 20px;
  cursor: pointer;
}

nav .pages li a {
  color: #fff;
  text-decoration: none;
}
nav .pages li img {
  margin-left: 24px;
  cursor: pointer;
}

nav .timetable {
  margin-top: 30px;
  list-style: none;
  font-weight: 300;
  font-size: 20px;
  display: none;
  padding: 0 60px;
}

nav .timetable.show {
  display: block;
}

nav button {
  background: #1885c9;
  padding: 7px 20px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  margin: 20px 0;
  border: none;
  margin-left: 30px;
  cursor: pointer;
}
nav button a {
  color: #fff;
  text-decoration: none;
}
nav hr {
  width: 50%;
  margin-left: 30px;
}
nav .loaction {
  font-weight: 400;
  font-size: 16px;
  margin-left: 30px;
  margin-top: 20px;
  display: block;
}

nav .sochial {
  list-style: none;
  display: flex;
  font-weight: 400;
  font-size: 16px;
  margin-top: 20px;
  padding-left: 0;
  margin-left: 30px;
  gap: 10px;
}

.navigation-section {
  position: fixed;
  top: 15px;
  color: rgba(255, 255, 255, 1);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 120px);
  z-index: 1;
}

.navigation-bar {
  height: 4px;
  background-color: rgba(235, 235, 235, 0.3);
  border-radius: 10px;
}

.bar-fill {
  border-radius: 10px;
  width: 0%;
  height: 100%;
  background-color: #1885c9;
  transition: width 0.2s ease;
}

.header-photos {
  position: fixed;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 20px 60px;
  padding-top: 30px;
  z-index: 3;
}

.header-photos img:first-child {
  width: 100px;
  height: 32px;
}
.header-photos img:last-child {
  cursor: pointer;
}

section {
  height: 100vh;
  position: relative;
  background-position: center;
}

section .card {
  width: 504px;
  position: absolute;
  bottom: 30px;
  left: 100px;
  z-index: 1;
}

section .card ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

section .card span {
  font-size: 30px;
  color: #fff;
  margin-bottom: 20px;
  display: block;
  font-weight: 600;
}

section .card p {
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.8;
}

.first-section {
  background: url("../assets/imgs/Fitness-Classes.jpg") no-repeat center/cover;
  background-position: 51%;
}

.first-section .text {
  bottom: 60px;
  position: absolute;
  justify-content: space-between;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 0 60px;
}

.first-section span {
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  font-size: 60px;
}

.first-section span:nth-last-child(1) {
  font-weight: 500;
  font-size: 13px;
  max-width: 40%;
  line-height: 1.8;
}

.first-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  mix-blend-mode: multiply;
}

.second-section {
  background: url("../assets/imgs/fully-euipped-gym.jpg") no-repeat center/cover;
  background-position: 80%;
}

.third-section {
  background: url("../assets/imgs/GX_Class.jpg") no-repeat center/cover;
  background-position: 39%;
}
.third-section .card span {
  color: #fff;
}
.fourth-section {
  background: url("../assets/imgs/ASP_JR_BOYS.jpg") no-repeat center/cover;
  background-position: 60%;
  position: relative;
}

.third-section .card {
  right: 100px;
  left: auto;
}

footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: rgba(12, 12, 12, 1);
  align-items: center;
  padding: 60px;
  gap: 50px;
  backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 1);
  padding-top: 100px;
  padding-right: 60px;
  padding-bottom: 50px;
  padding-left: 60px;
}

.overlay {
  height: 40%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: rgb(0 0 0 / 30%);
}

footer div {
  width: 33.333%;
}

footer div:nth-child(1) span {
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

footer div:nth-child(1) p {
  font-size: 50px;
  font-weight: 400;
}

footer div:nth-child(2) span {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

footer div:nth-child(2) p {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 10px;
}

footer div:nth-child(3) {
  display: flex;
  flex-direction: column;
}

footer div:nth-child(3) span:nth-child(1) {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

footer div:nth-child(3) a {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 5px;
  color: #fff;
}

footer ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
@media (min-width: 320px) and (max-width: 768px) {
  .header-photos {
    padding: 30px 20px;
  }
  .navigation-section {
    width: calc(100% - 60px);
  }
  .first-section {
    background-size: cover;
  }

  .first-section .text {
    flex-direction: column;
    align-items: start;
    gap: 20px;
    padding: 0 20px;
  }
  .first-section span:nth-last-child(1) {
    max-width: 100%;
    line-height: 1.7;
  }
  .first-section span {
    left: 30px;
    font-size: 40px;
  }
  section .card {
    width: 333px;
    left: 20px;
  }
  .third-section .card,
  .fifth-section .card {
    right: 20px;
  }
  footer {
    padding-top: 50px;
    padding-right: 30px;
    padding-bottom: 50px;
    padding-left: 30px;
    flex-direction: column;
    align-items: flex-start;
  }
  footer div {
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .header-photos {
    padding: 30px 30px;
  }
  .first-section span {
    left: 30px;
  }
  section .card {
    left: 30px;
  }
  .third-section .card {
    right: 30px;
  }
  footer {
    padding-top: 100px;
    padding-right: 30px;
    padding-bottom: 50px;
    padding-left: 30px;
    flex-wrap: wrap;
  }

  footer div:nth-child(1) {
    width: 100%;
  }
}
