html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    color: white;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

* {
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

* {
    margin: 0;
}

main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    /* justify-content: space-evenly; */
    /* column-gap: ; */
    /* row-gap: ; */
    width: 100%;
    height: 100%;
    background-color: red;
    margin: 0;
    padding: 0;
}

header {
    position: relative;
    grid-column: 1 / span 13;
    grid-row: 1 / span 2;
    background-color: #F72585;
    text-align: center;
    font-weight: 900;
    font-size: xxx-large;
}

header span {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

nav {
    position: relative;
    grid-column: 1 / span 4;
    grid-row: 3 / span 8;
    background-color: #B5179E;
    text-align: center;
}

nav div {
    position: absolute;
    /* display: block; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: fit-content;
    height: fit-content; */
}

nav div a {
    display: block;
    font-size: xx-large;
    margin: 50px 0px;
    font-weight: 500;
}

nav div a:hover {
    font-size: xxx-large;
}

section {
    grid-column: 5 / span 9;
    grid-row: 3 / span 9;
    background-color: #4CC9F0;
    padding: 50px;
}

section h1 {
    color: white;
    font-size: xxx-large;
    /* margin-top: 50px;
    margin-left: 50px; */
    font-weight: 600;
    /* text-decoration: underline;
    text-decoration-thickness: 6px;
    text-decoration-style: ; */
}

section p {
    /* margin: 10px 50px; */
    margin-top: 10px;
    font-size: large;
    font-weight: 400;
}

footer {
    grid-column: 1 / span 12;
    grid-row: 11 / span 2;
    background-color: #3A0CA3;
}

aside {
    display: none;
    position: fixed;
    background-color: #00000010;
    backdrop-filter: blur(1px);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}

aside > div {
    position: absolute;
    background-color: hsl(258, 86%, 54%);
    border-radius: 12px;
    border: 3px solid #3A0CA3;
    width: 50%;
    height: 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* aside span {
    position: absolute;
    display: block;
    font-size: xx-large;
    font-weight: 600;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} */

#answer-block {
    position: absolute;
    display: block;
    font-size: xx-large;
    font-weight: 600;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pop-up-block {
    /* position: absolurete; */
    position: relative;
    width: fit-content;
    height: fit-content;
    display: block;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background-color: red; */
}

.pop-up-title {
    display: inline-block;
    font-size: xxx-large;
    font-weight: 800;
    margin-bottom: 10px;
}

.pop-up-block button {
    margin-top: 15px;
    border-radius: 8px;
    background-color: #4361EE;
    border: 3px solid #4361EE;
    padding: 10px 20px;
    color: white;
}

.pop-up-block button:hover {
    background-color: #4361EE00;
}

.pop-up-block input {
    border-radius: 8px;
    padding: 15px 30px;
    margin: 0px 5px;
}

#wizard {
    position: fixed;
    right: -12%;
    bottom: -5%;
    width: 30%;
}

#words, #phrases, #verbs {
    display: none;
}

.add-button {
    margin-top: 10px;
    margin-bottom: 30px;
    border-radius: 4px;
    width: 150px;
    height: 50px;
    background-color: #7109b720;
    border: 3px solid #7209B7;
    color: white;
    font-size: medium;
}

.add-button:hover {
    background-color: #7109b7;
}

#words div {
    border-radius: 8px;
    border: 4px solid black;
    padding: 20px 50px;
    width: fit-content;
}

#english-word {
    display: inline-block;
    margin-right: 50px;
    font-size: x-large;
    font-weight: 600;
}

#translated-word {
    display: inline-block;
    height: 50px;
    width: 250px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.25);
    border: 4px solid white;
    color: white;
    padding: 5px 10px;
}

#translated-word::placeholder {
    color: black;
}

#word-submit-button {
    margin-left: 50px;
    border-radius: 4px;
    width: 150px;
    height: 50px;
    background-color: #F7258520;
    border: 3px solid #F72585;
    color: white;
    font-size: medium;
}

#word-submit-button:hover {
    background-color: #F72585;
}

#phrases div {
    border-radius: 8px;
    border: 4px solid black;
    padding: 50px 50px;
    width: fit-content;
}

#english-phrase {
    display: inline-block;
    margin-bottom: 30px;
    font-size: large;
    font-weight: 600;
}

#translated-phrase {
    display: inline-block;
    height: 50px;
    width: 250px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.25);
    border: 4px solid white;
    color: white;
    padding: 5px 10px;
}

#translated-phrase::placeholder {
    color: black;
}

#phrase-submit-button {
    margin-top: 30px;
    border-radius: 4px;
    width: 150px;
    height: 50px;
    background-color: #F7258520;
    border: 3px solid #F72585;
    color: white;
    font-size: medium;
}

#phrase-submit-button:hover {
    background-color: #F72585;
}