body {
  background: url(../bg.jpg) no-repeat center center fixed;
  background-size: cover;
  justify-content: center;
  align-items: center;
  font-family: arial;
  direction: rtl;
  overflow-x: hidden;
}
header {
  min-height: 200px;
}
footer {
  direction: ltr;
  text-align: center;
  color: #fff;
}

.logo {
  text-align: center;
}
.logo img {
  width: 600px;
}
@media (max-width: 668px) {
  header {
    min-height: 100px;
  }
  .logo img {
    width: 350px;
  }
}
@media (max-width: 440px) {
  .logo img {
    width: 300px;
  }
}

.services {
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  padding: 70px;
}

.services .card {
  padding: 20px;
  border-radius: 5px;
}

.services .card .face {
  width: 300px;
  height: 200px;
  transition: 0.4s;
}

.services .card .face.face1 {
  border-radius: 10px;
  position: relative;
  background: repeating-radial-gradient(black, rgb(8, 8, 90));
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(100px);
  color: #fff;
}

.services .card:hover .face.face1 {
  border-radius: 10px 10px 1px 1px;
  transform: translateY(0);
  box-shadow: inset 0 0 60px whitesmoke, inset 20px 0 80px #f0f,
    inset -20px 0 80px #0ff, inset 20px 0 300px #f0f, inset -20px 0 300px #0ff,
    0 0 50px #fff, -10px 0 80px #f0f, 10px 0 80px #0ff;
}

.services .card .face.face1 .content {
  opacity: 0.6;
  transition: 0.5s;
  text-align: center;
}

.services .card:hover .face.face1 .content {
  opacity: 1;
}

.services .card .face.face1 .content i {
  font-size: 3em;
  color: #fff;
  display: inline-block;
}

.services .card .face.face1 .content h3 {
  font-size: 1em;
  color: #fff;
  text-align: center;
}

.services .card .face.face1 .content a {
  transition: 0.5s;
}

.services .card .face.face2 {
  position: relative;
  /*    background: whitesmoke; */
  background-color: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.8);
  transform: translateY(-100px);
}

.services .card:hover .face.face2 {
  transform: translateY(0);
  border-radius: 1px 1px 10px 10px;
}

.services .card .face.face2 .content p,
a {
  font-size: 10pt;
  margin: 0;
  padding: 0;
  /*   color:#333; */
  color: #fff;
}

.services .card .face.face2 .content a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  box-sizing: border-box;
  outline: 1px dashed #333;
  padding: 10px;
  margin: 15px 0 0;
  display: inline-block;
}

.services .card .face.face2 .content a:hover {
  background: #333;
  color: whitesmoke;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.services .link {
  width: 100%;
  text-align: center;
  align-items: center;
}
