* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  background: url("images/image_main.webp") no-repeat bottom center fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scrollBackground 90s linear infinite alternate;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.605);
  z-index: -1;
}

@keyframes scrollBackground {
  0% {
    background-position: center top;
  }
  100% {
    background-position: center bottom;
  }
}

.container {
  background: linear-gradient(180deg, #ff0000, #800000, #000000);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 18px 25px rgba(222, 222, 222, 0.436);
  width: 400px;
}

.tab-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  font-weight: 700;
}

.tab {
  flex: 1;
  padding: 10px;
  background: #f0f0f0;
  border: none;
  border-radius: 18px;
  margin: 0 5px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.tab:hover {
  background: #d34e4e;
}

.tab.active {
  background: #ff0000;
  color: white;
}

.form {
  display: none;
}

.form.active {
  display: block;
}

form h2 {
  text-align: center;
  color: brown;
  margin-bottom: 20px;
}

form input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  background: #ffffffbd;
  border: 1px solid #ccc;
  border-radius: 8px;
}

form button {
  width: 100%;
  padding: 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  background: #ff0000;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
}

form button:hover {
  background: #a41f1f;
}
.captcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.captcha-wrapper {
  overflow: hidden;
}

.g-recaptcha {
  transform: scale(0.95);
  transform-origin: 0 0;
}
@media (max-width: 768px) {
  .captcha-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .container {
    width: 90%;
  }
  .g-recaptcha {
    transform: scale(0.35);
    transform-origin: center;
  }
}
