@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
}

body {
  background: linear-gradient(to right, #dbdce0 50%, #232637 50%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0 5rem;
}

.zero {
  position: absolute;
  top: 0%;
  left: 1%;
  transform: translate(-50%, -50%);
  font-size: 65rem;
  color: #fff;
  z-index: 0;
  pointer-events: none;
  font-weight: 200;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: relative;
  z-index: 100;
}

.navbar ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 3rem;
}

.navbar ul li {
  display: flex;
  align-items: center;
}

.navbar ul li a {
  position: relative;
  display: inline-block;
  padding: 6px 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
  color: black;
}

.navbar .right-nav li a {
  color: white;
}

.navbar .left-nav ul li a:hover {
  color: rgb(53, 47, 47);
}

.navbar ul li a:hover {
  color: #7830cb;
}

.navbar ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: currentColor;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar ul li a:hover::after {
  transform: scaleX(1);
}

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

.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container::before {
  content: "POR       CHE";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 7rem;
  letter-spacing: 1rem;
  color: rgb(255, 255, 255);
  white-space: pre;
  z-index: 0;
  pointer-events: none;
  font-weight: 500;
}

.container::after {
  content: "S";
  position: absolute;
  top: 0%;
  left: 65%;
  transform: translate(-50%, -50%) scale(1.6);
  font-size: 22rem;
  color: rgb(116, 13, 153);
  font-weight: 900;
  z-index: -2;
  pointer-events: none;
  width: 1em;
  height: 1em;
}

.container img {
  width: 30%;
  position: relative;
  z-index: 1;
}

.btn-white {
  padding: 14px 38px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #1d1d1f;
  background-color: #ffffff;
  border: none;
  border-radius: 10rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 4px 6px rgba(0, 0, 0, 0.08);
}

.btn-white:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-white::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: 0.6s;
}

.btn-white:hover::before {
  left: 100%;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  color: rgb(0, 0, 0);
  margin-bottom: 1rem;
}

.right-footer ul {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.right-footer ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.right-footer ul li a:hover {
  color: #acaaaa;
}

/* ANIMACOES */
.container::before,
.container::after,
.container img,
.btn-white {
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 40px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes fadeScaleS {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.6) rotate(0deg);
  }
}

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

@keyframes fadeUpButton {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container::before {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

.container::after {
  animation: fadeScaleS 1s ease forwards;
  animation-delay: 0.9s;
}

.container img {
  animation: fadeUpImage 1s ease forwards;
  animation-delay: 2s;
}

.btn-white {
  animation: fadeUpButton 0.8s ease forwards;
  animation-delay: 2s;
}
