* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: grid;
  height: 100vh;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  overflow: hidden;
}

#background {
  position: absolute;
  z-index: -1;
  top: 0;
  height: 100vh;
  width: 100vw;

  background:linear-gradient(to top left, rgb(248, 196, 248), rgb(241, 203, 154), lightskyblue);
}
/* #background:before {
  content: "";
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px;
  filter: grayscale() blur(0.5px);
  opacity: 0.4;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
} */

.bg-circle {
  position: absolute;
  top: var(--y);
  left: var(--x);
  height: var(--size);
  width: var(--size);
  border-radius: 1000px;

  background-color: rgb(248, 196, 248);
}

#main-card {
  margin: 100px;
  padding: 50px 90px;
  border: 3px solid white;
  border-radius: 50px;

  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 30px 0px lightgray inset;
  overflow: hidden;
}
/* #main-card:before {
  content: "";
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 400px;
  filter: grayscale() blur(0.5px);
  opacity: 0.2;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
} */

#main-card .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.button {
  padding: 10px 20px;
  border-radius: 50px;

  text-decoration: none;
  color: inherit;

  transition: all 200ms ease;
  scale: 1;
}
.button:hover {
  scale: 1.05;
}

.nav-button:hover {
  scale: 1;
}

.signup-button {
  border: 1px solid black;
}


#content {
  position: relative;
  width: 40%;
  margin-top: 100px;
}

#content h1 {
  font-size: 3.5rem;
  margin-bottom: 30px;
}

#content p {
  font-size: 1.25rem;
  margin-bottom: 50px;
  color: rgb(110, 110, 110);
}

.get-started-button {
  background-color: rgb(24, 109, 227);
  padding: 15px 30px;
  color: white;
  scale: 300;
}

/* TODO: fix button hover */

#card-container {
  position: absolute;
  right: -900px;
  top: -150px;
  rotate: -30deg;
  
  display: flex;
  gap: 50px;

  pointer-events: none;
  z-index: -1;
}

.card-column {
  width: 220px;

  display: flex;
  flex-direction: column;
  gap: 40px;
}
.card-column:nth-of-type(2) {
  translate: 0 100px;
}
.card-column:nth-of-type(3) {
  translate: 0 300px;
}

#card-container .card {
  height: 160px;
  border-radius: 20px;
  background-color: white;
  box-shadow: 0 0 30px -3px lightgray;
}

#card-container .card.large {
  height: 250px;
}
#card-container .card.small {
  height: 90px;
}


/* perspective */

body {
  perspective: 1000px;
}

#main-card {
  transform: none;
  transition: transform 100ms ease;
}

#main-card:hover {
  transform: rotateX(var(--js-rotate-x)) rotateY(var(--js-rotate-y));
}