* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

body {
  height: 100vh;
  background-color: black;
  background-image: url(/static/porsche.jpg);
  background-size: cover; /* Makes the image cover the element */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-position: center; /* Centers the image */
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(57, 0, 122, 0.356);
  box-shadow: 0 0 90px 10px rgba(236, 0, 217, 0.4),
    0 0 70px 10px rgba(155, 155, 155, 0.5);
  height: 100px;
  padding-inline: 5% 5%;
}

header h1 {
  color: rgb(255, 255, 255);
  font-family: "Sixtyfour", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "BLED" 0, "SCAN" 0;
}

.cardContainer {
  display: flex;
  justify-content: center;
  margin-top: 200px;
  gap: 75px;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  width: 450px;
  height: 600px;
  align-items: center;
  justify-content: center;
  background-color: rgba(190, 190, 190, 0.125);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.5);
  transition: box-shadow, background-color, backdrop-filter, 0.4s ease-in-out;
  /* border: 2px solid black; */
}

.card > h2 {
  color: rgb(255, 255, 255);
  text-align: center;
  font-family: "Sixtyfour", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "BLED" 0, "SCAN" 0;
  line-height: 1.5;
}

.hiddenButtons {
  display: none;
  flex-direction: column;
  gap: 20px;
  margin-top: 25%;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}
.button {
  display: flex;
  width: auto;
  height: fit-content;
  justify-content: center;
  margin-inline: 25%;
  padding-block: 1rem;
  background-color: rgba(190, 190, 190, 0.2);
  border-radius: 20px 7px;
  border: 3px solid rgba(0, 0, 0, 0);
  transition: border, background-color 0.3s ease-out;
  text-decoration: none;
}

.buttonText {
  font-family: "Audiowide", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.35rem;
  color: rgb(255, 255, 255);
}

.card:hover {
  background-color: rgba(0, 68, 146, 0.1);
  box-shadow: 0 0 90px 10px rgba(236, 0, 217, 0.3),
    0 0 70px 10px rgba(155, 155, 155, 0.9);
  backdrop-filter: blur(10px);
}

.card:hover > .hiddenButtons {
  display: flex;
  visibility: visible;
  opacity: 1;
}

.button:hover {
  border: 3px white solid;
  background-color: rgba(136, 0, 0, 0.6);
}
