:root {
  color-scheme: light only;
  -webkit-color-scheme: light only;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light only !important;
    -webkit-color-scheme: light only !important;
  }

  body {
    background: linear-gradient(
      90deg,
      rgba(230, 231, 226, 1),
      rgba(234, 232, 219, 1),
      rgba(231, 226, 223, 1)
    ) !important;
    color: #3d3d3d !important;
  }

  * {
    color-scheme: light only !important;
    -webkit-color-scheme: light only !important;
  }
}


@font-face {
  font-family: "Brittany";
  src: url("assets/fonts/BrittanySignature-LjyZ.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

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

body {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  color: #3d3d3d;
  color-scheme: light only;
  width: 100%;
  overflow-x: hidden;
  background: linear-gradient(
    90deg,
    rgba(230, 231, 226, 1),
    rgba(234, 232, 219, 1),
    rgba(231, 226, 223, 1)
  );
  background-size: 300% 300%;
  animation: bgMove 5s ease infinite;
}

@keyframes bgMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.main-section {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  font-size: 1.2rem;
  gap: 50px;
  padding: 20px;
}

.card-content {
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
}

/*
.names {
  font-family: "Brittany", serif;
  font-size: 4rem;
  font-weight: 400;
  color: #000000;
  text-align: center;
}*/

.header{
  display: flex;
  justify-content: center;
  align-items: center;
}

.names{
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  text-align: center;
}

.names-image{
  width:100%;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}

.highlight-brazil {
  color: #000000;
  font-weight: 900;
  font-size: 1.6rem;
}

.brazil-icon {
  width: 25px;
  height: 25px;
}

.highlight-date {
  color: #000000;
  font-weight: 900;
}

.card-image {
  width: 100%;
  max-width: 450px;
  height: 450px;
  object-fit: cover;
  object-position: bottom top;
}

.hero-image-img {
  width: 100%;
  max-width: 450px;
  height: 450px;
  object-fit: cover;
  object-position: bottom top;

  transition: transform 350ms ease-in-out;
  will-change: transform;
}
.hero-image-img:hover {
  transform: scale(1);
}

.brazil{
  background-color: #3d3d3d;
  display: flex;
  align-items: center;
}

@media (max-width: 1040px) {
  .main-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .names{
    font-size: 3rem;
    width:300px;
  }
}

/* --- CONFETTIS --- */
#fx {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

/* --- BRAZIL GIF OVERLAY --- */
#brazil-gif-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#brazil-gif-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

#brazil-gif-overlay img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  border-radius: 10px;
}
