@font-face {
    font-family: 'UbuntuCondensed';
    src: url('UbuntuCondensed-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
    font-family: CasinoBar;
    src: url("CasinoBar.otf") format("opentype");
}

.normalFont{
    font-family: 'UbuntuCondensed';
}

body{
    font-family: 'UbuntuCondensed';

    background-image: url('background.jpg');
    background-size: 100% auto;
    background-position-y: center;

    margin: 4px;
}

@media only screen and (max-width: 600px) {
    body {
        margin: 0px;
    }
}

@media (orientation: portrait) {
    body {
        background-size: auto 100vh;
        /*background-position-x: center;*/
    }
}

a{
    text-decoration: none;
}

main{
    text-align:center;
}

.topTitle .title {
    color: white;
    text-shadow: 0px 0px 3px white;
    
    font-size: 30px;
    margin: 15px;
}

@media only screen and (max-width: 600px) {
    .title {
        font-size: 25px;
        margin: 20px;
    }
}

.pageCont {
    padding: 10px;
    background-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 10px;

    margin-left:auto;
    margin-right: auto;

    width: 800px;
    max-width: 90vw;

    text-shadow: 0px 0px 1px #ffffff;

    text-align: center;
}

.pageTitle{
    font-size: 35px;
    text-shadow: 0px 0px 4px white;
    margin-bottom: 20px;
    font-weight: bold;
}


div.cont{
    margin-left: auto;
    margin-right: auto;

    padding-top: 70px;
}

.section{
    margin: 5px;
    padding: 5px;

    margin-top: 10px;
    margin-bottom: 10px;

    background-color: rgba(255, 255, 255, 0.5);

    border-radius: 10px;
}

.section .title {
    font-size: 25px;
    font-weight: bold;

    padding: 5px;

    color: black;
}


.buttonClass {
    font-size:15px;
    font-family:Arial;
    width:140px;
    height:50px;
    border-width:1px;
    color:#ffffff;
    border-color:#74b807;
    font-weight:bold;
    border-top-left-radius:6px;
    border-top-right-radius:6px;
    border-bottom-left-radius:6px;
    border-bottom-right-radius:6px;
    box-shadow:inset 0px 1px 0px 0px #a4e271;
    text-shadow:inset 0px 1px 0px #528009;
    background:linear-gradient(#89c403, #77a809);
  }
  
  .buttonClass:hover {
    background: linear-gradient(#77a809, #89c403);
  }
                

#alert{
    position: fixed;
    left: 5%;
    right: 5%;
    top: 10%;

    background-color: rgba(255,255,255, 0.75);
    padding: 10px;

    font-size: 20px;
    text-align: center;

    opacity: 0;
    display: none;
}

.msg {
    margin: 10px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    font-size: 16px;

    border-radius: 10px;
    background-color: rgba(255,255,255,0.5);
}

/*
    MENU
*/

#menu {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;

    background: rgb(255,51,0);
    background: linear-gradient(90deg, rgba(255, 51, 0, 0.75) 0%, rgba(255, 103, 98, 0.75) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    padding: 10px;

    z-index: 2000;
}

#menu .item {
    cursor: pointer;
    padding: 5px;
    padding-right: 10px;

    font-size: 20px;
    font-weight: bold;   
    
    margin: 5px;

    border-radius: 5px;

    text-shadow: 0px 0px 2px #ffffff;

    box-shadow: rgba(255, 255, 255, 0.1) 0px 0px 10px;
}

#menu .item.newTicket {
    background: rgb(29,255,0);
    background: radial-gradient(circle, rgba(29,255,0,0.75) 0%, rgba(237,237,237,0) 100%);
}

#menu .item:hover {
    background-color: rgba(255,255,255,0.25);
}

#menu .item.logout {
    margin-top: 20px;
}

#menu .item.login {
    margin-bottom: 15px;
}

#menu .item svg {
    margin-right: 10px;
    color: white;
    filter: drop-shadow(2px 2px 2px rgb(0 0 0 / 0.4));

    min-width: 30px;
}

#menu a {
    color: black;
    width: 100%;
    display: block;
}

#menuButton {
    position: fixed;
    
    left: 0;
    bottom: 0;

    margin: 30px;

    font-size: 50px;

    background-color: rgba(255, 77, 100, 0.5);

    border-radius: 100px;

    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 0, 0, 0.5);

    touch-action: none;

    padding-left: 5px;
    padding-right: 5px;
}

#menuButton > svg {
    color: rgba(255, 255, 255, 0.5);
    margin: 15px;
}

/*
    Ticket
*/

.ticket {
    margin: 10px;
    margin-left: auto;
    margin-right: auto;

    padding: 10px;

    text-align: center;

    /*background-color: rgba(255, 255, 255, 0.75);*/
    background-image: url('ticket.png');
    background-size: 100% 100%;

    /*border-radius: 10px;*/

    width: max-content;
}

.ticket .date .time{
    font-weight: bold;
}

.extractionNumbers {
    margin: 10px;
    margin-left: auto;
    margin-right: auto;

    padding: 5px;

    text-align: center;

    background-color: rgba(64, 255, 54, 0.5);

    border-radius: 10px;

    width: max-content;
}

.extractionNumbers .ball {
    font-size: 30px;
}

.ball {
    display: inline-block;
    border-radius: 100px;
    border: solid 2px black;  
    padding: 4px;

    text-align:center;

    text-shadow: 0px 0px 6px yellow, 0px 0px 8px yellow;
    
    font-size: 20px;

    background-image: linear-gradient(
    55deg,
    hsl(240deg 20% 99%) 0%,
    hsl(240deg 6% 97%) 6%,
    hsl(240deg 3% 95%) 13%,
    hsl(240deg 2% 93%) 19%,
    hsl(240deg 1% 91%) 26%,
    hsl(240deg 1% 89%) 32%,
    hsl(240deg 1% 87%) 38%,
    hsl(240deg 0% 85%) 43%,
    hsl(240deg 0% 83%) 49%,
    hsl(240deg 0% 81%) 54%,
    hsl(137deg 0% 81%) 59%,
    hsl(137deg 0% 83%) 64%,
    hsl(137deg 0% 85%) 69%,
    hsl(137deg 0% 88%) 73%,
    hsl(137deg 0% 90%) 78%,
    hsl(137deg 0% 92%) 82%,
    hsl(137deg 0% 94%) 87%,
    hsl(137deg 0% 96%) 91%,
    hsl(137deg 0% 98%) 96%,
    hsl(0deg 0% 100%) 100%
    );

    margin:3px;
}

.ball.win {
    background-color: #a4e271;

    /* flames */
    -webkit-box-shadow: 4px -4px 15px 0px #FF1F1F, 12px -11px 7px 0px #FF9376, 20px -5px 7px 0px #FFE264, 20px 6px 7px 0px #F6FF33, 13px 12px 17px 0px #FF9527, 2px 17px 17px 0px #FF0000, -9px 21px 18px 0px #FFF212, -9px 6px 11px 0px #FF0808, -11px -9px 11px 0px #FFFA17, -11px -9px 11px 0px #FFFA17, 5px 5px 50px 5px rgba(0,0,0,0); 
    box-shadow: 4px -4px 15px 0px #FF1F1F, 12px -11px 7px 0px #FF9376, 20px -5px 7px 0px #FFE264, 20px 6px 7px 0px #F6FF33, 13px 12px 17px 0px #FF9527, 2px 17px 17px 0px #FF0000, -9px 21px 18px 0px #FFF212, -9px 6px 11px 0px #FF0808, -11px -9px 11px 0px #FFFA17, -11px -9px 11px 0px #FFFA17, 5px 5px 50px 5px rgba(0,0,0,0);
}

/*
    Top menu
*/
.topTitle{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    pointer-events: none;

    z-index: 1000;
}

.topMenu{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    min-height: 65px;
    background-color:#a4e271;

    z-index: 999;
}

.topMenu table {
    margin-left: auto;
    margin-right: auto;

    height: 65px;
}

.topMenu table td {
    vertical-align: middle;
}

.topTdCenter{
    width: 200px;
}

.topTdSide{
    width: 150px;
}

/*
    jQuery Confirm
*/

.jconfirm .jconfirm-scrollpane {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/*
    Alert
*/

.redAlert {
    border-radius: 5px;
    padding: 5px;
    margin: 10px;
    font-weight: bold;
    text-align: center;

    margin-left: auto;
    margin-right: auto;

    background-color:#ff4d64;
    font-size: 20px;
}

/*
    Notifications
*/
.notifications .notification{
    margin: 5px;
    margin-left: auto;
    margin-right: auto;

    padding: 5px;

    text-align: center; 

    max-width: 350px;

    /*border: 5px hidden #ff6550;
    border-bottom-style: dotted;*/

    border-radius: 10px;

    background-color: rgba(255, 255, 255, 0.5);
}

.notifications .notification .time {
    text-align: left;
    padding: 5px;    
}

.notifications .notification .cont {
    font-size: 18px;
    font-weight: bold;

    padding: 2px;
}

.notifications .extractionNumbers .ball {
    font-size: 20px;
}

.lowerInfo{
    font-size: 12px;
}

/*
    Countdown
*/

#countdown {
    background-color: rgba(255, 213, 79, 0.75);
    margin: 10px;
    padding: 5px;

    border-radius: 10px;

    width: max-content;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

#countdown ul {
    padding: 5px;
    margin: 5px;
}

#countdown li {
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 15px;
    text-transform: uppercase;
}

#countdown li span {
    display: block;
    font-size: 2.5rem;
}

/*
    The Time
*/

#theTime {
    padding: 4px;
    border-radius: 5px;
    background-color: rgba(0,0,0,0.75);
    color: white;
    font-weight: bold;

    width: 45px;
    text-align: center;

    margin-left: auto;
    margin-right: auto;
}

/*
    Table jackpots
*/

.tableJackpots{
    margin-left: auto;
    margin-right: auto;

    border-radius: 10px;
}

.tableJackpots td {
    vertical-align: middle;
    padding: 5px;

    text-shadow: 0px 0px 1px #ffffff;
}

.tableJackpots .tableMain {
    background-color: rgba(255,255,255, 0.25);
}

.tableJackpots .tableMain td {
    font-weight: bold;
}

.tableJackpots tr.one {
    background-color: rgba(0,0,0, 0.75);
    color: white;
    text-shadow: 0px 0px 1px #000000;
}

.tableJackpots tr.two {
    background-color: rgba(0,0,0, 0.5);
    color: white;
    text-shadow: 0px 0px 1px #000000;
}


/*
    ...
*/
.groupBox{
    margin-top: 20px;
    margin-bottom: 20px;

    border: solid 1px rgba(255,255,255,0.75);
    border-radius: 10px;
    padding: 5px;

    background-color: rgba(255,255,255, 0.25);
}

/*
    Jackpot
*/

.funds {
    width: max-content;

    border-radius: 10px;
    margin: 10px;
    padding: 10px;  

    /* https://lottiefiles.com/lottie-to-gif/convert?url=https%3A%2F%2Fassets2.lottiefiles.com%2Fpackages%2Flf20_ystsffqy.json&bg_color=ffffff */
    background-color: rgba(136, 255, 120, 0.5);

    margin-left: auto;
    margin-right: auto;

    font-weight: bold;
    font-size: 30px;

    font-family: 'CasinoBar';
}

.funds .amount {
    font-size: 26px;
    font-weight: bold;  

    text-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #49ff18, 0 0 30px #49FF18, 0 0 40px #49FF18, 0 0 55px #49FF18, 0 0 75px #49ff18;

    padding-top: 20px;
}

.funds .img {
    background-image: url('/assets/transparent-moneymoneymoney.gif');
    width: 150px;
    height: 100px;

    background-size: cover;
    background-position-y: bottom;
}

/*
    Presentation
*/

.presentation {
    font-family: Georgia, serif;
    font-size: 22px;
    text-align: left;
}

.presentationImg {
    height: 200px;
    margin-left: auto;
    margin-right: auto;
}

.presentation p {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 5px;
    margin: 5px;

    margin-bottom: 15px;
}

.presentation p:first-letter {
    text-transform: uppercase;
    font-size: 25px;
    font-weight: bold;
}

/*
    Trying input new style
*/

input, button {
    background: transparent;
    width: 200px;
    padding: 1em;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5000px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);

    display: block;
    margin: 4px;
    margin-left: auto !important;
    margin-right: auto !important;
}

button, input[type="submit"] {
    background-color: rgba(84,175,255, 0.5) !important;
    text-shadow: rgba(255,255,255,0.5) 0px 0px 1px;
    box-shadow: white 0px 0px 2px;
}

input:hover, button:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 4px 4px 60px 8px rgba(0, 0, 0, 0.2);
}

input[type="email"]:focus,
input[type="password"]:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 4px 4px 60px 8px rgba(0, 0, 0, 0.2);
}

/*
 *
*/

.banner {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

/* Push ADS closing */
div[id^='close-'] {
    background-color: black;
    border-radius: 20px;
    padding: 5px;
    text-shadow: red 0 0 3px;
}

iframe { /* TODO: on HTML element */
    overscroll-behavior: none;
}

.androidInstallApp{
    display: none;
    width: 100vw;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;

    z-index: 3000;
}

.androidInstallApp img{
    width: fit-content;
    margin-left:auto;
    margin-right:auto;
    width: 100vw;
}

.jconfirm .jconfirm-holder {
    text-align: center;
}

/*
    Extractions story
*/
 .extraction .exTitle {
     font-weight: bold;
     font-size: 22px;

     text-shadow: 0px 0px 1px #ffffff;
 }

 table.stats {
     margin-left: auto;
     margin-right: auto;
 }

 .stats td {
     padding: 5px;
 }

 .stats td.left {
     text-align: right;
     font-weight: bold;
 }

 .stats td.right {
     text-align: left;
 }