h1{
    font-size: 2em;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 0;
    margin-top: 0;
}

  /* Page scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: rgba(18, 18, 18, 0.95);
    border-radius: 50px;
  }
  ::-webkit-scrollbar-thumb {
    background: #BFA14A;
    border-radius: 50px;
  }

  *{
    font-family: 'Asul', 'Franklin Gothic Medium', serif;
    font-weight: 700;
  }


.cormorant-upright-bold {
    font-family: "Cormorant Upright", serif;
    font-weight: 700;
    font-style: normal;
  }
 


.images{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20;
    padding-top: 90px;
}

#advert1{
    z-index: 50;
    background-color: black;
    width: 300px;
    height: 250px;
    margin-left: 80px;
    margin-top: 80px;
    margin-right: 50px;
    align-items: left;
    justify-content: left;
    display: inline-block;
    position: static !important;
    border-radius: 20px;
  }

.image{
    z-index: 50;
    flex-shrink: 0;
    width: 80%;
    height: 350px;
    right: 0;
   
    margin-top: 0;
    border: none;
    border-radius: 20px;
    object-fit: cover;
    flex-basis: 150px;
    display: block;
    border: none;
    box-shadow: 0 0 0 2px #ccc;
}



.picture{
    position: static !important;
}

a{
    text-decoration: none;
}



header{
    margin-top: 0;
    padding-top: 0;
}

html{
    margin-top: 0;
    margin-left: 0;
    padding-top: 0;
    background-color: #f2f0e6;
    overflow-x: hidden;
    overflow-y: scroll;
}

body{
    margin-top: 0;
    padding-top: 0;
    margin-left: 0;
    margin: 0;
}

div{
    margin-left: 0;
}

ul{
    margin-left: 0;
    padding-left: 0;
}

ol{
    margin-left: 0;
    padding-left: 0;
    margin-top: 0;
    padding-top: 0;
}

h2{
    margin-left: 0;
    padding-left: 0;
}

article{
    padding: 0;
    margin: 0;
}

div>p{
    margin-left: 0;
    padding-left: 0;
}

figure{
    margin-top: 0;
    padding-top: 0;
    margin: 0;
    padding: 0;
}


img{
    margin-top: 0;
}

article{
    margin-top: 0;
    padding-top: 0;
}

.checked, .fa-star-half-full{
    color: gold;
}

br{
    padding: 0;
    margin: 0;
}

ol{
    padding-left: 20px;
}


.bruno-ace-sc-regular {
    font-family: "Bruno Ace SC", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

.mode{
    font-family: "Bruno Ace SC", sans-serif;
    font-weight: bold;
}

.asul-bold {
    font-family: "Asul", serif;
    font-weight: 700;
    font-style: normal;
  }
  
h3{
    text-align: center;
}


.privacy{
    margin-top: 70px;
    padding-left: 30px;
    padding-bottom: 50px;
    padding-right: 100px;
}

#link{
    display: inline;
    text-decoration: none;
    color: white;
}

body {
    background: #f2f0e6;
}
.app {
    background: #fff;
    width: 90%;
    max-width: 600px;
    margin: 0px auto 0px;
    border-radius: 10px;
    padding: 30px;
    padding-top: 50px;
    margin-bottom: 0;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.app h1 {
    font-size: 25px;
    color: rgb(128,0,0);
    font-weight: 600;
    border-bottom: 3px solid gold;
    padding-bottom: 30px;
    padding-top: 30px;
    margin-bottom: 0;
    text-align: center;
    font-family: "Bruno Ace SC", sans-serif;
    
}

.quiz {
    padding: 20px 0;
    display: block;
    font-family: 'Asul', 'Franklin Gothic Medium', serif;
    font-weight: bold;
}

.quiz h2 {
    font-size: 18px;
    color: rgb(128,0,0);
    font-weight: 600;
}

.btn {
    background: #fff;
    color: #222;
    font-weight: 500;
    width: 100%;
    border: 1px solid #222;
    padding: 10px;
    margin: 10px 0;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.btn:hover:not([disabled]){
    background: gold;
    color: #fff;
}

.btn:disabled{
    cursor: default;
}

.modal{
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 50000000;
}
.modal-content{
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    z-index: 5000000;
}

.leaderboard{
    display: none; /* Hidden until quiz ends */
    text-align: center;
    z-index: 100;
    height: 300px;
    overflow-y: auto;
}
.leaderboard ul{
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.app .leaderboard {
    display: none;  /* Hidden initially */
    text-align: center;
}

/* Show the leaderboard at the end of the game */
.app .leaderboard.show {
    display: block;
}

/* When game ends, show the leaderboard */
.app.game-ended .leaderboard {
    display: block;
}
.app:not(.game-ended) .leaderboard {
    display: none !important;
}

.leaderboard ul li {
    margin-bottom: 10px; /* Adjust this value to control the vertical spacing between entries */
}

.leaderboard ul li span.name {
    margin-right: 30px; /* Adjust this to control the space between the name and score */
}


.leaderboard-heading{
    font-family: "Bruno Ace SC", sans-serif;
    border-bottom: 3px solid gold;
    color: rgb(128, 0, 0);
}

.leaderboard .name{
    display: inline-block;
    flex: 1;

}

.leaderboard .score{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 20;
}

.score{
    float: right !important;
}

.leaderboard .header .score{
    display: block;
    float: right;
    padding-right: 20px;
    right: 20;
    margin-left: 30px;
}

.leaderboard .li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
}

.leaderboard li.header{
    display: flex;
    justify-content: space-between;
    gap: 70px;

}

.leaderboard li{
    gap: 70px;
    display: flex;
}

.submit-name-btn {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

/* Centering name input and submit button */
.name-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.name-container button {
    margin-left: 10px;
}

.input-field {
    padding: 10px;
    font-size: 16px;
    width: 250px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#next-btn{
    background: rgb(128,0,0);
    color: #fff;
    font-weight: 500;
    width: 150px;
    border: 0;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

.correct{
    background: green;
    box-shadow: 0 5px 20px 5px rgba(50, 167, 51, 0.8);
}

.incorrect{
    background: red;
    box-shadow: 0 5px 20px 5px rgba(190, 26, 26, 0.8);
}