body {
  background-color: #0b3d1d;
  background-image: url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f4b41a;
  font-family: "brandon-grotesque", sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-bottom: 50px;
  overflow-x: hidden;
}

.header {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.logo-brasilia {
  height: 100px;
}

.logo-nastic {
  height: 100px;
}

h1 {
  margin-top: 20px;
  font-size: 3.8rem;
  line-height: 1.1;
  text-transform: uppercase;
  max-width: 1000px;
  padding: 0 20px;
  font-weight: 800;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}

.input-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

input[type="text"] {
  background-color: rgba(8, 46, 22, 0.8);
  font-weight: 700;
  border: none;
  color: #028940;
  padding: 25px 30px;
  font-size: 2rem;
  border-radius: 40px;
  width: 85%;
  max-width: 450px;
  text-align: center;
  outline: none;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

input[type="text"]::placeholder {
  color: #2e8b57;
  opacity: 0.8;
}

button {
  background-color: #028940;
  color: #f4b41a;
  border: 2px solid #f4b41a;
  padding: 10px 60px;
  font-size: 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #f4b41a;
  color: #0b3d1d;
}

.links {
  margin-top: 20px;
  font-size: 1rem;
  display: flex;
  gap: 30px;
}

.links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

.links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.visual-container {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cup-img {
  max-width: 1100px;
  width: 100%;
  height: auto;
  display: block;
}

.scroll-up-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 99;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none; /* Prevent clicking when hidden */
}

.scroll-up-container.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-up-container:hover {
  transform: translateX(-50%) scale(1.1);
}

#message {
  margin-top: 25px;
  font-weight: bold;
  font-size: 1.2rem;
  min-height: 1.5em;
  padding: 10px 20px;
  border-radius: 10px;
}

.success {
  background-color: rgba(76, 175, 80, 0.2);
  color: #4caf50;
}
.error {
  background-color: rgba(244, 67, 54, 0.2);
  color: #f44336;
}
