* {
  margin: 0;
  padding: 0;
}

/* width */
::-webkit-scrollbar {
  width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

body {
  background: url(../images/cincinnatilottery-bg2.webp) fixed;
  background-size: 100% 100%;
  color: black;
}

.container-header {
  width: 100%;
  background: linear-gradient(to bottom, rgb(153, 0, 255), rgb(255, 217, 0));
  box-shadow: 0px 3px 6px black;
}

.container-header .header {
  text-align: center;
}

.logo {
  width: 300px;
  height: 120px;
}

.container-header .header .header-navbar {
  padding: 20px;
  border-top: 8px double black;
}

.header-navbar .container-navbar {
  border: 4px double black;
  box-shadow: 0px 0px 10px 3px black;
}

.flex {
  display: flex;
}

.btn-container {
  width: 100%;
}

.btn-container a {
  text-decoration: none;
  color: black;
  font-weight: bolder;
}

.btn {
  padding: 10px 0px;
  background: linear-gradient(to bottom, rgb(248, 195, 80), gold);
  border: 2px solid black;
  transition: 0.3s;
}

.btn:hover {
  background: rgb(255, 228, 78);
}

.container-body {
  margin: 10px 300px;
  padding: 10px;
  background: gold;
  border: 6px double black;
  box-shadow: 0px 0px 10px 3px black;
}

.container-banner {
  margin: 10px 0px;
}

/* 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: 100%;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 5px;
  box-shadow: 0px 8px 12px rgb(0, 0, 0);
}

.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;
}

.container-table {
  background: linear-gradient(to bottom, gold, rgb(80, 0, 112));
  border-left: 4px double white;
  border-right: 4px double white;
  border-bottom: 4px double white;
  margin: 10px 0px;
  box-shadow: 0px 0px 10px 3px black;
}

.box {
  text-align: center;
  font-weight: bolder;
}

.box .box-header {
  padding: 10px 0px;
  color: white;
  font-size: 22px;
  border-top: 4px double white;
}

.box .date {
  padding: 10px 0px;
  color: white;
  border-top: 4px double rgb(255, 255, 255);
  font-size: 22px;
}

.box .timer {
  color: white;
  padding: 10px 0px;
  font-size: 22px;
}

.result {
  padding: 25px 0px;
  border-top: 4px double rgb(255, 255, 255);
}

.ball {
  padding: 15px 22px;
  background: radial-gradient(white, orange);
  border-radius: 50%;
  font-weight: bolder;
  font-size: 22px;
  box-shadow: 0px 6px 12px black;
}

.anim {
  animation: beat 1s alternate infinite;
}

.table-header {
  padding: 10px 0px;
  color: white;
  font-weight: bolder;
  font-size: 22px;
  background: linear-gradient(to bottom, yellow, rgb(255, 0, 0));
  text-align: center;
}

.tabs {
  max-height: 500px;
  overflow: auto;
}

.history {
  width: 100%;
  color: white;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: center;
}

.history thead th {
  padding: 10px 0px;
  font-size: 19px;
  font-weight: bolder;
  background: linear-gradient(to bottom, rgb(252, 236, 148), gold);
  border: 1px solid black;
  color: black;
  top: 0;
  position: sticky;
}

.history td {
  padding: 8px 0px;
  border: 1px solid black;
}

.history tr:nth-child(even) {
  background: gold;
  color: black;
}
.history tr:nth-child(odd) {
  background: rgb(255, 238, 142);
  color: black;
}

.container-article {
  border-top: 4px double white;
  padding: 20px;
  box-shadow: 0px 0px 5px 1px black inset;
  background: rgb(255, 238, 145);
}

.container-article .article {
  background: linear-gradient(to bottom, rgb(255, 240, 153), gold);
  padding: 10px;
  border: 3px solid black;
  box-shadow: 0px 0px 10px 3px black;
  text-align: justify;
}

.article h1 {
  text-align: center;
}

.article p {
  margin: 12px 0px;
}

.copyright {
  text-align: center;
  padding: 10px 0px;
  font-size: 20px;
  color: rgb(0, 0, 0);
  background: gold;
  font-weight: bolder;
  box-shadow: 0px -3px 6px black;
}

@keyframes beat {
  to {
    padding: 20px 27px;
  }
}

@media screen and (max-width: 1100px) {
  .container-body {
    margin: 0px 100px;
  }
}

@media screen and (max-width: 700px) {
  .container-body {
    margin: 0px 10px;
  }
}
