.bg-cover {
  position:fixed;
  z-index:9999;
  margin:auto;
  top:0;
  bottom:0;
  left:0;
  right:0;
  background:rgba(0,0,0,0.5);
}
.swp-hide {
  display:none;
}
.swp-show {
  display:block;
}
.form-button.menu-item {
  color:#ffffff !important;
  font-size:18px;
  padding:14px;
  cursor:pointer;
}
/** Effects  **/
.fade-in {
  animation: fadeIn 1s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.fade-out {
  animation: fadeOut ease 1s;
  animation-fill-mode: forwards;
}
@keyframes fadeOut {
  0% { opacity: 1; }
  99.9% { opacity: 0; }
  100% { display:none; }
}
.dataHide * {
  display:none;
}
.movingBorder {
  width: 60vw;
  height: 60vh;
  border: solid 3px green;
  position: relative;
  background: pink;
  animation: changeBorders 0.75s linear;
  border-radius:10px;
}

@keyframes changeBorders {
  0% {
    border: solid 5px white;
    border-left: solid 3px green;
  }
  25% {
    border: solid 5px white;
    border-left: solid 3px green;
  }
  25.02% {
    border: solid 5px white;
    border-left: solid 3px green;
    border-bottom: solid 3px green;
  }
  50% {
    border: solid 5px white;
    border-left: solid 3px green;
    border-bottom: solid 3px green;
  }
  50.02% {
    border: solid 5px white;
    border-left: solid 3px green;
    border-bottom: solid 3px green;
    border-right: solid 3px green;
  }
  75% {
    border: solid 5px white;
    border-left: solid 3px green;
    border-bottom: solid 3px green;
    border-right: solid 3px green;
  }
  75.02% {
    border: solid 3px green;
  }
}

.movingBorder::after {
  width: 5px;
  background-color: white;
  height: 0px;
  position: absolute;
  bottom: 0;
  left: -5px;
  z-index: 1;
  animation: movedown 0.75s linear;
  animation-fill-mode: forwards;
  content: '';
  display: inline-block;
}

@keyframes movedown {
  0% {
    height: calc(100% + 10px);
    width: 5px;
    bottom: -5px;
    left: -5px;
  }
  25% {
    height: 5px;
    width: 5px;
    bottom: -5px;
    left: -5px;
  }
  25.01% {
    height: 5px;
    width: calc(100% + 10px);
    bottom: -5px;
    left: -5px;
  }
  50% {
    height: 5px;
    width: 0%;
    left: 100%;
    bottom: -5px;
  }
  50.01% {
    height: calc(100% + 10px);
    width: 5px;
    left: 100%;
    bottom: -5px;
  }
  75% {
    height: 0;
    width: 5px;
    left: 100%;
    bottom: 100%;
  }
  75.01% {
    height: 5px;
    width: calc(100% + 10px);
    left: 0%;
    bottom: 100%;
  }
  99.01% {
    height: 5px;
    width: 0;
    left: 0;
    bottom: 100%;
  }
}

/****** Spinner ******/

/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  margin:17% auto;
  aspect-ratio: 1;
  display: grid;
  border-radius: 50%;
  background: linear-gradient(0deg ,rgb(0 0 0/50%) 30%,#0000 0 70%,rgb(0 0 0/100%) 0) 50%/8% 100%, linear-gradient(90deg,rgb(0 0 0/25%) 30%,#0000 0 70%,rgb(0 0 0/75% ) 0) 50%/100% 8%;
  background-repeat: no-repeat;
  animation: l23 1s infinite steps(12);
}
.loader::before,
.loader::after {
   content: "";
   grid-area: 1/1;
   border-radius: 50%;
   background: inherit;
   opacity: 0.915;
   transform: rotate(30deg);
}
.loader::after {
   opacity: 0.83;
   transform: rotate(60deg);
}
@keyframes l23 {
  100% {transform: rotate(1turn)}
}

/***** typing affect *****/

.typing-wrapper {
  /*This part is important for centering*/
  display: inline-block;
  //place-items: center;
}

.typing-demo {
  //width: 0;
  animation: typing 2s steps(22), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #ccc;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
    
@keyframes blink {
  50% {
    border-color: transparent;
  }
}