@font-face {
    font-family: welcomePageSubTitle;
    src: url("/fonts/FuturaLight.ttf");
}

@font-face {
    font-family: welcomePageTitle;
    src: url("/fonts/WelcomePageTitle.otf");
}

@font-face {
    font-family: welcomePageSubTitlePL;
    src: url("/fonts/ArchivoNarrowRegular.otf");
}

#contentContainer {
    position: relative;
    align-items: center;
    display: flex;
    justify-content: center;
    padding-bottom: 110px;
    box-sizing: border-box;
    overflow: hidden;
}

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

#logoImg {
    display: inline-block;
    margin: 20px auto;
    max-width: 100px;
    max-height: 100px;
    width: 30vw;
    height: 30vw;
}

#logoImg img {
    width: 100%;
    height: 100%;
}

#pageTitle {
    width: calc(100vw - 120px) !important;
}

#title {
    font-family: welcomePageTitle, sans-serif;
    color: white;
    line-height: 6.7vh;
    height: 6.7vh;
    margin: 10px auto;
    margin-bottom: 0;
    font-size: 10vw;
}

.greyText {
    color: #b9b9b9;
}

.subtitle {
    font-family: welcomePageSubTitle, sans-serif;
    max-width: 90vw;
    line-height: 3vh;
    height: 3vh;
    margin: 8px auto;
    font-size: 4.5vw;
    letter-spacing: .5px;
}

#platformSelect {
    font-family: welcomePageSubTitle, sans-serif;
    color: white;
    max-width: 90vw;
    margin: 30px auto;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}

.platformSelectImage {
    margin: 20px 5px 0;
    width: 70px;
    display: inline-block;
    height: 70px;
}

@media (min-width: 400px) {
    .platformSelectImage {
        margin: 20px 7px 0;
        width: 75px;
        height: 75px;
    }
}

.platformSelectImage img {
    width: 100%;
    height: 100%;
}

#themeSelect {
    display: none;
}

#descText {
    height: 56px;
    width: 100%;
    margin-top: 54px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-size: 1.1em;
    font-family: welcomePageSubTitle, sans-serif;
    line-height: 28px;
}

#partnershipsContainer {
    width: 100%;
    height: 80px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.partnershipLogo {
    height: 65px;
    width: 65px;
    margin: 10px;
}

#languageDetectionContainer {
    display: none !important;
}

.regionInfoText{
    margin: 14px 20px 5px 20px;
    padding: 10px 0 0 0;
    border-top: rgba(255,255,255,.2) solid 1px;
    color: rgb(170,170,170);
    cursor: default;
    font-size: 13px;
    text-align: center;
}

#languageSelectDesktopSubheader {
    display: none;
}

#languageSelectMobile {
    display: block;
    position: absolute;
    right: 15px;
    top: 11px;
    width: 28px;
    height: 28px;
    background-size: 100%;
    z-index: 9;
}

#languageSelectMobileOverlay {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100vw;
    height: calc(100vh - 50px);
    top: 50px;
    /* left: 100vw; */
    opacity: 0;
    transition: opacity 0.2s;
}

.languageSelectLabelSubheader {

}

.languageSelectIconSubheader {

}

#languageSelectTextSubheader {
    display: none;
}

#languageSelectDropdownContainerDesktopSubheader {

}

#languageSelectDropdownContainerMobile {
    display: block;
    position: absolute;
    right: calc(-100vw - 50px);
    top: 34px;
    width: 100vw;
    padding: 16px;
    height: calc(100vh - 50px);
    overflow-y: scroll;
    transition: right 0.2s;
    box-sizing: border-box;
}

.languageSelectOptionContainerSubheader {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    margin: 8px 0;
    padding: 0;
    height: 30px;
}

.languageFlagsContainerSubheader {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
}

.languageFlagSprite {
    width: 28px;
    margin-left: 14px;
}

.languageFlagSprite img {
    width: 100%;
    margin: 0;
}

.languageSelectOptionLabelSubheader {
    margin-left: 10px;
    font-size: 23px;
    line-height: 29px;
}


@media (orientation: landscape) and (max-height: 600px) {
    
    #verticalCenterContainer {
        flex-direction: row;
    }
    
    #left {
        width: 45vw;
        margin-left: 4.5vw;
        float: left;
    }
    
    #right {
        width: 45vw;
        margin-right: 4.5vw;
        float: right;
    }
    
    #logoImg {
        max-width: 100px;
        width: 30vw;
        height: 30vw;
    }
    
    #title {
        font-size: 36px;
    }
    
    #formerText {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    #platformSelect {
        margin-top: 0;
        font-size: 17px;
    }
    
    .platformSelectImage {
        margin: 18px 5px;
        margin-bottom: 0;
        width: 55px;
        height: 55px;
    }
}

@media (orientation: landscape) and (max-height: 360px) {
    
    #logoImg {
        max-width: 80px;
        width: 20vw;
        height: 20vw;
    }
    
    #title {
        font-size: 30px;
    }
    
    #formerText {
        font-size: 22px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    #platformSelect {
        font-size: 17px;
    }
    
    .platformSelectImage {
        width: 70px;
        height: 70px;
    }
}


@media (min-width: 600px) and (min-height: 600px) {
    #verticalCenterContainer {
        margin-top: -80px;
    }
    
    #logoImg {
        max-width: none;
        max-height: none;
        margin-bottom: 10px;
        width: 16vh;
        height: 16vh;
    }
    
    #title {
        font-size: 7.5vh;
    }
    
    #formerText {
        display: block;
        font-size: 40px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    #platformSelect {
        margin-top: 20px;
        font-size: 20px;
    }
    
    .platformSelectImage {
        margin-top: 12px;
        width: 12vh;
        height: 12vh;
    }
}

@media (min-width: 600px) and (min-height: 800px) {
    #verticalCenterContainer {
        margin-top: -20px;
    }
    
    #logoImg {
        margin-bottom: 20px;
        margin-bottom: 24px;
        width: 18vh;
        height: 18vh;
    }
    
    #title {
        font-size: 7.5vh;
    }
    
    #formerText {
        font-size: 56px;
    }
    
    .subtitle {
        font-size: 25px;
        margin-top: 10px;
    }
    
    #platformSelect {
        margin-top: 5vh;
        font-size: 28px;
    }
    
    .platformSelectImage {
        margin: 15px 10px 0;
        width: 18vw;
        height: 18vw;
    }
}

@media (min-width: 800px) {
    #themeSelect {
        font-family: welcomePageSubTitle, sans-serif;
        letter-spacing: 1px;
        font-size: 14px;
        font-weight: bold;
        position: absolute;
        display: block;
        bottom: -19px;
        left: 0;
        right: 0;
        margin: auto;
        transition-duration: .25s;
    }
    
    #themeArrow {
        position: relative;
        display: block;
        cursor: pointer;
        width: 12px;
        height: 12px;
        margin: 5px auto;
        background-size: 100%;
        background-repeat: no-repeat;
        background-image: url('/img/icons/upArrow.png');
    }
    
    #themeText {
        position: relative;
        display: block;
        margin-bottom: 10px;
        cursor: pointer;
    }
    
    .theme {
        display: inline-block;
        visibility: hidden;
        margin: 0 3px;
        height: 0;
        cursor: pointer;
    }
    
    .selectedTheme {
        border: 1px solid white;
        border-radius: 1px;
    }
    
    #descText {
    }
    
    #languageSelectDesktopSubheader {
        display: block;
        margin-top: 40px;
        width: 280px;
        height: 32px;
        margin-left: calc((100% - 280px) / 2);
    }
    
    #languageSelectLabelDesktopSubheader {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        cursor: pointer;
        padding-top: 4px;
        background-color: rgba(30, 30, 30, 0);
        transition: background-color 0.2s;
    }
    
    #languageSelectLabelDesktopSubheader:hover {
        background-color: rgba(30, 30, 30, 0.5);
    }
    
    #languageSelectLabelDesktopSubheader:hover #languageSelectIconSubheader {
        opacity: .85;
    }
    
    #languageSelectLabelDesktopSubheader:hover #languageSelectionArrowSubheader {
        filter: invert(1);
    }
    
    #languageSelectLabelDesktopSubheader:hover #languageSelectTextSubheader {
        color: white;
    }
    
    
    #languageSelectMobile {
        display: none;
    }
    
    #languageSelectMobileOverlay {
        display: none;
    }
    
   
    
    #languageSelectIconSubheader {
        margin-left: 3px;
        opacity: .65;
        transition: opacity .2s;
    }
    
    #languageSelectIconSubheader img {
        width: 24px;
    }
    
    #languageSelectTextSubheader {
        display: block;
        line-height: 27px;
        height: 27px;
        font-size: 18px;
        transition: color 0.2s;
        font-family: welcomePageSubTitle, sans-serif;
        text-transform: uppercase;
        margin-left: 10px;
    }
    
    #languageSelectionArrowSubheader {
        transition: transform .2s, filter 0.2s;
        filter: invert(0.7);
        height: 24px;
    }
    
    #languageSelectionArrowSubheader img {
        width: 24px;
        height: 24px;
    }
    
    #languageSelectDropdownContainerDesktopSubheader {
        position: absolute;
        display: none;
        width: 280px;
        right: unset !important;
        padding: 8px 0;
        background-color: RGB(50, 50, 50);
        z-index: 30;
        height: calc(31vh - 131px);
        max-height: 303px;
        overflow-y: scroll;
        opacity: 0.5;
        transition: opacity 0.3s, height 0.3s;
        
    }
    
    .languageSelectOptionContainerSubheader {
        justify-content: center;
        margin: 3px 0;
        padding: 0 20px 0 20px;
        background-color: rgba(0, 0, 0, 0);
        transition: background-color 0.1s;
        cursor: pointer;
        height: 24px;
    }
    
    .languageSelectOptionContainerSubheader img {
        filter: brightness(100%) saturate(100%);
        transition: filter 0.1s;
    }
    
    .languageSelectOptionContainerSubheader:hover {
        background-color: rgba(0, 0, 0, 0.2);
    }
    
    .languageSelectOptionContainerSubheader:hover .languageSelectOptionLabelSubheader {
        color: white;
    }
    
    .languageSelectOptionContainerSubheader:hover img {
        filter: brightness(120%) saturate(120%);
    }
    
    .languageFlagsContainerSubheader {
        display: flex;
        flex-flow: row nowrap;
        overflow: hidden;
        justify-content: flex-end;
        width: 78px;
        height: 100%;
    }
    
    .languageFlagSprite {
        margin-left: 3px;
        height: 100%;
        width: 24px;
    }
    
    .languageSelectOptionLabelSubheader {
        margin-left: 10px;
        font-family: welcomePageSubTitle, sans-serif;
        font-size: 18px;
        line-height: 26px;
        transition: color 0.1s;
        /* text-transform: uppercase; */
    }

    .platformSelectImage {
        margin: 15px 15px 0;
        width: 12vh;
        height: 12vh;
    }
    
}

@media (min-height: 800px) and (min-width: 800px) {
    #languageSelectDropdownContainerDesktopSubheader {
        height: calc(28vh - 170px);
    }
}

@media (max-height: 1000px) {
    #descText {
        display: none;
    }
    
    #partnershipsContainer {
        display: none;
    }
}

@media (min-height: 1000px) and (min-width: 800px) {
    #title {
        font-size: 70px;
    }
    
    #languageSelectDropdownContainerDesktopSubheader {
        height: calc(28vh - 70px);
    }
    
}

@media (min-height: 600px) and (min-width: 600px) {
    #contentContainer {
        padding-bottom: 50px;
    }
}

@media (max-width: 360px) {
    .platformSelectImage {
        width: 55px;
        height: 55px;
    }
}