header {
  display: block;
  z-index: 1;
  text-align: center;
}

body {
  font-family: "Spline Sans", sans-serif;
  line-height: 1.5;
  background-color: #2f2f2f;
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

p {
  margin: 0px 0 0px 0;
  font-size: 14px;
  color: #7f888f;
}

hr {
  margin: 25px;
}

h1::before {
  transform: scaleX(0);
  transform-origin: bottom right;
}

h1:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

h1::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0 0 0 0;
  background: #ddd7fb;
  z-index: -1;
  transition: transform 0.3s ease;
}

h1 {
  margin-top: 25px;
  margin-bottom: 50px;
  padding: 5px 10px;
  font-size: 25px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  background-color: white;
  cursor: pointer;
  border: 3px solid;
  padding: 0.25em 0.5em;
  box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px,
    5px 5px 0px 0px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  scale: 100%;
}

/* Header */

.logo {
  display: inline-block; /* Ensure the logo container takes only necessary space */
}

.logo a {
  display: block; /* Make the anchor tag a block-level element */
}

.logo img {
  display: block; /* Ensure the image takes up the entire width of its container */
  margin: 0 auto; /* Center the image horizontally */
  padding: 25px;
}

/*Navigation Bar*/

.h-nav-bar {
  display: flex;
  justify-content: center; /* Center the navigation bar horizontally */
  align-items: center; /* Center the navigation bar vertically */
  padding: 15px;
  list-style-type: none;
}

.h-nav-wrapper {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  text-align: center;
  z-index: 1000;
}

.h-nav-bar > .h-nav-wrapper > div {
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.h-nav-link-wrapper {
  width: 200px;
  padding: 5px 10px;
  font-size: 14px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  background-color: transparent;
  cursor: pointer;
  padding: 0.25em 0.5em;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  scale: 100% 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px;
}
.h-nav-link-wrapper a {
  color: #8a8a8a;
  text-decoration: none;
  transition: color 0.2s;
}

/* Navigation Animation */

.h-nav-link-wrapper a:hover {
  color: black;
  display: block;
}

.h-nav-link-wrapper::before {
  transform: scaleX(0);
  transform-origin: bottom right;
}

.h-nav-link-wrapper:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.h-nav-link-wrapper::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0 0 0 0;
  background: white;
  z-index: -1;
  transition: transform 0.5s ease;
}

/*Dropdown Animation*/

.dropdown-content {
  display: none;
  left: 0px;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  width: 214px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  transition: ease-out 0.5s;
  transition-delay: 0.5s;
  overflow: hidden;
  transform-origin: top center;
  transform: scale(1, 0);
  display: block;
}

.dropdown-content a {
  padding: 10px;
  display: block;
}

.h-nav-link-wrapper:hover .dropdown-content {
  display: block;
  transform: scale(1);
  transition: all 0.5s;
  overflow: visible;
}

/*Data Unavaliable*/
.unaval {
  padding: 5px 10px;
  font-size: 14px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  background-color: transparent;
  text-align: center;
  padding-top: 25%;
}

/*Back Button*/

.back-button {
  margin-left: 90px;
  padding: 5px 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  background-color: white;
  cursor: pointer;
  border: 3px solid;
  padding: 0.25em 0.5em;
  box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px,
    5px 5px 0px 0px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  scale: 100%;
}

.back-button:active {
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
}

@media (min-width: 768px) {
  .back-button {
    padding: 0.25em 0.75em;
  }
}

/*Card Styling */

/*Colors to use*/
:root {
  /* Basic */
  --c-white: #fff;
  --c-black: #000;

  /* Greys */
  --c-ash: #eaeef6;
  --c-charcoal: #a0a0a0;
  --c-void: #141b22;

  /* / Beige/Browns */
  --c-fair-pink: #ffedec;
  --c-apricot: #fbc8be;
  --c-coffee: #754d42;
  --c-del-rio: #917072;

  /* Greens */
  --c-java: #1fcac5;

  /* Purples */
  --c-titan-white: #2f2f2f;
  --c-cold-purple: #a69fd6;
  --c-indigo: #6558d3;
  --c-governor: #4133b7;
}

/*Search List*/

.search-list {
  margin-top: 25px;
}

#myInput {
  border-radius: 15px;
  background-position: 10px 12px;
  background-repeat: no-repeat;
  width: 250px; /* Full-width */
  font-size: 16px; /* Increase font-size */
  padding: 12px 20px 12px 20px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
}

/*CSS Cards*/

.card-container {
  font-family: "Ubuntu", sans-serif;
  margin: 0 auto;
  color: black;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Left align the cards */
  gap: 50px; /* Adjust the gap between cards */
  max-width: 1000px;
  margin-top: 10px;
  margin-bottom: 50px;
}

.card-wrapper .card {
  margin-top: 25px;
  max-width: 1000px;
}

.card {
  position: relative;
  max-width: 300px;
  max-height: 300px;
  width: 300px;
  height: 250px;
  background-color: white;
  border-radius: 15px;
  padding-bottom: 10px;
  box-shadow: 1px 2px 8px rgba(100, 100, 100, 0.1);
}

.heading {
  font-size: 16px;
  color: var(--c-void);
  line-height: 1.25;
  margin-top: 0px;
}

.text-box-wrapper {
  padding: 25px;
  width: 250px;
  height: 100px;
}
.text-box {
  width: 250px;
  height: 100px;
}

/*Button in the cards*/

.button-wrapper {
  padding-top: 35px;
}

.button {
  margin-left: 90px;
  padding: 5px 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  background-color: white;
  cursor: pointer;
  border: 3px solid;
  padding: 0.25em 0.5em;
  box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px,
    5px 5px 0px 0px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  scale: 100%;
}

.button:active {
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
}

@media (min-width: 768px) {
  .button {
    padding: 0.25em 0.75em;
  }
}

.button {
  margin-left: 90px;
  padding: 5px 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  background-color: white;
  cursor: pointer;
  border: 3px solid;
  padding: 0.25em 0.5em;
  box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px,
    5px 5px 0px 0px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  scale: 100%;
}

.button:active {
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
}

@media (min-width: 768px) {
  .button {
    padding: 0.25em 0.75em;
  }
}

/*Homepage Animation*/

#slider {
  display: flex;
  gap: 20px;
  font-size: 50px;
  padding-top: 10%;
  letter-spacing: 10px;
}

#sliderValue {
  display: flex;
  color: #ff83ff;
  font-weight: 700;
}

.start {
  opacity: 0;
}

.animation {
  animation: fade 0.3s forwards;
}

@keyframes fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

.holder-animation {
  animation: holder 4s;
}

@keyframes holder {
  0% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/*Dark Mode*/
