
.class-page-container {
  width: 100%;
  max-width: 420px;
  height: 100%;
  min-height: 950px;
  background: url("./class/class_bg.jpg") no-repeat;
  text-align: center;
  background-position: center;
  overflow: hidden;
}

.title-container {
  position: relative;
  width: 90%;
  height: auto;
  margin: 0 auto;
  z-index: 5;
  top: -30px;
}

.title-container h1 {
  font-size: 21px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 1px #161616;
}


.class-text-container {
  position: relative;
  width: 315px;
  height: 190px;
  margin: 0 auto;
  z-index: 5;
  background: url("./class/text-container_bg.png");
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 2px 2px 2px #161616;
  top: -20px;
}

.class-text-container img {
  width: 40px;
}

.class-text-container h1 {
  font-size: 24px;
  letter-spacing: 1px;
  margin-top: 5px;
}

.class-text-container p {
  font-size: 13px;
  line-height: 17px;
  text-align: left;
}

.class-card-container {
position: relative;
 width: 315px;
 margin: 0 auto;
 z-index: 5;
 display: flex;
 justify-content: space-between;
 top: 15px;
}

.container {
  position: relative;
  z-index: 5;
}

.warrior {
  width: 60px;
  height: 300px;
  background: url("./class/warrior.jpg");
  box-shadow: 1px 0 4px #161616;
}

.warrior:hover {
  transition: 1s;
  background: url("./class/warrior_hover.jpg");
}

.warrior-active {
  width: 60px;
  height: 300px;
  background: url("./class/warrior_hover.jpg");
  box-shadow: 1px 0 4px #161616;
}

.archer {
  width: 60px;
  height: 300px;
  background: url("./class/archer.jpg");
  box-shadow: 1px 0 4px #161616;
}

.archer:hover {
  transition: 1s;
  background: url("./class/archer_hover.jpg");
}

.archer-active {
  width: 60px;
  height: 300px;
  background: url("./class/archer_hover.jpg");
  box-shadow: 1px 0 4px #161616;
}

.scholar {
  width: 60px;
  height: 300px;
  background: url("./class/scholar.jpg");
  box-shadow: 1px 0 4px #161616;
}

.scholar-active {
  width: 60px;
  height: 300px;
  background: url("./class/scholar_hover.jpg");
  box-shadow: 1px 0 4px #161616;
}

.scholar:hover {
  transition: 1s;
  background: url("./class/scholar_hover.jpg");
}

.assassin {
  width: 60px;
  height: 300px;
  background: url("./class/assassin.jpg");
  box-shadow: 1px 0 4px #161616;
}

.assassin:hover {
  transition: 1s;
  background: url("./class/assassin_hover.jpg");
}

.assassin-active {
  width: 60px;
  height: 300px;
  background: url("./class/assassin_hover.jpg");
  box-shadow: 1px 0 4px #161616;
}

.mage {
  width: 60px;
  height: 300px;
  background: url("./class/mage.jpg");
  box-shadow: 1px 0 4px #161616;
}

.mage:hover {
  transition: 1s;
  background: url("./class/mage_hover.jpg");
}

.mage-active {
  width: 60px;
  height: 300px;
  background: url("./class/mage_hover.jpg");
  box-shadow: 1px 0 4px #161616;
}

.class-image-container {
  position: absolute;
  top: 70px;
  left: -240px;
  margin: 0 auto;
  z-index: 3;
  -webkit-animation-name: example; /* Safari 4.0 - 8.0 */
-webkit-animation-duration: 2s; /* Safari 4.0 - 8.0 */
animation-name: example;
animation-duration: 2s;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes example {
  0%   {left:-400px; top:70px;}
  85%  {left:-220px; top:70px;}
  100% {left:-240px; top:70px;}
}

/* Standard syntax */
@keyframes example {
  0%   {left:-400px; top:70px;}
  85%  {left:-230px; top:70px;}
  100% {left:-240px; top:70px;}
}

.warrior-image {
  width: 612px;
  height: 878px;
  background: url("./class/warrior.png");
}

.archer-image {
  width: 612px;
  height: 878px;
  background: url("./class/archer.png");
}

.scholar-image {
  width: 612px;
  height: 878px;
  background: url("./class/scholar.png");
}

.assassin-image {
  width: 612px;
  height: 878px;
  background: url("./class/assassin.png");
}

.mage-image {
  width: 612px;
  height: 878px;
  background: url("./class/mage.png");
}

.show{display:block;}
.hide{display:none;}
