h4 {
    font-family: "Open Sans";
    font-weight: 300;
}

p {
    font-size: 12px;
}

.card-carousel {
    direction: ltr;
    position: relative;
    margin: 0 auto 0 auto;
    margin-bottom: 2%;
    max-width: 220px;
    max-width: 100%;
    height: 450px;
    perspective: 2000px;
    perspective-origin: top;
}

.card-carousel .button-spin {
    position: absolute;
    top: 50%;
    border: 0 none;
    background-color: transparent;
    cursor: pointer;
    padding: 10px 16px;
    text-shadow: 1px 1px 4px rgba(0, 54, 90, 0.5);
    margin-right: auto;
    margin-left: auto;
    width: 50px;
    height: 40px;
}

.card-carousel .button-spin:hover {
    box-shadow: 0px 4px 4px 4px rgba(0, 54, 90, 0.15);
}

.card-carousel .button-spin:active {
    box-shadow: none;
}

.card-carousel .button-spin.counterclockwise {
    background-image: url('../img/leftarr.png');
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
    position: relative;
    margin-right: 5%;
}

.card-carousel .button-spin.clockwise {
    background-repeat: no-repeat;
    background-image: url('../img/rightarr.png');
    background-size: contain;
    position: relative;
    top: 0;
    margin-left: 5%;
}

@media (min-width:650px) {
    .card-carousel .inner-carousel {
        position: relative;
        width: 240px;
        margin: 0 auto;
        top: 80px;
        transform-style: preserve-3d;
    }
}

@media (min-width:550px) and (max-width:649px) {
    .card-carousel .inner-carousel {
        position: relative;
        width: 170px;
        margin: 0 auto;
        top: 80px;
        transform-style: preserve-3d;
    }
}

@media (min-width:450px) and (max-width:549px) {
    .card-carousel .inner-carousel {
        position: relative;
        width: 170px;
        margin: 0 auto;
        top: 80px;
        transform-style: preserve-3d;
    }
}

@media (min-width:350px) and (max-width:449px) {
    .card-carousel .inner-carousel {
        position: relative;
        width: 130px;
        margin: 0 auto;
        top: 80px;
        transform-style: preserve-3d;
    }
}

@media (min-width:0px) and (max-width:349px) {
    .card-carousel .inner-carousel {
        position: relative;
        width: 90px;
        margin: 0 auto;
        top: 80px;
        transform-style: preserve-3d;
    }
}

@media (min-width:650px) {
    .card-carousel .inner-carousel > div {
        position: absolute;
        margin: 0 auto;
        padding: 20px;
        width: 200px;
        height: 300px;
        opacity: 1;
        background-color: #fff;
        color: #000;
        border-radius: 10px;
        transition: all 0.5s ease-out;
        z-index: 1;
        box-shadow: 0px 10px 10px 10px rgba(0, 54, 90, 0.15);
    }
}

@media (min-width:550px) and (max-width:649px) {
    .card-carousel .inner-carousel > div {
        position: absolute;
        margin: 0 auto;
        padding: 20px;
        width: 160px;
        height: 260px;
        opacity: 1;
        background-color: #fff;
        color: #000;
        border-radius: 10px;
        transition: all 0.5s ease-out;
        z-index: 1;
        box-shadow: 0px 10px 10px 10px rgba(0, 54, 90, 0.15);
    }
}

@media (min-width:450px) and (max-width:549px) {
    .card-carousel .inner-carousel > div {
        position: absolute;
        padding: 5px;
        width: 160px;
        height: 250px;
        opacity: 1;
        background-color: #fff;
        color: #000;
        border-radius: 10px;
        transition: all 0.5s ease-out;
        z-index: 1;
        box-shadow: 0px 10px 10px 10px rgba(0, 54, 90, 0.15);
        margin: 0 auto;
    }
}

@media (min-width:350px) and (max-width:449px) {
    .card-carousel .inner-carousel > div {
        position: absolute;
        padding: 5px;
        width: 120px;
        height: 160px;
        opacity: 1;
        background-color: #fff;
        color: #000;
        border-radius: 10px;
        transition: all 0.5s ease-out;
        z-index: 1;
        box-shadow: 0px 10px 10px 10px rgba(0, 54, 90, 0.15);
        margin: 0 auto;
    }
}

@media (min-width:0px) and (max-width:349px) {
    .card-carousel .inner-carousel > div {
        position: absolute;
        padding: 9px;
        width: 70px;
        height: 110px;
        opacity: 1;
        background-color: #fff;
        color: #000;
        border-radius: 10px;
        transition: all 0.5s ease-out;
        z-index: 1;
        box-shadow: 0px 10px 10px 10px rgba(0, 54, 90, 0.15);
        margin: 0 auto;
    }
}

.card-carousel .inner-carousel > div:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 0.6;
    background-color: #ddd;
    z-index: 1;
}

.card-carousel .inner-carousel > div.counterclockwise:after,
.card-carousel .inner-carousel > div.clockwise:after {
    opacity: 0.4;
    cursor: pointer;
}

.card-carousel .inner-carousel > div.front:after {
    content: none;
}

.card-carousel .inner-carousel > div.front {
    background-color: #9ddfeb;
    background-image: radial-gradient(circle 200px at center right, #85dee2, #1c8295);
    color: #fff;
}

.card-carousel .inner-carousel > div.front a {
    box-shadow: 0px 5px 5px 5px rgba(0, 54, 90, 0.15);
}

.card-carousel .inner-carousel > div.front a:hover,
.card-carousel .inner-carousel > div.front a:focus {
    padding: 3px 0;
}

.card-carousel .inner-carousel > div.front a:active {
    box-shadow: none;
}

.card-carousel .inner-carousel > div a {
    position: absolute;
    text-align: center;
    display: block;
    width: 100%;
    border: 1px none #c9c9c9;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    box-shadow: 0px 5px 8px 3px rgba(0, 54, 90, 0.1);
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    padding: 0;
    margin: 0;
}

.imgstage {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    width: auto;
    height: 50%;
}

@media (min-width:650px) {
    .stagename {
        width: auto;
        height: 30%;
        font-family: 'Almarai', sans-serif;
        font-size: 1.6rem;
        text-align: center;
        margin-top: 20%;
    }
}

@media (max-width:650px) {
    .stagename {
        width: auto;
        height: 30%;
        font-family: 'Almarai', sans-serif;
        font-size: 3.6vw;
        text-align: center;
        margin-top: 20%;
    }
}

.linkgrade {
    position: absolute;
    opacity: 1;
    border-radius: 10px;
    transition: all 0.5s ease-out;
    z-index: 1;
    box-shadow: 0px 10px 10px 10px rgba(0, 54, 90, 0.15);
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0 0 -11% -7.6%;
    border-style: none;
}