@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap");
html {
  --background: #fff;
  --font-color: #1a1a1a;
  --font-color-model: #f34c4c;
  --light-grey: #e5e5e5;
  --light-green: #06d6a0;
  --light-red: #f34c4c;
  --light-yellow: #ffb73b;
  --dark-gray-color: #2e2e2e;
  --moov-color: #6c63ff;
}

html[data-theme='dark'] {
  --primary: #bb86fc;
  --primary-varient: #3700b3;
  --secondary: #03dac6;
  --font-color-model: #06d6a0;
  --background: #1a1a1a;
  --font-color: #fff;
  --light-grey: #353535;
  --light-green: #06d6a0;
  --light-yellow: #ffb73b;
  --dark-gray-color: #2e2e2e;
  --light-red: #f34c4c;
}

*::after,
*::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  background-size: cover;
  width: 100%;
  height: 100%;
  background: var(--background);
  font-family: 'tajawal';
}

.ind {
  position: absolute;
  left: 15%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 2em;
  height: 2em;
  background-color: currentColor;
  border-radius: 50%;
  color: var(--light-green);
}

.special {
  color: var(--light-yellow);
}

.stop {
  left: 10%;
  top: 34%;
  color: var(--light-red);
  opacity: 0;
  -webkit-animation: 1s linear infinite ind;
  animation: 1s linear infinite ind;
}

@-webkit-keyframes ind {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@keyframes ind {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

h1 {
  font-size: 4em;
  text-align: center;
  color: var(--font-color);
  font-weight: bold;
}

.cards-wrab {
  margin: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  align-items: center;
}

.card {
  position: relative;
  margin: 15px 30px;
  padding: 30px;
  width: 100%;
  max-width: 200px;
  border-radius: 40px;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--dark-gray-color);
  cursor: pointer;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.card p {
  font-size: 1.5em;
  color: white;
  font-weight: bold;
}

.card:hover {
  -webkit-transform: scale(1.03, 1.03);
          transform: scale(1.03, 1.03);
  -webkit-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.button {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.6em;
  font-weight: bold;
  text-align: center;
}

@media only screen and (max-width: 715px) {
  h1 {
    font-size: 3em;
    margin: 25px 0;
  }
  .ind {
    width: 1em;
    height: 1em;
  }
  .cards-wrab {
    margin: 0;
    width: 100%;
    max-width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .dark-mode-button {
    padding: 0;
    max-height: 9px;
  }
  .button {
    font-size: 1em;
  }
  .card {
    padding: 15px;
    max-width: 130px;
    margin: 15px 10px;
  }
  .card p {
    font-size: 1.1em;
    white-space: nowrap;
  }
}

.show-modal {
  font-size: 2rem;
  font-weight: 600;
  padding: 1.75rem 3.5rem;
  margin: 5rem 2rem;
  border: none;
  background-color: #fff;
  color: #444;
  border-radius: 10rem;
  cursor: pointer;
}

.close-modal {
  position: absolute;
  top: 0;
  right: 1.5rem;
  font-size: 6em;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}

.close-modal:hover {
  color: var(--light-red);
}

#title {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

p {
  font-size: 1.8rem;
}

/* -------------------------- */
/* CLASSES TO MAKE MODAL WORK */
.hidden {
  display: none;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  max-width: 40vw;
  background-color: var(--background);
  padding: 6rem;
  border-radius: 5px;
  -webkit-box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
          box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 5;
}

ul {
  list-style: none;
}

ul li {
  font-size: 2em;
  color: var(--font-color-model);
}

ul li[title]::before {
  content: attr(title);
  display: block;
  font-weight: bold;
  padding: 4px;
  font-size: 0.55em;
  color: var(--font-color);
}

@media only screen and (max-width: 715px) {
  #title {
    font-size: 1.5em;
  }
  ul li {
    font-size: 1.1em;
  }
  .close-modal {
    font-size: 3em;
  }
  .modal {
    max-width: 50vw;
  }
}

.dark-mode-button {
  --padding: 20px;
  padding-top: var(--padding);
  padding-bottom: var(--padding);
}

.switch-button {
  background: var(--dark-gray-color);
  border-radius: 30px;
  overflow: hidden;
  width: 200px;
  text-align: center;
  font-size: 22px;
  font-weight: bolder;
  letter-spacing: 1px;
  color: white;
  position: relative;
  padding-right: 120px;
  position: relative;
}

.switch-button:before {
  content: 'Dark';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.switch-button-checkbox {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
}

.switch-button-checkbox:checked + .switch-button-label:before {
  -webkit-transform: translateX(120px);
          transform: translateX(120px);
  -webkit-transition: -webkit-transform 300ms ease-in-out;
  transition: -webkit-transform 300ms ease-in-out;
  transition: transform 300ms ease-in-out;
  transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;
}

.switch-button-checkbox + .switch-button-label {
  position: relative;
  padding: 14px;
  display: block;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
  isolation: isolate;
}

.switch-button-checkbox + .switch-button-label:before {
  content: '';
  background: var(--light-green);
  position: absolute;
  inset: 0;
  border-radius: 30px;
  -webkit-transition: -webkit-transform 300ms ease-in-out;
  transition: -webkit-transform 300ms ease-in-out;
  transition: transform 300ms ease-in-out;
  transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;
  z-index: -1;
}

.switch-button-checkbox + .switch-button-label .switch-button-label-span {
  position: relative;
}

@media only screen and (max-width: 715px) {
  .switch-button {
    font-size: 10px;
    padding-right: 80px;
  }
  .switch-button:before {
    width: 55px;
  }
  .switch-button-checkbox:checked + .switch-button-label:before {
    -webkit-transform: translateX(76px);
            transform: translateX(76px);
  }
  .switch-button-checkbox + .switch-button-label {
    padding: 9px;
  }
}
/*# sourceMappingURL=main.css.map */