@font-face {
  font-family: "MyFont";
  src: url("WhisperingSignature.ttf") format("woff2");
}

body {
  background: #f3f3f3;
}

.container-base .base-paper.intro .intro {
  font-size: 18px;
  margin: 0 auto;
  background-color: #ffffffd8;
  border-radius: 8px;
  padding: 1px 20px;
  display: flex;
  justify-content: center;
  vertical-align: center;
  flex-direction: column;
  width: 50%;
}

/* Wrapper for the 3D flip */
.paper-3d-wrapper {
  width: 650px;
  height: 650px;
  perspective: 1200px;
  position: relative;
  padding-right: 5px;
}

.paper-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease-in-out;
  cursor: pointer;
}

.base-paper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #ccc;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  user-select: text;
  backface-visibility: hidden;
  /* Hide back side when not flipped */

  background-color: #d9c7b9;
  background-position: 0 0, 5px 5px;
  background-size: 100% 100%;
  border: 1.5px solid #c8c2b7;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  z-index: 0;
}

.base-paper.intro {
  background: url("fundomonstera.jpg");
  font-size: 18px;
  width: 650px;
  display: flex;
  align-items: center;
}

.base-paper.intro::before {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0; */
  background: rgba(255, 255, 255, 0.5); /* black overlay with 50% opacity */
  z-index: -1;
  width: 650px;
}

.base-paper.front {
  visibility: hidden;
  background-image: url("paper-bg.png");
}

/* Back side styling */
.base-paper.back {
  background-color: #f3e8dc;
  color: #4c3e31;
  font-family: Arial, sans-serif;
  transform: rotateY(180deg);
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  border-color: #b8a992;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  background-image: url("paperback-bg.png");
}

/* Flip the paper when toggled */
.paper-3d.flipped {
  transform: rotateY(180deg);
}

.text-sectors {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 65px auto 0;
}

.text-sector {
  position: absolute;
  width: 220px;
  height: 180px;
  font-weight: bold;
  font-size: 16px;
  color: black;
  text-align: center;
  line-height: 1.3;
  top: 50%;
  left: 50%;
  margin-top: -45px;
  margin-left: -90px;
  font-family: Arial;
}

.text-sector span {
  background-color: rgba(255, 255, 255, 0.6);
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 2px;
}

/* Cada setor posicionado e rotacionado para encaixar no diamante */
.sector0 {
  transform: rotate(0deg) translateY(-115px) translateX(-20px) rotate(0deg);
  transform-origin: center bottom;
  font-size: 40px;
  background: linear-gradient(90deg, #d7d7d7, #474747, #d7d7d7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6), 0 -1px 1px rgba(0, 0, 0, 0.2);
  font-family: "MyFont";
}

.sector1 {
  transform: rotate(90deg) translateY(-155px) translateX(90px) rotate(-90deg);
  transform-origin: center bottom;
  text-align: right;
  font-weight: bold;
  color: black;
  -webkit-text-stroke: 1px #c0c0c0b2;
}

.sector2 {
  transform: rotate(180deg) translateY(-260px) translateX(40px) rotate(-180deg);
  transform-origin: center bottom;
  font-weight: bold;
  color: black;
  /* Text color */
  -webkit-text-stroke: 1px #c0c0c0b2;
  /* Border around text */
}

.sector2.text-sector {
  width: 260px;
}

.sector3 {
  transform: rotate(270deg) translateY(-195px) translateX(-60px) rotate(-270deg);
  transform-origin: center bottom;
  width: 200px;
  text-align: left;
  font-weight: bold;
  color: black;
  /* Text color */
  -webkit-text-stroke: 1px #c0c0c0b2;
  /* Border around text */
}

.wheel-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.8s ease;
  transform-origin: 50% 50%;
  pointer-events: none;
}

svg {
  width: 100%;
  height: 100%;
  display: block;
}

button {
  padding: 12px 28px;
  font-size: 18px;
  background-color: #004d40;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
}

button:hover {
  background-color: #00695c;
}

button:disabled {
  background-color: #ccc;
  opacity: 0.3;
  pointer-events: none;
}

a,
a:active,
a:visited {
  color: blue;
  text-decoration: none;
  font-size: 14px;
}

.timeline {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.container .info {
  text-align: left;
  background-color: #ffffffd8;
  border-radius: 8px;
  padding: 10px 40px;
  margin: 160px 0px 0px 80px;
  font-size: 15px;
  font-weight: 600;
}

.container .info .numeros {
  font-weight: 300;
}

.container .schedule {
  background-color: #ffffffd8;
  border-radius: 8px;
  padding: 1px 20px;
  margin-top: 20px;
}

.container .schedule h2 {
  text-align: left;
  font-size: 18px;
  font-weight: 100;
  margin-bottom: 10px;
}

.container .schedule .arrival {
  text-align: right;
  font-size: 15px;
  font-weight: 500;
  margin-top: -35px;
}

.container .timelineevents {
  width: 100%;
  height: 55px;
  background-image: url(./eventos.png);
  background-size: 100%;
}

.container .timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}

.container .event {
  width: 60px;
  margin-bottom: 15px;
}

.container .event span {
  font-size: 13px;
}

.container .event p {
  margin: 5px 0 0;
  font-size: 0.9rem;
}

.container footer {
  text-align: center;
  background-color: #ffffffd8;
  border-radius: 8px;
  padding: 3px;
  width: 60%;
  margin: 0 auto;
  margin-top: 70px;
}
