@font-face {
    font-family: 'Montserrat';
    src: url('./fuentes/Montserrat-Regular.woff2') format('woff2'),
        url('./fuentes/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Century Gothic', sans-serif;
}

h1 {
    margin-top: 20px;
    color: #444;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Century Gothic', sans-serif;
}

/* Aumentamos el ancho del formulario */
form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1400px;
    margin-top: 20px;
    font-family: 'Century Gothic', sans-serif;
}

label {
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

input[type="file"] {
    padding: 5px;
}

button, input[type="submit"] {
    background: #007bff;
    color: white;
    border: none;
    padding: 14px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

button:hover, input[type="submit"]:hover {
    background: #0056b3;
}

.previsualizacion {
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 20px;
    display: none;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1400px;
    text-align: center;
}

.previsualizacion .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.previsualizacion .logo img {
    max-width: 400px;
    height: auto;
}

.previsualizacion .logo-texto {
    text-align: center;
    margin-top: 5px;
    font-weight: bold;
    font-size: 24px;
    font-family: 'Century Gothic', sans-serif;
}

.previsualizacion .contenido-imagen img {
    max-width: 800px;
    height: auto;
    border-radius: 10px;
}


.link-boton {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 18px;
    background-color: #ff5722;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: bold;
    max-width: 65px;
}

.link-boton:hover {
    background-color: #e64a19;
}

.contenido {
    display: flex;
    align-items: stretch; /* Ajusta la altura de ambos elementos */
    justify-content: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.contenido img {
    flex-shrink: 0;
    min-width: 300px; /* Tamaño fijo para la imagen */
    max-width: 600px;
    height: 100%; /* Ocupa toda la altura del contenedor */
    object-fit: cover; /* Ajusta la imagen sin deformarla */
    border-radius: 10px;
}

.contenido div {
    flex: 1; /* Ocupa el resto del espacio */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.contenido div .titulo-imagen{
    flex: 1; /* Ocupa el resto del espacio */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    font-family: 'Century Gothic', sans-serif;
    margin-bottom: -50px;
}
@media (max-width: 768px) {
    .contenido {
        flex-direction: column;
        text-align: center;
    }

    .contenido img {
        width: 100%;
        height: auto; /* Vuelve a tamaño automático en móviles */
    }
}