@import url("https://fonts.googleapis.com/css2?family=Readex+Pro:wght@200;300;400;500;600;700&display=swap");

/* Works on Firefox */
* {
  --color2: #0c0d0d;
  --bg-color: var(--color2: );
}
root {
  --bg-color: var(--color2: );
  --font-color: var(--color2);
}
* {
  scrollbar-width: thin;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

*::-webkit-scrollbar-thumb {
  background-color: rgb(223, 217, 217);
}
::selection {
  background: #b973ff;
  color: #fff;
}
* {
  scroll-behavior: smooth;
  color: var(----font-color);
  text-decoration: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Readex Pro", sans-serif;
  overflow-x: hidden;
}
body {
  background-color: var(--bg-color);
}
h1,
p {
  padding: 10px;
}

header {
  display: flex;
  justify-content: space-evenly;

  background-color: #0c0d0d;
  color: #fafafa;
  padding: 8px;
}

nav a {
  padding: 1rem;
  color: var(--font-color);
  font-size: 1.2rem;
  border-bottom: 1px solid #0c0d0d;
}
nav a:hover {
  border-bottom: 1px solid #fff;
}

.login {
  display: flex;
  flex-direction: column !important;
}

.login h1 {
  font-size: 40px;
  direction: rtl;
}

.quiz {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  padding: 1.2rem;
  height: 100%;
  min-width: 100%;
  font-size: 1.2rem;
}
.answers button {
  margin: 10px;
  border-radius: 5px;
  cursor: pointer;
  background-color: #fff;
  color: #0c0d0d;
  border: 1px solid;
}
#agree {
  background-color: #fff;
  color: #0c0d0d;
  border: 1px solid;
}
.answers button:hover,
#agree:hover {
  background-color: #0c0d0d;
  color: #fff;
  border-radius: 5px;
}

.notes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  -moz-box-shadow: 0 0 3px 2px #f0f0f0;
  -webkit-box-shadow: 0 0 3px 2px #f0f0f0;
  box-shadow: 0 0 3px 2px #f0f0f0;
  background-color: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  width: 100%;
  gap: 10px;
  font-family: "Readex Pro", sans-serif;
}

.notes > div {
  display: flex;
  justify-content: center;
  width: 80%;
  gap: 10px;
}

.notes ul {
  display: flex;
  flex-direction: column;
  width: 70%;
  padding: 0;
  margin: 20px 0;
  gap: 10px;
}

.notes ul li {
  display: flex;
  position: relative;
  flex-direction: row-reverse;
  word-break: break-all;
  word-wrap: break-word;
  border-radius: 5px;
  justify-content: space-between;
  padding: 20px;
  color: #ffffff;
  align-items: center;
  box-shadow: 0 0 3px 2px #f0f0f0;
}

.notes ul li button {
  border: none;
  border-radius: 5px;
  color: #ffffff;
  height: 90%;
  padding: 0 10px;
  cursor: pointer;
  font-size: 2rem;
}

.notes ul li.urgent-and-important {
  background-color: rgba(255, 0, 0, 0.75);
  color: white;
}

.notes ul li.urgent-not-important {
  background-color: rgba(255, 166, 0, 0.75);
  color: white;
}

.notes ul li.not-urgent-and-important {
  background-color: rgba(0, 0, 255, 0.75);
  color: white;
}

.notes ul li.not-urgent-not-important {
  background-color: rgba(0, 128, 0, 0.75);
  color: white;
}

input {
  border: 1px solid #ccc;
  padding: 1rem;
  margin: 10px;
  min-width: 50%;
  text-align: right;
  border-radius: 5px;
}

select {
  background-color: #fff;
  text-align: center;
  border: 1px solid;
  padding: 1rem;
  margin: 1rem;
  width: fit-content;
  border-radius: 5px;
}
option {
  padding: 1rem;
  margin: 1rem;
  font-size: 1rem;
}
button {
  background-color: transparent;
  color: #fff;
  border: 0;
  padding: 1rem;
  font-family: "Readex Pro", sans-serif;
}
#Add {
  background-color: #0c0d0d;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

#login-button {
  cursor: pointer;
}

.container,
.categories {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: fit-content;
  max-width: 100vw;
  flex-wrap: wrap;
  color: var(--font-color);
}
.digo {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  text-align: center;
  align-items: center;
  background-color: #fff;
  padding: 2rem;
  margin: 20px auto;
  flex: 1;
  box-shadow: 0 1px 1px 1px rgba(10, 16, 34, 0.08);
  flex-wrap: wrap;
  min-width: 100%;
  border-radius: 16px;
}
.digo-title {
  margin: 10px;
  font-size: 1.2rem;
  min-height: 100%;
  border-left: solid #0c0d0d;
  padding: 1rem;
}
.digo-text {
  margin: 10px;
  display: flex;
  direction: rtl;
  flex-direction: column;
}
.digo-ctn {
  margin: 10px;
  background-color: #0c0d0d;
  color: #fff;
  border-radius: 6px;
}
.digo-ctn:hover {
  opacity: 0.9;
}
.container {
  flex-direction: column;
  -moz-box-shadow: 1px 1px 3px 1px #f0f0f0;
  -webkit-box-shadow: 1px 1px 3px 2px #f0f0f0;
  box-shadow: 1px 1px 3px 1px #f0f0f0;
}
#\32 {
}
.title {
  margin: 1rem 0;
  font-size: 1.5rem;
  color: #0c0d0d;
}
h1 {
  font-weight: 400;
}
p {
  font-weight: 200;
}

.categories a {
  background-color: var(--color1);
}
.categories img {
  position: relative;
}
span {
  display: block;
}
#quizlanding {
  flex-direction: row;
  height: 85vh;
}
#gamelanding {
  flex-direction: row;
  overflow: hidden;

  margin-top: 1rem;
}
#puzzle-landing {
  flex-direction: column;
  height: 85vh;
}
.landing {
  flex-direction: row;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 70vh;
  width: 80%;
  margin: 0 auto;
  font-weight: 600;
  flex: 1;
  flex-wrap: wrap;
  font-size: 1.7vmax;
  margin: 0 auto;
  text-align: center;
}
.text p {
  margin: 2rem;
  font-size: 22px;
  font-weight: normal;
}
#text404 {
  width: 100%;
}
.ctn,
.ctn a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color2);
  width: fit-content;
  margin: 0 auto;
  padding: 0.525rem;
  width: 120px;
  border-radius: 7px;
  font-size: 1.3rem;
  color: #fff;
}
.ctn:hover {
  opacity: 0.9;
}
.ctn {
  margin-bottom: 10px;
}
.arrow {
  display: flex;
  justify-content: center;
  align-items: center;
}
.title {
  text-align: center;
  color: #0c0d0d;
}

@media screen and (min-width: 800px) {
  .menu-btn {
    display: none;
  }
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
  }
  .nav-links {
    flex-direction: row-reverse;
  }
  .nav-links a {
    margin: 0 2rem 0;
  }
  .quizimg {
    scale: 0.8;
  }
  .notesimg {
    scale: 0.6;
  }
  .logo {
    display: block;
    justify-content: center;
    align-items: center;
    width: 100%;
    justify-content: space-evenly;
    flex-direction: row;
  }
  #logoimg,
  .nav-links {
    margin: 0 30px;
  }
  .img {
    scale: 1.4;
  }
  .article {
    display: flex;
    justify-content: center;
    width: 60%;
    font-weight: 600;
    flex: 1;
    flex-wrap: wrap;
    margin: 0 auto;
    text-align: center;
  }
  .article-text {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    margin: 2rem;
    font-size: 1.4rem;
    font-weight: normal;
    overflow: hidden;
  }
  .article-text h1 {
    padding: 1rem;
  }
  .categories a {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    padding: 1rem;
    margin: 0 1rem;
    width: 100px;
    text-align: center;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: bold;
    scale: 1;
  }
  #text404 {
    width: 50%;
  }
  .digo-title {
    border-bottom: 0;
  }
}

footer {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 1.5rem;
  font-size: 18px;
  -moz-box-shadow: 1px 1px 3px 2px #f0f0f0;
  -webkit-box-shadow: 1px 1px 3px 2px #f0f0f0;
  box-shadow: 1px 1px 3px 2px #f0f0f0;
  background-color: #0c0d0d;
  color: #fff;
  flex: 1;
}

.footer-links,
.footer-links a {
  display: flex;
  flex-direction: row-reverse;
  margin: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.social-media,
.social-media a {
  display: flex;
  flex-direction: row-reverse;
  margin: 0 1rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.5rem;
}

#social-media a i {
  font-size: 2rem;
  scale: 2;
}

.categories-games {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  height: 50vh;
  max-width: 100vw;
  flex-wrap: wrap;
  color: var(--color2);
}

.categories-games.card {
}
.card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem;
  background-color: var(--color1);
  margin: 0 1rem;
  text-align: center;
  border-radius: 7px;
  font-size: 1.2rem;
  font-weight: bold;
  flex-grow: 1;
}
.card div {
  flex-basis: auto;
  padding: 0.5rem;
  justify-content: space-around;
}
.game-text,
.game-image {
}
.quiz-section {
  /*       display: flex;
      flex-direction: column;
 */
}
section {
  /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' viewBox='0 0 192 192'%3E%3Cpath fill='%232b2d2c' fill-opacity='0.02' d='M192 15v2a11 11 0 0 0-11 11c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H145v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11 13 13 0 1 1 .02 26 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43a6.1 6.1 0 0 0-3.03 4.87V143h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 181 164a11 11 0 0 0 11 11v2a13 13 0 0 1-13-13 12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84a6.1 6.1 0 0 0-4.87-3.03H145v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 124 181a11 11 0 0 0-11 11h-2a13 13 0 0 1 13-13c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43a6.1 6.1 0 0 0 3.03-4.87V145h-35.02a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 107 124a11 11 0 0 0-22 0c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H49v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11A13 13 0 0 1 81 192h-2a11 11 0 0 0-11-11c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V145H11.98a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 0 1 0 177v-2a11 11 0 0 0 11-11c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H47v-35.02a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 28 109a13 13 0 1 1 0-26c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43A6.1 6.1 0 0 0 47 84.02V49H11.98a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 11 28 11 11 0 0 0 0 17v-2a13 13 0 0 1 13 13c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84A6.1 6.1 0 0 0 11.98 47H47V11.98a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 68 11 11 11 0 0 0 79 0h2a13 13 0 0 1-13 13 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43A6.1 6.1 0 0 0 49 11.98V47h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 85 68a11 11 0 0 0 22 0c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H143V11.98a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 124 13a13 13 0 0 1-13-13h2a11 11 0 0 0 11 11c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V47h35.02a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 179 28a13 13 0 0 1 13-13zM84.02 143a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 83 124a13 13 0 1 1 26 0c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84a6.1 6.1 0 0 0 4.87 3.03H143v-35.02a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 164 107a11 11 0 0 0 0-22c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V49h-35.02a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 1 1 83 68a12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84A6.1 6.1 0 0 0 84.02 49H49v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 28 85a11 11 0 0 0 0 22c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V143h35.02z'%3E%3C/path%3E%3C/svg%3E");
 */
  background-color: #f9f9fb;
}

.article h1 {
  font-size: 1.5rem;
}
header div {
  display: flex;
  flex: 1;
}

#a {
  color: var(--color2);
  font-size: 1.825rem;
  border-bottom: 1px solid;
}

@media screen and (max-width: 800px) {
  .nav-links {
    display: none;
  }
  .nav-links.responsive {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-direction: row;
  }
  nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
  }
  .menu-btn {
    position: absolute;
    right: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }
  .notesimg {
    scale: 0.4;
  }
  header {
    flex-direction: column;
    padding: 0.425rem;
  }
  .landing {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    width: 100%;
    margin: 0 auto;
    font-weight: bolder;
    flex: 1;
    flex-wrap: wrap;
    font-size: 1.7vmax;
    margin: 0 auto;
  }

  .article {
    display: flex;
    justify-content: center;
    height: 100%;
    max-width: 90%;
    font-weight: 600;
    flex: 1;
    flex-wrap: wrap;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
  }
  .article-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 1rem auto;
    font-size: 1rem;
    font-weight: normal;
  }
  .article-text h1 {
    padding: 1.2rem;
  }

  .img {
    scale: 0.8;
    margin-left: -27px;
  }
  footer {
    flex-shrink: 1;
    flex-direction: column;
  }

  .digo {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;
    background-color: #fff;
    padding: 2rem;
    margin: 20px auto;
    flex: 1;
    box-shadow: 0 1px 1px 1px rgba(10, 16, 34, 0.08);
    flex-wrap: wrap;
    min-width: 100%;
  }
  .digo-title {
    margin: 10px;
    font-size: 1.5rem;
    min-height: 100%;
    border-bottom: solid #0c0d0d;
    border-left: 0;
  }
  .digo-text {
    margin: 10px;
    display: flex;
    flex-direction: column;
  }
  .digo-ctn {
    margin: 10px;
    background-color: #0c0d0d;
    color: #fff;
    border-radius: 6px;
  }
  .digo-ctn:hover {
    opacity: 0.9;
  }
  .categories a {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    padding: 1rem;
    margin: 0 1rem;
    width: 100px;
    text-align: center;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: bold;
    scale: 1;
  }
}

.blog-landing {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  font-weight: bolder;
  flex-wrap: wrap;
  font-size: 1vmax;
  margin: 0 auto;
  box-shadow: 10px #0c0d0d;
  padding: 30px;
  flex-wrap: wrap;
}
.blog-index-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.5vmax;
}
.blog-index-title p {
  margin: 1rem;
  font-size: 22px;
}
.blog-index-title h1 {
  margin: 1rem;
  font-size: 22px;
  font-weight: 300;
}

.blog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: unset;
  max-width: 370px;
  max-height: 280px;
  box-shadow: 0 1px 1px 1px rgba(10, 16, 34, 0.08);
  border-radius: 6px 6px 0 0;
}
.blog-card p {
  font-size: 1.3rem;
  padding: 1.7rem;
  text-align: center;
  font-weight: 400;
}
.blog-card img {
  border-radius: 6px 6px 0 0;
  width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.blog-container,
.blog-categories {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  width: 100vw;
  min-height: 65vh;
  flex: 1;
  flex-wrap: wrap;
  color: var(--font-color);
}
.blog-container {
  flex-direction: column;
}
.blog-categories div {
  margin: 20px;
}

input {
  direction: rtl;
}

.no-select,
.no-select *,
button,
select,
a,
img,
svg {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
