/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Flipbox styles */
.intoweb-flipbox {
  background: transparent;
  width: 100%;
  max-width: 350px;
  height: 300px;
  perspective: 1000px;
  margin: 0 auto 30px auto;
}
.intoweb-flipbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 2, 0.6, 1);
  transform-style: preserve-3d;
}
.intoweb-flipbox:hover .intoweb-flipbox-inner {
  transform: rotateY(180deg);
}
.intoweb-flipbox-front,
.intoweb-flipbox-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 30px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.intoweb-flipbox-front {
  z-index: 2;
}
.intoweb-flipbox-front::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0;
  z-index: -1;
}
.intoweb-flipbox-front h3 {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.intoweb-flipbox-back {
  transform: rotateY(180deg);
  background: #f7f7f7;
}
.intoweb-flipbox h3 {
  margin: 0 0 20px 0;
  font-size: 1.5em;
  font-weight: 600;
}
.intoweb-flipbox-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: #00aeef;
  color: #fff;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  transition: background 0.2s;
  font-size: 14px;
  text-transform: uppercase;
  font-family: "Local Montserrat-Bold";
}
.intoweb-flipbox-btn:hover {
  background: #444;
}
.intoweb-flipbox-prices {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.intoweb-flipbox-prices ul {
  margin: 0;
}
.intoweb-flipbox-prices li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #eaeaea;
  font-size: 1em;
}
.intoweb-flipbox-item {
  font-weight: 500;
}
.intoweb-flipbox-price {
  font-weight: 400;
  color: #666;
}
