* {
    font-family: 'Source Sans Pro', sans-serif;
}

.header-background-letters {
    font-size: 4rem;
    font-style: italic;
    color: #dddddd;
    display: none;
}

.header-word-count {
    display: none;
}

.header-levels-and-points {
    display: flex;
    position: fixed;
    justify-content: center;
    width: 100vw;
    bottom: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    z-index: 10;
    padding: 1rem;
}

.header-levels-and-points-button {
    position: absolute;
    right: 0;
    top: -1.75rem;
    border: none;
    background: none;
}

.header-levels-and-points-button .material-icons {
    font-size: 45px;
    color: #0d6efd;
    background-color: #ffffff;
    transform: rotate(0deg);
    border-radius: 50%;
    border: 1px solid #0d6efd;
}

.header-levels-and-points-button.collapsed .material-icons {
    transform: rotate(180deg);
}

#header-levels-and-points-content .logo {
    max-height: 100px;
    width: auto;
    min-width: 115px;
}

#header-levels-and-points-content .header-background-letters {
    font-size: 1.25rem;
    align-self: center;
}

#header-levels-and-points-content.collapsing,
#header-levels-and-points-content.show {
    display: flex;
    gap: 3rem;
}

ul.pagination {
    display: flex;
    flex-wrap: wrap;
}

.words {
    margin-bottom: 50px;
}

.words h2 {
    margin-bottom: 20px;
}

.word-levels form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.words-new form {
    display: flex;
    gap: 0.5rem;
}

.words-new form > div {
    min-width: 100px;
}

.words-new form label {
    display: none;
}

.card-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 500;
}

.card-image {
    position: relative;
    overflow: hidden;
    margin: 25px 0;
    height: 200px;
}

.card-image img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.check-article {
    display: flex;
    justify-content: space-between;
}

.check-article .btn {
    padding: 10px 30px;
}

div#wordsNew {
    margin-top: 1rem;
}

div#wordsNew form {
    flex-direction: column;
}

@media only screen and (min-width: 768px) {
    .header-background-letters {
        display: block;
        text-align: center;
    }

    .header-levels-and-points-button {
        right: 2rem;
    }

    .card-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    div#wordsNew form {
    flex-direction: row;
}
}

@media only screen and (min-width: 1024px) {
    .header-word-count {
        display: block;
    }

    .card-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
}