:root {
    --primary-gold: #009d5c;
    --primary-active: #00ba6e;
    --primary-purple: #4047e0;
    --grey: #A3A3A3;
    --white: #FFFFFF;
    --fThin: "Poppins";
    --fMedium: "PoppinsMedium";
    --fBold: "PoppinsBold";
}

@font-face {
    font-family: "Poppins";
    src: url(Poppins/Poppins-Light.ttf);
}

@font-face {
    font-family: "PoppinsMedium";
    src: url(Poppins/Poppins-Medium.ttf);
}

@font-face {
    font-family: "PoppinsBold";
    src: url(Poppins/Poppins-Bold.ttf);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html {
    min-height: 100%;
    height: 100%;
    font-size: 0.8vw;
}

body {
    font-family: "Poppins";
    min-height: 100%;
    height: 100%;
    background: #fff;
    color: #fff;
}

a, a:focus {
    text-decoration: none;
    color: #fff;
}

a:hover, a:active {
    color: #fff;
}

.mt-0 {
    margin-top: 0;
}

.d-none {
    display: none !important;
}

/* width */
.customScroll::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.customScroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    /* border-radius: 10px; */
}

/* Handle */
.customScroll::-webkit-scrollbar-thumb {
    background: #555; 
    border-radius: 10px;
}

/* Handle on hover */
.customScroll::-webkit-scrollbar-thumb:hover {
    background: #000; 
}

/* BG */

.bgImg {
    position: fixed;
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    /* background-color: #291705; */
    background-image: url(../img/auth-bg.png?v=9);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
}

/* End BG */

.pageContent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding: 2rem 4rem;
    /* padding-bottom: 60px; */
    display: flex;
    flex-direction: column;
}

/* Header */

.header {
    display: none;
    justify-content: space-between;
    transition: .3s;
    max-height: 0px;
    align-items: center;
}

.header .mobileIco {
    display: none;
}

.header.show {
    display: flex;
    max-height: 100vh;
}

/* .header .logo {
    margin-left: 2rem;
} */

.header .logo img {
    height: 4rem;
    cursor: pointer;
}

.header .menu {
    display: flex;
}

.header .menu .menuItem {
    display: inline-block;
    padding: .5rem 1.5rem;
}

/* End Header */

/* Container */
.container {
    display: none;
    flex-grow: 1;
    padding: 1rem 2rem;
    flex-direction: column;
}

.container.show {
    display: flex;
}

.container .page {
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
}

.container .page.show {
    display: flex;
}

.container .page .title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: var(--fBold);
}

.container .page .content {
    overflow: auto;
    border: 1px solid var(--primary-gold);
    padding: 2rem;
    max-height: 58vh;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.4);
}

.container .page .content div {
    margin-bottom: 1rem;
    font-family: var(--fMedium);
}

.container .page .content .color, 
.container .page .content .color a {
    color: var(--primary-gold);
}

.container .page .content .color a:hover {
    color: #000;
}

.container .page .content .big {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-family: var(--fBold);
}

/* End Container */

/* Download */

.downloadSection {
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: .3s;
    justify-content: space-around;
    height: 100dvh;
    position: relative;
}

.downloadSection .logo {
    align-self: flex-end;
    text-align: right;
    margin-top: 0;
    margin-bottom: 1rem;
    width: auto;
    max-width: none;
    position: absolute;
    top: 0;
    right: 0;
}

.downloadSection .logo img {
    height: 4rem;
}

.downloadSection .title {
    margin-top: 1rem;
    margin-bottom: .5rem;
    font-size: 2rem;
    font-family: var(--fMedium);
    color: white;
}

.downloadSection .appIconContainer {
    width: 100%;
    max-width: 900px;
}

.downloadSection .appIcon {
    height: 9rem;
}

.downloadSection .logoMobile {
    height: 4rem;
    display: none;
}

.downloadContent {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.downloadSection .btns {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.downloadSection .btns .btn {
    width: 100%;
    max-width: 400px;
    margin: 1rem;
    transition: .3s;
    filter: contrast(0) brightness(5);
}

.downloadSection .btns .btn:hover {
    /* filter: grayscale(1) brightness(5); */
    transform: scale(1.05);
}

.downloadSection .desc {
    width: 35rem;
    max-width: 100%;
    color: var(--grey);
    align-self: center;
    margin: 3rem auto 4rem auto;
}

.downloadSection .menu {
    margin: 2rem auto;
}

.downloadSection .menu .menuItem {
    margin: auto 1rem;
    font-weight: 400;
    font-family: var(--fMedium);
    text-decoration: underline;
    color: white;
}

.downloadSection .copyright {
    font-family: var(--fMedium);
    color: white;
}

.downloadSection.min {
    height: unset;
}

.downloadSection.min .logo,
.downloadSection.min .title,
.downloadSection.min .desc,
.downloadSection.min .menu {
    display: none;
}

.downloadSection.min .btns .btn {
    width: 10rem;
}

/* End Download */

/* Subpages */

.pageContent.subpageLayout {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.subpageLayout .header {
    display: flex;
    max-height: 100vh;
}

.subpageLayout .header .menu {
    order: 1;
}

.subpageLayout .header .mobileIco {
    order: 2;
    color: #fff;
}

.subpageLayout .header .logo {
    order: 3;
}

.subpageLayout .header .logo a {
    display: inline-block;
    line-height: 0;
}

.subpageLayout .header .logo img {
    cursor: pointer;
}

.subpageLayout .container {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    min-height: 0;
}

.subpageLayout .container .page {
    display: flex;
}

.subpageFooter {
    text-align: center;
    padding: 1rem 0 2rem 0;
    margin-top: auto;
}

.subpageFooter .menu .menuItem {
    margin: auto 1rem;
    font-weight: 400;
    font-family: var(--fMedium);
    text-decoration: underline;
    color: white;
}

.subpageFooter .copyright {
    font-family: var(--fMedium);
    margin-top: 1.5rem;
    color: var(--grey);
}

.header .menu .menuItem.active,
.subpageFooter .menu .menuItem.active {
    color: var(--primary-gold);
    font-family: var(--fBold);
}

/* End subpages */

@media only screen and (max-width: 1400px) {
    html {
        font-size: 1.1vw;
    }

    .pageContent {
        padding: 2rem 3rem;
    }

    .header {
        margin-top: 1rem;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .bgImg {
        background-image: url(../img/auth-bg.png?v=9);
        background-position: left center;
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
        border-radius: 30px;
    }

    .downloadSection .logo {
        display: none;
    }

    .downloadSection .appIcon {
        display: none;
    }

    .downloadSection .logoMobile {
        display: inline-block;
    }
}

@media only screen and (max-width: 1135px) {
    html {
        font-size: 2.2vw;
    }

    .downloadSection .logo {
        margin-top: 2rem;
    }

    .downloadSection .btns {
        flex-wrap: wrap;
    }

    .downloadSection .btns .btn {
        width: 43%;
        transition: .3s;
    }

    .container .page .content .big {
        font-size: 1.5rem;
    }

    .container .page .content {
        max-height: 60vh;
    }

    .header .mobileIco {
        display: inline-block;
        /* position: absolute; */
        /* left: 30px; */
        color: #000;
        z-index: 5;
        cursor: pointer;
    }

    .header .mobileIco .burger {
        display: inline-block;
    }

    .header .mobileIco .close {
        display: none;
    }

    .header .mobileIco.active .burger {
        display: none;
    }

    .header .mobileIco.active .close {
        display: inline-block;
    }

    .header .mobileIco svg {
        width: 2.5rem;
    }

    .header .menu {
        position: fixed;
        z-index: 1;
        background-color: #09093f;
        top: 0;
        bottom: 0;
        width: 70vw;
        margin: 0;
        left: -100vw;
        transition: .3s ease-out;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 15px;
        padding-top: 9rem;
        /* border-right: 1px solid rgb(113, 113, 113); */
        box-shadow: 0 0 15px -10px #000;
    }

    .header .menu.active {
        left: 0;
    }
    
    .header .menu .menuItem {
        border-right: none;
        margin-bottom: 15px;
        font-size: 1.3rem;
    }
}

@media only screen and (max-width: 767px) {

    html {
        font-size: 2.6vw;
    }

    .container {
        padding: 1rem;
    }

    .pageContent {
        padding: 1.5rem 1.5rem;
    }

    .downloadSection .logo {
        margin-top: 0;
        margin: 0 auto;
    }

    .downloadSection .title {
        margin: 0 auto 1rem auto;
    }

    .downloadSection .desc {
        margin: 2rem auto 1rem auto;
    }

    .downloadSection .menu {
        margin: 2.5rem auto 1rem auto;
    }

    .downloadSection .btns {
        align-items: center;
    }

    .downloadSection .btns .btn {
        width: 80%;
    }

    .container .page .content {
        max-height: 65vh;
    }

    .container .page .content .big {
        font-size: 1.2rem;
    }

    .downloadSection.min .btns .btn {
        width: 8.5rem;
    }
    
}