#buttons {
  transform: scale(0.98);
}

#buttons .box {
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background-color: #000;
  margin: 0 auto;
  margin-bottom: 20px;
  border: solid 1px #000;
}

@media (min-width: 576px) {
  #buttons .box p {
    font-size: 18px;
    line-height: 1.4;
  }
}

@media (min-width: 768px) {
  #buttons .box p {
    font-size: 17px;
    line-height: 1.35;
  }
}

@media (min-width: 992px) {
  #buttons .box p {
    font-size: 14.7px;
    line-height: 1.35;
  }
}

@media (min-width: 1200px) {
  #buttons .box p {
    font-size: 17px;
    line-height: 1.4;
  }
}

#buttons .box img {
  width: 100%;
  height: auto;
}

#buttons .box .box-content {
  display: none;
}

@media (min-width: 576px) {
  #buttons .box .box-content {
    display: block;
    width: 90%;
    height: 92%;
    position: absolute;
    top: 4%;
    left: 5%;
    background: rgba(12,1,25,0.7);
    color: #ffffff;
    padding: 15px 10px;
    transform: scale(0);
    transition: all 0.5s ease 0s;
    border: solid 1px rgb(255,255,255);
    border-radius: 5px;
  }
}

#buttons .box:hover .box-content {
  transform: scale(1);
}

#buttons .box .heading {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(7,0,37,0.66);
  color: #ffffff;
  text-align: center;
  padding: 7px 0px 5px 0px;
  transition: all 0.5s;
}

@media (min-width: 576px) {
  #buttons .box:hover .heading {
    bottom: -35%;
  }
}

#buttons .box:hover img {
  opacity: .7;
  transition: all 0.3s;
}

#buttons .box .heading h3 {
  margin: 0;
  line-height: 1.3;
  font-size: calc(7px + 2vw);
  color: #ffffff;
  text-shadow: 0px 0px 5px black;
}

@media (min-width: 576px) {
  #buttons .box .heading h3 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
  }
}

#buttons .box .heading h4 {
  color: #ffffff;
  font-size: calc(9px + 1.4vw);
  text-shadow: 0px 0px 5px black;
  margin-bottom: 0;
}

@media (min-width: 576px) {
  #buttons .box .heading h4 {
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 3px;
  }
}

@media only screen and (max-width: 360px) {
  #buttons .box .box-content {
    padding: 10px;
  }
}

@media only screen and (max-width: 360px) {
  #buttons .box:hover .heading {
    bottom: -40%;
  }
}

