.help-container { display: flex; align-items: center; cursor: pointer; } /* Estilo del círculo alrededor del ícono */ #icon { font-size: 30px; color: #fff; background-color: #28a745; border-radius: 50%; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; margin-right: 10px; } /* Texto al lado del ícono */ .help-text { font-size: 16px; color: #333; } /* El modal */ .modal { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); justify-content: center; align-items: center; } /* Contenido del modal */ .modal-content { background-color: #fff; padding: 20px; border-radius: 10px; max-width: 500px; width: 80%; box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3); } /* El botón de cerrar */ .close { color: #aaa; font-size: 28px; font-weight: bold; float: right; cursor: pointer; } .close:hover, .close:focus { color: black; text-decoration: none; cursor: pointer; } /* Centrar el formulario en la página */ form { width: 50%; /* Puedes ajustar el ancho del formulario según tus necesidades */ margin: 0 auto; /* Centra el formulario horizontalmente */ padding: 20px; /* Espaciado interno */ border: 1px solid #ccc; /* Borde opcional para el formulario */ border-radius: 8px; /* Bordes redondeados opcionales */ background-color: #f9f9f9; /* Fondo opcional */ margin-bottom: 40px; } /* Centrar los elementos dentro del formulario */ input, textarea, button { display: block; width: 100%; margin-bottom: 10px; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; } /* Estilo para el botón de envío */ input[type="submit"] { width: auto; margin-top: 10px; background-color: #4CAF50; /* Color de fondo */ color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; } input[type="submit"]:hover { background-color: #45a049; /* Color de fondo al pasar el mouse */ } /* Estilo para los inputs de texto y textarea */ input[type="text"], textarea, input[type="url"], input[type="file"] { width: 100%; max-width: 100%; /* Asegura que no se exceda del 100% */ } /* Estilo adicional opcional para el área de texto */ textarea { resize: vertical; /* Permite redimensionar solo verticalmente */ height: 150px; /* Altura mínima */ } .tittle{ text-align: center; margin-bottom: 20px; } /* Título principal */ .noticias-publicadas h3 { font-size: 1.5em; color: #333; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; } /* Lista de noticias */ .noticias-publicadas ul { list-style: none; padding: 0; margin: 0; } .noticias-publicadas ul li { background-color: #f5f5f5; padding: 12px 16px; margin-bottom: 10px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); transition: background-color 0.3s; } .noticias-publicadas ul li:hover { background-color: #eaeaea; } .noticias-publicadas li strong { color: #2c3e50; } .noticias-publicadas li em { color: #7f8c8d; font-style: italic; margin-left: 10px; } .noticias-publicadas li a { margin-left: 10px; text-decoration: none; color: #007BFF; font-weight: bold; } .noticias-publicadas li a:hover { text-decoration: underline; color: #0056b3; } .noticias-publicadas p { color: #999; font-style: italic; } .mensaje-modal { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background-color: #323232; color: #fff; padding: 15px 25px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.3); z-index: 9999; animation: fadeOut 4s forwards; font-family: sans-serif; } @keyframes fadeOut { 0% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; display: none; } }