/* Flashcards */
.flashcard-button {
    border: none;
    width: 50px;
    height: 50px;

    background: linear-gradient(187.53deg, #E79A7D 14.15%, #BE7EF0 84.48%);
    box-shadow: 0px 0px 5px rgba(194, 128, 228, 0.4);
    border-radius: 40px;
    color: #FFFFFF;
}

.flashcard-button i {
    position: relative;
    top: 2px;
    left: -1px;
}

.flashcard-button:first-child i {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);

}

.slideCardLeft {
    -webkit-transform: translateX(-110%) !important;
    -moz-transform: translateX(-110%) !important;
    -ms-transform: translateX(-110%) !important;
    -o-transform: translateX(-110%) !important;
    transform: translateX(-110%) !important;
}


.slideCardRight {
    -webkit-transform: translateX(110%) !important;
    -moz-transform: translateX(110%) !important;
    -ms-transform: translateX(110%) !important;
    -o-transform: translateX(110%) !important;
    transform: translateX(110%) !important;
    background: rgb(230, 230, 230) !important;
}

.slideCardLeft .card-face, .slideCardRight .card-face {
    background: rgb(230, 230, 230) !important;
}


.flashcard {
    position: absolute;
    display: inline-block;
    width: 400px;
    height: 350px;
    left: 0px;
    transition: all 0.3s ease;
}

.flip-container {
    width: 100%;
    height: 350px;
    perspective: 290px;
}

.outer {
    width: 100%;
    height: 350px;
    position: relative;
    transition: all .6s;
    transform-style: preserve-3d;
    pointer-events: none;
}

.flashcard .card-face {
    background: rgb(230, 230, 230);
}

.flashcard:last-child .card-face {
    background: #FFFFFF;
}

.card-face {
    box-sizing: border-box;
    width: 100%;
    height: 350px;
    transition: all .6s;
    position: absolute;
    border-radius: 20px;
    border: 1px solid #FFFFFF;
    line-height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 1px 1px 8px rgba(0,0,0,0.2);

    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    padding: 20px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: auto;
}

.card-face a.not-clickable {
    pointer-events: none;
}
.card-face img {
    max-height: 300px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 5px 1px;
    width: 100%;
    object-fit: cover;
}

.enlarge-img-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 28px;
    padding: 0;
    color: white;
    background: linear-gradient(187.53deg, #E79A7D 14.15%, #BE7EF0 84.48%);
    border-radius: 20px;
    border: none;
    font-size: 0px;
    cursor: pointer;
}

.enlarge-img-button .material-icons {
    font-size: 16px;
}

.card-face .distractor p {
    margin: 0;
}

.flashcards-container {
    position: relative;
    width: 400px;
    height: 350px;
}

@media (max-width: 767px) {
    .flashcard {
        width: calc( 100% - 60px);
    }

}

