
.fa-solid {
    color: white;
}

.cases-title {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 10px;
    border-bottom: 2px solid rgb(8, 112, 223);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.cases-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-height: 900px;
    gap: 20px;
    margin: auto;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
    opacity: 1;
    overflow: hidden;
    margin-bottom: 30px;
}

.hidden {
    max-height: 0px;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
    pointer-events: none;
}

.cases-show {
    font-size: 12px;
    color: gray;
    cursor: pointer;
}

.case-card {
    background: transparent;
    border-radius: 10px;
    text-align: center;
    width: 180px;
    padding: 10px;
}

.case-card img {
    width: 100%;
    border-radius: 10px;
}

.case-price {
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    
    background: linear-gradient(rgb(23, 30, 58)) padding-box, linear-gradient(to right, rgb(255, 255, 255), rgb(8, 112, 223)) border-box;
    border-radius: 20px;
    border: 2px solid transparent;
}

.case-name {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
}


.stats {
  margin: 40px 0;
}

.stats li {
  display: inline-block;
  padding-left: 64px;
  margin: 0 50px 0 0;
  height: 50px;
  font-size: 16px;
  line-height: 22px;
  position: relative;
}

.stats span {
    display: block;
    font-size: 30px;
    position: relative;
    top: 3px;
}

.stats li:nth-child(1) {
    background: url(../images/ico-6.png) no-repeat 0 center;
}

.stats li:nth-child(2) {
    background: url(../images/ico-8.png) no-repeat 0 center;
}

.stats li:nth-child(1) span {
    color: rgb(8, 112, 223);
}

.stats li:nth-child(2) span {
    color: rgb(8, 112, 223);
}

.case {
    display: inline-block;
    margin: 0 -2px;
    margin-bottom: 40px;
    position: relative;
}

.case-hover {
    position: absolute;
    z-index: 55;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.case-wp {
    text-align: center;
    display: flex;
    justify-content: center;
}

.case-wp img {
    transition: 0.5s;
    max-width: 100%;
    height: auto;
}

.case-open {
  position: absolute;
  bottom: -5px;
  left: 0px;
  right: 0px;
  font-size: 16px;
  font-family: ExoSoftMedium;
  color: rgb(8, 112, 223);
  text-align: center;
  opacity: 0;
  transition: 0.5s;
  transform: translate3d(0, 40px, 0);
  z-index: 33;
  font-weight: bold;
}

.case-name {
  text-align: center;
  font-size: 20px;
  font-family: ExoSoftMedium;
  color: rgb(8, 112, 223);
  overflow: hidden;
  padding: 0 25px;
  transition: 0.5s;
  font-weight: bold;
}

.case:hover .case-wp img {
  transform: translate3d(0, 10px, 0);
}

.case:hover .case-name {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
}

.open-case:hover .case-name {
  opacity: 1;
  transform: translate3d(0, 0px, 0);
}

.open-case:hover .case-wp img {
  transform: translate3d(0, 0px, 0);
}

.case:hover .case-open {
  opacity: 1;
  transform: translate3d(0, 0px, 0);
}