/* General */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
}

h1, h2 {
  text-align: center;
  color: #333;
}

/* Franja superior */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(to right, #4caf50, #007bff);
  color: white;
}

.header h1 {
  margin: 0;
  font-size: 20px;
}

.header .logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid white;
}

/* Contenedor principal */
.main-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px auto;
  max-width: 900px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

/* Contenedor de la imagen */
.image-container {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #f4f4f4;
  overflow: hidden;
  width: 500px; /* Tamaño fijo */
  height: 500px; /* Tamaño fijo */
}

/* Imagen */


/* Pseudo-elemento para el degradado radial */
/* Imagen cuadrada con borde difuminado transparente */
.image-container img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 10px;
  object-fit: cover;

  /* Creando el borde difuminado */
  position: relative;
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
  background-color: white; /* Fondo visible donde el borde se desvanece */
}

.image-container img:hover {
  transform: scale(1.05); /* Pequeño zoom al pasar el mouse */
  transition: transform 0.3s ease;
}

/* Formulario de inicio de sesión */
.login-container {
  flex: 1;
  padding: 20px;
}

form input, form button {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background-color: #f4b153;
  color: white;
  border: none;
  cursor: pointer;
}

form button:hover {
  background-color: #0056b3;
}

form p {
  text-align: center;
}
