*{
    padding: 0;
    margin: 0;
}

/*Custome ScroolBar*/
::-webkit-scrollbar {
    width: 4px;
  }
  
  /* Track */
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  
  /* End Here */

body{
    background: url(../images/krabilottery-bg.webp) fixed;
    background-size: 100% 100%;
    overflow-x: hidden;
}
.container-header{
    width: 100%;
    background: linear-gradient(to bottom, #fffb00, #910000);
}
.header-flex{
    display: flex;
}

.logo-container{
    width: fit-content;
    padding-left: 10px;
}
.logo{
    width: 300px;
    height: 100px;
}

.navbar{
    width: 100%;
    text-align: right;
    padding: 30px 0px 0px 0px;
}

.navbar a{
    margin: 0px 10px;
    background: linear-gradient(to bottom, #fffd9b, #fffb00);
    padding: 10px 15px;
    font-weight: bolder;
    border: 1px solid black;
    border-radius: 20px;
    transition: .3s;
    text-decoration: none;
    color: black;
}

.navbar a:hover{
    background: #fffca9;
}

.container-body{
    margin: 10px 200px;
}


.table-container{
    width: 100%;
    margin: 10px 0px;
    border: 1px solid black;
}

.table-container .header-table{
    text-align: center;
    padding: 20px 0px;
    background: linear-gradient(#fffb00, #910000);
    color: white;
    font-weight: bolder;
    font-size: 22px;
}

.now{
    background: #c79800;
    text-align: center;
}

.flex{
    display: flex;
    text-align: center;
    font-weight: bolder;
}

.results{
    width: 100%;
    border: 1px solid black;
    border-collapse: collapse;
}

.results .results-header{
    font-size: 20px;
    padding: 10px 0px;
    background: linear-gradient(to bottom, #00aeff, #00608d);
    color: white;
    border-bottom: 1px solid black;
    box-shadow: 0px 2px 6px black;
}

.results .results-number{
    padding: 20px 0px;
    background: #00608d;
    text-wrap: nowrap;
}

.bola{
    background: linear-gradient(to bottom, #00ff15, #00910c);
    padding: 15px 20px;
    border-radius: 50%;
    border: 2px solid rgb(0, 0, 0);
    font-size: 18px;
    box-shadow: 0px 2px 6px black;
}

.container-second{
    width: 100%;
    margin: 10px 0px;
}

.second{
    text-wrap: nowrap;
    width: 100%;
    font-weight: bolder;
    font-size: 22px;
    border-spacing: 0;
    border-collapse: collapse;
    text-align: center;
}

.second td{
    padding: 20px 0px;
    border: 1px solid black;
}

.second tr:nth-child(even){
    background: #00608d;
    color: white;
}

.second tr:nth-child(odd){
    background: #00aeff;
}

.container-article{
    background: linear-gradient(to bottom, #81d7ff, #00b7ff);
    border: 1px solid black;
    box-shadow: 0px 0px 8px 2px black;
}
.container-article .article{
    padding: 10px;
}
.article h1,h2{
    text-align: center;
}

.article p{
    margin:12px 0px;
    text-align: justify;
}

.copyright{
    padding: 10px 0px;
    color: white;
    text-align: center;
    font-weight: bolder;
    font-size: 18px;
}

/* 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;
}
.date-container{
    text-align: center;
    padding: 10px 0px;
    background: #00608d;
    color: white;
    font-size: 18px;
    font-weight: bolder;
    box-shadow: 0px 3px 6px black;
}

.navbar-mobi{
    text-align: center;
    padding: 10px 0px;
    display: none;
}
.navbar-mobi .btn-area{
    margin: 10px 10px;
}

.btn-area a{
    color: black;
    text-decoration: none;
    font-weight: bolder;
}

.btn{
    background: linear-gradient(to bottom, #fffd9b, #fffb00);
    padding: 10px 0px;
    border: 1px solid black;
    box-shadow: 0px 0px 6px 1px black;
}

.container-footer{
    margin: 10px 0px;
}
.full{
    width: 100%;
}

.tabs{
    max-height: 600px;
    overflow: auto;
}

.history{
    width: 100%;
    text-align: center;
    border-spacing: 0;
    border-collapse: collapse;
    font-weight: bolder;
}

.history thead th{
    padding: 15px 0px;
    background: #c79800;
}

.history td{
    padding: 10px 0px;
}
.history tr:nth-child(even){
    background: #8f6d00;
    color: white;
}

.history tr:nth-child(odd){
    background: #ffc400;
}

.container-footer-banner{
    display: flex;
}

.pad{
    padding: 10px;
}

.anim{
    animation: blink .8s linear infinite;
}

@keyframes blink{
    0%{
        border-color: black;
    }
    100%{
        border-color: red;
    }
}

@media screen and (max-width:650px) {
    .header-flex{
        display: block;
    }

    .logo-container{
        text-align: center;
        width: 100%;
    }
    .navbar{
        display: none;
    }
    .navbar-mobi{
        display: block;
    }
    .container-body{
        margin: 10px 10px;
    }
}
@media screen and (max-width:470px) {
    body{
        background: url(../images/krabilottery-bg-mobi.webp) fixed;
        background-size: 100% 100%;
    }
    .container-body{
        margin: 10px 0px;
    }
    .bola{
        padding: 10px 15px;
    }
    .container-footer-banner{
        display: block;
    }
    .pad{
        padding: 0;
    }
}

@media screen and (max-width:370px) {
    .bola{
        padding: 8px 13px;
    }
}