/* Reset and basic configuration */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

/* Body styles */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(/static/PNG2/fondo3.png);
  background-size: cover;
  background-position: center;
  font-size: 16px;
  text-align: justify;
}

/* Header styles */
header {
  background: rgb(138, 24, 26);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
  width: 100%;
  transition: all 0.3s ease;
}
.navegador {
  width: 100%;
  height: 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
.brand-logo {
  width: 150px; 
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

/* Navigation Links Styles */
.links {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.links li {
  list-style: none;
}

.links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}

.links a .icon {
  margin-left: 5px;
}

.links a .link-text {
  display: inline;
}

.links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.links a:hover::after {
  width: 100%;
}
.navegador .links {
  display: flex;
  gap: 2rem;
}

header .brand {
  color: rgb(255, 255, 255);
  font-size: 1.5em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
}

header .navegador .navegador-items a {
  position: relative;
  color: rgb(255, 255, 255);
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  margin-left: 30px;
  transition: 0.3s ease;
}

header .navegador .navegador-items a:before {
  content: "";
  position: absolute;
  background-color: rgb(255, 255, 255);
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;
}

header .navegador.active .navegador-items {
  background: rgb(255, 255, 255);
  width: 100%;
  max-width: 600px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgb(255, 255, 255);
}

header .navegador .navegador-items a:hover:before {
  width: 100%;
}

/* Main container styles */
.container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 20px;
  gap: 20px;
  max-width: 1000px;
  width: 70%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-out;
  margin: 80px auto 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Information box styles */
.box-info {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.box-info > h1 {
  text-align: left;
  letter-spacing: 2px;
  font-size: 2rem;
  animation: slideInLeft 1s ease-out;
}

h1{
  font-size: 2rem;
  text-align: left;
  letter-spacing: 2px;
  font-size: 2rem;
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.data {
  margin-top: 7%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.data > p {
  font-size: 1rem;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.data > p:hover {
  transform: translateX(10px);
}

.data > p i {
  color: #FB3640;
  padding-right: 20px;
}

/* Form styles */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-box {
  display: flex;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  position: relative;
}

.input-box input, .input-box textarea {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  color: #fff;
  padding: 5px;
  font-size: 1rem;
}

.input-box i {
  color: #FB3640;
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
}

textarea {
  resize: none;
  height: 150px;
}

/* Submit button styles */
.button-container {
  position: relative;
  width: 100%;
  height: 44px;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button-container2{
  position: relative;
  width: 100%;
  height: 44px;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.titulo-submit{
  position: relative;
  margin-top: 1.4rem;
}
.submit-button {
  width: 100%;
  height: 100%;
  background-color: #FB3640;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.submit-button:hover {
  background-color: #333;
}

.submit-button.loading,
.submit-button.success,
.submit-button.error {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
}

.submit-button.success {
  background-color: #4CAF50;
}

.submit-button.error {
  background-color: #ff3333;
}

.button-text {
  transition: opacity 0.3s ease;
}

.loading-spinner,
.success-icon,
.error-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.success-icon,
.error-icon {
  font-size: 24px;
  color: #fff;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Footer styles */
.footer {
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: auto;
}

/* Video background styles */
.video-background {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1000;
}

#bgVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1000;
}

/* Responsive styles */
@media (max-width: 768px) {
  .container {
      grid-template-columns: 1fr;
  }

  .toggle_btn {
      display: block;
      font-size: 1.2rem;
  }

  .navegador .links {
      gap: 10px;
  }

  .links a {
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}

.links a .icon {
    margin-right: 0;
    margin-top: 5px;
}

.links a .link-text {
    display: block;
    font-size: 0.7rem;
}
}
@media (max-width: 600px) {
    .brand-logo {
        width: 100px;
    }

    .links {
        gap: 5px;
    }

    .links li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.7rem;
        padding: 5px;
    }

    .links li a .icon {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .links li a .link-text {
        display: block;
    }
}
@media (max-width: 480px) {

  .brand-logo {
    width: 90px;
}

.links li a {
    padding: 3px;
}

.links li a .icon {
    font-size: 1rem;
}
  .links {
      gap: 1rem;
  }

  .navegador .links {
      gap: 10px;
  }

  .links a {
      font-size: 0.8rem;
  }
}

@media screen and (min-width: 1920px) {
  body {
      font-size: 25px;
  }

  .container {
      max-width: 1600px;
      margin: 120px auto 40px;
      padding: 60px;
  }

  .box-info > h1 {
      font-size: 3rem;
  }

  .data > p {
      font-size: 3rem;
  }

  .input-box {
      padding: 20px;
  }

  .brand-logo {
      width: 200rem;
  }

  .input-box input, .input-box textarea {
      font-size: 2rem;
  }

  button {
      font-size: 2rem;
      padding: 30px;
  }

  .footer {
      font-size: 2rem;
      padding: 30px;
  }

  #bgVideo {
      object-fit: cover;
  }
}

@media screen and (min-width: 2560px) {
  body {
      font-size: 25px;
  }

  .container {
      max-width: 2000px;
      margin: 300px auto 60px;
      padding: 60px;
  }

  .box-info > h1 {
      font-size: 4rem;
  }

  .data > p {
      font-size: 2rem;
  }

  .input-box {
      padding: 20px;
  }

  .input-box input, .input-box textarea {
      font-size: 1.5rem;
  }

  button {
      font-size: 1.5rem;
      padding: 25px;
  }

  .footer {
      font-size: 1.5rem;
      padding: 40px;
  }

  .brand-logo {
      width: 150px;
  }

  .navegador {
      height: 60px;
  }

  .links a {
      font-size: 2rem;
  }
}
@media (max-width: 380px) {
  .navegador .links {
      gap: 5px; /* Reduce el espacio entre los elementos */
  }
}

