@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --bg-color: #1a1a1a;
  --primary-color: #218dbf;
}

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

html,
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-color);
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

section {
  width: 100%;
  min-height: 100vh;
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
  position: relative;
  z-index: 10;
}

section:nth-of-type(1) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  justify-items: center;
}

section:nth-of-type(1) .content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

section:nth-of-type(1) .content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 4px 3px 0px var(--primary-color);
}

section:nth-of-type(1) .content .links {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
}

section:nth-of-type(1) .content .links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  background: var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

section:nth-of-type(1) .content .links a:hover {
  background: #fff;
  color: var(--primary-color);
}

#s3d-container {
  filter: blur(2px) opacity(0.2) grayscale(0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: fit-content;
}

#f3d-container {
  height: 80%;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  position: relative;
}

/* #f3d-container button {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
  font-weight: 500;
  font-size: 1rem;
  background-color: var(--primary-color);
  opacity: 0.3;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#f3d-container button:hover {
  opacity: 1;
} */

#f3d-container canvas {
  width: 100%;
  height: 100%;
}

@media (max-width: 1280px) {
  section:nth-of-type(1) {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 5cm;
    padding-bottom: 5cm;
  }
}
