*{
    margin: 0;
    padding: 0;
}

/*Custome ScroolBar*/
::-webkit-scrollbar {
    width: 4px;
  }
  
  /* Track */
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #fdc04f;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #b64900;
  }
  
  /* End Here */

body{
    background: url(../images/bernpools-bg.webp) fixed;
    background-size: 100% 100%;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.header-container{
    width: 100%;
    background: linear-gradient(to bottom, #ff0000, #ff5e00);
}

.flex-header{
    display: flex;
}

.flex-header .header, .flex-header .date-container{
    width: 100%;
}

.header{
    padding-left: 20px;
    text-align: left;
}

.logo{
    width: 340px;
    height: 90px;
}

.date-container, .navbar-header{
    text-align: right;
}

.date-area{
    padding: 10px 5px 10px 0px;
    font-weight: bolder;
}

.line{
    border: 2px solid white;
    border-radius: 10px;
}

.navbar-header{
    padding: 10px 0px;
    font-weight: bolder;
}

.navbar-header a{
    text-decoration: none;
    color: white;
    font-weight: bolder;
    margin: 0px 5px;
}

.body-container{

    margin: 10px 0px;
    padding: 20px 20%;
    text-align: center;
}

.box-container{
    background: radial-gradient(circle, #000000, #ff0000);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 10px black;
}

.marginbtm{
    margin-bottom: 20px;
}

.box-area{
    border: 2px solid white;
    padding: 20px;
    border-radius: 20px;
}

.box-title{
    padding: 15px;
}

.box-title span{
    padding: 10px;
    border: #ffffff 2px solid;
    background: rgb(0, 0, 0);
    border-radius: 30px;
    font-weight: bolder;
}

.countdown-content{
    margin: 20px 0px 0px 0px;
}

.countdown-content .countdown{
    font-weight: bolder;
    font-size: 45px;
}

.now{
    padding: 15px 0px;
    font-weight: bolder;
}

.result{
    font-weight: bolder;
}

.table-result-now{
    width: 100%;
}

.table-result-now tr td{
    text-align: center;
    padding: 20px 0px;
}

.bola{
    padding: 15px 30px;
    background: linear-gradient(to bottom, #ff0000, #ff5e00);
    border-radius: 50%;
    box-shadow: 0px 0px 10px 2px white;
    font-weight: bolder;
    font-size: 40px;
    border: 1px;
}
.bola2{
    float: left;
    padding: 5px 20px;
    background: linear-gradient(to bottom, #ff4800, orange);
    border-radius: 50%;
    box-shadow: 0px 0px 10px 2px rgb(0, 0, 0);
    font-weight: bolder;
    font-size: 40px;
    border: 1px;
    margin: 0px 5px;
}
.footer-container{
    margin: 20px 0px;
    padding: 0px 20%;
    text-align: center;
}

.today-results{
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    font-weight: bolder;
    border: 2px solid white;
    box-shadow: 0px 0px 10px 2px black;
}

.besar{
    font-size: 26px;
}

.today-results tr td{
    padding: 10px 0px;
}

.today-results tr:nth-child(odd){
    background: #ff0000;
}

.today-results tr:nth-child(even){
    background: #8f0000;
}

.banner{
    margin: 10px 0px;
    width: 100%;
    border: 2px solid white;
}

.tabs{
    overflow: auto;
    max-height: 700px;
}

.history-title{
    font-size: 36px;
    font-weight: bolder;
    text-decoration: underline;
}

.history-results{
    width: 100%;
    border-spacing: 0;
}

.history-results th{
    background: linear-gradient(to bottom, #ff0000,  #ff5e00);
    padding: 15px 0px;
    position: sticky;
    top: 0;
}

.history-results td{
    padding: 10px 0px;
    border: 1px solid #b90000;
}

.history-results tr:nth-child(odd){
    background: #ff0000;
}

.history-results tr:nth-child(even){
    background: #8f0000;
}

.container-article{
    background: linear-gradient(to bottom, #ff0000, #ff5e00);
}

.container-article .article{
    padding: 10px;
}

.container-article p{
    margin: 10px 0px;
    text-align: justify;
}

.copyright{
    background: linear-gradient(to bottom, #ff0000, #ff5e00);
    text-align: center;
    padding: 10px 0px;
}

@media screen and (max-width:1050px) {
    .body-container{
        padding: 0px 10px;
    }
    .footer-container{
        margin: 20px 0px;
        padding: 0px 10px;
    }
}

@media screen and (max-width:630px) {
    body{
        background: url(../images/bernpools-bg-mobi.webp) fixed;
        background-size: 100% 100%;
    }
    .bola{
        font-size: 30px;
        padding: 8px 18px;
    }

    .bola2{
        font-size: 30px;
        padding: 1px 12px;
    }
}

@media screen and (max-width:510px) {
    .header{
        padding: 0;
    }
    .logo{
        width: 220px;
        height: 80px;
    }
    .date-area{
        font-size: 12px;
    }
    .navbar-header{
        font-size: 12px;
    }
}
@media screen and (max-width:500px) {
    .besar{
        font-size: 20px;
    }
    .bola2{
        font-size: 20px;
        padding: 3px 12px;
    }
}
@media screen and (max-width:445px) {
    .countdown-content .countdown{
        font-size: 30px;
    }
    
}
@media screen and (max-width:430px) {
    .bola{
        font-size: 22px;
    }
    .besar{
        font-size: 14px;
    }
    .bola2{
        font-size: 14px;
        padding: 5px 12px;
    }
}

@media screen and (max-width:400px) {
    .bola{
        font-size: 14px;
        padding: 8px 15px;
    }
    .bola2{
        font-size: 12px;
        padding: 5px 10px;
    }
    .besar{
        font-size: 12px;
    }
    .countdown-content .countdown{
        font-size: 18px;
    }
}