144 lines
2.5 KiB
CSS
144 lines
2.5 KiB
CSS
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: linear-gradient(-45deg, #f8f9ff, #fff5f8, #f0fff4, #fffaf0, #f0f8ff);
|
|
background-size: 400% 400%;
|
|
animation: backgroundShift 8s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes backgroundShift {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
25% {
|
|
background-position: 100% 0%;
|
|
}
|
|
50% {
|
|
background-position: 100% 100%;
|
|
}
|
|
75% {
|
|
background-position: 0% 100%;
|
|
}
|
|
100% {
|
|
background-position: 0% 50%;
|
|
}
|
|
}
|
|
|
|
.header {
|
|
background-color: #211b52;
|
|
padding: 1rem;
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
|
|
.header img {
|
|
height: 5rem;
|
|
margin: 0 10px;
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 2rem;
|
|
position: relative;
|
|
z-index: 5;
|
|
}
|
|
|
|
.content h2 {
|
|
background: linear-gradient(45deg, #4285f4, #34a853, #fbbc05, #ea4335);
|
|
background-size: 400% 400%;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
animation: gradientShift 3s ease-in-out infinite;
|
|
font-size: 2.5rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1.5rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.content p {
|
|
color: #5f6368;
|
|
line-height: 1.6;
|
|
margin-bottom: 1rem;
|
|
font-size: 1.2rem;
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
@keyframes gradientShift {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
50% {
|
|
background-position: 100% 50%;
|
|
}
|
|
100% {
|
|
background-position: 0% 50%;
|
|
}
|
|
}
|
|
|
|
/* Responsivo para tablets */
|
|
@media (max-width: 768px) {
|
|
.content {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.content h2 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.content p {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.header img {
|
|
height: 4rem;
|
|
}
|
|
}
|
|
|
|
/* Responsivo para móviles */
|
|
@media (max-width: 480px) {
|
|
.content {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.content h2 {
|
|
font-size: 1.8rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.content p {
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.header {
|
|
padding: 0.8rem;
|
|
}
|
|
|
|
.header img {
|
|
height: 3.5rem;
|
|
margin: 0 5px;
|
|
}
|
|
}
|
|
|
|
/* Para pantallas muy pequeñas */
|
|
@media (max-width: 320px) {
|
|
.content h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.content p {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|