154 lines
2.5 KiB
CSS
154 lines
2.5 KiB
CSS
* {
|
|
padding: none;
|
|
margin: none;
|
|
}
|
|
|
|
/* Fondo general y tipografía */
|
|
body {
|
|
margin: 0;
|
|
font-family: "Segoe UI", sans-serif;
|
|
/* background: radial-gradient(circle at center, #f8f4ff, hsl(218, 45%, 37%)); */
|
|
background: radial-gradient(circle at center, #f8f4ff, #d5a00f65);
|
|
|
|
color: #1a1a1a;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Header */
|
|
header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1.5rem 2rem;
|
|
background: transparent;
|
|
font-weight: bold;
|
|
}
|
|
|
|
header div:first-child {
|
|
font-size: 1.5rem;
|
|
color: #003d79;
|
|
}
|
|
|
|
.nav-links {
|
|
background-color: white;
|
|
padding: 10px;
|
|
border-radius: 50px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
/* sombra suave */
|
|
display: flex;
|
|
gap: 1rem;
|
|
/* espacio entre los <a> */
|
|
}
|
|
|
|
header a {
|
|
margin: 0 0.75rem;
|
|
text-decoration: none;
|
|
color: #333;
|
|
font-weight: 500;
|
|
}
|
|
|
|
header button {
|
|
margin-left: 0.5rem;
|
|
padding: 0.4rem 1rem;
|
|
border-radius: 20px;
|
|
border: none;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
header button:first-of-type {
|
|
background-color: white;
|
|
border: 1px solid #ccc;
|
|
color: #555;
|
|
}
|
|
|
|
header button:last-of-type {
|
|
background-color: #0033ff;
|
|
color: white;
|
|
}
|
|
|
|
/* Texto principal */
|
|
strong {
|
|
display: block;
|
|
font-size: 2.5rem;
|
|
margin: 2rem 0 1rem;
|
|
}
|
|
|
|
p {
|
|
font-size: 1rem;
|
|
color: #555;
|
|
/* max-width: 600px; */
|
|
margin: 0 auto 1rem;
|
|
}
|
|
|
|
/* Botón principal */
|
|
div>button {
|
|
background-color: #003d79;
|
|
color: white;
|
|
padding: 0.7rem 2rem;
|
|
border: none;
|
|
border-radius: 25px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
div>div p {
|
|
margin: 0;
|
|
font-size: 0.9rem;
|
|
color: #888;
|
|
}
|
|
|
|
/* Scroll hint */
|
|
body>p:last-of-type {
|
|
margin-top: 2rem;
|
|
font-size: 0.85rem;
|
|
color: #aaa;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.ocultar-scroll {
|
|
scrollbar-width: none;
|
|
/* Firefox */
|
|
-ms-overflow-style: none;
|
|
/* IE 10+ */
|
|
}
|
|
|
|
.ocultar-scroll::-webkit-scrollbar {
|
|
display: none;
|
|
/* Chrome, Safari */
|
|
}
|
|
|
|
.circle-background {
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
position: fixed;
|
|
top: none;
|
|
left: none;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
z-index: -1;
|
|
background-color: #003d79c2;
|
|
/* para que esté detrás de todo */
|
|
pointer-events: none;
|
|
/* no interfiere con el contenido */
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.circle {
|
|
position: absolute;
|
|
background: radial-gradient(circle, rgb(255, 255, 255), transparent);
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
|
|
.invert {
|
|
filter: invert(1);
|
|
} |