html, body {
  height: 100%;
  margin: 0px;
  padding: 0px;

}

body {
  background-color: #2d4c62;
  background-image: url('17b.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 80%;
  animation: 10000ms ease-in-out infinite opacity-change;
}


.Absolute-Center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
} 

@font-face {
  font-family: 'MyFont';
  src: url('Silent Echo DEMO.otf') format('opentype');
  letter-spacing: 0.3em;
}


/* text animation */

@keyframes fadeInUp {                                   
  from { 
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
} 

/* font attributes */

h1 {                                                       
  font-family: 'MyFont';
  color: #D3DACE;
  opacity: 0; 
  animation: fadeInUp 2.5s ease-in-out 0.5s forwards;
  font-size: 7vw;
} 

h2 {
  font-family: 'MyFont';
  color: white;
  opacity: 0; 
  animation: fadeInUp 2s ease-in-out 1s forwards;
  font-size: 3vw;
  width: 85%;
  letter-spacing: 0.07em;
}
h2:hover{

    color: #df987f;
  }

p {
  font-family: 'MyFont';
  color: white;
  opacity: 0; 
  animation: fadeInUp 2s ease-in-out 0s forwards;
  font-size: 1.4vw ;
  width: 80%;
  letter-spacing: 0.07em;
}



 /* text & link placements */

.next{                                                     
  right:-40%;
    position:absolute;
    text-align:center;
    bottom: 0%;
    width: 100%

}

.nai {
  float: left;
  margin-left: 7vw;
  margin-right: 2vw;
  width: 320px;
  border-radius: 5px;

  padding: 1em;
}
