@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;

  --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;
}

.MainPlaceForCoding{
  max-width: 95%;
  max-height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  height: fit-content;
  margin-bottom: 10px;
}

.cardLinear{
  width: 400px;
  height: 250px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius: 15px;
  padding: 0;
  margin: 2.5px 15px;
  border: var(--SecoundColor) 1px solid;
}

.cardLinear img{
  position: absolute;
  width: 100%;
  height: auto;
  right: 0%;
}

.mainLinearForCard{
  width: 100%;
  height: 40%;
  background-color: var(--SecoundColorTrans);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 0.5s ease-in-out;
}

.cardLinear:hover .mainLinearForCard{
  height: 100%;
}

.mainLinearForCard h1{
  color: var(--TextColor);
  font-weight: 700;
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

.mainLinearForCard a{
  opacity: 0;
  height: 0px;
  transition: all 0.5s ease-in-out;
}

.cardLinear:hover .mainLinearForCard a{
  opacity: 1;
  height: fit-content;
}

.mainLinearForCard button{
  padding: 2px 10px;
  margin: 5px;
  border: 1px solid var(--TextColor);
  background-color: var(--TextColor);
  color: var(--SecoundColor);
  font-weight: 500;
  font-size: 15px;
  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: 32.5px;
}