@media only screen and (min-width: 975px) {
.pack {
    max-width: 90%;

    .card {
        width: 20%;
    }
}
} /* Desktop */

@media only screen and (max-width: 975px) {
    .pack {
        max-width: 90%;
    
        .card {
            width: 40%;
        }
    }
    } /* Desktop */

.packsim {
    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
       opacity: 1;
    }
}
.enterthecode {
    .card {
        width: 250px;
        height: 350px;
    }
}

.pack {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;

    .card {
        margin: 5px;
    }
    
    .card:hover {
        width: 250px;
        height: 350px;
    }

    .card > div {
        width: 150px;
        height: 210px;
        background-size: cover;
        box-sizing: content-box;
        -webkit-transition: -webkit-transform 1s,opacity 1s,background 1s,width 1s,height 1s,font-size 1s,top 1s,left 1s;
        -webkit-border-radius: 5px;
        -o-transition-property: width,height,-o-transform,background,font-size,opacity,top,left;
        -o-transition-duration: 1s,1s,1s,1s,1s,1s,1s,1s;
        -moz-transition-property: width,height,-o-transform,background,font-size,opacity,top,left;
        -moz-transition-duration: 1s,1s,1s,1s,1s,1s,1s,1s;
        transition-property: width,height,transform,background,font-size,opacity,top,left;
        transition-duration: 1s,1s,1s,1s,1s,1s,1s,1s;
    }

    .card > div:hover {
        width: 250px;
        height: 350px;
    }

    .card.locations {
        width: 150px;
        height: 210px;
    }

    .card.locations:hover {
        width: 250px;
        height: 350px;
    }

    .card.locations div {
        width: 210px;
        height: 150px;
        
        transform-origin: 50% 70%;
        transform: rotate(270deg);
    }

    .card.locations div:hover {
        width: 350px;
        height: 250px;
    }

    .stats {
        height: 100%;
        width: 100%;
        text-align: left;
    }

    .stats span {
        position: relative;
        color: black;
        display: block;
        left: 10px;
        font-size: 12px;
    }

    .stats span:nth-of-type(1) {
        top: 130px;
    }
    .stats span:nth-of-type(2) {
        top: 128px;
    }
    .stats span:nth-of-type(3) {
        top: 126px;
    }
    .stats span:nth-of-type(4) {
        top: 124px;
    }

    /* Energy */
    .stats span:nth-of-type(5) {
        text-align: right;
        top: 125px;
        left: -11px;
        font-size: 14px;
    }

    .card:hover .stats span {
        left: 20px;
        font-size: 14px;
        font-weight: bold;
    }

    .card:hover .stats span:nth-of-type(1) {
        top: 220px;
    }
    .card:hover .stats span:nth-of-type(2) {
        top: 229px;
    }
    .card:hover .stats span:nth-of-type(3) {
        top: 237px;
    }
    .card:hover .stats span:nth-of-type(4) {
        top: 245px;
    }

    /* Energy */
    .card:hover .stats span:nth-of-type(5) {
        text-align: right;
        top: 258px;
        left: -21px;
        font-size: 20px;
    }

}
