@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@100;200;300;500;700;900&family=IBM+Plex+Sans+Arabic:wght@100;200;300;500;700&display=swap");

/* CSS Codes */
*{
	margin: 0 auto;
    text-align: center;
    font-family: 'Cairo', sans-serif ;
    font-weight: 300;
    position: relative;
  }

body{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: fit-content;
  min-height: 100vh;
  max-height: fit-content;
  min-width: 100%;

  --MainColor: #000 ;
  --MainColorTrans: #000000de ;
  --SecoundColor: #8e7e40 ;
  --SecoundColorTrans: #8e7e40de ;
  --TextColor: #fff ;
  --WhiteTrans: #ffffffd3 ;
  --SecoundTextColor: #000 ;
}

.mainWeb{
  background-color: var(--TextColor);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#data-list{
  width: 90%;
  padding: 0px;
  margin: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
  min-height: 60vh;
  max-height: fit-content;
  transition: all 0.5s ease-in-out;
}

.pageName{
  width: 90%;
  height: 100px;
  background-image: url("Main\ Files/background.jpg");
  background-position: center;
  background-size: cover;
  border-radius: 25px;
  margin: 5px;
  margin-bottom: 15px;
}

.pageNameFilter{
  width: 100%;
  height: 100%;
  background-color: var(--WhiteTrans);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 700;
  font-size: 45px;
}

#data-list div{
  position: relative;
  width: 350px;
  max-width: 80%;
  height: 200px;
  padding: 0;
  overflow: hidden;
  background-color: var(--SecoundColor);
  border-radius: 15px;
  border: var(--SecoundColor) 1px solid;
  margin: 5px 2.5px;
  transition: all 0.7s ease-in-out;
}

#data-list div:hover{
  width: 425px;
  height: 250px;
  border: var(--SecoundColorTrans) 7.5px solid;
  background-color: var(--SecoundColor);
}


#data-list div:hover h3{
  font-size: 25px;
  letter-spacing: 2px;
  top: 62.5%;
}

#data-list img{
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0px;
  margin: 0;
  z-index: 0;
  right: 0;
  border-radius: 15px;
}

#data-list h2{
  font-size: 10px;
  background-color: var(--MainColorTrans);
  margin: 15px 15px 0px 15px;
  width: fit-content;
  padding: 2.5px 10px;
  border-radius: 5px;
}

#data-list h3{
  font-size: 30px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 300;
  background-color: var(--SecoundColorTrans);
  color: var(--TextColor);
  top: 50%;
  padding: 2.5px 0px;
  margin: 5px;
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
}

@media only screen and (max-width: 1000px){
  #data-list h3{
    top: 40%;
  }

  #data-list div:hover h3{
    top: 55.5%;
  }
}



#loadingCardView{
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

#loadingCardView img{
  width: 200px;
}

#loadingCardView h1{
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 20px;
  color: var(--MainColor);
  bottom: 10%;
}