* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul, ol {
  margin-block: 1em;
  padding-inline-start: 15px;
}


html {
  scroll-behavior: smooth;
}


body {

  font-family: "Noto Kufi Arabic", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: x-large;
}


/* START HEADER */
header .black {
  position: fixed;
  top: 0;
  right: 0;
  color: #ff3131;
  text-decoration: none;
  font-weight: bolder;
  font-size: large;
  padding: 0px 8px;
  background-color: black;
  
}

header h1 {
  margin-top: 50px;
  text-align: center;
  color:#ff3131;
}
/* ENDS HEADER */


/* START MAIN */
main {
  display: block;
  max-width: 1500px;
  margin: 5vh auto; /* centers horizontally */
}


/* START NAVBAR */
.navbar {
  background-color:  whitesmoke;
  border-radius: 4px;
  padding-inline-start: 30px;
  padding-block: 1em;
}







.navbar .nav-links li {
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: color 0.3s;
  padding: 10px 2px;
  margin-block: 1em;
}

.navbar .nav-links li:hover {
  
  color: red;
  
}

.navbar .nav-links li a{
  text-decoration: none;
  color: black;
  
}

.navbar .nav-links  .second-navlinks li {
  font-size: large;
}

.navbar .nav-links  .second-navlinks li a {
  text-decoration: none;
  font-weight: 700;
  color: black;

}

.navbar .nav-links a:hover {
  color: red;
}

.navbar .nav-links  .second-navlinks a:hover {
  background-color: #ff3131;
  border-radius: 4px;
}
/* ENDS NAVBAR */
/* ENDS MAIN */



/* START FOOTER */
footer {
  text-align: center;
  border-top:#ff3131  2px solid;
  font-weight: bold;
  padding: 8px;
  margin-top: 50px;
  font-size: medium;
}

footer .support {
  font-weight: bold;
}

footer .support a{  
  color: white;
  text-decoration: none;
  background: linear-gradient(180deg, #ff3131, darkred);
  border-radius: 4px;
  padding: 2px;
  font-size: small;
}
/* ENDS FOOTER */





/* Responsive: for tablets and below (≤ 768px) */
/* متجاوب: للأجهزة اللوحية وما دونها (≤ 768px) */

@media (max-width: 768px) {
  body {
    font-size: large;
  }

  header h1 {
  font-size: x-large;
  }

  .navbar .nav-links  .second-navlinks li {
  font-size: medium;
  }


  footer {
  font-size: small;
  }

  footer .support a{  
    color: white;
    text-decoration: none;
    background: linear-gradient(180deg, #ff3131, darkred);
    border-radius: 4px;
    padding: 2px;
    font-size: x-small;
  }

}


/* Responsive: for phones (≤ 480px) */
/* متجاوب: للهواتف (≤ 480px) */

@media (max-width: 480px) {
 
}