@import url("https://fonts.googleapis.com/css2?family=Tilt+Prism&display=swap");
body section.cards {
    width: 100%;
    margin: 0 auto;
}

body section.cards .row {
    align-items: center;
}

h2.title {
    text-transform: uppercase;
    margin: 0.5em 0;
    font-family: "Tilt Prism", cursive;
    font-size: 10vmax;
    color: rgb(30, 30, 30);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.033em;
}

.card {
    position: relative;
    height: 270px;
    width: 100%;
    margin: 10px 0;
    transition: ease all 2.3s;
    perspective: 1200px;
    background: transparent;
    border: none;
}

.card:hover .cover {
    transform: rotateX(0deg) rotateY(-180deg);
}

.card:hover .cover:before {
    transform: translateZ(30px);
}

.card:hover .cover:after {
    background-color: black;
}

.card:hover .cover h1 {
    transform: translateZ(100px);
}

.card:hover .cover a {
    transform: translateZ(-60px) rotateY(-180deg);
}

.card .cover {
    position: absolute;
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    transition: ease all 2.3s;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 20px;
    border: 5px solid rgba(0, 0, 0, 0.6);
    box-shadow: 0px 0px 15px 0px #fff;
}

.card .cover:before {
    content: "";
    position: absolute;
    border: 5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    transition: ease all 2.3s;
    transform-style: preserve-3d;
    transform: translateZ(0px);
}

.card .cover:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 2;
    transition: ease all 1.3s;
    border: 1px solid transparent;
    border-radius: 20px;
}

.card .cover.item-a {
    background-image: url("../../images/1.jpg");
}

.card .cover.item-b {
    background-image: url("../../images/2.jpg");
}

.card .cover.item-c {
    background-image: url("../../images/4.jpg");
}

.card .cover.item-d {
    background-image: url("../../images/3.jpg");
}

.card .cover h1 {
    font-weight: 600;
    position: absolute;
    bottom: 40px;
    left: 80px;
    color: white;
    transform-style: preserve-3d;
    transition: ease all 2.3s;
    z-index: 3;
    font-size: 28px;
    transform: translateZ(0px);
}

.card .card-back {
    position: absolute;
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    transition: ease all 2.3s;
    transform: translateZ(-1px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.card .card-back a {
    transform-style: preserve-3d;
    transition: ease transform 2.3s, ease background 0.5s;
    transform: translateZ(-1px) rotateY(-180deg);
    background: transparent;
    border: 1px solid white;
    font-weight: 200;
    font-size: 1.3em;
    color: white;
    padding: 14px 32px;
    outline: none;
    text-decoration: none;
}

.card .card-back a:hover {
    background-color: white;
    color: #0b0f08;
}

.card .student {
    background: #e4d5fe;
}

.card .teacher {
    background: #dbe4ec;
}

.card .employer {
    background: #d2905e;
}

.card .alumni {
    background: #e0edfe;
}


/*# sourceMappingURL=style.css.map */