html {
    /*background-color: #ffa100;*/
    background-color: ghostwhite;
    height: 100vh;
    width: 100vw;
}

body {
    position: relative;
    height: 88vh;
    width: min(60vw, 700px);
    margin: 6vh auto;
    background-color: white;
    border-radius: 10px;
}

body > div {
    padding: 5%;
}

header {
    position: relative;
    height: 5vh;
    background-color: rgb(234, 238, 245);
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1% 2%;
}

#user_icon {
    height: 100%;
    border-radius: 100vh;
}

#user_icon:hover {
    opacity: 0.8;
}

#user_popup {
    position: absolute;
    width: 45%;
    top: 120%;
    right: 0;
    padding: 5%;
    /*background-color: turquoise;*/
    /*background-color: #f0f4f9;*/
    background-color: rgb(234, 238, 245);
    border-radius: 20px;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.3);
    font-size: 0.8rem;
    text-align: center;
    z-index: 2;
}

#user_popup > .close {
    position: absolute;
    height: 22px;
    width: 22px;
    top: 10px;
    right: 10px;
    padding: 2px;
    background-color: #0000;
    border: none;
    border-radius: 100%;
}

#user_popup > .close > svg {
    height: 18px;
    width: 18px;
}

#user_popup > .close > svg:hover {
    opacity: 0.8;
}

#user_popup > p {
    width: 80%;
    margin: 0 0 5%;
    padding: 0 10%;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sign_in {
    width: 45%;
    border: none;
    border-radius: 100vh 0 0 100vh;
    background-color: rgb(221, 225, 231);
    margin: 5% 0 0;
    padding: 5%;
}

#sign_in:hover {
    opacity: 0.7;
}

#sign_out {
    width: 45%;
    border: none;
    border-radius: 0 100vh 100vh 0;
    background-color: rgb(221, 225, 231);
    margin: 5% 0 0;
    padding: 5%;
}

#sign_out:hover {
    opacity: 0.7;
}

main {
    height: 65vh;
    overflow: scroll;
    background-color: aliceblue;

    margin: 5% 0;
    padding: 1% 2%;
    border-radius: 10px;
}

main input[type="text"] {
    width: 50%;
}

main > details > details > div {
    margin: 0 0 1rem 0;
}

details {
    padding: 0.5rem 1rem;
}

footer {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: right;
    margin: 0 4% 2%;
}

footer > a {
    color: inherit;
    text-decoration: none;
}

#message_popup {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(221, 225, 231);
    height: 10%;
    width: 40%;
    border-radius: 20px;
    z-index: 2;
}

#message_popup > .close {
    position: absolute;
    height: 22px;
    width: 22px;
    top: 10px;
    right: 10px;
    padding: 2px;
    background-color: #0000;
    border: none;
    border-radius: 100%;
    text-align: center;
    vertical-align: center;
}

#message_popup > .close > svg {
    height: 18px;
    width: 18px;
}

#message_popup > .close > svg:hover {
    opacity: 0.8;
}

#message_popup > div {
    height: 50px;
    line-height: 50px;
}

#message_popup > div > p {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}


#popup_background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 1;
}

#popup_background_gray {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


input:invalid {
    background-color: #ffdddd;
}

.padding {
    margin: 0 0 0 1rem;
}

canvas {
    height: 10vh !important;
    width: 10vh !important;
}

p {
    margin: 0;
}