body {
    background-color: black;
    color: white;
}

#picture {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#picture-title {
    position: absolute;
    font-size: 10vh;
    text-shadow: 0 0 1rem black;
    width: 99%;
    text-align: center;
    top: 80%;
}

/* Remove margin from any <p> elements in the title, so we can let Markdown just do its thing without
   messing up placement of elements */
#picture-title p {
    margin: 0;
    padding: 0;
}

#notification-popup {
    color: black;
    position: fixed;
    font-size: 1.5em;
    margin-left: 100px;
    top: -350px;
    transition: top 2s;
}

#notification-popup #arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid lightgray;
}

#notification-popup #box {
    width: 500px;
    background-color: lightgray;
    padding: 20px;
    contain: content;
    cursor: pointer;
}

#error-message {
    color: black;
    font-size: 200%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    background-color: white;
    border: 3px solid red;
    box-shadow: 10px 10px 0 red;
}

.blackout-overlay {
    background-color: black;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.blackout-overlay-active {
    opacity: 100%;
}
