
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
.bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('../images/bg.jpg');
  background-size: cover;
  background-position: bottom;
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}
.bg #text {
  position: relative;
  font-size: 120px;
  color: #fff;
  opacity: 0.6;
}
.bg .fog {
  position: absolute;
top: 19%;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.bg .fog img {
  position: absolute;
  bottom: 0;
  max-width: 100%;
  animation: fog_effect calc(3s * var(--i)) ease-in infinite;
}




.bg h2 {
    font-size: 42px;
    text-align: center;
    color: #fff;
}


.bg a {
    position: absolute;
    font-size: 16px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    left: 40%;
    top: 60%;
    padding: 13px 0px;
    text-decoration: none;
    width: 20%;
    background-color: #e68f86;
}


.bg a:hover{

    color: #000;

    background-color: #fff;
}









@keyframes fog_effect {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  25%,
  75% {
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}



@media only screen and (max-width: 767px) {


.bg .fog {
    position: absolute;
    top: 1%;
    left: 0;
    width: 173%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.bg a {
    font-size: 17px;
    color: #000;
    left: 30%;
    top: 60%;
    padding: 13px 0px;
    width: 40%;
}

}
