:root {
    /* Colorpalette */
    --fontBlue: #00ABFF;
    --fontWhite: #FFFFFF;
    --fontGrey: #BBBBBB;
    --fontLanguage: #b0c4de;
}

::placeholder {
    color: var(--fontWhite);
    opacity: 0.6; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--fontWhite);
    opacity: 0.6;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--fontWhite);
    opacity: 0.6;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    width: 100vw;
    background-attachment: fixed;
    background-color: #000000;
}

/**************************/
/***** Navigation Bar *****/
/**************************/

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 50px;
    z-index: 30;
    transition: all 0.5s ease;
}

.backdrop {
    background-color: rgba(0,0,0,0.6);
    -webkit-backdrop-filter: blur(70px);
    backdrop-filter: blur(70px);
}

.transparentBG {
    background-color: rgba(0,0,0,0.9);
}

#navDesktop {
    display: none;
}

#navMobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

#navMobile img {
    height: 40px;
    margin-left: 7px;
}

/***** Hamburger icon and animation *****/
#hamburger-icon-container {
    position: relative;
    height: 44px;
    width: 45px;
    cursor: pointer;
}

#hamburger-icon,
#hamburger-icon:before,
#hamburger-icon:after {
  content: '';
  position: absolute;
  height: 2px;
  width: 30px;
  background: var(--fontWhite);
  transition: all 0.4s ease;
}

#hamburger-icon {
    top: 21px;
}
  
#hamburger-icon:before {
    top: -10px;
}
  
#hamburger-icon:after {
    top: 10px;
}

.hamburger-active #hamburger-icon {
    background: transparent;
    transform: rotate(-135deg);
}
  
.hamburger-active #hamburger-icon:before,
.hamburger-active #hamburger-icon:after {
    top: 0;
}
  
.hamburger-active #hamburger-icon:before {
    transform: rotate(90deg);
}


/***** Hamburger menu and animation *****/
#hamburger-menu {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 0px;
    transition: all 0.4s ease;
    overflow: hidden;
}

#hamburger-menu p {
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
    color: var(--fontWhite);
    margin: 15px 0;
}

#hamburger-menu a {
    color: var(--fontWhite);
    text-decoration: none;
}

#hamburger-menu .activeSection,
.menupoints .activeSection {
    color: var(--fontBlue);
}

.menupoints p {
    transition: all .2s ease-in-out;
}
.menupoints p:hover {
    transform: scale(1.1);
}

#hamburger-menu hr {
    width: 300px;
    margin: auto;
    height: 1px;
    border: none;
    background-image: linear-gradient(90deg, transparent, var(--fontWhite), transparent);
}

#hamburger-flags {
    width: 110px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

main {
    z-index: 10;
}


/**************************/
/****** Home Section ******/
/**************************/

#home {
    background-image: url('../images/bg_home.png');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-bottom: 30px;
}

div.header_49RTD {
    margin: 0 auto;
    padding-top: 230px;
    width: 90%;
    max-width: 600px;
    margin-bottom: 150px;
}

div.header_49RTD img {
    width: 100%;
}

/* The video will now scale as the viewport is resized.
The magic element is the padding-bottom rule of 56.25%.
This figure is reached by using the video's aspect ratio of 16/9, so 9 divided by 16 = 0.5625 or 56.25%.
Full explanation here https://alistapart.com/article/creating-intrinsic-ratios-for-video/ */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container-wrapper {
    max-width: 800px;
    width: 90%;
    margin: 5px auto;
}

.appstores img:hover {
    transform: scale(1.1);
}

.socialmedia {
    width: 70%;
    max-width: 400px;
    margin: 30px auto 0 auto;
    display: flex;
    justify-content: space-between;
}

.socialmedia a {
    width: 15%;
    transition: all .2s ease-in-out;
}
.socialmedia a:hover {
    transform: scale(1.1);
}

.socialmedia img {
    width: 100%;
}



/**************************/
/******* Sign Beta (old) **/
/**************************/

.beta-stripe {
    height: 4px;
    background-color: #161616;
    opacity: 0.3;
}

.beta-sign {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.beta-sign p {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--fontWhite);
    text-shadow: 0 0 20px var(--fontWhite);
    margin: 5px 10px;
    font-weight: 800;

}
.beta-text {
    text-align: center;
}
.beta-sign a {
    transform: scale(0.6);
    transition: all .2s ease-in-out;
}
.beta-sign a:hover {
    transform: scale(0.7);
}
.beta-sign img {
    height: 90px
}
.beta-text {
    display: flex;
    flex-direction: row;
}

#beta_bg_img_paralax {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url(../images/bg_beta.png), linear-gradient(90deg, #161616,#707070,#161616);
    background-repeat: repeat;
}

/**************************/
/****** Game Section ******/
/**************************/

#theGame {
    /*background: linear-gradient(90deg, #191919,#252525,#191919);*/
    background-image: url('/images/texture/newest.png');
    background-size: 50%;
    padding: 20px 0;
}

h2, h3, h4 {
    color: var(--fontBlue);
}

h2 {
    font-size: 1.5em;
    font-weight: 800;
}

h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 20px 0;
    text-align: center;
}

h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 10px 0;
}

#game_header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#game_header img {
    height: 60px;
}

.hide {
    visibility: hidden;
}

#description-container {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 500px;
    margin: 10px auto;
}

#description-container p {
    color: var(--fontWhite);
    font-size: 1em;
    font-weight: 300;
    margin: 10px 0;
    text-align: justify;
}

#description-container p:nth-child(1) {
    margin-bottom: 30px;
}

#description-container span {
    font-weight: 600;
}

#BR_video {
    width: 250px;
    height: 250px;
    background-image: url(../images/bag.png);
    background-size: contain;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#BR_video img {
    height: 30px;
    cursor: pointer;
    visibility: hidden;
}

#BR_video  p {
    font-size: 1.1em;
    font-weight: 600;
    visibility: hidden;
}

#feature-section {
    overflow: hidden;
    position: relative;
}

#feature-item-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: 80%;
    max-width: 910px;
    margin: auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
    margin: 0 25px;
    z-index: 2;
}

.feature-item > p {
    color: var(--fontWhite);
    font-weight: 300;
    text-align: justify;
}

.feature-item span {
    color: var(--fontWhite);
    font-weight: 700;
}

.magnifier-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 20px 0;
    cursor: pointer;
}

.magnifier-container p {
    color: var(--fontWhite);
    font-size: 1.2em;
    font-weight: 600;
}

.isaac-avatar {
    width: 350px;
    left: 0;
    margin-left: -350px;
    z-index: 1;
}

.sverrir-avatar {
    width: 280px;
    right: 0;
    margin-right: -280px;
    z-index: 1;
}

.avatar-absolute {
    position: absolute;
}

.avatar-fixed {
    position: fixed;
}


/**************************/
/* Feature Icon Flashing  */
/**************************/
@keyframes keyanim {
    0% {
        filter: invert(85%) sepia(97%) saturate(20%) hue-rotate(324deg) brightness(500%) contrast(100%);
        -webkit-filter: invert(85%) sepia(97%) saturate(20%) hue-rotate(324deg) brightness(500%) contrast(100%);
    }
    100% {
        filter: none;
        -webkit-filter: none;
    }
}
#feature1, #feature2, #feature3, #feature4, #feature5, #feature6 {
    -webkit-transition:  0.35s ease-in-out;
    -moz-transition:  0.35s ease-in-out;
    -o-transition:  0.35s ease-in-out;
    transition: 0.35s ease-in-out;    
}
#feature1.addedclass, #feature2.addedclass, #feature3.addedclass, #feature4.addedclass, #feature5.addedclass, #feature6.addedclass {
    animation-name: keyanim;
    animation-duration: 0.85s;
    /*filter: invert(85%) sepia(97%) saturate(20%) hue-rotate(324deg) brightness(500%) contrast(100%);
    -webkit-filter: invert(85%) sepia(97%) saturate(20%) hue-rotate(324deg) brightness(500%) contrast(100%);*/
}

/**************************/
/****** Item Overview *****/
/**************************/

#item-banner-container {
    background: transparent;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.item-stripe {
    height: 8px;
    background-color: #000000;
    opacity: 0.3;
}

.carousel-images {
    margin-top: 10px;
    height: 170px;
    width: 1450px;
    left: calc( (100vw - 1450px) / 2 );
    position: relative;
}

.carousel-images > img {
    width: 70px;
    height: 70px;
    top: 50px;
    object-fit: contain;
    position: absolute;
    transition: all 0.35s;
}

.carousel-titles {
    text-align: center;
    height: 28px;
    width: 600px;
    left: calc( (100vw - 600px) / 2 );
    position: relative;
}

.carousel-titles > p {
    font-size: 1.3em;
    font-weight: 600;
    display: inline-block;
    width: 200px;
    text-align: center;
    position: absolute;
    transition: all 0.35s;
}

#carousel-title-1 {
    left: 0px;
    color: rgba(255,255,255,0);
}

#carousel-title-2 {
    left: 200px;
    color: rgba(255,255,255,1);
}

#carousel-title-3 {
    left: 400px;
    color: rgba(255,255,255,0);
}

#carousel-item-1 {
    left: 0px;
    visibility: hidden;
}

#carousel-item-2 {
    left: 80px;
}

#carousel-item-3 {
    left: 160px;
}

#carousel-item-4 {
    left: 240px;
}

#carousel-item-5 {
    left: 320px;
}

#carousel-item-6 {
    left: 400px;
}

#carousel-item-7 {
    left: 480px;
}

#carousel-item-8 {
    left: 560px;
}

#carousel-item-9 {
    width: 170px;
    height: 170px;
    top: 0;
    left: 640px;
}

#carousel-item-10 {
    left: 820px;
}

#carousel-item-11 {
    left: 900px;
}

#carousel-item-12 {
    left: 980px;
}

#carousel-item-13 {
    left: 1060px;
}

#carousel-item-14 {
    left: 1140px;
}

#carousel-item-15 {
    left: 1220px;
}

#carousel-item-16 {
    left: 1300px;
}

#carousel-item-17 {
    left: 1380px;
    visibility: hidden;
}

#arrow-left {
    position: absolute;
    height: 130px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    cursor: pointer;
}

#arrow-right {
    position: absolute;
    height: 130px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    cursor: pointer;
}


/**************************/
/******** Insights ********/
/**************************/

#insights-media-container > video {
    display: block;
    width: 100%;
    /* border-bottom: 1px solid var(--fontWhite); */
}

/* #insights-media-container > img:nth-child(6) {
    border-bottom: none;
} */

#insights-container > h3 {
    margin: 30px 0;
}

#insights-container > p {
    text-align: center;
    font-weight: 800;
    font-size: 1.5em;
    color: var(--fontWhite);
    text-shadow: 0 0 20px var(--fontWhite);
    margin: 25px 0 15px 0;
}

#bloglink {
    color: gray;
}
    
/**************************/
/********** FQA ***********/
/**************************/

#fqa {
    background-image: url('/images/texture/newest.png');
    background-size: 50%;
    padding: 20px 0 40px 0;
}

#fqa-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

#fqa-header img {
    height: 70px;
}

#fqa-container > img {
    display: block;
    width: 280px;
    margin: 20px auto;
}

#fqa-body {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.fqa-details{
    margin-top: 10px;
    margin-bottom: 10px;
}

#fqa-body > div {
    margin: 15px 0;
}

#fqa-body span {
    font-weight: 600;
}

.fqa-question {
    color: var(--fontBlue);
    font-weight: 700;
}

.fqa-text {
    color: var(--fontGrey);
    font-weight: 300;
    text-align: justify;
}
.fqa-discord {
    color: var(--fontGrey);
    font-weight: 300;
    text-align: justify;
    font-weight: 600;
}

#fqa-ul {
    list-style-type: '- ';
    padding-left: 10px;
}

#dario-avatar {
    position: sticky;
    position: -webkit-sticky;
    top: 35vh;
    z-index: 1;
}


/**************************/
/******** Partners ********/
/**************************/

#partners {
    background: linear-gradient(90deg, #161616,#707070,#161616);
    padding: 5px 0;
}

#partner-container {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#partner-container > p {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--fontBlue);
    text-shadow: 0 0 2px #000000;
    margin: 5px 10px;
}

#partner-container img {
    height: 100px;
}


/**************************/
/******** Contact *********/
/**************************/

#contact {
    background-image: url(../images/contact_bg.png);
    background-size: cover;
    padding: 20px 0;
}

#contact-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact-header > img {
    height: 70;
}

#contact-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contact-body > img {
    width: 150px;
}

#contact-body p:nth-child(1) {
    font-weight: 600;
    color: var(--fontWhite);
    margin: 20px 0 10px 0;
    text-align: center;
}

#contact-body p:nth-child(2) {
    color: var(--fontGrey);
    margin: 10px 0;
    text-align: center;
}

#contact-body a {
    display: block;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--fontBlue);
    margin: 20px 0;
    text-align: center;
    text-decoration: none;
}

#schnuck-spacer {
    display: none;
}


/**************************/
/******** Footer **********/
/**************************/

footer {
    background-color: #181818;
    color: var(--fontGrey);
    font-weight: 800;
    font-size: 0.7em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

footer a {
    color: var(--fontGrey);
    text-decoration: none;
    margin: 5px 0;
}
footer img {
    height: 100px;
    margin-top: -20px;
    margin-bottom: 8px;
    margin-right: 50px;
    margin-left: 50px;
}

#left-footer {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#mid-footer {
    order: 1;
    z-index: 2000;
}

#right-footer {
    order: 3;
    margin-bottom: 5px;
}


/**************************/
/********* Modal **********/
/**************************/

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: grid;
    place-items: center;
    visibility: hidden;
    z-index: -10;
}

/* OPEN/CLOSE MODAL */
.open-modal {
    visibility: visible;
    z-index: 40;
}

.modal-container {
    background-image: url('../images/bg_modal.png');
    border-radius: 0.5rem;
    width: 90vw;
    height: 90vh;
    max-width: 800px;
    max-height: 800px;
    position: relative;
    display: grid;
    place-items: center;
    font-family: 'Open Sans', sans-serif;
    overflow-y: scroll;
}

.modal-inner-container {
    width: 95%;
    height: 95%;
}

.modal-header-container {
    height: 30px;
    display: flex;
    justify-content: space-between;
}

.modal-header {
    display: flex;
    height: 100%;
}

.modal-header > img {
    height: 100%;
}

.modal-header h3 {
    font-size: 1.5em;
    color: var(--fontBlue);
    margin: auto 10px;
}

.close-btn {
    cursor: pointer;
    margin: auto 0;
    height: 18px;
}

.modal-container hr {
    border-color: var(--fontBlue);
    color: var(--fontBlue);
    height: 1px;
    margin: 10px 0;
}

.modal-container p {
    margin: 10px 0;
    color: var(--fontWhite);
}

.modal-container li {
    color: var(--fontWhite)
}

/* .modal-body img {
    max-width: 100%;
} */






.no_show {
    display: none;
}



@media only screen and (min-width: 641px) {
    
    .p1 {
        float: left;
    }
    .p2 {
        float: right;
    }
    

    /**************************/
    /******** Insights ********/
    /**************************/

    #insights-media-container {
        display: flex;
        flex-wrap: wrap;
        /* flex-direction: row; */
    }

    #insights-media-container > video {
        /* border: none; */
        width: 50%;
    }

    .beta-sign a {
        transform: scale(0.9);
    }

    .beta-sign a:hover {
        transform: scale(1.0);
    }


    /**************************/
    /******** Partners ********/
    /**************************/

    #partner-container {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    #partnerlogo {
        transition: all .2s ease-in-out;
    }
    #partnerlogo:hover {
        transform: scale(1.1);
    }


    /**************************/
    /********* Modal **********/
    /**************************/

    .modal-header-container {
        height: 40px;
    }

    .modal-header h3 {
        font-size: 1.7em;
    }

    .close-btn {
        height: 20px;
    }

}



@media only screen and (min-width: 765px) {

    /**************************/
    /******** Contact *********/
    /**************************/

    #fqa {
        background-image: url('/images/texture/dunkel.jpg');
        background-size: 10%;
        padding: 20px 0 40px 0;
    }

    #theGame {
        /*background: linear-gradient(90deg, #191919,#252525,#191919);*/
        background-image: url('/images/texture/dunkel.jpg');
        background-size: 10%;
        padding: 20px 0;
    }

    #contact-body {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    #contact-body > img {
        margin: 0 50px;
    }

    #schnuck-spacer {
        display: inline;
        visibility: hidden;
    }

    /**************************/
    /******** Footer **********/
    /**************************/

    footer {
        background-color: #181818;
        color: var(--fontGrey);
        font-weight: 800;
        font-size: 0.7em;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    footer a {
        color: var(--fontGrey);
        text-decoration: none;
    }

    #imprint {
        margin: 0 30px 0 30px;
    }

    footer img {
        height: 100px;
        margin-top: -20px;
        margin-bottom: 8px;
        margin-right: 50px;
        margin-left: 50px;
    }

    #left-footer {
        order: 1;
        flex-direction: row;
        width: 202px;
        justify-content: flex-end;
    }
    
    #mid-footer {
        order: 2;
    }
    
    #right-footer {
        order: 3;
        width: 202px;
    }

}

@media only screen and (min-width: 1400px) {

    /**************************/
    /********** FQA ***********/
    /**************************/

    #fqa-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }


    #fqa-container > img {
        order: 2;
        margin: 20px 0;
    }
    
    #fqa-body {
        order: 1;
        margin: 0;
        position: static;
    }

    #dario-avatar {
        position: static;
        z-index: auto;
    }

}

@media only screen and (min-width: 1050px) {

    #navDesktop {
        display: flex;
        align-items: center;
        height: 50px;
    }

    #navDesktop div:nth-child(1) {
        width: 218px; 
        flex-grow: 0;
    }

    #navDesktop div:nth-child(1) > img {
        height: 40px;
        margin-left: 7px;
    }

    .menupoints {
        flex-grow: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menupoints a {
        text-decoration: none;
        font-size: 1.3em;
        font-weight: 600;
        color: var(--fontWhite);
        margin: 0 20px;
    }    

    .language {
        width: 218px;
        flex-grow: 0;
        display: flex;
        align-items: center;
    }

    .language p {
        font-size: 1.3em;
        font-weight: 600;
        color: var(--fontWhite);
    }

    .language img {
        height: 38px;
        margin: 0 5px 0 10px;
        transition: all .2s ease-in-out;
        
    }
    .language img:hover {
        transform: scale(1.1);
    }

    #navMobile {
        display: none;
    }


    /**************************/
    /****** Game Section ******/
    /**************************/

    #description {
    }

    #description-container {
        display: flex;
        width: 80%;
        margin: 10px auto;
    }


    /**************************/
    /****** Item Overview *****/
    /**************************/

    .carousel-images {
        height: 250px;
        width: 2170px;
        left: calc( (100vw - 2170px) / 2 );
    }

    .carousel-images > img {
        width: 100px;
        height: 100px;
        top: 75px;
    }
    
    #carousel-item-2 {
        left: 120px;
    }
    
    #carousel-item-3 {
        left: 240px;
    }
    
    #carousel-item-4 {
        left: 360px;
    }
    
    #carousel-item-5 {
        left: 480px;
    }
    
    #carousel-item-6 {
        left: 600px;
    }
    
    #carousel-item-7 {
        left: 720px;
    }
    
    #carousel-item-8 {
        left: 840px;
    }
    
    #carousel-item-9 {
        width: 250px;
        height: 250px;
        top: 0;
        left: 960px;
    }
    
    #carousel-item-10 {
        left: 1230px;
    }
    
    #carousel-item-11 {
        left: 1350px;
    }
    
    #carousel-item-12 {
        left: 1470px;
    }
    
    #carousel-item-13 {
        left: 1590px;
    }
    
    #carousel-item-14 {
        left: 1710px;
    }
    
    #carousel-item-15 {
        left: 1830px;
    }
    
    #carousel-item-16 {
        left: 1950px;
    }
    
    #carousel-item-17 {
        left: 2070px;
    }

    #arrow-left {
        height: 170px;
    }
    
    #arrow-right {
        height: 170px;
    }

}

@media only screen and (min-width: 1281px) {

    /**************************/
    /******** Insights ********/
    /**************************/

    #insights-media-container > video {
        width: 33.33%;
    }

}

/*Extras*/
.min-margin {
    margin-top: 10px;
}
.text-rem {
    color: white;
}