body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1e1e1e;
}

.container {
  width: 800px;
  height: 400px;
  display: flex;
  flex-direction: row;
  background-color: #000000;
  border-radius: 5px 7px;
  color: white;
  overflow: hidden;
}

.formulario {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 10px;
}

.imagen {
  width: 50%;
  height: 100%;
}

.imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container input {
  border-radius: 10px;
  width: 100%;
  padding: 10px;
  background-color: white;
  color: black;
  border: none;
}

button {
  border-radius: 10px;
  width: 100%;
  padding: 10px;
  background-color: rgb(25, 57, 200);
  color: white;
  border: none;
  cursor: pointer;
  margin-left: 10px;
}

/* 🔻 Responsive: Ocultar imagen en móviles */
@media (max-width: 768px) {
    body {
        background-image: url('img/logo.jpeg');
        background-size: 300px 300px;
        background-position: center;
        background-repeat: repeat;
    }

.container {
    width: 98%;
    max-width: 400px;
    min-width: 220px;
    height: auto;
    flex-direction: column;
    background-color: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    margin: 0 auto;
}

  .formulario {
    width: 100%;
  }

  .imagen {
    display: none;
  }
}
