:root {
    --headerOpacity: 1;
    --headerScale: 1;
}

.video-header {
    position: absolute;
    text-align: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.video-header,
.video-header video,
.video-header .viewport-header {
    width: 100vw;
    height: auto;
    /* height: 100vh; */
    /* position: absolute; */
    /* top: 64px; */
    left: 0;
    overflow: hidden;
    position: relative;
}

.video-header video {
    background: black;
    object-fit: cover;
}

.video-header .viewport-header {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    opacity: var(--headerOpacity);
    transform: scale(var(--headerScale));
    position: absolute;
    top: 0;
    /* transform: translateY(50%); */
    /* margin-top: 70px; */
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

html,
body {
    /* height: 100vh; */
    overflow-x: hidden;
}

html {
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 150%;
    line-height: 1.4; */
    font-family: '28 Days Later';
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    /* background-color: black; */
    background-image: url("./media/scpnemesi-smoke.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
    /* prevent scrolling until site is fully loaded */
    overflow: hidden;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-screen img {
    max-width: 200px;
}

@keyframes flicker {
    0% {
        opacity: 1;
    }

    5%,
    60%,
    100% {
        opacity: .5;
    }

    5%,
    25%,
    60%,
    80%,
    100% {
        opacity: .7;
    }

    10%,
    30%,
    50%,
    90% {
        opacity: .8;
    }

    10%,
    20%,
    30%,
    40%,
    50%,
    70%,
    90% {
        opacity: 1;
    }
}

.flickering-image {
    animation: flicker 3s infinite;
}

h1 {
    /* font-family: 'Syncopate', sans-serif; */
    color: white;
    /* text-transform: uppercase;
    letter-spacing: 3vw;
    line-height: 1.2;
    font-size: 3vw;
    text-align: center; */
}

h1 span {
    display: block;
    font-size: 10vw;
    /* letter-spacing: -1.3vw; */
}

main {
    /* background: black; */
    /* position: absolute; */
    padding: 1rem;
    /* margin-top: 100vh; */
    /* z-index: 100; */
    color: rgb(221, 221, 221);
    font-size: 1.2rem;
}

main::before {
    content: "";
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    top: -100vh;
}

main p {
    max-width: 600px;
    margin: 1rem auto;
}


a {
    color: #a0aff9;
}

.header {
    background-color: #000000cc;
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .1);
    position: fixed;
    width: 100%;
    z-index: 3;
    backdrop-filter: blur(20px);
    color: #ccc;
    text-shadow: 0px 0px 8px black;
    height: 64px;
    z-index: 50;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    /* background-color: #fff; */
}

.header li a {
    display: block;
    padding: 20px 20px;
    /* border-right: 1px solid #f4f4f4; */
    text-decoration: none;
    color: #ccc;
    font-size: 1.2rem;
}

.header li a:hover,
.header .menu-btn:hover {
    /* background-color: #f4f4f4; */
}

.header .logo {
    display: block;
    float: left;
    font-size: 2em;
    /* padding: 10px 10px; */
    text-decoration: none;
    color: #ccc;
}

.header .logo img {
    background-size: cover;
    width: auto;
    height: 48px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
}

.header .title {
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1.2px;
    /* color: #b9b9b9; */
    background: -webkit-linear-gradient(315deg, #510000 0%, #b14f4f 40%, #FFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #d1232300;
    text-shadow: 0px 0px 20px transparent;
    opacity: 0.8;
}

/* menu */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
    background-color: #000000;

}

/* menu icon */

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

.header .menu-icon .navicon {
    /* background: #333; */
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
    background: white;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    /* background: #333; */
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
    background: white;
}

.header .menu-icon .navicon:before {
    top: 5px;
}

.header .menu-icon .navicon:after {
    top: -5px;
}

/* menu btn */

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked~.menu {
    max-height: 600px;
}

.header .menu-btn:checked~.menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    top: 0;
}

/* 48em = 768px */

@media (min-width: 1100px) {
    .header li {
        float: left;
    }

    .header li a {
        padding: 20px 30px;
    }

    .header .menu {
        clear: none;
        float: right;
        max-height: none;
        background-color: transparent;

    }

    .header .menu-icon {
        display: none;
    }
}

#audio-control {
    cursor: pointer;
    padding: 10px 20px;
    background: #00000077;
    color: #fff;
    border-radius: 4px;
    display: inline-block;
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%);
    z-index: 10;
    border-radius: 12px;
    margin-top: -30px;
}

@media screen and (max-width: 1000px) {
    #audio-control {
        /* font-size: 3rem; */

    }
}


.video-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}


.video-container iframe {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
}

.video-container iframe {
    pointer-events: none;
}

.video-container iframe {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: calc(100% + 120px);
}

.video-foreground {
    pointer-events: none;
}

#content {
    /* background-color: black; */
    /* width: 100vw;
    height: 100vh; */
    color: #e5e5e5;
    font-size: 1.2rem;
    margin-top: 64px;
    text-shadow: 0px 0px 12px black;
}

.main {
    width: 90%;
    margin: auto;
}

.contacts {
    display: flex;
    align-items: center;
    width: 100%;
    flex-direction: row;
    align-content: space-between;
    flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
    /* height: 400px; */
    align-content: space-between;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    /* height: 100vh; */
    /* border: 2px solid; */
    /* background-color: #eee; */
}



.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    /* background: #fff; */
    /* background-color: rgb(0, 0, 0); */
    /* background-color: rgba(0, 0, 0, 0.9);  */
    /* backdrop-filter: blur(16px); */

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 95%;
    height: 95%;
    object-fit: contain;
    /* add this for svg background! */
    /* background-color: white; */
}

.swiper {
    margin-left: auto;
    margin-right: auto;
}

.swiper-pagination-bullet {
    background-color: hsl(210, 28%, 44%) !important;
}

.swiper-pagination-bullet-active {
    background-color: hsl(210, 28%, 44%) !important;
}

.motto {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1.2px;
    padding: 10px;
    margin-bottom: 10px;
}

#home .characters-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* align-items: center; */
}

#home .column {
    flex-basis: 48%;
    /* margin-bottom: 20px; */
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;

}

#home .column-full {
    flex-basis: 100%;
    /* margin-bottom: 20px; */
    display: flex;
    /* flex-direction: column; */
}

#home .column .text-right {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    justify-content: right;
    margin: auto;
    margin-right: 0;
}

#home .column .text-left {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    justify-content: left;
    margin: auto;
    margin-left: 0;
}

#home .column .text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    justify-content: right;
    margin: auto;
    margin-right: 0;
    flex-flow: column;
    text-align: center;
    text-shadow: 0px 0px 12px black;
}

#home .column .text img {
    margin-right: 10px;
}

#home .outer-div {
    flex-basis: 48%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 8%);
    mask-image: linear-gradient(to top, transparent 0%, black 8%);
    padding-bottom: 20px;
}

#home .grid {
    flex-basis: 100%;
    display: grid;
    grid-gap: 10px;
}

#home .grid .box {
    position: relative;
    /* padding-bottom: 100%; */
    /* background-color: lightgray; */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4px;
    box-shadow: 0px 8px 12px 0px #00000077;
    background-color: #00000077;
    border-radius: 10px;
    margin: 4px;
}

#home .box::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

#home .grid .box>* {
    vertical-align: middle;
    display: inline-block;
    max-width: 100%;
}

#home .box img {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%);
    mask-image: linear-gradient(to top, transparent 0%, black 30%);
}

#home .box p {
    font-size: 1rem;
}

#home .row {
    display: flex;
    flex-flow: column;
    padding: 10px;
}

#home .icon {
    width: 64px;
    height: 64px;
}

#home .grid-env {
    grid-template-columns: repeat(2, 1fr);
}

/* mobile */
@media screen and (max-width: 1000px) {
    #home .column {
        flex-basis: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    #home .outer-div {
        flex-basis: 100%;
        /* background-color: #0c0c0c; */
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 8%);
        mask-image: linear-gradient(to top, transparent 0%, black 8%);
        padding-bottom: 30px;
    }

    #home .play-as {}

    #home .play-as-scp,
    #home .play-as-human {
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 1000px) {
    #home .grid {
        flex-basis: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }

    #home .icon {
        width: 128px;
        height: 128px;
    }

    #home .row {
        display: flex;
        flex-flow: column;
        padding: 10px;
        font-size: 2.2rem;
    }

    #home .play-as-scp,
    #home .play-as-human {
        font-size: 4rem;
    }

    #home .grid-env {
        grid-template-columns: repeat(4, 1fr);
    }

    .header .title {
        margin: auto;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        font-size: 2rem;
        font-weight: bold;
        letter-spacing: 1.2px;
        background: -webkit-linear-gradient(315deg, #510000 0%, #b14f4f 40%, #FFF);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: #d1232300;
        text-shadow: 0px 0px 20px transparent;
        opacity: 0.8;
        left: 64px;
        right: auto;
    }
}

.social {
    width: 48px;
    height: 48px;
    background-position: center center;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 10px;
    background-size: contain;
}

/* mobile */
@media screen and (max-width: 1000px) {
    .social {
        width: 32px;
        height: 32px;
        background-position: center center;
        background-repeat: no-repeat;
        background-position: center center;
        margin: 10px;
        background-size: contain;
    }
}

.dropdown {
    position: relative;
    display: inline-block;
    width: 90%;
    margin: auto;
    display: flex;
    flex-flow: column;
    margin-bottom: 20px;
    /* background-color: #00000094; */
    border-radius: 10px;
    /* backdrop-filter: blur(10px); */
    border-radius: 10px;
    border-style: solid;
    border-color: #ffffff6b;
    box-shadow: 0 0 10px 4px #ffffff52;
}

.dropdown-content {
    display: none;
    /* position: absolute; */
    /* top: 20px; */
    left: 0;
    /* background-color: #111111; */
    padding: 10px;
    /* width: 60vw; */
    /* border: 1px solid #ddd; */
    border-radius: 5px;
    transition: height 0.3s ease;
    /* box-shadow: 0 0 8px 2px #ffffff4a; */
    border-radius: 10px;
    /* width: 100%; */
    margin: auto;
    align-content: center;

}

/* .dropdown:hover .dropdown-content {
    display: block;
    height: auto;
} */

.dropdown-icon {
    margin-right: 10px;
    display: inline-block;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: cover;
    vertical-align: middle;
}

.dropdown-icon-closed {
    background-image: url('./media/dropdown-svgrepo-com1.svg');
}

.dropdown-icon-open {
    background-image: url('./media/dropdown-svgrepo-com2.svg');
}

#waitlist-button {
    background-color: #f44336;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

#waitlist-button:hover {
    background-color: #ff6659;
}

.waitlist-form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.waitlist-input {
    /* background-color: #000000a6; */
    padding: 10px;
    box-shadow: inset 0 0 0px 4px #c90808;
    /* border-color: red; */
    border: 0;
    height: 16px;
}

.waitlist-submit {
    background-color: #c90808;
    color: white;
    padding: 8px 10px;
    border: none;
    margin-left: 0px;
    cursor: pointer;
    font-family: '28 Days Later';
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1.2px;
    text-shadow: 0 0 20px #000000b0;
    height: 36px;
}


#team .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    /* justify-items: center; */
    margin-top: 30px;
}

#team .grid-cell {
    display: flex;
    flex-direction: row;
    align-items: start;
}

#team .grid-cell img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    object-fit: cover;
    margin-top: 5%;
}

#team .grid-cell .name {
    font-weight: bold;
    margin-top: 10px;
}

#team .grid-cell .role {
    margin-top: 5px;
}

#team .grid-cell .role ul {
    list-style-type: none;
    padding: 0;
}

#team .grid-cell .role li {
    margin-bottom: 5px;
}

#team .grid-cell .details {
    text-align: left;
    margin-left: 20px;
}

#team .grid-cell .name {
    font-weight: bold;
    margin-bottom: 5px;
}

#team .grid-cell .social {
    margin-top: 20px;
    padding-left: 10px;
    display: flex;
    gap: 20px;
}

#scp-container .container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-top: 50px; */
    padding: 10px;
}

#scp-container .image {
    max-width: 200px;
    /* margin-right: 20px; */
}

#scp-container .description {
    font-size: 18px;
}

#scp-container .abilities {
    margin-top: 20px;
}

#scp-container .ability {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#scp-container .ability-image {
    max-width: 50px;
    margin-right: 10px;
}

#scp-container .ability-description {
    font-size: 16px;
}

#scp-container .citation {
    font-style: italic;
    quotes: "\201C" "\201D" "\2018" "\2019";
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #cccccc;
    color: black;
    background-image: url(https://t3.ftcdn.net/jpg/05/33/38/00/360_F_533380042_RWipnOtZP8SaOnLUY2VUpgS7pCOthiS2.jpg);
    background-size: contain;
    font-family: verdana;
    text-shadow: 0 0 BLACK;
}

#scp-container .citation:before {
    content: open-quote;
}

#scp-container .citation:after {
    content: close-quote;
}

#scp-container .scp-name {
    text-align: center;
}

/* Media Queries */
@media (max-width: 700px) {
    #scp-container .container {
        flex-direction: column-reverse;
        justify-content: center;
    }

    #scp-container .scp-media {
        order: 1;
        /*     margin-right: 20px; */
    }

    #scp-container .description {
        max-width: 400px;
    }

    #scp-container .image {
        max-width: 100%;
        margin: 0;
    }
}

#scp-container .box {
    position: relative;
    /* padding-bottom: 100%; */
    /* background-color: lightgray; */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4px;
    box-shadow: 0px 8px 12px 0px #00000077;
    background-color: #00000077;
    border-radius: 10px;
    margin: 4px;
    margin-right: 10px;
}

#scp-container .box::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

#scp-container .box>* {
    vertical-align: middle;
    display: inline-block;
    /* max-width: 100%; */
}

#scp-container .box img {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%);
    mask-image: linear-gradient(to top, transparent 0%, black 30%);
}

#scp-container .box p {
    font-size: 1rem;
}