body {
  background: #fbe085;
  font-family: 'Arial', sans-serif;
}

.header {
  background-color: #1E90FF; /* Bright blue background */
  padding: 6px 0;
}

.logo {
  width: 50px; /* Adjust logo size */
}

.site-title {
  color: #000000;
  font-size: 2rem;
  font-weight: bold;
  margin: 10px 0;
}

.nav-links {
  margin-top: 20px;
}

.nav-links .btn {
  border: 1px solid white;
  color: white;
  font-weight: bold;
  margin: 0 10px;
  border-radius: 20px;
  padding: 5px 15px;
  text-transform: uppercase;
      font-weight: 500;
}

.nav-links .btn:hover {
  background-color: white;
  color: #1E90FF;
  transition: 0.3s;
}


.next-draw {
  margin-top: 50px;
}

.next-draw h2 {
font-size: 22px;
    margin: 0 !important;
    font-weight: 700;
}

.countdown-timer {
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin: 20px auto;
}

.timer-box {
  background-color: #d6324a;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2rem;
}

.results .scroll-container {
  margin-top: 20px;
}

.parchment-scroll {
background-image: url(https://testcode.site/lottery_win/assets/royal_bg.png);
    background-size: cover;
     background-position: center; 
    padding: 70px 0;
    border-radius: 10px;
    width: 100%;
    margin: 20px auto;
    text-align: center;
    height: 100%;
}

.results .prize-amount {
    color: green;
    font-size: 20px;
    margin: 0;
}

.results .result-number {
  font-weight: bold;
}

.view-result {
  display: block;
  margin-top: 10px;
  color: #0066cc;
  text-decoration: underline;
}

.next-draw {
    background-color: #001f3f;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 14px !important;
    padding: 1px 9px !important;
    margin: 11px 0 0 0 !important;
}

.next-draw-title {
  font-size: 3rem; /* Bigger font size */
  color: white;
}

.countdown-timer .timer-box {
    background-color: #d6324a;
    color: white;
    padding: 0px 10px;
    border-radius: 10px;
    text-align: center;
    margin: 0 10px;
    font-size: 10px;}

.timer-number {
  font-size: 1.5rem;
}
.number-box {
background-color: white;
    color: black;
    padding: 10px;
    border: 2px solid red;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    margin: 2px;
    width: 25px;
    height: 29px;
    text-align: center;
    line-height: 11px;    
    
}

.result-number {
  display: flex;
  justify-content: center; /* Center the number boxes */
}

h3 {
  font-weight: bold; /* Makes the h3 bold */
}

p {
  font-weight: bold; /* Makes all paragraph text bold */
}
.h4, h4 {
    font-size: 1.5rem;
    font-weight: 600;
}
.text_title{
    font-size: 25px;
    margin: 0;

}
.hr_mobile{
    
}
.parchment {
    width: 100%;
}
.parchment-scrolls {
    position: relative;
}
.newresults {
    position: absolute;
    top: 167px;
    left: 341px;
    overflow-y: scroll;
    width: 57%;
    
    
}

.results {
    margin-top: 10px !important;
}

.title1{
font-size: 24px;
    font-weight: 900;
    margin: 7px 0;
}
.date{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
}
.drow_no{
    
    
}

.newresultss {
position: absolute;
    top: 146px;
    left: 342px;
    height: 332px;
    overflow-y: scroll;
    width: 54%;
}



@media only screen and (min-width: 1366px) and (max-width: 1366px) and (min-height: 768px) and (max-height: 768px) {

.newresults {
    position: absolute;
    top: 167px;
    left: 341px;
    height: 470px;
    overflow-y: scroll;
    width: 57%;
    
    
}



                     
}


@media only screen and (min-width: 320px) and (max-width: 480px) {
    /* Styles for small mobile devices */
.newresults {
        position: absolute;
        top: 62px;
        left: 58px;
        height: 332px;
        overflow-y: scroll;
        width: 288px;    
    
}

.text_title {
    font-size: 19px;
    margin: 0;
}


.newresultss {
        position: absolute;
        top: 62px;
        left: 0px;
        height: 321px;
        overflow-y: scroll;
        width: 340px;    
}


.newcard {
    width: 70%;
    margin-left: 90px;
}

.number-box {
    background-color: white;
    color: black;
    padding: 10px;
    border: 2px solid red;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    margin: 0px 1px;
    width: 25px;
    height: 29px;
    text-align: center;
    line-height: 11px;
    padding: 9px 0;
}

.results .result-number {
    font-weight: bold;
    margin-right: 14px;
}


}


@media only screen and (min-width: 480px) and (max-width: 768px) {
    
.newresults {
        position: absolute;
        top: 87px;
        left: 151px;
        height: 450px;
        overflow-y: scroll;
        width: 288px;
    
}

.text_title {
    font-size: 19px;
    margin: 0;
}
.number-box {
    background-color: white;
    color: black;
    padding: 10px;
    border: 2px solid red;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    margin: 4px;
    width: 25px;
    height: 29px;
    text-align: center;
    line-height: 11px;
}
    
.item {
    margin-bottom: 30px;
    margin-top: 20px;
}
.newresultss {
        position: absolute;
        top: 62px;
        left: 0px;
        height: 332px;
        overflow-y: scroll;
        width: 340px;    
}

    .newresultss {
        position: absolute;
        top: 40px;
        left: 138px;
        height: auto;
        overflow-y: scroll;
        width: 340px;
        
        
    }
    
}


.card.newcard {
    background: #5d0203;
    color: #ffffff;
}
.newcard-body {
    background: #70090a;
}
.newcard-body ul li{
        background: #780709;
}


@media only screen and (min-width: 220px) and (max-width: 370px) {
        
.newresults {
position: absolute;
        top: 47px;
        left: 39px;
        height: 289px;
        overflow-y: scroll;
        width: 270px;    
}

.text_title {
        font-size: 14px;
        margin: 0;
    }
    .results .prize-amount {
    color: green;
    font-size: 15px;
    margin: 0;
}
    .number-box {
        background-color: white;
        color: black;
        padding: 10px;
        border: 2px solid red;
        border-radius: 5px;
        font-size: 15px;
        font-weight: bold;
        display: inline-block;
        margin: 0px 2px;
        width: 19px;
        height: 27px;
        text-align: center;
        line-height: 11px;
        padding: 9px 0;
    }

}