body {
  background-color: #100B30;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.card {
  width: 350px;
  margin: 10px;
}
ul {
  margin-left: 50px;
}
.myWork {
  display: flex;
}
.card-content {
  position: relative;
  padding: 15rem 5rem;
  transform-style: preserve-3d;
  transition: transform 3s;
}
.card:hover .card-content {
  transform: rotateY(180deg);
}
.card-front,
.card-back {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.card-front,
.card-back {
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  color: #9a9a9b;
}
.one {
  background-image: url(Cities.png);
 background-repeat: no-repeat;
 background-position: center;
}
.two {
  background-image: url(gastro.png);
  background-repeat: no-repeat;
  background-position: center;
}
.three {
  background-image: url(era2.png);
  background-color: #3f4453;
  background-repeat: no-repeat;
  background-position: center;
}
.four {
  background-image: url(anika.png);
  background-repeat: no-repeat;
  background-position: center;
}
.card-front::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 3px solid #6919FF;
  transform: translateZ(2rem);
}
.title {
  font-family: "Teko", sans-serif;
  font-size: 4.5rem;
  text-transform: uppercase;
  line-height: 120%;
  transform: translateZ(4.4rem);
}
.sub-title {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  transform: translateZ(3rem);
}
.card-back {
  background-image: url(./back.jpg);
  transform: rotateY(180deg);
  gap: 0.5rem;
}
.back-title {
  font-family: "Teko", sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: #6919FF;
  text-transform: uppercase;
  align-self: center;
  transform: translateZ(2rem);
}
.card-back span {
  font-weight: 600;
  color: #6919FF;
}
.btn {
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 2.2rem;
  color: #6919FF;
  border: 2px solid #838DAA;
  border-radius: 100px;
  text-align: center;
  align-self: center;
  margin-top: 1rem;
  transform: translateZ(2rem);
  transition: 0.3s ease;
}
.btn:hover {
  background-color: #6919FF;
  color: white;
  border: 2px solid #6919FF;
}
.container {
  display: flex;
  flex-direction: column;
}
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  position: absolute;
  position: fixed;
  top: 30px;
  background-color: rgba(16, 11, 48, 0.7);
  width: 100%;
  border: 1px solid #6919FF;
}
.menu {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  padding: 20px;
  width: 250px;
}
.menu:hover {
  color:  #37118B;
  transition-duration: 2.5s;
}
.textWork {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 150px;
  color: #838DAA;
  text-decoration: none;
  font-size: 20px;
  font-family: 'Inter', sans-serif;

}
h4 {
  margin: 10px;
}
i {
  color: #fff;
}
span {
  color:#6919FF;
}
.work {
  margin: 0;
  width: 100%;
  height: 100%;
}
#root {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#root>div {
  position: absolute;
  background: radial-gradient(ellipse at center, rgba(255, 254, 249, 1) 2%, rgba(131, 141, 170, 1) 100%);
  border-radius: 100%;
  animation: shine infinite alternate;
}
@keyframes shine {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  20% {
    transform: scale(.9);
    opacity: .8;
  }
  40% {
    transform: scale(1);
    opacity: .9;
  }
  40% {
    transform: scale(.2);
    opacity: .2;
  }
  60% {
    transform: scale(.2);
    opacity: .1;
  }
  80% {
    transform: scale(.5);
    opacity: .5;
  }
  100% {
    transform: scale(.9);
    opacity: .9;
  }
}
@media all and (max-width: 800px) {
  .menu {
    font-size: 14px;
    padding: 10px;
    width: 20px;
    margin-left: -50px;
  }
  .textWork {
    font-size: 15px;
    margin-top: 100px;
    width: 400px;
  }
  .myWork {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 250px;
  }
  .back-title {
    font-size: 25px;
  }
}

