/* Change grid column of bootstrap from 12 to 10 */

.col-5 {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

@media (min-width: 768px) {
  .col-md-2 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.treasure-container {
  width: 80%;
  margin: 0 auto;
}

.title {
  font-size: 28px;
  font-weight: normal;
  margin-top: 40px;
  text-align: center;
}

.treasure-list {
  margin-top: 50px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 25px;
}

.treasure-list li {
  margin-bottom: 40px;
  padding: 0;
}

.img-container {
  text-align: center;
}

.img-container > img {
  width: 60%;
}

.treasure {
  width: 100px;
  position: relative;
  margin: 0 auto;
  text-align: center;
}

.treasure .img-container {
  width: 90%;
  margin: 0 auto;
}

.treasure-animation {
  animation-name: treasure;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.treasure .caption {
  font-size: 15px;
  margin-top: 15px;
}

@keyframes treasure {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.2);
  }
}

.treasure p {
  color: #000000;
}



@media (min-width: 500px) and (max-width: 768px) {
  .treasure-container {
    width: 100%;
  }
}