:root {
    --black: #000;
    --white: #FFF;
    --primary: #00ffff;
    --border-color: #e22bb2;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Cairo", sans-serif;
    min-height: 100vh;
    background: var(--black);
}



#root {
    width: 100%;
    height: auto;
    min-height: 100vh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    position: relative;
}

#loader{
    position: fixed;
    top: 20%;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    flex-direction: column;
}

#header {
    width: 95%;
    margin: 0 auto;
    max-width: 680px;
    min-height: 60px;
    min-width: 280px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    direction: ltr;
}

#languages {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    float: right;
    direction: ltr;
    width: 25%;
}

.language {
    border: solid 1px var(--primary);
    padding: 3px 6px;
    margin: 2px;
    cursor: pointer;
    line-height: 100%;
    color: var(--white);
}

.language.active {
    background: var(--primary);
    color: #363636;
    cursor: text;
}

#content {
    max-width: 680px;
    width: 95%;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
    min-width: 280px;
}

#leftMenu {
    width: 30%;
}

#brand {
    background: var(--black);
    width: 50%;
    min-height: 55px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    direction: ltr;
    text-align: right;
}

#brand img {
    width: 150px;
}

#brandContent h3 {
    margin: 0;
    line-height: 100%;
}

#brandContent p {
    font-size: 11px;
    margin: 0px;
    line-height: 100%;
}

#featuredMedia {
    position: relative;
    margin-bottom: 2rem;
}

#featuredMedia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 20px 30px 0px var(--black);
    pointer-events: none;
}

#featuredMedia img {
    width: 100%;
}

#featuredMedia img#challengeText {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

#price{
    font-size: 10px;
    color: #FFF;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#title {
    color: var(--white);
    font-size: 16px;
    text-align: center;
    margin-bottom: 1rem;
}

#subTitle{
    color: var(--white);
    font-size: 14px;
    text-align: center;
    margin-bottom: .5rem;
}

#underButtonText{
    font-size: 10px;
    color: #FFF;
    text-align: center;
}

#inputWrapper {
    display: flex;
    flex-direction: row;
    border: 2px solid var(--border-color);
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    direction: ltr;
    border-radius: 5px;
    overflow: hidden;
}

#phoneInput, #otpInput {
    outline: none;
    width: 100%;
    border: none;
    border: 0px;
    padding: 5px;
    text-align: center;
    font-size: 20px;
    letter-spacing: 5px;
}

#phoneInput {
    text-align: center;
    padding-left: 15px;
}

#phoneInput.valid {
    background: url(../img/battleplusae.01.games/input_check.png) no-repeat #FFF;
    background-size: 30px;
    background-position: calc(100% - 10px);
}

#otpInput {
    height: 40px;
    background: #FFF;
    background-size: 30px;
    background-position-x: 10px;
}

a#submitAction {
    max-width: 320px;
    width: 100%;
    margin: 10px auto;
    display: block;
    color: var(--white);
    text-align: center;
    font-size: 1.5em;
    line-height: 100%;
    text-transform: uppercase;
    background: linear-gradient(rgba(19, 247, 123, 1) 0%, rgba(230, 240, 74, 1) 100%);
    background-size: 20px;
    background-position-x: calc(100% - 10px);
    background-position-y: center;
    padding: 10px 0px;
    border: solid 1px var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    opacity: 1;
    animation: heartbeat 1.5s infinite;
    cursor: pointer;
}

a#submitAction[disabled=true] {
    opacity: 0.4 !important;
    animation: none;
}

[data-lang=ar] a#submitAction {
    background-position-x: 10px;
}
#exitButton{
    background: #e329b0;
    color: #FFF;
    text-align: center;
    width: 100%;
    margin:  1rem auto;
    display: block;
    max-width: 200px;
    text-decoration: none;
    font-size: 20px;
    border-radius: .5rem;
}
#disclaimer{
    font-size: 10px;
    color: #8b8b8b;
    text-align: left;
    line-height: 1.5em;
    margin-bottom: auto;

    @media (max-width: 1024px) {
        line-height: 1.1em;
    }
}

#disclaimer a{
    color: #8b8b8b !important;
}
#footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: auto;
}
#footer  a {
    color: #979797;
}

#footer .footerLink {
    text-align: center;
    margin: 5px;
}

#maskNb{
    display: none;
}


body[data-lang=ar] {
    direction: rtl;

    #disclaimer{
        text-align: right;
    }
}
