#input-modal-overlay {
    position: fixed;
    z-index: 9998;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    transition: background 0.2s;
    pointer-events: all;
}

#input-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.input-modal-content {
    position: relative;
    z-index: 2;

    width: 72vw;
    height: auto;
    aspect-ratio: 1338 / 392;

    display: flex;
    flex-flow: column;
    align-items: stretch;
    justify-content: center;
    pointer-events: all;
}

.input-modal-content-bg {
    position: absolute;
    z-index: -1;

    display: flex;
    width: 100%;
    height: 100%;

    object-fit: fill;
}

/* Header */
.input-modal-content-header {
    /*background: yellow;*/
    position: absolute;
    top: 0;

    display: flex;
    aspect-ratio: 1338 / 80;

    width: 100%;
    height: auto;

    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.input-modal-content-header-bg {
    position: absolute;
    display: flex;

    width: 100%;
    height: 100%;

    object-fit: fill;
}

.input-modal-content-header-title {
    position: absolute;
    display: block;

    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);

    font-family: 'Rubik', sans-serif;
}

.input-modal-content-header-close-button {
    position: absolute;
    right: 0;
    margin: 6px 8px 0 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    object-fit: contain;
    pointer-events: all;
    transition: opacity 0.15s;
}

.input-modal-content-header-close-button:active {
    opacity: 0.72;
}

/* Body */
.input-modal-content-body {
    display: flex;
    height: 100%;

    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.input-modal-content-body-subtitle {
    margin: -8px 0 36px 0;
    color: #051F79;
    font-size: 1rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);

    font-family: 'Rubik', sans-serif
}

.input-modal-input-container {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72%;

    background: #0A2063;
    box-sizing: border-box;
}

.input-modal-input-container input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;

    height: 28px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 0.01em;
    font-family: 'Rubik', sans-serif
}

.input-modal-input-container input::placeholder {
    text-align: center;

    color: #d4e2fd;
    opacity: 0.85;
}