*{
    margin: 0;
    padding: 0;
}

/*Custome ScroolBar*/
::-webkit-scrollbar {
    width: 4px;
  }
  
  /* Track */
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ff0000, #fff000);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #a89700;
  }
  
  /* End Here */

body{
    background: url(../images/pattanilottery-bg.webp) fixed;
    background-size: 100% 100%;
    color: white;
}

.container-body{
    margin: 0px 250px;
    background: #6b6400;
    border-left: 6px double black;
    border-right: 6px double black;
    box-shadow: 0px 0px 10px 2px black;
}

.header-container-all{
    padding: 20px;
}

.header-container{
    background: linear-gradient(to bottom, #a79b00, #fff000);
    box-shadow: 0px 3px 7px 3px rgb(0, 0, 0);
}

.header-container .header{
    text-align: center;
}

.header .logo{
    width: 500px;
    height: 250px;
}

.header-container .navbar{
    padding: 10px 0px;
    background: #6b6400;
    text-align: center;
}
.navbar .btn-area{
    margin: 5px 0px;
}

.btn-area a{
    text-decoration: none;
    font-weight: bolder;
}

.header-container .date-container{
    text-align: center;
    color: black;
    font-weight: bolder;
    font-size: 20px;
    padding: 10px 0px;
    border-top: 4px double black;
}

.btn{
    padding: 10px 0px;
    background: linear-gradient(to bottom, #fff000, #a79b00);
    border-top: 1px solid black;
    border-bottom: 1px solid white;
    color: black;
    font-weight: bolder;
}

.btn:hover {
    background: #6b6400;
    color: white;
}
.full{
    width: 100%;
}

.marquee-container{
    padding: 10px 0px;
    background: linear-gradient(to bottom, #00000060, #000000);
}

.container-first{
    text-align: center;
    margin: 0px 100px;
    padding: 10px 0px;
}

.container-first .header-first{
    font-weight: bolder;
    font-size: 28px;
    margin: 5px 0px;
    padding: 10px 0px;
    border-bottom: 4px dotted white;
}

.container-first .table-container{
    background: #a79b00;
    padding: 10px;
    box-shadow: 0px 4px 6px black;
}

.table-container .box{
    background: linear-gradient(to bottom, #a79b00, #fff000);
    border: 2px dotted black;
    color: black;
    font-weight: bolder;
}

.table-container .box .header-box{
    font-size: 22px;
    padding: 5px 0px;
}

.table-container .box .timer-container{
    padding: 5px 0px;
    font-size: 18px;
    border-top: 2px dotted black;
}

.table-container .box .results{
    border-top: 4px double black;
    padding: 20px 0px;
    text-wrap: nowrap;
}

.second {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    text-wrap: nowrap;
}

.second tr td{
    padding: 20px 0px;
    border: 2px dotted black;
}

.bola{
    padding: 15px 20px;
    background: linear-gradient(to bottom, #ff0000, #fff000);
    border: 1px solid black;
    border-radius: 50%;
    font-size: 20px;
}

/* CSS Carousel */
.slider{
    border-radius: 10px;
    overflow: hidden;
}

.slides{
    width: 500%;
    display: flex;
    text-align: center;
}

.slides input{
    display: none;
}

.slide{
    width: 20%;
    transition: 2s;
}

/* CSS for manual carousel */

.center{
    text-align: center;
}

.navigation-manual{
    position: absolute;
    display: flex;
    margin-top: -2.32%;
    margin-left: 31%;
    text-align: center;
    justify-content: center;
}

.banner{
    width: 99%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
}

.manual-btn{
    border: 2px solid #82ff93;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
    display: none;
}

.manual-btn:not(:last-child){
    margin-right: 40px;
}

.manual-btn:hover{
    background: #82ff93;
}

#radio1:checked ~ .first{
    margin-left: 0;
}

#radio2:checked ~ .first{
    margin-left: -20%;
}
#radio3:checked ~ .first{
    margin-left: -40%;
}


/* CSS Navigation auto */

.navigation-auto{
    position: absolute;
    display: flex;
    justify-content: center;
    margin-top: 35%;
    margin-left: 31%;
    display: none;
}

.navigation-auto div{
    border: 2px solid #82ff93;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}

.navigation-auto div:not(:last-child){
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
    background: #82ff93;
}
#radio2:checked ~ .navigation-auto .auto-btn2{
    background: #82ff93;
}
#radio3:checked ~ .navigation-auto .auto-btn2{
    background: #82ff93;
}

.container-article{
    margin: 10px 100px 0px 100px;
    border: 2px dotted black;
    background: linear-gradient(to bottom, #fff000, #a89700);
    color: black;
    box-shadow: 0px 3px 6px black;
}

.article{
    padding: 10px;
    margin: 10px;
}

.article h1{
    text-align: center;
}

.article p{
    text-align: justify;
    margin: 12px 0px;
}

.header-table{
    padding: 10px 0px;
    background: linear-gradient(to bottom, #ff0000, #fff000);
}

.tabs{
    max-height: 500px;
    overflow: auto;
}

.history{
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 2px dotted black;
}

.history thead th{
    padding: 10px 0px;
    background: #fff000;
    color: black;
    font-weight: bolder;
    font-size: 16px;
    position: sticky;
    top: 0;
}

.history tr td{
    padding: 8px 0px;
    border: 2px dotted black;
}

.history tr td:nth-child(even){
    background: #fff000;
    color: black;
}

.copyright{
    color: white;
    font-weight: bolder;
    font-size: 16px;
    text-align: center;
    padding: 20px 0px;
}

@media screen and (max-width:1040px) {
    .container-body{
        margin: 0px 10px;
    }

    .container-first{
        margin: 10px 10px;
    }

    .container-article{
        margin: 10px;
    }
}

@media screen and (max-width:520px) {
    .header .logo{
        width: 250px;
        height: 130px;
    }
}

@media screen and (max-width:390px) {
    .bola{
        padding: 8px 13px;
    }
}