html {
    padding: 0;
    margin: 0;
}

body {
    background-color: #303030;
    color: whitesmoke;
    font-family: "Krub", sans-serif;
    font-weight: 500;
    padding: 0;
    margin: 0;
}

#container {
    margin: 0 auto;
    box-sizing: border-box;
    width: 1200px;
    height: 735px;
    padding: 0;
    position: relative;
}

#words {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 28px;
    margin-top: 20px;
    box-sizing: border-box;
    min-height: 480px;
    max-height: 480px;
    overflow-y: auto;
    /* background-color: #4d4d4d; */
    padding: 10px;
    scrollbar-color: #4d4d4d #303030;
}

.word {
    display: block;
    line-height: 1.8em;
    /* margin: 10px 0; */
    text-align: center;
}

input, label {
    display: block;
    justify-self: center;
}

label {
    margin-bottom: 10px;
}

/* input */

#newWord.display-form {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(240, 248, 255, 0.881);
    color: #303030;
    /* margin: auto; */
    box-sizing: border-box;
    width: 800px;
    padding: 20px;
    border-radius: 20px;
    font-size: 20px;
}

#newWord.hide-form {
    position: absolute;
    bottom: 100px;
    right: 100px;
    /* transform: translateX(-50%); */
    background-color: rgba(240, 248, 255, 0.881);
    color: #303030;
    /* margin: auto; */
    box-sizing: border-box;
    width: 200px;
    /* padding: 20px; */
    border-radius: 20px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

#newWord.hide-form:hover {
    background-color: aquamarine;
    color: #303030;
}

.item {
    flex: 1;
}

#inputs {
    display: flex;
    gap: 20px;
    /* justify-content: center; */
}

#newWord.hide-form form, #newWord.hide-form #close {
    display: none;
}

#newWord.display-form p {
    display: none;
}

#close {
    display: block;
    margin-left: auto;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 24px;
    padding: 10px;
    border-radius: 5px;
}

#close:hover {
    background-color: #4d4d4d;
    color: aliceblue;
}

#send {
    display: block;
    margin-top: 10px;
    /* font-size: 18px; */
    background-color: #303030;
    color: aliceblue;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#send:hover {
    color: aquamarine;
    background-color: #4d4d4d;
}

/* controls */
nav {
    width: 250px;
    margin-right: 30px;
    margin-left: auto;
    margin-top: 10px;
}

#controls {
    display: flex;
    gap: 10px;
    font-size: 36px;
    cursor: pointer;
}

#controls div {
    flex: 1;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
}

#controls div:hover {
    background-color: rgb(105, 105, 105);
}

.active {
    background-color: aquamarine;
    color: #303030;
}

footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    text-align: center;
}

footer ul {
    display: flex;
    gap: 20px;
    /* justify-content: center; */
    padding: 0;
    margin: 0;
}

footer ul li{
    display: block;
    flex: 1;
    /* text-align: center; */
}

footer ul li a {
    color: aliceblue;
    text-decoration: none;
    /* text-align: center; */
    padding: 5px;
}

footer ul li a:hover {
    color: aquamarine;
}
