body {
    padding: 0;
    margin: 0;
    background: linear-gradient(to right, rgb(162, 93, 231), rgb(79, 197, 183));
    font-family: Arial, Helvetica, sans-serif;
}

.header {
    height: 60px;
    background-color: rgba(0, 0, 0, 0.25);
    position: relative;
}

.header .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.header .logo a {
    text-decoration: none;
}

.header .logo img {
    width: 140px;
}

.header .user-icon {
    position: absolute;
    width: 4%;
    aspect-ratio: 1;
    top: 10%;
    right: 1%;
}

.header .header-items-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
}

.header .header-items {
    width: 110px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.90rem;
}

.header a.header-items {
    color: white;
    text-decoration: none;
}

.header .header-items.small-screen {
    display: none;
}
.header .header-items.large-screen {
    display: flex;
}

.language-header-div {
    position: relative;
    cursor: pointer;
}

.language-header-div .flag-for-language {
    width: 20px;
    aspect-ratio: 1;
    position: absolute;
    left: 5px;
    border-radius: 50%;
    border: 2px solid white;
    box-sizing: border-box;
}

.language-header-div .language-header-text {
    margin-left: 20px;
}

.header-below {
    margin-top: 10px;
}

.play-now-main-div {
    width: 90%;
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
    height: 365px;
    overflow: auto;
}

.play-now-div {
    width: 100%;
    height: 80px;
    margin-top: 10px;
    display: flex;
    border-radius: 0 50px 50px 0;
    overflow: hidden;
}

.ticket-stub {
    height: 100%;
}

.bingo-pic {
    height: 100%;
    width: 90px;
    text-align: center;
    background-image: url('../assets/bingo_cards/card_bg.png');
    background-repeat: repeat-x;
}

.bingo-pic img {
    height: 100%;
}

.bingo-mid-section {
    flex-grow: 3;
    display: flex;
    /* background-color: antiquewhite; */
    background-color: #FFFFFF;
}

.bingo-name-div {
    height: 100%;
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
}

.bingo-name, .bingo-number {
    color: rgb(209, 33, 33);
    font-weight: 600;
    font-size: 0.90rem;
    text-align: center;
}

.start-time-text {
    font-weight: 600;
    font-size: 0.70rem;
    margin-top: 5px;
    text-align: center;
}

.bingo-stats-div {
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
}

.time-until-start, .players-waiting {
    text-align: center;
}

.time-until-start {
    color: rgb(0, 145, 255);
    font-weight: 600;
    font-size: 0.70rem;
}

.players-waiting {
    color: rgb(5, 80, 138);
    font-weight: 600;
    font-size: 0.70rem;
    margin-top: 5px;
}

.bingo-play-now-div {
    height: 100%;
    width: 120px;
    background: linear-gradient(to right, rgb(162, 93, 231), rgb(243, 153, 9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.75rem;
}

.play-now-text-div {
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    background-color: rgb(162, 93, 231);
    width: 90%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.play-now-text-div a {
    color: #FFFFFF;
    text-decoration: none;
}

.leaderboard {
    width: 90%;
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 15px;
}

.leaderboard .heading {
    font-size: 1.25rem;
}

.leaderboard .leaders {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.leaderboard .leaders .leader {
    width: 45%;
    height: 30px;
    display: flex;
    margin-top: 10px;
}

.leaderboard .leaders .leader .rank {
    width: 20px;
    background: linear-gradient(to right, gold, orange);
    clip-path: circle();
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(184, 16, 16);
    font-size: 0.60rem;
    font-weight: 600;
}

.leaderboard .leaders .leader .info-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, red, orange);
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
}

.leaderboard .leaders .leader .info-container .flag {
    width: 30px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid white;
    box-sizing: border-box;
    margin-left: 1px;
}

.leaderboard .leaders .leader .info-container .name {
    width: calc(100% - 30px - 30px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.70rem;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    white-space: nowrap;
    overflow: hidden;
}

.leaderboard .leaders .leader .info-container .points {
    width: 30px;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #000000;
    font-size: 0.50rem;
    font-weight: 600;
    margin-right: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box-container {
    width: 90%;
    max-width: 400px;
    margin: auto;
}

.profile-box-container {
    width: 90%;
    max-width: 500px;
    margin: auto;
}

.boxed-input-section {    
    padding: 15px;
    border-radius: 15px;
    border-color: #FFFFFF;
    border-width: 1px;
    border-style: solid;
}

.input-field {

}

.input-field.bottom {
    margin-top: 10px;
}

.input-field .input-label {
    color: #FFFFFF;
    font-size: 0.95rem;
}

.input-field .input {
    margin-top: 5px;
}

.input-field .input input,
.input-field .input select,
.input-field .input textarea {
    color: #676767;
    font-size: 0.90rem;
} 

.form-error-message {
    color: #ff0000;
    font-size: 0.90rem;
    margin-bottom: 10px;
}

.form-success-message {
    color: #d2ef0f;
    font-size: 0.90rem;
    margin-bottom: 10px;
}

.landing-splash-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.40);
}

.landing-splash {
    background: rgb(255,100,26);
    background: linear-gradient(270deg, rgba(255,100,26,1) 0%, rgba(58,210,117,1) 100%);
    width: 80%;
    max-width: 400px;
    margin: auto;
    margin-top: 20px;
    max-height: calc(100% - 40px);
    overflow-y: auto;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}

.landing-splash .splash-close {
    font-size: 2rem;
    color: #FFFFFF;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 5px;
}

.landing-splash .splash-heading {
    color: #ba1307;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
}

.landing-splash .splash-text {
    color: #FFFFFF;
    margin-top: 8px;
    font-size: 0.90rem;
    font-weight: 400;
    text-align: center;
}

.back-home-button {
    text-align: center;
    margin-top: 20px;
}

.back-home-button a {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 400;
}

@media(max-width: 800px){
    .header {
        height: 45px;
        position: relative;
    }

    .header .header-items {
        font-size: 0.60rem;
        width: 80px;
    }

    .header .header-items.large-screen {
        display: none;
    }
    .header .header-items.small-screen {
        display: flex;
    }

    .header .header-items.language-header-div {
        width: 37px;
    }
    
    .language-header-div .language-header-text {
        display: none;
    }

    .play-now-main-div {
        width: 97%;
    }

    .bingo-name-div {
        width: 40%;
    }

    .bingo-stats-div {
        width: 60%;
    }

    .bingo-name, .bingo-number {
        font-size: 0.70rem;
    }

    .start-time-text {
        font-size: 0.60rem;
    }

    .time-until-start {
        font-size: 0.70rem;
    }

    .players-waiting {
        font-size: 0.60rem;
    }

    .leaderboard {
        width: 97%;
    }

    .leaderboard .leaders .leader {
        width: 95%;
    }
}