#search_box_container {
    max-width: 800px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

#search_box {
    display: flex;
    max-width: 100;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    height: 40px;
    background-color: white;
}

#search_results {
    position: relative;
    top: 10px;
    box-shadow: 1px 1px 5px gray;
    border-radius: 10px;
    padding: 6px;
    background: #fdfdfd;
    max-width: 100%;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1;
}

#search_results.open {
    display: block;
    animation: popin .2s;
}

.search_result {
    padding: 0;
    border-bottom: 1px solid #d9d9d9;
}

.search_result:last-child {
    border-bottom: none;
}

.search_result:hover {
    background-color: rgb(245, 245, 245);
    border-radius: 5px;
}

#search_box_txt {
    flex-grow: 1;
    padding-left: 12px;
    padding-right: 12px;
    text-align: center;
    background-color: transparent;
    border: none;
}

#search_box_txt::placeholder {
    font-style: italic;
    font-size: 12px;
    color: rgb(168, 168, 168);
}

#search_box_txt:focus {
    outline: 0px;
}

#search_box:hover {
    outline: 6px solid;
    outline-color: rgb(220, 224, 224);
}

#search_box_language {
    background-color: white;
    border: none;
    margin-left: auto;
    border-radius: 20px;
    padding: 2px 15px;
    font-size: 12px;
    position: relative;
    top: 8px;
    left: -42px;
    display: block;
}

#search_box_language:focus {
    outline: none;
}

#search_icon {
    color: rgb(211, 211, 211);
}

@keyframes popin {
    from {
        scale: 0%;
    }

    to {
        scale: 100%;
    }
}

@keyframes popout {
    from {
        scale: 100%;
    }

    to {
        scale: 0%;
    }
}

.found_word_link {
    display: block;
    padding: 8px 10px;
    color: inherit;
    text-decoration: none;
    font-style: normal;
}

.found_word_header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.found_word {
    font-size: 17px;
    font-style: normal;
    font-weight: bold;
    color: #023e35;
}

.found_word_pos {
    font-size: 11px;
    font-style: normal;
    font-weight: bold;
    color: #205a97;
}

.found_word_definitions {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.35;
    color: #444;
}

.found_word_definition {
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.found_word_definition_number {
    font-weight: bold;
    color: #023e35;
}