body {
    font-family: Lato;
    line-height: 1em;
    font-size: 20px;
    height: min-content;
    overflow-y: hidden;

}

br {
    display: block;
    /* makes it have a width */
    content: "";
    /* clears default height */
    margin-top: 0px;
    /* change this to whatever height you want it */
}

.container {
    display: flex;
    background-color: #ffffff;
    border-radius: 25px;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: auto;
}

.row {
    flex: 7;
    display: flex;
    flex-direction: row;
}

.square {
    position: relative;
    background-color: transparent;
    width: 50%;
    height: 100%;
    margin: 8px;
    perspective: 1000px;
    /* Remove this if you don't want the 3D effect */
}

.card {
    position: relative;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
}

.card-front,
.card-back {
    position: absolute;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    width: 100%;
    height: 100%;
}

img {
    width: 100%;
    height: auto;
}

/* Style the front side (fallback if image is missing) */
.card-front {
    background-color: rgba(187, 187, 187, 0);
    color: black;
}

/* Style the back side */
.card-back {
    background-color: #0B5394;
    color: white;
    transform: rotateY(180deg);
}

.instruction {
    font-size: 12pt;
    font-family: Lato;
    font-weight: 400;
    text-shadow: 1px 1px 2px #000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    bottom: 8;
    right: 8;
    color: white;
    z-index: 2;
}

.square:hover .card {
    transform: rotateY(180deg);
}

.text {
    padding: 10px;
    margin-top: 50px;
    text-align: center;
    line-height: 15px;
    font-size: 12pt;
}

a {
    visibility: hidden;
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 20px;
    transition: visibility .4s, opacity .4s;
    transition-delay: .8s;
    opacity: 0;
    color: rgba(0, 0, 0, 0);
}

a:hover {
    color: purple;
}