body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f0f0f0;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.popup{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    position: absolute;
    z-index: 1000;
    background: #fff;
    width: 100%;
}

#lock{
    max-width: 600px;
}

#graphicKeyInput{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.59);
    z-index: 1000;
    text-align: center;
}

#viewDecryptedContent{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1000;
}

.spaceItem, .contentItem{
    border-bottom: 1px solid #000;
    padding: 10px;
    background: #fff;
    width: 100%;
    cursor: pointer;
}

.spaceItem:hover, .contentItem:hover{
    background: #b5e3ff;
}

.spaceItem:active, .contentItem:active{
    background: #2693ff;
}

.backBtn{
    cursor: pointer;
}

.backBtn:hover{
    filter: brightness(0.9);
}

#decryptedContentTimeout{
    color: #5e0000;
}

#spaceIconSelect, #contentTypeSelect{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid #313131;
    width: 100%;
}

#newSpaceName, #newContentName{
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #313131;
    border-radius: 0px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

#createNewSpaceBtn, #createNewContentBtn{
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #313131;
    border-radius: 0px;
    background: #313131;
    color: #fff;
    cursor: pointer;
    width: 100%;
}

#createNewSpaceBtn:hover{
    background: #000;
}

#newContent{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    border: 1px solid #313131;
    width: 100%;
    min-height: 8rem;
    box-sizing: border-box;
    padding: 1rem 1rem 20px;
    margin: 0 auto 20px;
}
