
.media-page-container {
  width: 100%;
  max-width: 420px;
  height: 100%;
  min-height: 3000px;
  background: url("./media/media_bg.jpg") no-repeat;
  text-align: center;
  background-position: center;
}

.media-text-container {
  position: relative;
  width: 90%;
  height: auto;
  margin: 0 auto;
  z-index: 5;
  top: -20px;
}

.media-text-container h1 {
  font-size: 21px;
  letter-spacing: 1px;
}


.media-trailer-container {
  position: relative;
  margin: 0 auto;
  z-index: 5;
  background: url("./media/cinematic_trailer.jpg");
  width: 90%;
  max-width: 370px;
  height: 185px;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #161616;
  background-size: contain;
  top: -10px;
}

.media-trailer-container2 {
  position: relative;
  margin: 0 auto;
  z-index: 5;
  background: url("./media/grandadventuretrailer.jpg");
  width: 90%;
  max-width: 370px;
  height: 185px;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #161616;
  background-size: contain;
  top: 15px;
}

.trailer-wrapper {
  position: relative;
  top: 145px;
  width: 100%;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
}

.trailer-wrapper p {
  margin: 10px 0 0 20px;
  letter-spacing: 1px;
}

.play-button {
  background: url("./avalon/video_play.png");
  width: 25px;
  height: 25px;
  margin-top: 8px;
  margin-right: 20px;
  border: none;
}

.play-button:hover {
  background: url("./avalon/video_play_hover.png");
}

.modal {
  width: 100%;
  max-width: 420px;
}

.modal-backdrop.in {
  width: 100%;
  max-width: 420px;
}

.trailer-video {
  width: 90%;
  height: 300px;
  background-color: #cf0021;
}

.modal-dialog {
  width: 100%;
  max-width: 420px;
  margin-top: 200px;
}


.fade {
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 1px 1px 1px #161616;
  height: auto;
}

#myModal {
  padding-right: 0px;
}

.modal-header {
  border: none;
  width: 100%;
}

.modal-header iframe {
  width: 100%;
  min-width: 320px;
  min-height: 219px;
  align-items: center;
}



.close {
  color: #fff !important;
  opacity: 0.8 !important;
}

.close:hover {
  color: #ffff99;
  opacity: 1 !important;
}

.movingImage {
  position: fixed;
  width: 100%;
  max-width: 420px;
  z-index: 1;
  top: 0;
  left: 0;
  animation-name: example;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  overflow: hidden;
}

.movingImage img {
  width: 650px;
  margin-top: 70px;
  margin-left: 70px;
}

@keyframes example {
  0%   {top:0px; opacity: 0.3;}
  50%  {top:20px; opacity: 0.5;}
  100% {top:0px; opacity: 0.3;}
}

.media-image-container {
  position: relative;
  margin: 0 auto;
  z-index: 5;
  width: 90%;
  max-width: 360px;
  top: 40px;
}


.media-image-container h1 {
  font-size: 20px;
  letter-spacing: 1px;
}


.media-image-card {
  width: 100%;
  margin: 0 auto;
}

.media-image-1 {
  width: 100%;
  max-width: 360px;
  height: 203px;
  background: url("./media/ancientforest.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #161616;
}

.media-image-2 {
  width: 100%;
  max-width: 360px;
  height: 203px;
  background: url("./media/arauforest.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #161616;
}

.media-image-3 {
  width: 100%;
  max-width: 360px;
  height: 203px;
  background: url("./media/crimsonrockvalley.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #161616;
}

.media-image-4 {
  width: 100%;
  max-width: 360px;
  height: 203px;
  background: url("./media/dogviblackmarket.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #161616;
}

.media-image-5 {
  width: 100%;
  max-width: 360px;
  height: 203px;
  background: url("./media/eliemeadow.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #161616;
}

.media-image-6 {
  width: 100%;
  max-width: 360px;
  height: 203px;
  background: url("./media/darktotemhill.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #161616;
}

.media-image-7 {
  width: 100%;
  max-width: 360px;
  height: 203px;
  background: url("./media/inseazahgrandhall.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #161616;
}

.media-image-8 {
  width: 100%;
  max-width: 360px;
  height: 203px;
  background: url("./media/senecaruins.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #161616;
}




.text-box {
  position: relative;
  width: 100%;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  top: 153px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.text-box:hover {
  opacity: 0;
  transition: 1s;
}


.media-image-card h1 {
  font-size: 14px;
  letter-spacing: 1px;
  padding-top: 7px;
}

.media-image-card p {
  font-size: 14px;
  margin-top: -7px;
}
