/*!==============================
*post-gallery.online
*/

@font-face {
  font-family: Comic Neue;
  src: url("ComicNeue-Light.ttf");       
}

html {
  background:  rgb(0, 255, 242);
  background: linear-gradient(0deg, rgb(255, 0, 170) 0%, rgb(255, 187, 110) 50%, rgb(0, 255, 242) 100%);
  background-repeat:none;
  overflow-y: hidden;
  overflow-x: hidden;
  height: 100vh;
}

.moving {  
  filter: drop-shadow(4px 0px 20px rgb(255, 255, 255));
  text-align: left;
  margin-top: -45%;
  margin-left: -8%;
  animation: fadeIn ease 6s;
  -webkit-animation: fadeIn ease 6s;
  -moz-animation: fadeIn ease 6s;
  -o-animation: fadeIn ease 6s;
  -ms-animation: fadeIn ease 6s;
  }

  @keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
  }
  
  @-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
  }
  
  @-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
  }
  
  @-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
  }
  
  @-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
  }

  .moving :hover{
    transition:3s;
    margin-top:10%;
    margin-left:25%;
    transform: scale(1.75); 
  }

.text {  
  position: relative;
  z-index: 1;
  text-align: right;
  filter: drop-shadow(4px 2px 12px rgb(255, 244, 143));
  margin-right: 5%;
  margin-top: 15%;
}

.text :hover {
  animation: shake 4.5s; 
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(3px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(6px, 2px) rotate(0deg); }
  40% { transform: translate(9px, -1px) rotate(1deg); }
  50% { transform: translate(-6px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(6px, 1px) rotate(-1deg); }
  80% { transform: translate(-3px, -1px) rotate(1deg); }
  90% { transform: translate(3px, 2px) rotate(0deg); }
  100% { transform: translate(3px, -2px) rotate(-1deg); }
}

h1 {
  font-family: 'Comic Neue';
  font-size: 4vh;
  text-align: right;
  right:2%;
  bottom:0;
  color:rgb(235, 255, 148);
  filter: drop-shadow(4px 2px 3px rgb(61, 105, 3));
  z-index: 20;
  position: fixed;
}

.dolphin {
  animation: 22s dolphmoveone;
  animation-fill-mode: forwards;
}

@keyframes dolphmoveone {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(120%, 0%);
  }
}
.dolphin img {
  -webkit-animation:spin 4s linear infinite;
  -moz-animation:spin 4s linear infinite;
  animation:spin 4s linear infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(60deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(60deg); } }
@keyframes spin { 
  50% { -webkit-transform: rotate(60deg); transform:rotate(60deg); } 
  100% { -webkit-transform: rotate(0deg); transform:rotate(0deg); } 
}

.dolphintwo {
  position: relative;
  z-index: 1;
  margin-top: -40%;
  animation: 22s dolphmovetwo;
  animation-fill-mode: forwards;
}

@keyframes dolphmovetwo {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(120%, 0%);
  }
}

.dolphintwo img {
  -webkit-animation:spin 6s linear infinite;
  -moz-animation:spin 6s linear infinite;
  animation:spin 6s linear infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(60deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(60deg); } }
@keyframes spin { 
  50% { -webkit-transform: rotate(60deg); transform:rotate(60deg); } 
  100% { -webkit-transform: rotate(0deg); transform:rotate(0deg); } 
}

button {
  color:rgb(0, 0, 0);
  border-radius: 8px;
  background-color:rgb(255, 201, 52);
  background-image:  url(../sound.png);
  background-size: cover;
  height: 50px;
  width: 50px;
  font-family: 'Comic Neue';
  font-size: 2.5em;
  position:relative;
  z-index: 8;
  top: 0px;
}

button:active {
  background-color:rgb(255, 52, 154);
  box-shadow: 0 5px #666;
}

body {  

}

@media screen and (max-width: 1024px) {
  h1 {
    position: absolute;
  }

.text  {
margin-top: 40%;
}
}

@media screen and (max-width:991px){  
  
}

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

@media screen and (max-height:400px) {
    h1 {
    margin-bottom: 0;
    position: absolute;
  }

.text  {
margin-top: 5%;
}
}