:root {
  --clr-one: rgb(255, 20, 147);
  --clr-two: rgb(127, 255, 0);
  --clr-three: rgb(138, 43, 226);
  --clr-four: rgb(43, 116, 226);
  --clr-bg: #1d1e22;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background: #f0eff4;
  color: #000000;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

body.dark-body {
  background: #1d1e22;
  color: #ffffff;
}

.extra-theme-toggler {
  position: absolute;
  top: 12rem;
  right: 5rem;
  width: 5rem;
  height: 22rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.extra-theme-toggler img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #ccc;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.img-theme-active {
  outline: 4px solid #999999;
}

.body-theme-1 {
  background: url(../../resources/img/image-6.png) !important;
  background-position: top center !important;
  background-size: contain !important;
  background-repeat: repeat-y !important;
}
.body-theme-2 {
  background: url(../../resources/img/image-7.png) !important;
  background-position: top center !important;
  background-size: contain !important;
  background-repeat: repeat-y !important;
}
.body-theme-3 {
  background: url(../../resources/img/image-8.png) !important;
  background-position: top center !important;
  background-size: contain !important;
  background-repeat: repeat-y !important;
}
.body-theme-4 {
  background: url(../../resources/img/image-9.png) !important;
  background-position: top center !important;
  background-size: contain !important;
  background-repeat: repeat-y !important;
}
.body-theme-5 {
  background: url(../../resources/img/image10.png) !important;
  background-position: top center !important;
  background-size: contain !important;
  background-repeat: repeat-y !important;
}

.theme-toggler {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 5rem;
  right: 5rem;
  background: #ffffff;
  color: #000000;
  border-radius: 0.8rem;
  -webkit-border-radius: 0.8rem;
  -moz-border-radius: 0.8rem;
  -ms-border-radius: 0.8rem;
  -o-border-radius: 0.8rem;
  overflow: hidden;
  transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  box-shadow: 0px 0px 30px -10px #000000;
}

.theme-toggler.dark {
  background: #000000;
  color: #ffffff;
  box-shadow: 0px 0px 30px -10px #ffffff;
}

.theme-toggler:hover,
.theme-toggler:focus {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  background: #cccccc;
}

.theme-toggler.dark:hover,
.theme-toggler.dark:focus {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  background: #222222;
}

.theme-toggler i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%) scale(0);
  -webkit-transform: translate(-50%, -50%) scale(0);
  -moz-transform: translate(-50%, -50%) scale(0);
  -ms-transform: translate(-50%, -50%) scale(0);
  -o-transform: translate(-50%, -50%) scale(0);
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.active-theme {
  transform: translate(-50%, -50%) scale(1) !important;
  -webkit-transform: translate(-50%, -50%) scale(1) !important;
  -moz-transform: translate(-50%, -50%) scale(1) !important;
  -ms-transform: translate(-50%, -50%) scale(1) !important;
  -o-transform: translate(-50%, -50%) scale(1) !important;
}

.main {
  width: 100%;
}

.container {
  max-width: 95%;
  width: 95%;
  margin: 0 auto;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container-heading {
  width: 100%;
  padding: 3rem 1rem 5rem;
  text-align: center;
}

.container-heading h1 {
  font-size: 5rem;
  color: rgb(0, 162, 255);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  word-spacing: 0.5rem;
  line-height: 5.5rem;
}

.text-wrapper {
  width: 100%;
  padding: 1rem 5rem;
  text-align: center;
}

.text-wrapper p {
  font-size: 2.5rem;
  color: #dddddd;
  font-weight: 500;
  text-transform: initial;
  letter-spacing: 0.08rem;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.search-wrapper {
  width: 100%;
  padding: 1rem 8rem 3rem;
  text-align: center;
}

#main-search {
  width: 80%;
  padding: 2rem 3rem;
  border: 1px solid transparent;
  outline: 0;
  font-size: 2rem;
  color: #000000;
  background-color: #cccccc;
  border-radius: 4rem;
  -webkit-border-radius: 4rem;
  -moz-border-radius: 4rem;
  -ms-border-radius: 4rem;
  -o-border-radius: 4rem;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

#main-search:focus {
  background-color: #ffffff;
  border: 1px solid rgb(0, 162, 255);
}

.content-wrapper {
  width: 100%;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 32% 32% 32%;
  gap: 1.5rem;
}

.card {
  width: 100%;
  background: #000000;
  border: 1px solid #333333;
  margin-bottom: 2rem;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -ms-border-radius: 2rem;
  -o-border-radius: 2rem;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.card h2 {
  font-size: 2rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.1rem;
  line-height: 2.4rem;
  text-align: center;
  min-height: 6rem;
}

.card h3 {
  font-size: 2rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.1rem;
  line-height: 2.4rem;
  text-align: center;
  min-height: 7.5rem;
}

.card p {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.card a {
  font-size: 1.8rem;
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  background: rgb(0, 162, 255);
  text-transform: capitalize;
  letter-spacing: 0.1rem;
  line-height: 2rem;
  margin: 0.5rem 0.5rem;
  text-decoration: none;
  padding: 1.3rem 2rem;
  border: 1px solid rgb(0, 136, 214);
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  text-align: center;
}

.card:hover {
  box-shadow: 0px 0.5rem 1.5rem -0.2rem black;
  transform: translateY(-1rem);
  -webkit-transform: translateY(-1rem);
  -moz-transform: translateY(-1rem);
  -ms-transform: translateY(-1rem);
  -o-transform: translateY(-1rem);
}

.card a:hover {
  background: rgb(0, 135, 212);
}

.compare-txt {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.neon-button {
  font-size: 1.8rem !important;
  display: inline-block !important;
  cursor: pointer !important;
  text-decoration: none !important;
  padding: 1rem 1.5rem !important;
  margin: 2rem !important;
  background: transparent !important;
  border-radius: 0.25em !important;
  position: relative !important;
}

.neon-button.neon-button__1 {
  color: var(--clr-one);
  border: var(--clr-one) 0.125em solid;
  text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em --clr-one;
  box-shadow: inset 0 0 0.5em 0 var(--clr-one), 0 0 0.5em 0 var(--clr-one);
}

.neon-button.neon-button__2 {
  color: var(--clr-two);
  border: var(--clr-two) 0.125em solid;
  text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em --clr-two;
  box-shadow: inset 0 0 0.5em 0 var(--clr-two), 0 0 0.5em 0 var(--clr-two);
}

.neon-button.neon-button__3 {
  color: var(--clr-three);
  border: var(--clr-three) 0.125em solid;
  text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em --clr-three;
  box-shadow: inset 0 0 0.5em 0 var(--clr-three), 0 0 0.5em 0 var(--clr-three);
}

.neon-button.neon-button__4 {
  color: var(--clr-four);
  border: var(--clr-four) 0.125em solid;
  text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em var(--clr-four);
  box-shadow: inset 0 0 0.5em 0 var(--clr-four), 0 0 0.5em 0 var(--clr-four);
}

.neon-button::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  transform: perspective(1.5em) rotateX(45deg) scale(0.8, 0.3);
  filter: blur(1.5em);
  opacity: 0.7;
  pointer-events: none;
}

.neon-button.active::before {
  animation: scalingShadow 0.5s ease-in-out;
}

@keyframes scalingShadow {
  0% {
    top: 120%;
    transform: perspective(1.5em) rotateX(45deg) scale(0.8, 0.3);
  }
  50% {
    top: 165%;
    transform: perspective(1.5em) rotateX(45deg) scale(0.75, 0.3);
  }
  100% {
    top: 120%;
    transform: perspective(1.5em) rotateX(45deg) scale(0.8, 0.3);
  }
}

.neon-button.neon-button__1::before {
  background: var(--clr-one);
}

.neon-button.neon-button__2::before {
  background: var(--clr-two);
}

.neon-button.neon-button__3::before {
  background: var(--clr-three);
}

.neon-button.neon-button__4::before {
  background: var(--clr-four);
}

.neon-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  /* z-index: -1; */
  transition: opacity 100ms linear;
}

.neon-button.neon-button__1::after {
  box-shadow: 0 0 2em 0.5em var(--clr-one);
  background-color: var(--clr-one);
}

.neon-button.neon-button__2::after {
  box-shadow: 0 0 2em 0.5em var(--clr-two);
  background-color: var(--clr-two);
}

.neon-button.neon-button__3::after {
  box-shadow: 0 0 2em 0.5em var(--clr-three);
  background-color: var(--clr-three);
}

.neon-button.neon-button__4::after {
  box-shadow: 0 0 2em 0.5em var(--clr-four);
  background-color: var(--clr-four);
}

.neon-button:hover::before,
.neon-button:focus::before {
  opacity: 1;
}

.neon-button:hover::after,
.neon-button:focus::after {
  opacity: 1;
  z-index: -1;
}

.neon-button:hover,
.neon-button:focus {
  outline: none;
  color: var(--clr-bg);
  text-shadow: none;
  background: transparent;
  z-index: 99;
}

.neon-button.active {
  animation: animate 0.5s ease-in-out;
}

@keyframes animate {
  0% {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(-40%);
  }
  100% {
    transform: translateY(0%);
  }
}

.card .date {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 1rem;
  color: #bcbcbc;
  letter-spacing: 0.15rem;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.hide {
  display: none;
}

.no-card {
  display: none;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  margin-bottom: 2rem;
  padding: 5rem 4rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -ms-border-radius: 2rem;
  -o-border-radius: 2rem;
}

.no-card.show {
  display: flex;
}

.no-card p {
  font-size: 1.6rem;
}

@media (max-width: 1200px) {
  html {
    font-size: 9px;
  }
  .container {
    max-width: 90%;
    width: 1100px;
    padding: 3rem 2rem;
  }
}
@media (max-width: 1100px) {
  html {
    font-size: 8.5px;
  }
  .container {
    max-width: 90%;
    width: 1000px;
    padding: 3rem 2rem;
  }
}
@media (max-width: 1000px) {
  html {
    font-size: 8px;
  }
  .container {
    max-width: 90%;
    width: 900px;
    padding: 3rem 2rem;
  }
  .card h2 {
    font-size: 2.2rem;
  }

  .card h3 {
    font-size: 2.1rem;
  }
}
@media (max-width: 900px) {
  html {
    font-size: 7.5px;
  }
  .container {
    max-width: 90%;
    width: 800px;
    padding: 3rem 2rem;
  }
  .card h2 {
    font-size: 2.1rem;
  }

  .card h3 {
    font-size: 2rem;
  }
}
@media (max-width: 800px) {
  html {
    font-size: 7px;
  }
  .container {
    max-width: 90%;
    width: 700px;
    padding: 3rem 2rem;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 6.5px;
  }
  .container {
    max-width: 95%;
    width: 660px;
    padding: 3rem 2rem;
  }
  .card h2 {
    font-size: 2rem;
  }

  .card h3 {
    font-size: 1.9rem;
  }
}

@media (max-width: 660px) {
  html {
    font-size: 6px;
  }
  .container {
    max-width: 95%;
    width: 540px;
    padding: 3rem 2rem;
  }
  .card h2 {
    font-size: 1.8rem;
  }

  .card h3 {
    font-size: 1.8rem;
  }

  .card a {
    font-size: 1.5rem;
  }
}

@media (max-width: 560px) {
  html {
    font-size: 5px;
  }
  .container {
    max-width: 95%;
    width: 460px;
    padding: 3rem 2rem;
  }
  .content-wrapper {
    width: 100%;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 49% 49%;
    gap: 2%;
  }
  .card h2 {
    font-size: 2.1rem;
  }

  .card h3 {
    font-size: 2rem;
  }

  .card a {
    font-size: 1.6rem;
  }
}

@media (max-width: 460px) {
  html {
    font-size: 4.5px;
  }
  .container {
    max-width: 100%;
    width: 100%;
    padding: 3rem 2rem;
  }
}
