.vocabulary-wrapper {
    /* max-width: 600px; */
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    margin-bottom: 30px;
}

.vocabulary_logo {
    height: 39px;
    margin-top: 26px;
}

.tagline {
    width: 240px;
    font-size: 16px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

.words {
    font-size: 18px !important;
    /* display: flex;
    flex-wrap: wrap; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 5px;
}

.a_word {
    margin: 10px 0;
    height: 30px;
}

.words input[type="checkbox"] {
    display: none !important;
}


.words input[type="checkbox"]+label {
    -webkit-tap-highlight-color: transparent;
}

.words input[type="checkbox"]+label {
    background-color: var(--lighter-background);
    color: #000 !important;
    font-weight: 600 !important;
    border-bottom: 0 !important;
    padding: 3px 15px 3px 15px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.words input[type="checkbox"]:checked+label {
    background-color: var(--primary-accent);
    color: #fff !important;
    font-weight: 600 !important;
    border-bottom: 0 !important;
    padding: 3px 15px 3px 15px;
    cursor: pointer;
    display: inline;
}



.words input[type="checkbox"]:checked+label::before {
    content: "";
    display: inline-block;
    background: url('/assets/images/icons/checkmark.svg') no-repeat;
    margin-right: 5px;
    width: 22px;
    height: 22px;
    vertical-align: bottom;
}


.vocabulary_description {
    margin-bottom: 20px;
}

.vocabulary_how {
    margin-bottom: 20px;
    padding: 15px 20px;
    background-color: #36657c;
    color: #fff;
    display: inline-block;
    border-radius: 5px;
}

.vocabulary_how_title {
    background-color: #123445;
    font-size: 18px;
    padding: 4px 0 4px 20px;
    margin: -15px -20px 8px -20px;
    border-radius: 5px 5px 0 0;
    font-weight: 200;
    font-size: 16px;
}

.vocabulary_warning {
    /* padding: 15px 20px; */
    display: inline-block;
    /* border: 3px solid #001034; */
    margin-top: 20px;
}

.vocabulary-wrapper hr,
.vocabulary_error hr {
    border: 1px solid var(--lighter-background);
    margin: 20px 0px 15px 0;
}

.vocabulary_error {
    text-align: center;
    margin: 0 auto;
    margin-top: 100px;
    padding: 25px;
    border-radius: 10px;
    background-color: #001034;
}

.vocabulary_warning_img {
    width: 64px;
    margin-bottom: 10px;
}

.vocabulary_rules_warning_img {
    width: 48px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
    /* filter: invert(1); */
}

.vocabulary_encouragment {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 20px;
}

.vocabulary_result_img {
    width: 600px;
    max-width: 100%;
    border-radius: 10px;
}

.vocabulary_icon {
    height: 20px;
    vertical-align: bottom;
}

.vocabulary-wrapper input {
    padding: 10px;
    border-radius: 50px;
    border: 0;
    outline: 0;
    font-size: 20px;
}

.vocabulary_results_link {
    cursor: pointer;
    padding: 5px 10px;
    background-color: var(--darker-background);
    color: #000;
    border-radius: 5px;
    display: inline-block;
    margin: 5px 0;
    transition: opacity 0.15s ease;
    word-break: break-all;
}

.box_title {
    color: #000;
}

.box_title div {
    display: inline-block;
    position: absolute;
    right: 3px;
}

.box_title img {
    margin: 0px 5px -2px 0;
    width: 18px;
    height: 18px;
    /* filter: invert(); */
}

.button img {
    filter: invert();
}

.footer,
.footer a,
.footer a:hover {
    color: white;
}

@media screen and (max-width: 767px) {
    .words {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 5px;
    }
}