:root {
  --icon-size: min(125px, 20vw);
}

html,
body {
  height: 100%;
  margin: 0;
  background: transparent;
  color: black;
  overflow: hidden;
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

h1,
h2 {
  margin: -0.6rem;
  opacity: 0;
  font-family: "Amaranth-Bold", sans-serif;
  transform: translateY(-40px);
  animation: slide-down 1s ease forwards;
}

h1 {
  font-size: clamp(2rem, 10vw, 4rem);
  text-align: center;
  animation-delay: 0s;
  transition: transform 0.3s ease;
}

h2 {
  font-size: clamp(1.75rem, 9vw, 4rem);
}

h2 {
  margin-bottom: 2rem;
  animation-delay: 0.15s;
}
.social-icons {
  display: flex;
  gap: min(3.5rem, 5vw);
  align-items: center;
  margin-top: -3rem;
  padding-top: 1rem;

  opacity: 0;
  transform: translateY(-40px);
  animation: slide-down 1s ease forwards;
  animation-delay: 0.3s;
}

.social-icons .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-size);
  height: var(--icon-size);
  text-decoration: none;
  transition: transform 0.7s ease;
  flex: 0 0 auto;
}

.social-icons .icon:focus,
.social-icons .icon:active {
  outline: none;
}

.social-icons .icon svg,
.social-icons .icon img {
  width: var(--icon-size);
  height: var(--icon-size);
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.social-icons .icon:hover {
  transform: rotate(360deg);
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@font-face {
  font-family: "Amaranth-Bold";
  src: url("../assets/fonts/Amaranth-Bold.ttf") format("truetype");
}

#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
