@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.vocab-match-grid {
    display: grid;
    grid-template-columns: 150px 150px 150px 150px 150px;
    grid-gap: 5px;
    padding: 5px;
}

    .vocab-match-grid > div {
        height: 100%;
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
        border: 3px solid aliceblue;
        padding: 5px;
    }

.wrong-answer {
    background-color: red;
}

.right-answer {
    background-color: green;
}

.Word-scramble {
    display: flex;
    margin: 1px;
    justify-content: center;
    align-items: center;
    border: 2px solid;
    border-color: #ccc;
    background-color: #f7f7f7;
    box-sizing: border-box;
    height: 100%;
    width: 10%;
    flex-wrap: nowrap;
    min-height: 28px;
}

.Word-scramble-right {
    display: flex;
    margin: 1px;
    justify-content: center;
    align-items: center;
    border: 2px solid;
    border-color: green;
    background-color: #f7f7f7;
    box-sizing: border-box;
    height: 100%;
    width: 10%;
    min-height: 28px;
}

.Word-scramble-wrong {
    display: flex;
    margin: 1px;
    justify-content: center;
    align-items: center;
    border: 2px solid;
    border-color: red;
    background-color: #f7f7f7;
    box-sizing: border-box;
    height: 100%;
    width: 10%;
    min-height: 28px;
}

.flip-card {
    background-color: transparent;
    border: 1px solid #f1f1f1;
    perspective: 1000px;
    height: 100%;
    width: 100%;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    border-color: green;
    background-color: #f7f7f7;
    color: #594ae2ff;
}

.flip-card-back {
    border-color: red;
    background-color: #f7f7f7;
    color: green;
    transform: rotateY(180deg);
}
