/* General */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; background: linear-gradient(135deg, #f5f5f5, #dfe6e9); /* Fondo degradado */ } /* Barra superior */ .header { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); position: fixed; top: 0; width: 100%; z-index: 1000; } .header .logo-img { max-height: 70px; } .search-container { display: flex; align-items: center; } .search-container input { padding: 8px; border: none; border-radius: 5px; margin-left: 10px; } /* Espacio entre el header y el contenido principal */ main { display: flex; flex-direction: column; justify-content: center; /* Centrado vertical */ align-items: center; /* Centrado horizontal */ padding-top: 100px; /* Espacio para el header fijo + separación extra */ min-height: calc(100vh - 100px); /* Altura mínima considerando el header */ } /* Logo */ .logo { font-size: 1.5em; font-weight: bold; color: #FAC800; margin-right: 20px; } .logo span { color: #00A5E5; } /* Opciones del header */ .header-option { display: flex; align-items: center; padding: 8px 15px; margin-right: 10px; border: 1px solid #ddd; border-radius: 50px; font-size: 0.9em; cursor: pointer; } .header-option i { color: #FAC800; margin-right: 8px; } /* Barra de búsqueda */ .search-container { display: flex; align-items: center; flex-grow: 1; margin: 0 20px; position: relative; } .search-container input[type="text"] { width: 100%; padding: 8px 15px; padding-left: 35px; border: 1px solid #ddd; border-radius: 50px; outline: none; font-size: 0.9em; color: #777; } .search-container i { position: absolute; left: 15px; color: #aaa; } /* Enlaces de header */ .header-links { display: flex; align-items: center; } .header-links a { margin-right: 15px; color: #FAC800; text-decoration: none; font-weight: bold; font-size: 0.9em; } /* Botón de login */ .header-links .login-button { background-color: #FAC800; color: white; padding: 8px 20px; border-radius: 50px; font-weight: bold; text-decoration: none; } /* Íconos */ .icons { display: flex; align-items: center; margin-left: 15px; } .icons i { font-size: 1.2em; color: #777; margin-right: 15px; cursor: pointer; } body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; } /* Estilo para el mapa */ #map { height: 400px; /* Ajusta la altura del mapa */ width: 100%; } /* Estilos para la calculadora */ #calculadora { background-color: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); margin-top: 20px; } #calculadora label, #calculadora input, #calculadora button { font-size: 16px; margin-bottom: 10px; } #calculadora input { width: 100%; padding: 8px; margin-top: 5px; border-radius: 5px; } #calculadora button { background-color: #FAC800; color: white; padding: 10px 15px; border: none; border-radius: 5px; cursor: pointer; } #calculadora button:hover { background-color: #c19c07; } /* Estilos para la sección de introducción */ #introduccion { padding: 20px; background-color: #f9f9f9; margin-bottom: 20px; } .intro-contenedor { display: flex; justify-content: space-between; align-items: center; gap: 20px; } .intro-texto { flex: 1; } .intro-texto h1 { font-size: 24px; margin-bottom: 10px; color: #333; } .intro-texto p { font-size: 16px; margin-bottom: 10px; color: #555; line-height: 1.5; } .intro-texto ul { padding-left: 20px; margin-bottom: 10px; color: #555; } .intro-texto ul li { list-style-type: disc; margin-bottom: 5px; } .intro-imagen { flex: 1; text-align: center; } .intro-imagen img { max-width: 100%; border-radius: 10px; }