html {
    height: 100%;
    background: #333333 url("media/background.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    scroll-behavior: smooth;
}

body {
    font-family: 'OpenSansLight', "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #fff;
}

.wrapper {
    width: 97%;
    max-width: 972px;
    margin: 0 auto;
    display: block;
}

h1 {
    font-family: Orbitron;
    font-weight: 500;
    font-size: 40px;
    color: #ffef62;
    text-align: center;
    text-shadow: 0 0 12px rgba(255, 219, 98, 0.25);
}

h1 > a {
    text-decoration-line: none;
    color: #ffef62;
}

a.header {
    text-decoration-line: none;
    color: #ffef62;
}

a.header:hover {
    background-color: #ffef6211;
    text-shadow: 0 0 5px #ffef62;
}

a.header:active {
    color: #fff;
    text-shadow: 0 0 5px #ffef62, 0 0 3px #fff;
}

.subtitle {
    font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
    font-size: 17px;
    text-shadow: 0 0 5px rgba(255, 219, 98, 0.35);
    color: #ffef62;
    text-align: right;
    margin: -1em 0em 5em 0em;
}

h2 {
    text-transform: uppercase;
    font-size: 36px;
    margin: 64px 0px 0px 0px;
}

a {
    color: #61d855;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    cursor: pointer;
}

.link-color {
    color: #61d855;
}

a:hover {
    text-decoration-style: solid;
}

a:active {
    color: #fff;
}

hr.footsep-begin {
    border-top: 1px dashed #222222;
    border-bottom: none;
    border-right: none;
    border-left: none;
    margin-top: 42px;
    margin-bottom: 2px;
}

hr.footsep-end {
    border-top: none;
    border-bottom: 1px dashed #222222;
    border-right: none;
    border-left: none;
    margin-top: 2px;
    margin-bottom: 10px;
}

hr.formsep {
    border: 1px solid #999;
    border-bottom: none;
    border-right: none;
    border-left: none;
    margin-top: 1px;
}

.footer {
    width: 100%;
    margin: 0;
    padding: 10px 0px 10px 0px;
    background: rgba(0, 0, 0, 0.25);
}

.modal-background {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(23, 23, 23); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.667);
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
}

.modal-box {
    background-color: #666;
    position: fixed;
    width: 450px;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    padding: 20px;
    border: 1px solid #999;
    box-shadow: 0 0 30px 15px rgba(0, 0, 0, 0.667);
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
}

.less-shadow {
    box-shadow: 0 0 30px 15px rgba(0, 0, 0, 0.333);
}

.modal-close {
    position: absolute;
    top: 6px;
    right: 12px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}

.modal-close:hover, .modal-close:focus {
    color: #fff;
    text-decoration: none;
    cursor: default;
}

a.addr {
    color: #fff;
    text-decoration: none;
}

a.addr:hover {
    text-decoration-line: underline;
    text-decoration-style: solid;
}

a:hover {
    text-decoration-style: solid;
}

.mediabox {
    background-color: #222222;
    box-shadow: -1em 0 3em #000;
}

.mediabox-clickable {
    transition: box-shadow 0.333s ease,
                transform 0.333s ease;
}

.mediabox-clickable:hover {
    box-shadow: -1em 0 3.5em -10px #000;
    transform: scale(1.03) translateY(-10px);
}

.mediabox-bright {
    background-color: #333333;
    box-shadow: -1em 0 3em #000;
    padding: 15px;
}

.mediabox-geometry {
    box-sizing: border-box;
    width: 94%;
    margin-top: 1em;
}

@-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 50%; opacity: 1}
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 50%; opacity: 1}
}

@-webkit-keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

.card-container {
    display: flex;
    height: 300px;
    width: 600px;
    margin-top: 56px;
}

.card {
    display: flex;
    height: 273px;
    width: 490px;
    padding: 10px;
    background-color: #222222;
    border-radius: 10px;
    transition: 0.4s ease-out;
    position: relative;
    left: 0px;
}

.card:not(:first-child) {
    margin-left: -450px;
}

.card:hover {
    transform: translateY(-20px);
    transition: 0.4s ease-out;
}

.card:hover ~ .card {
    position: relative;
    left: 440px;
    transition: 0.4s ease-out;
}

.card-frame {
    border: none;
    width: 480px;
    height: 270px;
}

table {
    border-collapse: collapse;
}

td {
    padding: 0;
    margin: 0;
}

input[type="file"] {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.07));
    padding: 0.5em;
    box-sizing: border-box;
    width: 100%;
}

input[type="file"]:hover {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.085));
}

.file {
    border: 0.9px dashed rgba(0, 0, 0, 0.3);
}

.file-ok, .file-ok:hover {
    border: 0.9px dashed rgba(97, 216, 85, 0.5);
}

.file-nok {
    border: 0.9px dashed rgba(241, 76, 76, 0.9);
}

input[type="submit"], input::file-selector-button {
    color: white;
    background-color: #333;
    border: 1px solid rgba(0, 0, 0, 0.5);
    padding: 0.4em 0.5em 0.3em 0.5em;
    margin-right: 0.5em;
}

input[type="submit"]:hover, input::file-selector-button:hover {
    color: #fffbd7;
    background-color: #3b3b3b;
    border: 1px solid rgba(0.1, 0.1, 0.1, 0.5);
}

input[type="submit"]:disabled, input[type="submit"][disabled] {
    color: #999;
    background-color: #444;
}

.disclaimer {
    opacity: 0.69;
    font-size: small;
}

.report {
    font-size: small;
    position: absolute;
    bottom: 2em;
    right: 2em;
}

.loading-animation {
    position: relative;
    max-height: 100%;
    max-width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.92;
}

#status {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.restart-button {
    position: absolute;
    bottom: 20px;
}


.floating-footer {
    width: 100%;
    position: absolute;
    bottom: 0.5em;
    left: 50%;
    transform: translate(-50%, 0);
}

/* Mobile */

@media (max-width: 600px) {
    h2 {
        font-size: 28px;
        margin: 64px 0px 0px 0px;
    }

    .modal-box {
        width: 80%;
    }

    .card-container {
        height: 150px;
        width: 94%;
        max-width: 600px;
    }

    .card {
        height: 138px;
        width: 240px;
    }

    .card:not(:first-child) {
        margin-left: -230px;
    }

    .card:hover ~ .card {
        left: 240px;
    }

    .card-frame {
        height: 135px;
        width: 240px;
    }
}
