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

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

html {
background-image: url(../img2/00.jpg);
background-color:rgb(8, 10, 8);
background-size: cover;
background-repeat: no-repeat;
}

.flame {
  margin-top: -60px;
  margin-right: 5%;
  text-align: left;
  z-index: 1;
}

.flame:hover {
  filter: drop-shadow(16px 16px 10px rgb(251, 255, 0));
  animation: shake 0.25s;
  animation-iteration-count: infinite;
}

.flame img {
  animation: flamemove 22s;
  animation-fill-mode: forwards;
}

@keyframes flamemove {
  0% { transform: translate(0%, 0%); }
  100% {   transform: translate(100%, 0%); }
}

@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); }
}

.who {
  margin-top: -28%;
  margin-left: 2%;
  text-align: left;
  z-index: 0;
}

.who img {
  transition: all 3s ease-in-out 0s;
  transition: 18s;
  animation: move 35s;
  animation-fill-mode: forwards;
}

@keyframes move {
  0% { transform: translate(0%, 0%); }
  100% {   transform: translate(0%, 30%); }
}

.box {
  margin-top: 20%;
  margin-left: 6.6%;
  text-align: left;
  position:relative;
  z-index: 2;
  animation: tont 35s;
  animation-fill-mode: forwards;
}

@keyframes tont {
  0% { transform: translate(0%, 0%); transform: rotate(0deg); }
  100% {   transform: translate(0%, 30%); transform: rotate(360deg); }
}

.box img{
  transition: all 1.6s ease-in-out 0s;
}

.box img:hover {
  transform: rotate(360deg);
  transition: all 1.6s ease-in-out 0s;
}

.frame {
  margin-top: -60.8%;
  margin-left: 4.71%;
  text-align: left;
  animation: fadeIn ease 46s;
  -webkit-animation: fadeIn ease 46s;
  -moz-animation: fadeIn ease 46s;
  -o-animation: fadeIn ease 46s;
  -ms-animation: fadeIn ease 46s;
  }
  @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;}
  }

  .frame img {
    animation: move 35s;
    animation-fill-mode: forwards;
  }

.sero {
  margin-top: 14%;
  margin-left: 6.6%;
  text-align: left;
  z-index: 2;
  padding-bottom: 5%;
  animation: move 35s;
  animation-fill-mode: forwards;
}

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

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

button:active {
  background-color: #589c18;
  box-shadow: 0 5px #666;
}

body {  

}

@media screen and (max-width:991px){
  html {  
margin-top: 20%;
  }  
  
  button {
top: -70px;
  }
  h1 {
    position: absolute;
  }
}
@media screen and (max-width:767px){
}
@media screen and (max-height:414px) {
  h1 {
    position: fixed;
  }
}