.containerGrid { display: flex; justify-content: space-evenly; align-items: center; width: 100vw; } .login-container { width: 350px; padding: 1.5rem; text-align: center; h2 { margin-bottom: 20px; color: #bd8c01; } input { width: 100%; padding: 10px; margin-bottom: 15px; border-radius: 10px; border: 1px solid #003e79; font-size: 1.5rem; } button { width: 100%; padding: 10px; background-color: #004aad; color: white; border: none; border-radius: 4px; cursor: pointer; } .error { color: red; margin-bottom: 10px; } } .imageContainer { display: flex; flex-wrap: wrap; max-width: 500px; max-height: 450px; border-radius: 10px; overflow: hidden; height: min-content; } .login-page { display: flex; grid-template-columns: 1fr 1fr; min-height: 100%; margin: 0 100px; justify-content: center; align-items: center; gap: 150px; .login-form-container { width: 100%; max-width: 400px; padding: 2rem 1.5rem; display: flex; flex-direction: column; align-items: center; h2 { color: #bd8c01; font-size: 1.8rem; margin-bottom: 1.5rem; font-weight: 600; text-align: center; } .input-group { width: 100%; margin-bottom: 1.2rem; label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #333; } input { width: 100%; padding: 12px 15px; border: 2px solid #003e79; border-radius: 8px; font-size: 1rem; transition: border-color 0.2s; &:focus { outline: none; border-color: #004aad; } } } button[type="submit"] { width: 100%; padding: 12px; background-color: #004aad; color: white; border: none; border-radius: 8px; cursor: pointer; font-size: 1rem; font-weight: 600; margin-bottom: 1rem; transition: background-color 0.2s; &:hover { background-color: #003e79; } } .forgot-password, .create-account { color: #004aad; text-decoration: none; font-size: 1rem; margin: 0.3rem 0; font-weight: 500; text-align: center; &:hover { text-decoration: underline; } } .create-account { font-weight: 600; font-size: 1rem; } .divider { width: 100%; text-align: center; margin: 1.5rem 0; position: relative; span { background: white; padding: 0 10px; color: #888; font-size: 0.9rem; } &::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #ddd; z-index: -1; } } .error { color: red; margin-bottom: 1rem; font-size: 0.9rem; } } } .image-collage { display: flex; justify-content: center; align-items: center; position: relative; width: 500px; /* o el tamaño que desees */ height: 450px; overflow: hidden; border-radius: 10px; .collage-item { position: absolute; border-radius: 0; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; display: flex; justify-content: center; align-items: center; img { object-fit: cover; object-position: sta; } } .collage-1 { top: -30px; left: 0; width: 60%; height: 60%; clip-path: polygon(0 0, 100% 0, 80% 68%, 0 68%); } .collage-2 { top: 0; right: 0; width: 60%; height: 35%; clip-path: polygon(30% 0, 100% 0, 100% 90%, 13.5% 90%); } .collage-3 { bottom: 35%; left: 0; width: 60%; height: 35%; clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%); } .collage-4 { bottom: 35%; right: 0; width: 60%; height: 35%; clip-path: polygon(13% 0, 100% 0, 100% 100%, 30% 100%); } .collage-5 { bottom: 0%; left: 0; width: 60%; height: 35%; clip-path: polygon(0 0, 97% 0, 80% 100%, 0 100%); } .collage-6 { bottom: 0%; right: 0; width: 52%; height: 35%; clip-path: polygon(19.5% 0, 100% 0, 100% 100%, 0% 100%); } } // Responsive para pantallas pequeñas @media (max-width: 768px) { .login-page { flex-direction: column; .login-form-container { width: 100%; padding: 1.5rem; margin-bottom: 1rem; } .image-collage { width: 100%; height: 300px; .collage-item { position: static; width: 100%; height: 100%; clip-path: none; border-radius: 8px; } } } .collage-item { img { display: none; } } .image-collage{ display: none; } }