
nav{
  position: fixed;
  top:0;
  background-color:#28231D;
  width: 100vw;
}

nav ul{
  display: flex;
  list-style: none;
   
  justify-content: center;
}
nav ul li{
  position:relative;

  cursor: pointer;
  transition: .5s;
}

nav ul li a{
  text-decoration: none;
  color: inherit;
}
nav ul li:hover{
  color: #000;
}
nav ul li:before,
nav ul li:after{
  content: '';
  width: 100%;
  height:100%;
  position: absolute;
  top:0;
  left:0;
  background:#64e764;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s;
}
nav ul li:after{
  z-index:-2;
  filter: blur(20px);
}
nav ul li:hover:before,
nav ul li:hover:after{
  transform: scaleY(1);
  transition-origin: top;
}

@media all and (max-width: 500px;){
  display: block;
  cursor: pointer;
}

#container{
  margin-top: 30px;
}

::selection{
  background-color: #9400D3;
}


.blink {background:#28395e !important;
color: #fff !important;}

 .blink {
    animation-duration: 2000ms;
    animation-name: blink;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    color: white;
    -webkit-animation:blink 2000ms infinite; /* Safari and Chrome */
}
.alert {
  padding: 15px;
  background-color: #002244; /* Red */
  color: white;
  text-align: center;
  font-size:15px;
  font-weight:500;
  margin-top: 15px;
  border-radius: 10px;
  display:none;
}



.our-services {
  margin-top:  50px;
}
.flip-container {
  -webkit-perspective: 1000;
  margin: 0 auto 60px auto;
  width: 320px;
  height: 200px;
  border-radius: 15px;
  cursor:pointer;
}

.flip-container:hover .flipper {
  -webkit-transform: rotateY(180deg);
  cursor:pointer;
}
.flip-container.hover .flipper {
  -webkit-transform: rotateY(180deg);
  cursor:pointer;
}

.front {
  width: 320px;
  height: 250px;
  border-radius: 15px;
  -webkit-backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.front h3 {
  text-align: center;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  color: white;
}

.front img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.back {
 width: 320px;
  height: 250px;
  border-radius: 15px;
  -webkit-backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: rotateY(180deg);
  text-align: center;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  color: white;
}

.back h3 {
  margin-top: 20px;
}

.back p {
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  margin-right:15px;
}

.flipper {
  -webkit-transition: 0.6s;
  -webkit-transform-style: preserve-3d;
  position: relative;
}
