* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial;
  direction: rtl;
  background-color: gainsboro;
  padding: 10px;
  font-size: 1rem;
  position: relative;
  z-index:1;

}

main {

  width: 90%;
  height: auto;
  padding: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom:30px;
  margin-top: 65px;
  margin-left: auto;
  border-radius: 20px;
  background: gainsboro;
  text-align: center;
 

}

span {
  font-weight: bold;
}


h1 {

  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 2em;
  color: #616a74;
  line-height: 2em;
}

main p {
  color: #333;
  margin: 20px 0 20px 0;
  line-height: 1.4;
}

.gallery img {
  width: 230px;
  padding: 5px;
  filter: grayscale(100%);
  transition: 0.8s;
}

.list {

  width: 20%;
}

.list:hover {

  transform: scale(2);
  flex-basis: calc(100% / 3);
  padding: 5px;
  margin: 0;
  cursor: pointer;
  transition: 0.4s;
  width: 25%;
  margin: 30px auto;
  border: 5px solid rgba(236, 17, 17, 0.884);
  display: flex;
  flex-wrap: wrap;

}

#Tglr {
  margin-top: 25px;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

#Tglr th {
  border: 2px solid white;
  background-color: red;
  width: 30%;
  height: 80%;
}

#Tglr td {
  border: 2px solid red;
  width: 30%;
  height: 80%;
}
.element {
    
  width: 100%;
  height: 100%;
  animation: pulse 5s infinite;
}

@keyframes pulse {
  0% {
    background-color:white;
    color:red:
  }
  100% {
    background-color: #FF4136;
    color:white;
  }
}
@media(max-width:700px)
{
h1{

font-size:20px;

}





}


