/* CSS File */
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic&display=swap');

header {
    background-color:white;
    padding: 5px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
   font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 1.5rem;
}
        header ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            background-color: #333;
            overflow: hidden;
        }     

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-left: 10px;
    float: right;
}

.nav-list a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

 

/* Change color on hover */
.nav-list a:hover {
    background-color:  rgba(197, 182, 182, 0.966);
}
      
     
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 3px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-list {
        display: none; /* Hide the menu by default */
        flex-direction: column; /* Stack items vertically */
        width: 100%; /* Full width */
        position: absolute; /* Position it absolutely */
        top: 60px; /* Position below the navbar */
        left: 0;
        background-color: #333; /* Match navbar background */
    }

    .nav-list.active {
        display: flex; /* Show menu when active */
    }

    .menu-toggle {
        display: flex; /* Show toggle button */
    }
}


body {
  font-size: 16px; /* Base font size */
  float: center;
  font-family: "Noto Kufi Arabic", sans-serif;
  width: 90%;
  direction: rtl;
  padding: 10px;
  
  color: brown;
}

h1 {
    text-align: center;
    font-size: 1.5rem;
    color:crimson;
}

p {
    font-size: 1.2rem;
    }


.bordered_rect {
    border: 2px solid rgb(0, 8, 15); 
    padding: 10px; 
    border-radius: 8px; 
    background-color: #ffffff; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.281); 
}    

.game_title_css {
  text-align: right;
  font-weight: bold;
  font-size:1.5rem;
  color: rgb(133, 11, 7);
}

.game_text_css {
   text-align: right;
   font-size:1.2rem;
   color:black;
}

.responsive-iframe {
    position: relative;
    width: 70%; 
    padding-top: 40%; 
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    border: 0;
}

.next_previous_pages {
    font-size: 1.5rem;
}

.btn {
  background-color: rgb(133, 11, 7);
  border: none;
  border-radius: 12px;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.1rem;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  width: 10%;
}

.btn:hover {
  background-color: red; 
  color: white;
}

footer {
    background-color: #333;
    font-family: "Noto Kufi Arabic", sans-serif;
    color: white;
    text-align: center;
    padding: 10px 0;
    bottom: 0;
    width: 100%;
}