:root {
    --note-size: 200px;
}

body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    background-image: url("../resources/corkboard/cork.jpg");
    background-size: cover;
    overflow: hidden;
}

#notes-bar img {
    width: 5em;
    height: auto;
}

#postit-editor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;   
    z-index: 1;
    animation-duration: 900ms;
}

#postit-editor > div {
    margin: auto;
    position: relative;
}

#postit-canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.note {
    position: absolute;
    filter: drop-shadow(0 10px 10px rgb(0, 0, 0, 50%));
    z-index: 0;
}

.note img {
    width: var(--note-size);
    height: auto;
}

#editor-note-img {
    width: 350px;
    height: auto;
}

@keyframes fade-out {
    from {
        opacity: 100%;
    }
    to {
        opacity: 0%;
    }
}

#editor-discard-explosion {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.note span {
    position: absolute;
    top: 100%;
    left: 1em;
    font-family: sans-serif;
    font-size: 8pt;
    font-style: italic;
    color: #f2f2f2;
    opacity: 100%;
    display: none;
}

.note:hover span {
    display: initial;
}