@font-face {
    font-family: digital7;
    src: url(../../../uploads/digital-7.mono.ttf);
}

@font-face {
    font-family: digitalix;
    src: url(../../../uploads/digitalix.ttf);
}

@font-face {
    font-family: digitaldes;
    src: url(../../../uploads/digital-desolation.ttf);
}

@font-face {
    font-family: SourceCodeVariable;
    src: url(../../../uploads/source-code-variable.otf);
}

/* Forms (common) */
.opa-form {
}

.opa-form label {
}

.opa-form input[type=text],
.opa-form input[type=password],
.opa-form input[type=email],
.opa-form input[type=date],
.opa-form input[type=datetime-local],
.opa-form input[type=file],
.opa-form select,
.opa-form textarea {
    width: 100%;
    padding: 0.35em;
    max-width: 350px;
}

.opa-form input[type=text],
.opa-form input[type=password],
.opa-form input[type=email],
.opa-form input[type=date],
.opa-form input[type=datetime-local],
.opa-form input[type=file],
.opa-form input[type=checkbox],
.opa-form input[type=radio],
.opa-form select,
.opa-form textarea {
    margin: 10px 0 !important;
}

.opa-form input:read-only {
    background-color: #f4f4f4;
}

.opa-form label.error {
    color: #df2f10;
    display: block;
    line-height: 1.8;
    font-weight: normal;
}

.opa-form input.error,
.opa-form select.error {
    border: 1px solid #df2f10;
}

.opa-form label[for] {
    margin-left: 10px;
}

.opa-form span.required {
    color: #e5221c;
}

/* Forms (admin) */
.opa-form-admin,
.opa-form-admin button,
.opa-form-admin input,
.opa-form-admin select,
.opa-form-admin textarea {
    font-family: "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.opa-form-admin {
    color: #333333;
}

.opa-form-admin h2 {
    font-size: 2em;
    color: #333;
}

.opa-form-admin input[type=text],
.opa-form-admin input[type=password],
.opa-form-admin input[type=email],
.opa-form-admin input[type=date],
.opa-form-admin input[type=datetime-local],
.opa-form-admin input[type=file],
.opa-form-admin select,
.opa-form-admin textarea {
    width: 100%;
    padding: 0.5em;
    max-width: 350px;
}

.opa-form-admin input[type=text],
.opa-form-admin input[type=password],
.opa-form-admin input[type=email],
.opa-form-admin input[type=date],
.opa-form-admin input[type=datetime-local],
.opa-form-admin input[type=file],
.opa-form-admin input[type=checkbox],
.opa-form-admin input[type=radio],
.opa-form-admin select,
.opa-form-admin textarea {
    margin: 5px 0 !important;
}

.opa-form-admin input[type=checkbox],
.opa-form-admin input[type=radio] {
    width: auto;
}

.opa-form-admin span.required {
    color: #ff0000;
}

.opa-form-admin label.error {
    color: #ff0000;
    display: block;
    line-height: 1.8;
}

.opa-form-admin input.error,
.opa-form-admin select.error {
    border: 1px solid #ff0000;
}

.opa-form-admin label[for] {
    margin-left: 10px;
}

.opa-form-admin h5, .opa-form-admin h4 {
    margin-bottom: 5px !important;
}

/* Panel */
.opa-panel {
    border: 1px solid #b8b8b8;
    border-radius: 4px;
}

.opa-panel-header {
    background-color: #f4f4f4;
    font-weight: bold;
    padding: 8px 20px;
    border-bottom: 1px solid #b8b8b8;
}

.opa-panel-body {
    padding: 10px 20px;
}

/* Input phone */
.iti input[type="text"] {
    padding-left: 52px;
}

.iti__flag-container {
    margin: 10px 0;
    background-color: #f0f0f0;
}

.iti__country-list {
    margin-top: 5px !important;
}

.iti__country-name {
    color: #666;
}

/* Buttons (standard) */
.opa-submit {
    font-size: 20px;
    font-weight: bold;
    background-color: #B2665F;
    color: #ECEBEE;
    padding: 10px 20px;
}

.opa-submit:hover {
    background-color: #424242;
}

.opa-submit-disabled {
    font-size: 100%;
    font-weight: normal;
    border-radius: 0;
    background-color: #339933;
    color: #cccccc;
}

.opa-submit-disabled:hover {
    cursor: not-allowed;
}

.opa-submit-cancel {
    font-size: 100%;
    font-weight: normal;
    border-radius: 0;
    background-color: #cc3333;
    color: #ffffff;
}

.opa-submit-cancel:hover {
    background-color: #cc3333;
    color: #ffffff;
}

.opa-submit-primary {
    font-size: 100%;
    font-weight: normal;
    border-radius: 0;
    background-color: #0b5ed7;
    color: #ffffff;
}

.opa-submit-primary:hover {
    background-color: #0b5ed7;
    color: #ffffff;
}

.opa-submit-accept {
    font-size: 100%;
    font-weight: normal;
    border-radius: 0;
    background-color: #339933;
    color: #ffffff;
}

.opa-submit-accept:disabled {
    background-color: #A0A0A0;
    cursor: not-allowed;
}

.opa-submit-decline {
    font-size: 100%;
    font-weight: normal;
    border-radius: 0;
    background-color: #cc3333;
    color: #ffffff;
}

.opa-submit-decline:disabled {
    background-color: #A0A0A0;
    cursor: not-allowed;
}

/* Buttons icon */
.opa-bt-icon {
    display: inline-block;
    padding: 0;
    margin: 0 2px;
    width: 24px;
    height: 24px;
    border: 1px solid #999999;
    border-radius: 4px;
    background-color: #f8f8f8;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center center;
}

.opa-bt-icon:hover {
    background-color: #d8d8d8;
}

.opa-ico-badge {
    background-image: url("/wp-content/uploads/bt_badge.png");
}

.opa-ico-badge:disabled {
    cursor: not-allowed;
}

.opa-ico-edit {
    background-image: url("/wp-content/uploads/bt_edit.png");
}

.opa-ico-mail {
    background-image: url("/wp-content/uploads/bt_mail.png");
}

.opa-ico-qrcode {
    background-image: url("/wp-content/uploads/bt_qrcode.png");
}

.opa-ico-qrcode:disabled {
    cursor: not-allowed;
}

.opa-ico-trash {
    background-image: url("/wp-content/uploads/bt_trash.png");
}

/* Table */
.dataTables_length select {
    width: 75px;
}

.dataTables_scrollHead tr th {
    text-align: left;
}

/* State */
.opa-declined {
    color: #cc3333;
}

.opa-completed {
    color: #33cc33;
}

.opa-incomplete {
    color: #FF9451;
}

.opa-validating {
    color: #FF9451;
}

.opa-wait {
    color: #3333cc;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f0f0f0;
    min-width: 80px;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 3px 6px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Table select */
table.dataTable tbody td.select-checkbox::before {
    top: auto !important;
}

/* Home v1 (video SaveTheDate) */
.main-container {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-image: url(../../../uploads/main_bkg_v2.png);
    background-size: cover;
    background-position: center;
}

.main-container input[type=text],
.main-container input[type=password] {
    width: 100%;
    padding: 0.35em;
    max-width: 350px;
    margin: 8px 0 !important;
}

/* Home v2 (with menu) */
.home2-container {
    font-family: SourceCodeVariable, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.15;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-image: url(../../../uploads/main2_bkg.png);
    background-size: cover;
    background-position: left center;
}

.home2-container input[type=text],
.home2-container input[type=password],
.home2-container input[type=email],
.home2-container input[type=date],
.home2-container input[type=datetime-local],
.home2-container input[type=file],
.home2-container select,
.home2-container textarea {
    font-family: SourceCodeVariable;
}

.home2-content-wrap {
    flex-grow: 1;
    height: 100%;
    position: relative;
}

.home2-menu {
    text-align: center;
    width: 15%;
}

.home2-menu-item {
    color: #ffffff;
    font-size: 25px;
    padding-bottom: 15px;
    padding-top: 15px;
}

.home2-menu-item img {
    width: 30%;
}

.home2-menu-item img:hover {
    cursor: pointer;
}

.home2-menu-item div span {
    display: inline-block;
    cursor: pointer;
}

.home2-button {
    display: inline-block;
    font-family: digitaldes;
    font-size: 120%;
    line-height: 1.5;
    padding: 10px 25px;
    margin-top: 15px;
    color: #000000;
    background-color: #f8f8f8;
    cursor: pointer;
}

.home2-button:disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.home2-button:hover {
    background-color: #e8e8e8;
}

.home2-body {
    padding: 15px;
    background-color: #000000;
    color: #ffffff;
    overflow-y: auto;
    flex-grow: 1;
}

/* Home 2 timer */
.home2-timer {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 25%;
    min-width: 280px;
}

/* Home 2 register */
#home2-register {
    position: absolute;
    left: 5%;
    top: 5%;
    right: 5%;
    bottom: 5%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

#home2-register-confirm0,
#home2-register-confirm1 {
    position: absolute;
    left: 25%;
    top: 30%;
    right: 25%;
    z-index: 10;
}

/* Home 2 info */
#home2-info {
    position: absolute;
    left: 5%;
    top: 5%;
    right: 5%;
    bottom: 5%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

/* Home 2 indices */
#home2-indices {
    position: absolute;
    left: 5%;
    top: 5%;
    right: 5%;
    bottom: 5%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

/* Home 2 contacts */
#home2-contacts {
    position: absolute;
    left: 5%;
    top: 5%;
    right: 5%;
    bottom: 5%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

#home2-contacts-confirm {
    position: absolute;
    left: 25%;
    top: 30%;
    right: 25%;
    z-index: 10;
}

/* Home 2 message */
#home2-message {
    position: absolute;
    left: 5%;
    top: 5%;
    right: 5%;
    bottom: 5%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

/* Home 2 photo */
#home2-photo {
    position: absolute;
    left: 3%;
    top: 5%;
    right: 2%;
    bottom: 5%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

/* Home 2 video */
#home2-video {
    position: absolute;
    left: 7%;
    top: 5%;
    right: 7%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

/* Header 1 (background transparent, no text) */
.header1 {
    text-align: right;
    padding: 10px 20px 8px 0;
}

.header1 img {
    max-width: 5vw;
    height: auto;
}

/* Header 2 (background gradient, text black, font SourceCodeVariable) */
.header2 {
    font-family: SourceCodeVariable;
    color: #000000;
    background: #ffffff;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(224,224,255,1) 100%);
    padding: 10px 20px 8px 20px;
}

.header2 img {
    max-width: 5vw;
    min-width: 60px;
    height: auto;
}

.header2 .header2-buttons img {
    max-width: 3.8vw;
    min-width: 46px;
    height: auto;
}

.header2 .header2-button-close img {
    max-width: 1.27vw;
    min-width: 16px;
    height: auto;
    cursor: pointer;
}

/* Enter */
.enter-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    background-color: #e04d74;
    background: linear-gradient(90deg, rgba(224,77,116,1) 0%, rgba(85,55,142,1) 100%);
}

.enter-title {
    font-family: digitalix;
    font-size: 2.3vw;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}

.enter-login {
    font-size: 110%;
    width: 85%;
    max-width: 600px;
    margin: 35px auto 0 auto;
}

.enter-button {
    display: inline-block;
    font-family: digitaldes;
    font-size: 125%;
    font-weight: bold;
    line-height: 1.5;
    padding: 10px 25px;
    border: 2px solid #ffffff;
    border-radius: 5px;
    cursor: pointer;
}

.enter-button:hover {
    background-color: rgba(255,255,255,0.15);
}

.enter-error {
    font-size: 125%;
    font-weight: bold;
    color: #ffd700;
    text-transform: uppercase;
}

/* Logo */
.logo-wrap {
    position: absolute;
    top: 30%;
    left: 5%;
    width: 15%;
    background-color: #e04d74;
    background: linear-gradient(90deg, rgba(224,77,116,1) 0%, rgba(85,55,142,1) 100%);
}

.logo-body {
    padding-bottom: 25px;
}

.logo-body img {
    width: 100%;
    height: auto;
}

/* Video */
.video-wrap {
    position: absolute;
    top: 15%;
    left: 35%;
    width: 55%;
}

.video-body {
    background-color: #000000;
}

.video-date {
    color: #ffffff;
    font-family: digitaldes;
    font-size: 110%;
    font-weight: bold;
    text-align: right;
    padding: 15px 15px 0 0;
}

/* Timer */
.timer-wrap {
    position: absolute;
    bottom: 20px;
    left: 7%;
    width: 20%;
    min-width: 280px;
}

.timer-body {
    font-family: digital7;
    color: #B93782;
    background-color: #000000;
    text-align: center;
    padding: 20px 10px;
}

.timer-day {
    font-size: 2.6vw;
}

.timer-hour {
    font-size: 3.8vw;
}

.timer-calendar {
    display: inline-block;
}

/* Teaser1 */
.teaser1-solve-wrap {
    position: absolute;
    top: 30%;
    left: 5%;
    background-color: #e04d74;
    background: linear-gradient(90deg, rgba(224,77,116,1) 0%, rgba(85,55,142,1) 100%);
}

.teaser1-solve-body {
    font-family: digitalix;
    font-size: 1.7vw;
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
    color: #ffffff;
    padding: 5px 45px 20px 45px;
}

.teaser1-rules-wrap {
    position: absolute;
    top: 3%;
    left: 10%;
    width: 35%;
}

.teaser1-rules-body {
    font-family: SourceCodeVariable;
    background-color: #000000;
    color: #ffffff;
    padding: 15px;
}

.teaser1-game-wrap {
    position: absolute;
    top: 20%;
    left: 32%;
    width: 58%;
    bottom: 25%;
    display: flex;
    flex-direction: column;
}

.teaser1-game-body {
    font-family: SourceCodeVariable;
    background-color: #000000;
    color: #ffffff;
    padding: 15px;
    word-break: break-all;
    overflow-y: auto;
    flex-grow: 1;
}

.teaser1-code-wrap {
    position: absolute;
    left: 15%;
    bottom: 5%;
    width: 350px;
}

.teaser1-code-body {
    font-family: SourceCodeVariable;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 25px 35px 15px 35px;
}

.teaser1-code-body input[type=text] {
    font-family: SourceCodeVariable;
    font-size: 120%;
    line-height: 1.2;
    padding: 0.5em;
    background-color: #000000;
    color: #ffffff;
    width: auto;
    max-width: unset;
    border: 1px solid #ffffff;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
}

button.teaser1-code-button {
    display: inline-block;
    font-family: digitaldes;
    font-size: 120%;
    line-height: 1.5;
    padding: 10px 25px;
    margin-top: 15px;
    color: #000000;
    background-color: #f8f8f8;
    cursor: pointer;
}

button.teaser1-code-button:hover {
    color: #202020;
    background-color: #e8e8e8;
}

button.teaser1-code-button:disabled {
    color: #666666;
    background-color: #cccccc;
    cursor: not-allowed;
}

.teaser1-code-button:disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.teaser1-code-button:hover {
    background-color: #e8e8e8;
}

.teaser1-red {
    color: #E24F76;
}

.teaser1-blue {
    color: #28BDFE;
}

.teaser1-orange {
    color: #FFB182;
}

.teaser1-purple {
    color: #5C3989;
}

/* Teaser2 (Puzzle) */
.teaser2-rules-wrap {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 25%;
}

.teaser2-rules-body {
    font-family: SourceCodeVariable;
    background-color: #000000;
    color: #ffffff;
    padding: 15px;
}

.teaser2-completed-wrap,
.teaser2-submitted-wrap {
    position: absolute;
    top: 40%;
    margin: 0 auto;
    width: auto;
    max-width: 60%;
}

.teaser2-completed-body,
.teaser2-submitted-body {
    font-family: SourceCodeVariable;
    background-color: #000000;
    color: #ffffff;
    padding: 25px;
    text-align: center;
}

.teaser2-wrap {
    position: absolute;
    top: 5%;
    left: 40%;
    width: 40%;
}

.teaser2-body {
    background-color: #000000;
    padding: 25px;
}

.puz-table {
    display: table;
    width: 100%;
}

.puz-row {
    display: table-row;
}

.puz-cell {
    display: table-cell;
    width: 25%;
    border: 1px solid #cccccc;
}

/* Teaser3 (Morse) */
.teaser3-game-wrap {
    position: absolute;
    top: 10%;
    left: 30%;
    width: 65%;
    bottom: 25%;
    display: flex;
    flex-direction: column;
}

.teaser3-game-body {
    font-family: SourceCodeVariable;
    background-color: #000000;
    color: #ffffff;
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
}

.teaser3-game-row {
    display: flex;
    flex-direction: row;
}

.teaser3-game-item {
    flex: 1;
    text-align: center;
    font-size: 120%;
    max-width: 10%;
    margin: 15px auto;
}

.teaser3-code-wrap {
    position: absolute;
    left: 10%;
    bottom: 5%;
    width: 350px;
}

.teaser3-code-body {
    font-family: SourceCodeVariable;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 25px 25px 15px 25px;
}

.teaser3-code-body input[type=text] {
    font-family: SourceCodeVariable;
    font-size: 120%;
    line-height: 1.2;
    padding: 0.5em;
    background-color: #000000;
    color: #ffffff;
    width: auto;
    max-width: unset;
    border: 1px solid #ffffff;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
}

button.teaser3-code-button {
    display: inline-block;
    font-family: digitaldes;
    font-size: 120%;
    line-height: 1.5;
    padding: 10px 25px;
    margin-top: 15px;
    color: #000000;
    background-color: #f8f8f8;
    cursor: pointer;
}

button.teaser3-code-button:hover {
    color: #202020;
    background-color: #e8e8e8;
}

button.teaser3-code-button:disabled {
    color: #666666;
    background-color: #cccccc;
    cursor: not-allowed;
}

.teaser3-code-button:disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.teaser3-code-button:hover {
    background-color: #e8e8e8;
}

/* Teaser4 (Captcha) */
.teaser4-game-wrap {
    position: absolute;
    top: 5%;
    left: 30%;
    width: 30%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    max-height: 90vh;
    overflow-y: auto;
}

.teaser4-game-header {
    margin: 10px 10px 0 10px;
}

.teaser4-game-body {
    margin: 10px 0 0 10px;
}

.teaser4-game-row {
    display: flex;
    flex-direction: row;
}

.teaser4-game-item {
    position: relative;
    flex: 1;
    margin: 0 10px 10px 0;
}

.teaser4-game-item-cb {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15%;
}

.teaser4-game-robot {
    font-family: SourceCodeVariable;
    font-size: 120%;
    background-color: #262526;
    background: linear-gradient(90deg, rgba(57,57,56,1) 0%, rgba(24,23,25,1) 100%);
    color: #ffffff;
    margin: 0 10px 10px 10px;
    padding: 10px 0.5em;
}

.teaser4-game-footer {
    margin: 0 10px 10px 10px;
    padding-bottom: 10px;
}

.teaser4-code-button {
    display: inline-block;
    font-family: digitaldes;
    font-size: 110%;
    line-height: 1.5;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #5e388c;
    cursor: pointer;
}

.teaser4-code-button:disabled {
    color: #cccccc;
    background-color: #554466;
    cursor: not-allowed;
    pointer-events: none;
}

.teaser4-code-button:hover {
    color: #e8e8e8;
    background-color: #684098;
}

/* Teaser5 (Mots) */
.teaser5-rules-wrap {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 20%;
}

.teaser5-rules-body {
    font-family: SourceCodeVariable;
    background-color: #000000;
    color: #ffffff;
    padding: 15px;
}

.teaser5-game-wrap {
    position: absolute;
    top: 5%;
    left: 30%;
    width: 65%;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
}

.teaser5-game-body {
    font-family: SourceCodeVariable;
    background-color: #000000;
    color: #ffffff;
    padding: 15px;
    user-select: none;
}

.teaser5-game-words {
    font-family: SourceCodeVariable;
    background-color: #000000;
    color: #ffffff;
    padding: 15px;
}

.teaser5-game-footer {
    background-color: #000000;
    padding: 15px;
}

.teaser5-table-letters {
    width: 100%;
    border-left: 1px solid #808080;
    border-top: 1px solid #808080;
}

.teaser5-table-letters tr {
    vertical-align: middle;
}

.teaser5-table-letters td {
    padding: 8px;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    text-align: center;
}

.teaser5-table-words {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-left: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
}

.teaser5-table-words tr {
    vertical-align: middle;
}

.teaser5-table-words td {
    padding: 8px;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}

.teaser5-delete-button {
    cursor: pointer;
}

.teaser5-tdsel1 {
    background-color: rgba(240,240,240,0.35);
}

.teaser5-tdsel2 {
    background-color: rgba(240,240,255,0.55);
}

.teaser5-code-button {
    display: inline-block;
    font-family: digitaldes;
    font-size: 110%;
    line-height: 1.5;
    padding: 10px 20px;
    color: #000000;
    background-color: #f8f8f8;
    cursor: pointer;
}

.teaser5-code-button:disabled {
    color: #666666;
    background-color: #cccccc;
    cursor: not-allowed;
    pointer-events: none;
}

.teaser5-code-button:hover {
    color: #202020;
    background-color: #e8e8e8;
}

.teaser5-blue {
    color: #28BBFC;
}

.teaser5-orange {
    color: #FFAF80;
}

.teaser5-purple {
    color: #5C3987;
}

.teaser5-red {
    color: #E04F76;
}

.teaser5-white {
    color: #FFFFFF;
}

/* Teaser6 (Differences) */
.teaser6-game-wrap {
    position: absolute;
    top: 5%;
    left: 21%;
    width: 78%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 10px;
    max-height: 90vh;
    overflow-y: auto;
}

.teaser6-game-header {
    font-family: SourceCodeVariable;
    font-size: 110%;
    background-color: #262526;
    background: linear-gradient(90deg, rgba(57,57,56,1) 0%, rgba(24,23,25,1) 100%);
    color: #ffffff;
    padding: 15px;
}

.teaser6-game-header-right {
    display: inline;
}

.teaser6-game-header-bottom {
    display: none;
}

.teaser6-game-body {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.teaser6-game-col {
    flex: 1 1 0;
}

.teaser6-game-footer {
    margin-top: 10px;
}

.teaser6-game-response {
    font-family: SourceCodeVariable;
    font-size: 110%;
    background-color: #262526;
    background: linear-gradient(90deg, rgba(57,57,56,1) 0%, rgba(24,23,25,1) 100%);
    color: #ffffff;
    padding: 10px 0.5em;
    margin-bottom: 10px;
}

.teaser6-code-button {
    display: inline-block;
    font-family: digitaldes;
    font-size: 110%;
    line-height: 1.5;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #5e388c;
    cursor: pointer;
}

.teaser6-code-button:disabled {
    color: #cccccc;
    background-color: #554466;
    cursor: not-allowed;
    pointer-events: none;
}

.teaser6-code-button:hover {
    color: #e8e8e8;
    background-color: #684098;
}

.svg-clickable {
    cursor: pointer;
    fill: rgba(255, 255, 255, 0);
    stroke: none;
}

.svg-clickable:hover {
    fill: rgba(255, 255, 255, 0.2);
    stroke: rgb(40, 192, 40);
    stroke-width: 5;
}

.svg-clickable.selected {
    fill: rgba(80, 255, 80, 0.5);
    stroke: rgb(40, 216, 40);
    stroke-width: 5;
}

/* Tombola */
.tombola-wrap {
    position: absolute;
    top: 10%;
    left: 15%;
    width: 70%;
    height: 80%;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    overflow-y: auto;
}

.tombola-body {
    font-family: SourceCodeVariable;
    font-size: 200%;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    flex-grow: 1;
}

.tombola-wait {
    text-align: center;
}

.tombola-timer {
    text-align: center;
}

.tombola-slot {
    position: relative;
    border: 1px solid #cccccc;
    height: 2em;
    width: 60%;
    overflow: hidden;
}

.tombola-slot::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    content: '';
    height: 0.5em;
    background: linear-gradient(180deg, #000000, rgba(0, 0, 0, 0));
}

.tombola-slot::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    content: '';
    height: 0.5em;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000000);
}

.tombola-slot ul {
    margin: 0;
    padding: 0;
}

.tombola-slot ul li {
    list-style-type: none;
    height: 2em;
    padding: 0.25em 0 0 0.5em;
}


/* Animations */
.fadeInDown {
    opacity: 0;
    animation: fadeInDown 0.2s;
    animation-fill-mode: forwards;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.scrollUp {
    animation: scrollUp 10s ease forwards;
}

@keyframes scrollUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-98em);
    }
}

/* Responsive */
@media (max-width: 1600px) {
    .teaser1-rules-wrap {
        width: 50%;
    }

    .teaser1-game-wrap {
        left: 35%;
        width: unset;
        right: 5%;
        bottom: 20%;
    }

    .teaser1-code-wrap {
        left: 5%;
        width: 320px;
    }

    .teaser3-game-item {
        font-size: 110%;
    }

    .teaser4-game-robot {
        font-size: 110%;
    }
}

@media (max-width: 1350px) {
    .timer-day {
        font-size: 35px;
    }

    .timer-hour {
        font-size: 50px;
    }

    .home2-menu-item {
        font-size: 20px;
    }

    .teaser4-game-wrap {
        left: 30%;
        width: 35%;
    }

    .teaser5-rules-wrap {
        left: 2%;
        width: 25%;
    }

    .teaser5-game-wrap {
        left: 29%;
        width: 69%;
    }

    .teaser6-game-wrap {
        left: 5%;
        width: 90%;
    }
}

@media (max-width: 1200px) {
    .video-wrap {
        left: 40%;
    }

    .timer-wrap {
        left: 5%;
    }

    .teaser1-rules-wrap {
        width: 80%;
    }

    .teaser1-game-wrap {
        left: 360px;
        width: unset;
        right: 5%;
        bottom: 10%;
    }

    .teaser1-code-wrap {
        left: 35px;
        width: 320px;
    }

    .teaser3-game-wrap {
        top: 5%;
        left: 25%;
        width: 70%;
        bottom: 30%;
    }

    .teaser3-game-item {
        font-size: 100%;
        max-width: 12%;
    }

    .teaser4-game-wrap {
        left: 25%;
        width: 40%;
    }

    .teaser4-game-robot {
        font-size: 100%;
    }

    .teaser4-code-button {
        font-size: 100%;
    }

    .teaser5-table-letters td {
        padding: 6px;
    }

    .teaser6-game-wrap {
        left: 2%;
        width: 96%;
    }
}

@media (max-width: 1024px) {
    .video-date {
        font-size: 105%;
    }

    .timer-wrap {
        left: 3%;
    }

    .home2-menu-item {
        font-size: 15px;
    }

    .teaser4-game-wrap {
        left: 25%;
        width: 45%;
    }

    .teaser5-rules-wrap {
        top: 2%;
        left: 10%;
        width: 80%;
    }

    .teaser5-game-wrap {
        top: 20%;
        left: 10%;
        width: 80%;
        max-height: 75vh;
        overflow-y: auto;
    }
}

@media (max-width: 921px) {
    .home2-container {
        flex-direction: column-reverse;
    }

    .home2-content-wrap {
        width: 100%;
    }

    .home2-menu {
        display: flex;
        flex-direction: row;
        width: 100%;
        flex-wrap: wrap;
    }

    .home2-menu-item {
        width: 20%;
    }
}

@media (max-width: 768px) {
    .enter-button {
        font-size: 110%;
    }

    .logo-wrap {
        display: none;
    }

    .video-wrap {
        position: unset;
        width: 80%;
        margin: 0 auto;
    }

    .timer-wrap {
        position: unset;
        width: 50%;
        margin: 25px auto;
    }

    .timer-day {
        font-size: 30px;
    }

    .timer-hour {
        font-size: 45px;
    }

    .calendar-wrap {
        position: unset;
        max-width: 90%;
        margin: 0 auto;
    }

    .teaser1-rules-wrap {
        left: 5%;
        width: 90%;
    }

    .teaser1-game-wrap {
        left: 5%;
        right: 5%;
        top: 25%;
        bottom: 30%;
    }

    .teaser1-game-body {
        padding-bottom: 75px;
    }

    .teaser1-code-wrap {
        left: 15%;
        width: 70%;
    }

    .teaser2-rules-wrap {
        left: 20%;
        width: 60%;
    }

    .teaser2-wrap {
        top: 30%;
        left: 20%;
        width: 60%;
    }

    .teaser3-game-wrap {
        left: 5%;
        width: unset;
        right: 5%;
        top: 10%;
        bottom: 40%;
    }

    .teaser3-game-item {
        font-size: 90%;
        max-width: 14%;
    }

    .teaser3-code-wrap {
        left: 15%;
        width: 70%;
    }

    .teaser4-game-wrap {
        left: 10%;
        width: unset;
        right: 10%;
    }

    .teaser5-rules-wrap {
        left: 5%;
        width: 90%;
    }

    .teaser5-game-wrap {
        left: 5%;
        width: 90%;
    }

    .teaser5-table-letters {
        font-size: 95%;
    }

    .teaser5-table-letters td {
        padding: 4px;
    }

    .teaser5-table-words {
        font-size: 95%;
    }

    .teaser6-game-wrap {
        left: 10%;
        width: 80%;
    }

    .teaser6-game-header-right {
        display: none;
    }

    .teaser6-game-header-bottom {
        display: inline;
    }

    .teaser6-game-body {
        flex-direction: column;
    }

    .home2-menu-item{
        width: 33%;
    }

    .home2-menu-item img {
        width: 15%;
        min-width: 45px;
    }

    .home2-timer {
        left: 25%;
        width: 50%;
    }

    #home2-video {
        left: 3%;
        right: 3%;
    }
}

@media (max-width: 544px) {
    .enter-button {
        font-size: 95%;
    }

    .video-wrap {
        position: unset;
        width: 90%;
        margin: 0 auto;
    }

    .video-date {
        font-size: 95%;
    }

    .timer-wrap {
        position: unset;
        width: 65%;
        margin: 15px auto;
    }

    .timer-day {
        font-size: 26px;
    }

    .timer-hour {
        font-size: 38px;
    }

    .teaser2-rules-wrap {
        left: 10%;
        width: 80%;
    }

    .teaser2-wrap {
        left: 10%;
        width: 80%;
    }

    .teaser3-code-wrap {
        left: 10%;
        width: 80%;
    }

    .teaser5-table-letters {
        font-size: 90%;
    }

    .teaser5-table-letters td {
        padding: 2px;
    }

    .teaser5-table-words {
        font-size: 90%;
    }

    .teaser6-game-wrap {
        left: 5%;
        width: 90%;
    }
}
