body {
    background-image: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.6)), url("https://nms-words.kgabriel.dev/assets/nms-background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 2em 1em;
}

select {
    /* Reset Select */
    appearance: none;
    outline: 0;
    border: 0;
    box-shadow: none;
    /* Personalize */
    flex: 1;
    padding: 0em 1em;
    color: white;
    background-color: #2c3e50;
    background-image: none;
    cursor: pointer;
}
select::-ms-expand {
    display: none;
}
.select-container {
    position: relative;
    left: 50%;
    top: 1em;
    transform: translateX(-50%);
    width: 8em;
    height: 2em;
    border-radius: .25em;
    overflow: hidden;
}
.select-container::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    padding: .5em;
    background-color: #34495e;
    transition: .25s all ease;
    pointer-events: none;
}
.select-container:hover::after {
    color: #f39c12;
}

#show {
    border: 2px solid blue;
    border-radius: 1em;
    margin: 2em 0;
    padding: 2em;
    display: inline-block;
    background-color: rgba(255,255,255,0.5);
    font-size: large;
    width: 100%;
    max-width: 1100px;
}

h1, h2, h3 {
    text-align: center;
    margin-top: 0;
}

.flex-justify-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-grow {
    flex-grow: 1;
}

.container {
    border: 2px solid darkcyan;
    border-radius: 1em;
    padding: 1em;
    margin: 1em;
    display: inline-block;
}

#word-container {
    display: inline-block;
    text-align: center;
    width: 75%;
    max-width: 400px;
}

#word {
    font-size: xx-large;
}

#translation-container {
    display: inline-block;
    text-align: left;
    width: 75%;
    max-width: 400px;
}

#translation-container > span > span > span:not(:last-child) {
    display: inline-block;
    margin-bottom: .75em;
}

#language-container {
    font-size: large;
    text-align: center;
    margin-top: 1em;
}

.text-center {
    text-align: center;
}

footer {
    font-size: large;
    font-weight: 700;
}

#legal {
    background-color: rgba(255,255,255,0.4);
    border-radius: 1em;
    display: inline-block;
    padding: 1em;
}

a, a:visited, a:active {
    color: darkcyan;
}

#newWordButton {
    background-color: #34495e;
    color: white;
    border-radius: .25em;
    margin-top: 2em;
    padding: .8em;
    border: none;
}

#newWordButton:hover {
    color: #f39c12;
    cursor: pointer;
}