*{
    margin: 0;
    padding: 0;
}

body{
    background: rgb(202, 147, 156) fixed;
    color: white;
}

/*Custome ScroolBar*/
::-webkit-scrollbar {
    width: 4px;
  }
  
  /* Track */
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  
  /* End Here */


.sidebar{
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #9c4444, #682d2d);
    width: 300px;
    height: 100%;
    position: fixed;
    overflow: auto;
    box-shadow: 2px 0px 10px 2px black;
    z-index: 99;
}

.sidebar .header{
    text-align: center;
    padding: 10px 5px;
    border-bottom: 3px solid rgb(255, 255, 255);
}

.container-date{
    text-align: center;
    border-bottom: 2px solid #682d2d;
    box-shadow: 0px 3px 8px black;
    padding: 10px 0px;
}

.header .logo{
    width: 100%;
}

.btn-container{
    margin: 20px 0px;
    text-align: center;
}

.btn-area{
    margin: 20px 0px;
}

.btn-area a{
    text-decoration: none;
    color: white;
    font-weight: bolder;
    font-size: 28px;
}


.btn-area .btn{
    box-shadow: 0px 0px 0px 0px black;
    transition: .3s;
}

.btn-area .btn:hover{
    box-shadow: 0px 3px 10px black;
    padding: 5px 0px;
}

.container-body{
    margin-left: 300px;
}

.container-all-content{
    width: 100%;
    background: url(../images/chihuahualottery-bg.webp) fixed;
    background-size: 100% 100%;
}

.container-content{
    background-size: 100% 100%;
    padding: 10px;
}

.container-banner{
    margin: 0px 25%;
}

.container-table-now{
    padding: 30px 0px 10px 0px;
}

.table-today-container{
    margin: 0px 25%;
    text-align: center;
}

.box-container{
    background: linear-gradient(to bottom, #9c4444, #682d2d);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0px 0px 10px 2px black;
    margin-bottom: 20px;
}

.header-box{
    padding: 8px 0px;
    font-weight: bolder;
    font-size: 22px;
    border-bottom: 2px solid white;
}

.container-timer{
    font-size: 22px;
    font-weight: bolder;
    padding: 10px 0px;
}

.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: 2px solid yellow;
    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%;
}


/* 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;
}

.header-first-place{
    border-bottom: 2px solid white;
    padding: 10px 0px;
    font-size: 30px;
    font-weight: bolder;
}

.table-today{
    width: 100%;
    text-align: center;
}

.table-today tr td{
    padding: 15px 0px;
}

.bola{
    padding: 10px 18px;
    background: linear-gradient(to bottom, #ff0000, #000000);
    font-weight: bolder;
    font-size: 30px;
    border-radius: 50%;
    border: 1px solid white;
    box-shadow: 0px 0px 10px 3px white;
}

.footer-container{
    width: 100%;
    margin: 10px 0px;
}

.table-footer-container{
    margin: 0px 25%;
}

.table-second{
    width: 100%;
    font-weight: bolder;
    text-align: center;
    border-spacing: 0;
    box-shadow: 0px 0px 10px 3px black;
}

.table-second tr:nth-child(odd){
    background: #9c4444;
}

.table-second tr:nth-child(even){
    background: #682d2d;
}

.table-second tr td{
    padding: 20px 0px;
}

.label{
    font-size: 20px;
}

.footer-banner{
    margin: 20px -50% 10px -50%;
}

.banner-footer{
    width: 100%;
    border: 1px solid white;
    box-shadow: 0px 0px 10px 3px black;
    border-radius: 10px;
}

.copyright{
    padding: 20px 0px;
    text-align: center;
    font-weight: bolder;
}

.container-banner{
    margin: 20px 0px;
}

.history-header{
    text-align: center;
    font-size: 30px;
    font-weight: bolder;
}

.tabs{
    overflow: auto;
    max-height: 500px;
    text-align: center;
}

.history-table{
    width: 100%;
    border-spacing: 0;
}

.history-table thead th{
    position: sticky;
    top: 0;
}

.history-table th{
    background: linear-gradient(to bottom, #ff0000, #682d2d);
    padding: 10px 0px;
}

.history-table td{
    padding: 10px 0px;
}

.history-table tr:nth-child(even){
    background: #9c4444;
}

.history-table tr:nth-child(odd){
    background: #682d2d;
}

.fade{
    border: 2px solid white;
    animation: fadeaway .5s linear infinite;
}

.container-article{
    margin: 10px 10px;
    background: linear-gradient(to bottom, #9c4444, #682d2d);
    box-shadow: 0px 0px 10px 3px black;
    border-radius: 10px;
}

.article{
    padding: 10px;
    text-align: center;
}

.article p{
    margin: 15px ;
    text-align: justify;
}

@keyframes fadeaway{
    0%{
        border-color: red;
    }
    100%{
        border-color: white;
    }
}

@media screen and (max-width:1050px) {
    .sidebar{
        width: 150px;
    }
    .container-body{
        margin-left: 150px;
    }

    .container-banner{
        margin: 0px 15%;
    }

    .table-today-container{
        margin: 0px 15%;
    }

    .table-footer-container{
        margin: 0px 15%;
    }
    .footer-banner{
        margin: 20px 0px 10px 0px;
    }
    
}

@media screen and (max-width:700px) {
    .sidebar{
        width: 150px;
    }
    .container-body{
        margin-left: 150px;
    }

    .container-banner{
        margin: 0px 1%;
    }

    .table-today-container{
        margin: 0px 1%;
    }

    .table-footer-container{
        margin: 0px 1%;
    }
    .container-content{
        padding: 10px 0px;
    }
}

@media screen and (max-width:600px) {
    .sidebar{
        width: 100px;
    }

    .container-body{
        margin-left: 100px;
    }

    .btn-area a{
        font-size: 16px;
    }
}

@media screen and (max-width:550px) {
    .label{
        font-size: 18px;
    }
    .bola{
        font-size: 20px;
        padding: 10px 15px;
    }

    .container-table-now{
        padding: 4px 0px;
    }

    .container-content{
        padding: 10px 0px 0px 0px;
    }
}

@media screen and (max-width:460px) {
    .container-all-content{
        width: 100%;
        background: transparent;
    }
    .container-banner{
        margin: 20px 5px;
    }

    .table-today-container{
        margin: 0px;
    }

    .table-footer-container{
        margin: 0px;
    }
    .label{
        font-size: 12px;
    }
    .bola{
        font-size: 12px;
        padding: 10px 15px;
    }
    .header-box{
        font-size: 18px;
    }
    .container-timer{
        font-size: 18px;
    }
    .header-first-place{
        font-size: 18px;
    }
}

@media screen and (max-width:390px) {
    .sidebar{
        width: 80px;
    }
    .btn-area a{
        font-size: 10px;
    }
    .container-body{
        margin-left: 80px;
    }
    .label{
        font-size: 10px;
    }
    .bola{
        font-size: 10px;
        padding: 10px 12px;
    }
}