/* introduce section */

.home {
  background-image: url("../images/index/slider_bg.jpg");
  background-size: cover;
  color: white;
  padding: 30px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.homBox {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  min-height: 70vh;
}

.contentHome {
 
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  padding: 0 10px;

}

.homBox p {
  font-weight: 300;
  padding: 25px 0;
  font-size: 1.3rem !important;
  line-height: 3rem !important;
}

.homBox h1,
.homBox h2 {
  font-weight: 900;
  font-size: 2.8rem;
}

.manImg img {
  width: 90%;
  margin: auto;
}

.logo {
  width: 150px;
  align-self: flex-start;
}

.scale {
  background-color: var(--petrol);
  height: 15px;
  border-radius: 0 0 5px 5px;
  width: 85%;
  margin: auto;
}

/* ---------------   main-Gif-img  ---------------- */
.main-Gif-img{
  margin: 80px auto 40px;
  display: block;
  max-width: 98%;  
}

/* ---------------   category  ---------------- */
.category {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.category .category-card {
  padding: 5px;
  margin: 5px;
  width: 85px;
  text-align: center;
  text-transform: capitalize;
  font-weight: 600;
  color: var(--gray);
  transition: 0.35s ease-in-out;
  cursor: pointer;
}

.category img {
  transition: 0.35s ease-in-out;
  width: 40px;
  filter: grayscale(100%) brightness(0%) contrast(1000%);
  -webkit-filter: grayscale(100%) brightness(0%) contrast(1000%);
  -moz-filter: grayscale(100%) brightness(0%) contrast(1000%);
}

.category-card:hover {
  color: var(--aqua);
  transform: scale(1.2);
}

.category-card:hover > img {
  filter: none;
  -webkit-filter: none;
  -moz-filter: none;
}
/* ---------------   content  ----------------- */

.content {
  position: relative;
  overflow: hidden;
}

.menu li {
  margin: 0%;
  font-weight: 600;
  font-size: 1rem;
  padding: 0;
  line-height: 2rem;
  text-transform: capitalize;
}

.content li {
  color: var(--petrol);
}

.boxContent {
  height: 70%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  align-self: center;
  text-align: center;
  padding: 0 10px;
}

.content img {
  max-width: 95%;
  margin: 0 auto 25px;
}

/* -------------- base map ------------ */

.BaseMaps {
  color: white;
  padding: 50px 0;
  position: relative;
}

.bgChangeable {
  background-image: url("../images/index/base_map_bg.jpg");
  height: 100%;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  top: 0%;
  z-index: -1;
  width: 100%;
  position: absolute; 
}

.BaseMaps .mainTitle {
  color: white;
}

.BaseMaps .menu {
  margin: 30px 0;
}

.BaseMaps .menu li {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-inline-start: 1rem;
}

.BaseMaps p {
  padding: 10px 3.6rem 25px !important;
}
.centerBtn {
  display: flex;
  justify-content: center;
}
.centerBtn button {
  width: 220px;
}

/* training  */

.training {
  background-image: url("../images/index/training_bg.jpg");
  background-size: cover;
  background-position: center;
}

/* pop up */
.popUp {
  height: 300px;
  position: static;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transform: translate(0, -50%);
  top: 45vh;
  position: relative;
  background-color: rgba(255, 255, 255, 0);
}

.popUp * {
  border: none;
}

@media screen and (min-width: 768px) {
  .logo {
    width: 230px;
  }

  .homBox {
    flex-direction: row;
    text-align: inherit;
    height: 50vh;
    min-height: 400px;
    flex-direction: row;
    justify-content: space-between;
  }
  .home {
    text-align: right;
  }
  .manImg img {
    display: block;
    width: 100%;
  }

  .manImg {
    display: flex;
    justify-content: flex-end;
  }

  .content {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
  }
  .content img {
    width: 48%;
    margin: 0;
  }

  .BaseMaps .menu {
    width: 60%;
  }
  .boxContent {
    align-items: flex-start;
    justify-content: center;
    text-align: inherit;
    max-width: 49%;
  }

  .category img {
    width: 60px;
  }
  .contentHome {
    text-align: start;
    justify-content: center;
    align-items: flex-start;
  
  }
  .training img {
     width: 40% !important;
  }
  .popUp {
    height: 450px;
  }
  
.homBox p {
  font-weight: 300;
  padding: 35px 0;
}
}

@media screen and (min-width: 1100px) {
  .homBox {
    flex-direction: row;
    height: 65vh;
  }
  .contentHome {
  
    width: 38%;
  }

  .manImg {
    width: 55%;
  }

  .category .category-card {
    min-width: 100px;
    width: auto;
  }

  .homBox h1,
  .homBox h2 {
    font-size: 3rem;
  }
  .content .menu li {
    font-size: 1.2rem;
    margin: 5px 0;
  }
  .content .menu{
    margin : 10px 0
  }
  .homBox p {
    font-weight: 600;
    font-size: 1.2em;
  
  }
  .BaseMaps .menu {
    width: 50%;
  }

  .BaseMaps .menu li {
    font-size: 1.9rem;
  }

  .BaseMaps p {
    padding: 1rem 3.5rem;
  }

  .centerBtn {
    width: 35%;
  }

  .BaseMaps p {
    margin: 10px 0;
    padding: 1.5rem;
  }

  .category .category-card {
    min-width: 130px;
    margin: 20px 10px;
  }

  .category img {
    width: 60px;
  }
  .popUp {
    height: 510px;
    /* transform: translate(0, 10%) !important; */
  }
}

@media screen and (min-width: 1100px) {
  .homBox h1,
  .homBox h2 {
    font-size: 3.8rem;
  }
  .contentHome {
   
    width: 40%;
  }

  .manImg {
    width: 50%;
  }

}