@import url(//fonts.googleapis.com/earlyaccess/nanumgothiccoding.css);

body {
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: white;
}

.image-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin: 2px;
    vertical-align: top;
}

.overlay-canvas {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: auto;
    z-index: 1000;
}

.label {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 8px;
    box-sizing: border-box;
    font-family: 'Nanum Gothic Coding', monospace;
    white-space: pre;
}

.info-label {
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 8px;
    box-sizing: border-box;
    font-family: 'Nanum Gothic Coding', monospace;
    white-space: normal;
    opacity: 0.7;
    color: white;
    bottom: 0;
    right: 0;
    background-color: blue;
    z-index: 2000;
}

.label:hover {
    cursor: pointer;
}

.image {
    display: block;
    width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    padding: 9px 0 3px 0;
    background-color: #333;
    color: white;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    z-index: 1000;
    white-space: pre;
    font-family: 'Nanum Gothic Coding', monospace;
}

.container {
    position: absolute;
    top: 42px;
    left: 0;
    width: 100%;
    height: calc(100% - 42px);
    overflow-y: auto;
    padding: 2px;
    box-sizing: border-box;
}

.favorites-overlay {
    position: absolute;
    top: 42px;
    left: 0;
    width: 100%;
    height: calc(100% - 42px);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
}

.favorites-list {
    padding: 0;
}

.favorite-item a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.favorites-only-button {
    padding: 10px;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
}
