html, body {
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}
body {
  background-color: black;
  animation: 10000ms ease-in-out infinite opacity-change;
  }



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


/* 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;
  }
} 

.container {
  padding: 75px 0;
  margin: 0 auto;
  width: 1140px;
}


/* font attributes */

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: #acc2d2;
  opacity: 0; 
  animation: fadeInUp 2s ease-in-out 0s forwards;
  font-size: 1.8vw ;
  width: 70%;
  letter-spacing: 0.07em;

}


/* gallery attributes */

.gallery-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 55vh;
}

.item {
  flex: 1;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: none;
  transition: flex 0.8s ease;
}
.item:hover {
  flex: 7;
}

/* individual photos in gallery */

.item-1 {
  background-image: url("gov.jpg");
}

.item-2 {
  background-image: url("school.jpg");
}

.item-3 {
  background-image: url("Shrine.jpg");
}



/* text and linkk placements*/


.des{

    position:absolute;
    text-align:center;
    top: 10%;
    width: 100%
}

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

}
