/* Variables */

html {
    background-color: black;
    width: 100vw;
    height: 100vh;
}

html {
    background-color: black !important;
}

:root {
    --dark-primary: #221E22;
    --dark-primary-6b: #221E226b;
    --dark-secondary: #31263E;
    --dark-secondary-6b: #31263E6b;
    --dark-tertiary: #44355B;
    --dark-tertiary-6b: #44355B6b;
    --dark-accent-primary: #EC8609;
    --dark-accent-secondary: #F79926;
    --dark-accent-tertiary: #F9AC4E;
    --dark-accent-quaternary: #ECB609;
    --dark-accent-tertiary-6b: #F9AC4E6b;
    --dark-black: #0A0A0A;
    --dark-black-4b: #0A0A0A4b;
    --dark-black-6b: #0A0A0A6b;
    --dark-black-8b: #0A0A0A8b;
    --dark-black-0b: #0a0a0ad0;
    --dark-white: #F1F1F1;
    --dark-white-6b: #F1F1F16b;
    --dark-white-4b: #F1F1F14b;
    --dark-mark-bg: #F1F1F11b;
    --dark-mark-border: #44365A;
}

/* Document Styling */

/* html, body {
    margin: 0;
    padding: 0;
    background: linear-gradient(var(--dark-primary) 0%, var(--dark-black) 100%);
}

html {
    height: auto;
}

body {
    height: auto;
    overflow-x: hidden;
    animation: overflowYDelay 3s;
} */

html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: linear-gradient(var(--dark-primary), var(--dark-black));
}

body {
    overflow-x: hidden;
    animation: overflowYDelay 3s;
}

#swup {
    cursor: auto;
}

.swup-progress-bar {
    height: 4px;
    background-image: linear-gradient(145deg, var(--dark-accent-primary) 16.67%, var(--dark-accent-secondary) 16.67%, var(--dark-accent-secondary) 33.33%, var(--dark-accent-tertiary) 33.33%, var(--dark-accent-tertiary) 50%, var(--dark-accent-primary) 50%, var(--dark-accent-primary) 66.67%, var(--dark-accent-secondary) 66.67%, var(--dark-accent-secondary) 83.33%, var(--dark-accent-tertiary) 83.33%, var(--dark-accent-tertiary) 100%);
    background-size: 125.53px 87.90px;
    position: absolute;
    z-index: 99;
}

/* Scrollbar */

* {
    scrollbar-width: thin;
    scrollbar-color: var(--dark-accent-primary) var(--dark-black);
}

*::-webkit-scrollbar {
    max-height: 8px;
    max-width: 8px;
    background-color: var(--dark-primary);
    
    cursor: none;
}

*::-webkit-scrollbar-track {
    max-height: 8px;
    border-radius: 8px;
}

*::-webkit-scrollbar-thumb {
    max-height: 8px;
    border-radius: 8px;
    background-clip: border-box;
    background-color: var(--dark-accent-tertiary);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--dark-accent-tertiary);
}

/* URLs */

a {
    height: 100%;
    background-color: transparent;
    color: var(--dark-accent-tertiary);
    outline: 2px solid transparent;
    border-radius: 8px;
    text-decoration: underline;
    
    cursor: pointer !important;
    transition: color ease-in-out .25s, outline ease-in-out .25s;
}

a:-webkit-any-link {
    text-decoration: none;
}

a:focus-visible {
    color: var(--dark-accent-primary);
    outline: 2px solid var(--dark-white) !important;
    text-decoration: underline;
    
    transition: color ease-in-out .25s, outline ease-in-out .25s;
}

a:hover, a:hover #language-active-text {
    color: var(--dark-accent-primary) !important;
    
    cursor: pointer !important;
    transition: color ease-in-out .25s, outline ease-in-out .25s;
}

/* Selected (Highlighted) Text */

::-moz-selection { /* Code for Firefox */
    background: var(--dark-white-6b);
    color: var(--dark-primary);
}

::selection {
    background: var(--dark-white-6b);
    color: var(--dark-primary);
}

/* Main */

#content {
    /* margin-bottom: 64px; */
    padding-bottom: 64px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    
    z-index: 2;
}

.bg-noise {
    top: 0;
    height: 100vh;
    width: 100vw;
    background-image: url("../ASSETS/tv-noise-01.gif");
    position: fixed;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: fixed;
    object-fit: scale-down;
    -o-object-fit: cover;
    resize: none;
    mix-blend-mode: overlay;
    opacity: 0.33;
    
    pointer-events: none;
    z-index: 0 !important;
}

/* Marquees (BG text) */
.bg-text-marquee {
    display: flex;
    flex-direction: column;
    position: fixed;
    opacity: 8%;
    transform: rotate(-5deg) translateY(-350px);
    
    -webkit-animation: fade-in-marquee linear 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fade-in-marquee linear 1s; /* Firefox < 16 */
    -ms-animation: fade-in-marquee linear 1s; /* Internet Explorer */
    -o-animation: fade-in-marquee linear 1s; /* Opera < 12.1 */
    animation: fade-in-marquee linear 1s;
    user-select: none;
    z-index: 0;
}

.marquee-row {
    width: 100%;
    margin: 0 auto;
    margin-left: -256px;
    white-space: nowrap;
    overflow: hidden;
    height: 20vh;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.marquee-row .text {
    display: inline-block;
    animation: marquee 15s linear infinite;
    font-weight: 500;
    font-size: 24vh;
    text-transform: uppercase;
    color: var(--dark-white); 
}

.marquee-row:nth-child(odd) {
    width: 100%;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.marquee-row:nth-child(odd) .text {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--dark-black);
    text-shadow: -1px -1px 0 var(--dark-white), 1px -1px 0 var(--dark-white), -1px 1px 0 var(--dark-white), 1px 1px 0 var(--dark-white);
}

#transition-block {
    height: 100vh;
    width: 100vw;
    background-color: black;
    position: fixed;
    z-index: 1000;
    animation: fadeOutDelay .5s;
}

/* Marquee moving animation */
@keyframes marquee {
    0% {
        transform: translate(0%, 0);
    }
    
    100% {
        transform: translate(-100%, 0);
    }
}

#page-header {
    margin: 64px 32px 32px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9;
    text-align: center;
}

#title {
    color: var(--dark-accent-secondary);
    font-family: 'Poppins';
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    filter: drop-shadow(0px 0px 32px var(--dark-accent-primary));
    z-index: 4;
}

#page-header > h2 {
    color: var(--dark-accent-tertiary);
    margin: 4px !important;
    padding: 0;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
}

.hyperlink {
    max-width: 12px;
    top: -6px;
    right: -2px;
    position: relative;
    text-decoration: none !important;
    
    cursor: pointer !important;
    transition: ease-in-out .25s;
}

.hyperlink-hover {
    max-width: 12px;
    top: -6px;
    right: 10px;
    position: relative;
    text-decoration: none !important;
    opacity: 0;
    
    cursor: pointer !important;
    transition: ease-in-out .25s;
}

.hyperlink-text:hover > .hyperlink {
    top: -10px;
    right: -6px;
    
    transition: ease-in-out .25s;
}

.hyperlink-text:hover > .hyperlink-hover {
    top: -10px;
    right: 6px;
    opacity: 1;
    
    animation-iteration-count: infinite;
    transition: ease-in-out .25s;
}

.hyperlink-text::after {
    width: 24px; 
    height: 24px;
    content:'';
    background-image: url('../ASSETS/icon-ext-link-03.svg');
    background-size: 10px 10px;
    background-position: 2px 10px;
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    margin-top: -8px;
    margin-right: -32px;
    transition: .25s ease-in-out;
}

.hyperlink-text:hover::after {
    content:'';
    background-image: url('../ASSETS/icon-ext-link-05.svg');
    background-size: 10px 10px;
    background-position: 6px 5px;
    background-repeat: no-repeat;
    display: inline-block;
    width: 32px; 
    height: 32px;
    transition: .25s ease-in-out;
}

.hyperlink-text.hyperlink-padding {
    margin-right: 12px;
    /* padding-right: -12px; */
}

.hyperlink-spacer {
    padding-right: 12px;
}

/* Text Styling */

img.emoji {
    max-width: 64px;
    cursor: none;
}

h2 img.emoji {
    max-width: 32px !important;
}

h1 {
    margin: 48px 32px 16px 32px;
    color: var(--dark-accent-secondary);
    font-family: 'Poppins';
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    filter: drop-shadow(0px 0px 32px var(--dark-accent-primary));
}

h2 {
    margin: 48px 32px 16px 32px;
    color: var(--dark-accent-secondary);
    font-family: 'Poppins';
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    filter: drop-shadow(0px 0px 32px var(--dark-accent-primary));
}

h3 {
    margin: 48px 32px 16px 32px;
    color: var(--dark-accent-secondary);
    font-family: 'Poppins';
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    filter: drop-shadow(0px 0px 32px var(--dark-accent-primary));
}

p {
    margin: 0;
    padding: 0px 32px;
    color: var(--dark-white);
    font-family: 'Poppins';
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}

li {
    margin-left: 64px;
    color: var(--dark-white);
    padding: 0px 32px;
    font-family: 'Poppins';
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}

mark {
    /* margin: 0px 8px 0px 8px; */
    padding: 3px;
    background-color: var(--dark-mark-bg);
    color: var(--dark-white);
    font-family: monospace;
    font-weight: 800;
    border: 1px solid var(--dark-mark-border);
    border-radius: 8px;
    white-space: pre-wrap;
}

.highlight {
    color: var(--dark-accent-secondary);
}

blockquote {
    padding: 8px;
    background: linear-gradient(0deg, var(--dark-secondary), var(--dark-tertiary));
    color: var(--dark-white);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    border-left: 10px solid var(--dark-primary);
    quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
    margin-right: 0.25em;
    color: var(--dark-accent-primary);
    font-size: 4em;
    line-height: 0.1em;
    vertical-align: -0.4em;
    content: open-quote;
}

table {
    min-width: inherit;
    width: inherit;
    border: none;
    border-spacing: 0;
    text-align: left;
    box-shadow: 0px 0px 32px 0px #EC8609;

    z-index: 4;
}

table thead, table th {
    background-color: var(--dark-black-6b);
    color: #F79926;
    font-size: 32px;
    text-shadow: 0px 0px 8px #EC8609;
    padding: 8px;
    font-family: 'Poppins';
    font-weight: 900;
    text-transform: capitalize;
    white-space: nowrap;
    border-bottom: 1px solid var(--dark-white-6b);
}

table td {
    color: #F1F1F1;
    font-size: 24px;
    padding: 8px;
    font-family: 'Poppins';
    font-weight: 600;
}

table tr:nth-child(odd) td{
    background-color: var(--dark-primary-6b);
}
table tr:nth-child(even) td{
    background-color: var(--dark-secondary-6b);
}

hr {
    width: 97%;
    margin-top: 24px;
    margin-bottom: 24px;
    border-color: var(--dark-white);
}

.hidden {
    display: none;
}

/* Image */

.document-img-wrapper {
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.document-img-wrapper img {
    max-width: 100%;
    width: 800px;
    border-radius: 8px;
    box-shadow: 0px 0px 24px 12px var(--dark-black);
    
    transition: ease-in-out .5s;
}

.document-img-wrapper img:hover {
    transform: scale(1.01);
    box-shadow: 0px 8px 24px 12px var(--dark-black-6b);
    
    cursor: pointer !important;
    transition: ease-in-out .5s;
}

/* Video */

.document-img-wrapper video {
    max-width: 100%;
    width: 800px;
    border-radius: 8px;
    box-shadow: 0px 0px 24px 12px var(--dark-black);
    
    transition: ease-in-out .5s;
}

.document-img-wrapper video:hover {
    transform: scale(1.01);
    box-shadow: 0px 8px 24px 12px var(--dark-black-6b);
    
    cursor: pointer !important;
    transition: ease-in-out .5s;
}

figcaption {
    margin-top: 8px;
    color: var(--dark-white);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

/* Button */

.btn-wrapper {
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    white-space: nowrap;
}

.btn-wrapper > a {
    padding-bottom: 12px;
    padding-right: 40px;
}

.btn {
    margin: 8px 24px;
    height: fit-content;
    width: fit-content;
    padding: 16px 32px 24px 32px;
    color: var(--dark-white);
    font-family: 'Poppins';
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    border: 3px solid var(--dark-accent-primary);
    border-radius: 500px;
    display: block;
    text-align: center;
    
    transition: 0.8s cubic-bezier(0.075, 0.82, 0.165, 1) 0s;
}

.btn:hover {
    /* margin: 8px; */
    background-color: var(--dark-white);
    color: var(--dark-accent-primary) !important;
    font-size: 24px;
    border: 3px solid var(--dark-accent-tertiary);
    box-shadow: 0px 0px 16px 8px var(--dark-black-6b);
    filter: drop-shadow(0px 0px 32px var(--dark-accent-primary));
    -webkit-font-smoothing: subpixel-antialiased;
    
    transition: 0.8s cubic-bezier(0.075, 0.82, 0.165, 1) 0s;
}

button {
    background-color: transparent;
    border: none;
    outline: 2px solid transparent;
    
    cursor: pointer !important;
    transition: outline ease-in-out .25s;
}

button:focus-visible {
    outline: 2px solid var(--dark-white);
    
    transition: outline ease-in-out .25s;
}

/* Checklist */

.checklist-container {
    width: 16px;
    margin-bottom: 12px;
    padding-left: 35px;
    font-size: 22px;
    position: relative;
    display: block;
    
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: auto;
}

/* Hides default browser checkbox */
.checklist-container input {
    margin: 0;
    top: 0;
    left: 0;
    height: 28px;
    width: 28px;
    position: absolute;
    opacity: 0;
    
    z-index: 5;
    cursor: pointer !important;
}

/* Custom checkbox */
.checkmark {
    height: 28px;
    width: 28px;
    top: 0;
    left: 0;
    position: absolute;
    border: 2px solid var(--dark-white-6b);
    
    cursor: pointer !important;
    transition: ease-in-out .25s;
}

/* Gray checklist backgrond on hover */
.checklist-container:hover input ~ .checkmark {
    background-color: var(--dark-white-4b);
    border: 2px solid var(--dark-white-6b);
    
    transition: ease-in-out .25s;
}

/* When checklist is checked */
.checklist-container input:checked ~ .checkmark {
    background-color: var(--dark-white-6b);
    border: 2px solid var(--dark-white-6b);
    
    transition: ease-in-out .25s;
}

/* Radio button */

.radio-button {
    height: 29px;
    width: 29px;
    font-family: 'Poppins';
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    display: block;
    border: 2px solid var(--dark-white-6b);
    border-radius: 50%;
    
    cursor: pointer !important;
    transition: ease-in-out .25s;
}

.radio-button:hover {
    background-color: var(--dark-white-4b);
    border: 2px solid var(--dark-white-6b);
    
    transition: ease-in-out .25s;
}

.radio-button:active {
    background-color: var(--dark-white-6b);
    border: 2px solid var(--dark-white-6b);
    
    transition: ease-in-out .25s;
}

/* Tippy.js Tooltips */
.tippy-tooltip {
    color: #EC8609;
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    padding: 16px;
    color: var(--dark-white);
    text-align: left;
    box-shadow: 0px 0px 32px 16px #0A0A0A;
    backdrop-filter: blur(2px) brightness(40%);
}

/* Magnific Popup */

/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;
    
    -webkit-transition: all .25s ease-out;
    -moz-transition: all .25s ease-out;
    transition: all .25s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    
    -webkit-transition: all .25s ease-out;
    -moz-transition: all .25s ease-out;
    transition: all .25s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

.mfp-content {
    padding: 0;
}


/* Media Queries */

@media (prefers-reduced-motion) {
    .marquee-row .text {
        animation: marquee 45s linear infinite;
    }
    
    .marquee-row:nth-child(odd) .text {
        animation: marquee 60s linear infinite;
    }
}

@media screen and (max-width: 1000px) {
    #title {
        font-size: 64px;
    }

    #page-header > h1, h1 {
        margin: 16px;
        font-size: 40px;
    }

    #page-header > h2, h2 {
        margin: 16px;
        font-size: 20px;
    }

    #page-header > h3, h3 {
        margin: 16px;
        font-size: 28px;
    }

    .checklist-container {
        padding: 0;
    }

    button.checkmark {
        padding: 0;
    }
}

@media screen and (max-width: 800px) {
    .btn {
        padding: 16px 32px 24px 32px;
    }
    
    .btn:hover {
        font-size: 22px;
    }
}

@media screen and (max-width: 700px) {
    .hyperlink-hover {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .btn {
        width: 80%;
        white-space: pre-wrap;
        text-align: center;
    }
    
    .btn:hover {
        font-size: 20px;
    }

    #page-header {
        margin: 32px 8px;
    }

    #title {
        font-size: 64px;
    }

    #page-header > h1, h1 {
        font-size: 40px;
    }

    #page-header > h2, h2 {
        font-size: 20px;
        font-weight: 700;
    }

    #page-header > h3, h3 {
        font-size: 16px;
        font-weight: 700;
    }

    p {
        margin: 8px;
        padding: 8px;
        font-size: 16px;
    }
    
    li {
        margin-left: 8px;
        font-size: 16px;
    }
    
    blockquote {
        font-size: 20px;
    }
}


@media screen and (max-width: 500px) {
    .btn {
        max-width: 100%;
    }
    
    .btn .hyperlink , .btn .hyperlink-hover {
        width: 80%;
    }
}

#loadOverlay{
    display: none;
}