html body {
  font-family: DidotLTPro-Roman,Didot,Cardo,"Times New Roman",serif;
  background-color: #FFF;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

* { margin: 0; padding: 0; border: 0; }

#main-wrapper {
  box-sizing: border-box;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 40px 0;
  overflow: hidden;
}

header {
  display: block;
  /*background:url(../images/top-image4.jpg) no-repeat;*/
  /*background-size: cover;*/
}

.dota2logo {
  background:url(../images/dota2logo.jpg) no-repeat;
  height: 110px;
  width: 110px;
  margin: 0 auto;
  margin-top: 10%;
  position: relative;
  -webkit-animation: floatBubble 0.7s infinite;
  -webkit-animation-direction:alternate;
}


@-webkit-keyframes floatBubble{
 from{
        top:0;
        -webkit-animation-timing-function: ease-in;

   }


   to {
      top: 10px;
      -webkit-animation-timing-function: ease-out;
   }

}

.top-info {
  vertical-align: middle;
}

p.title {
  font-family: 'Lustria', serif;
  font-size: 50px;
  color: #FA3434;
  text-align: center;
}

p.description {
  width: 100%;
  color: #757a83;
  text-align: center;
  font-size: 16px;
  font-family: AvenirLT-Book,Avenir,AvenirLTStd-Book,Muli,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

.quest-content {
  align-self: center;
}

.quest-content.is-loading {
  pointer-events: none;
}

.hero-image {
  width: min(420px, 80vw);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 20px auto 0;
  height: 236px;
  overflow: hidden;
  border-radius: 8px;
  clip-path: inset(0 round 8px);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  border-radius: 8px;
  clip-path: inset(0 round 8px);
}

.hero-name, .item-name {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 10px auto 10px;
  font-size: 70px;
  line-height: 1.1;
  overflow: hidden;
}

.hero-name {
  height: 154px;
}

.empty-title {
  color: rgba(117, 122, 131, .36);
  font-family: AvenirLT-Book,Avenir,AvenirLTStd-Book,Muli,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 24px;
  letter-spacing: 0;
}

.empty-logo-stage {
  width: min(420px, 80vw);
  height: 236px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f5f7;
}

.empty-dota-logo {
  width: 100%;
  height: 100%;
  border: 0;
}

.item-images {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px auto;
  height: 56px;
}

.item-image-frame {
  display: block;
  width: 74px;
  height: 56px;
  overflow: hidden;
  border-radius: 8px;
  clip-path: inset(0 round 8px);
}

.item-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-name {
  font-size: 40px;
  height: 184px;
  opacity: .3;
}

.quest-content.is-loading .hero-image,
.quest-content.is-loading .hero-name,
.quest-content.is-loading .item-images,
.quest-content.is-loading .item-name {
  animation: questLoad .18s ease both;
}

.quest-content.is-ready .hero-image img,
.quest-content.is-ready .item-image-frame,
.quest-content.is-ready .hero-name {
  animation: questIn .34s ease both;
}

.quest-content.is-ready .item-name {
  animation: questItemTextIn .34s ease both;
}

.quest-content.is-ready .item-image-frame:nth-child(2) { animation-delay: .03s; }
.quest-content.is-ready .item-image-frame:nth-child(3) { animation-delay: .06s; }
.quest-content.is-ready .item-image-frame:nth-child(4) { animation-delay: .09s; }
.quest-content.is-ready .item-image-frame:nth-child(5) { animation-delay: .12s; }
.quest-content.is-ready .item-image-frame:nth-child(6) { animation-delay: .15s; }

@keyframes questLoad {
  from { opacity: 1; transform: scale(1); }
  to { opacity: .35; transform: scale(.985); }
}

@keyframes questIn {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes questItemTextIn {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: .3; transform: translateY(0) scale(1); }
}

#button-container {
  margin: 0 auto;
  text-align: center;
  padding-top: 28px;
}

#refreshHero, #refreshItem {
  height: 50px;
  width: 200px;
  border-radius: 5px;
  background: #FA3434;
  font-size: 16px;
  font-family: AvenirLT-Book,Avenir,AvenirLTStd-Book,Muli,"Helvetica Neue",Helvetica,Arial,sans-serif;
  color: white;
}

#refreshHero:hover, #refreshItem:hover {
  background: #FA3434;
}

#refreshHero:disabled, #refreshItem:disabled {
  cursor: default;
  opacity: .78;
}
