@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&display=swap');

* {
  margin: 0;
  padding: 0;
  direction: rtl;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Assistant", serif;
  background-color: #f9ffff;
}

.menu-width {
  width: 100%;
  display: flex;
  justify-content: center;
}

.menu {
  position: fixed;
  width: 95%;
  top: 0;
  background: white;
  padding: 1.5rem 0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0.5rem;
  z-index: 99;
}

nav {
  display: flex;
  width: 100%;
}

.menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 0%;
  height: 100%;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-direction: row;
  padding-right: 2rem;
}

.menu nav ul a {
  display: flex;
  color: rgba(0, 0, 0, 0.611);
  text-decoration: none;
  font-size: 1.5rem;
  transition: 0.2s ease;
}

.option-1:hover {
  font-size: 2.5rem;
  color: white;
}

.option-2 {
  color: rgb(255, 255, 255) !important;
}

.option-3:hover {
  font-size: 2.5rem;
  color: white;
}

.ul-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ul-logo img {
  width: 5%;
  height: auto;
}

.family {
  height: auto;
  width: 100%;
  position: relatives;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.bg {
  width: 100%;
  height: 70vh;
  border-end-start-radius: 3rem;
  border-end-end-radius: 3rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.36);
  background-position: center !important;
  background-size: cover !important;
}

.bg-family {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0)
    ),
    url(../Categories-pages/Family/Family.jpg);
}

.bg-pregnancy {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0)
    ),
    url(../Categories-pages/Pregnancy/image-1.jpg);
}

.bg-chalake {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0)
    ),
    url(../Categories-pages/Chalake/image-1.jpg);
}

.bg-one-year {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)),
    url(../Categories-pages/One-year/image-1.jpg);
}

.bg-couples {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)),
    url(../Categories-pages/Couples/image-15.jpg);
}

.bg-book {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)),
    url(../Categories-pages/Book/image-1.jpg);
}

.bg-first-grade {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)),
    url(../Categories-pages/First-grade/image-1.jpg);
}

.bg-studio {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)),
    url(../Categories-pages/Studio/image-1.jpg);
}

.bg h1 {
  position: absolute;
  bottom: 0;
  font-size: 6rem;
  color: #f9ffff;
}

.text {
  margin-top: 5rem;
  width: 65%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.text p {
  font-size: 2rem;
  text-align: center;
}

.text p span {
  font-weight: 600;
}

.gallery {
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
  width: 75%;
}

.gallery img {
  width: 100%;
}

.gallery-phone {
  display: none;
}

.btn {
  font-family: "Assistant";
  margin: 4rem;
  border: none;
  background-color: #3c3c3c;
  padding: 1.1rem 2rem;
  box-shadow: 0px 5px 50px rgba(0, 0, 0, 0.274);
  color: #f9ffff;
  font-weight: 500;
  border-radius: 2rem;
  font-size: 1.75rem;
}

@media screen and (max-width: 900px) {

body {
  font-family: "Assistant", serif !important;
  background-color: #f9ffff;
}

  .gallery-desktop {
    display: none !important;
  }

  .gallery-phone {
    height: 50vh;
    display: block;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
  }

  .gallery-phone img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .bg {
    height: 45vh;
  }

  .bg h1 {
    font-size: 4.7rem;
  }

  .text {
    width: 80%;
  }

  .text br {
  }

  .menu {
    padding: 0.7rem 0rem;
  }

  .ul-logo img {
    width: 12%;
  }

  .swiper-button-prev,
  .swiper-button-next {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    display: none;
  }

  .swiper-button-next {
    rotate: 180deg;
  }

  .arrow {
    width: 65% !important;
  }

  .swiper-pagination-bullet,
  .swiper-pagination-bullet-active {
    background: rgb(52, 52, 52);
  }
}
