595 lines
11 KiB
CSS
595 lines
11 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Rajdhani:wght@400;700&display=swap');
|
|
|
|
:root {
|
|
--orange-neon: #FF5E00;
|
|
--yellow: #FFD700;
|
|
--black: #000000;
|
|
--highlight: #FF8C00;
|
|
--font-body: 'Rajdhani', sans-serif;
|
|
--font-display: 'Orbitron', sans-serif;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--black);
|
|
color: var(--yellow);
|
|
font-family: var(--font-body);
|
|
scroll-behavior: smooth;
|
|
font-size: 18px; /* aumentado para escritorio */
|
|
}
|
|
|
|
.screen {
|
|
min-height: 100vh;
|
|
width: 100%;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-attachment: fixed;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 4rem 2rem;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
.screen-1 {
|
|
background-image: url("images/0ASIS_WEB_PEN/abstract-orange-powder-explosion-on-black-background-freeze-motion-of-orange-dust-particles-splash-free-photo.jpg");
|
|
}
|
|
|
|
.screen-2 {
|
|
background-image: url('images/0ASIS_WEB_PEN/3929846fb3c1bcd0caa0add809a56d4e.jpg');
|
|
}
|
|
|
|
.screen-3 {
|
|
background-image: url('images/0ASIS_WEB_PEN/palmeras_calidad_fondo.jpg');
|
|
background-size: cover;
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
.screen-4 {
|
|
background-image: url("images/0ASIS_WEB_PEN/agua_fondo3.jpg");
|
|
background-size: cover;
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
.header .logo {
|
|
height: 150px;
|
|
}
|
|
|
|
.header .main-title {
|
|
font-size: 10rem;
|
|
font-family: var(--font-display);
|
|
color: var(--orange-neon);
|
|
text-shadow: 0 0 10px var(--orange-neon);
|
|
}
|
|
|
|
.main-nav {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.main-nav ul {
|
|
display: flex;
|
|
justify-content: center;
|
|
list-style: none;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.main-nav a {
|
|
color: var(--orange-neon);
|
|
text-decoration: none;
|
|
font-family: var(--font-display);
|
|
font-weight: bold;
|
|
font-size: 2rem;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.main-nav a:hover {
|
|
color: var(--yellow);
|
|
}
|
|
|
|
/* === Pantalla 1: logo a la izquierda + título centrado === */
|
|
.screen-1 .header {
|
|
position: absolute;
|
|
top: 2rem;
|
|
left: 0; right: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2rem;
|
|
}
|
|
|
|
/* logo pegado a la izquierda */
|
|
.screen-1 .header .logo {
|
|
position: absolute;
|
|
left: 10rem;
|
|
top: 4rem;
|
|
height: 160px; /* ajústalo si hace falta */
|
|
width: auto;
|
|
}
|
|
|
|
/* título “OASIS” centrado y grande */
|
|
.screen-1 .header .main-title {
|
|
margin: 0;
|
|
font-size: 10rem; /* ajústalo */
|
|
margin-top: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
/* === Tagline justo debajo y centrado === */
|
|
.screen-1 .intro-block {
|
|
position: relative;
|
|
margin-top: 8rem; /* separa del header */
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.screen-1 .intro-block h2 {
|
|
font-size: 3rem; /* más grande */
|
|
color: #42FF00; /* verde puro */
|
|
text-shadow: 0 0 6px #42FF00;
|
|
margin-top: 14rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.intro-text span {
|
|
display: block;
|
|
font-size: 4rem;
|
|
margin-top: 0.5rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.buttons {
|
|
margin-top: 2rem;
|
|
margin-bottom: 2rem;
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
flex-wrap: wrap;
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn {
|
|
border: 2px solid var(--orange-neon);
|
|
color: var(--yellow);
|
|
background-color: transparent;
|
|
font-weight: bold;
|
|
border-radius: 5px;
|
|
font-family: var(--font-display);
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn:hover {
|
|
background: var(--yellow);
|
|
color: #000;
|
|
box-shadow: 0 0 15px var(--yellow);
|
|
}
|
|
|
|
.btn_main {
|
|
border: 2px solid var(--orange-neon);
|
|
color: var(--yellow);
|
|
background-color: transparent;
|
|
font-weight: bold;
|
|
border-radius: 5px;
|
|
font-family: var(--font-display);
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
justify-content: center;
|
|
font-size: 2em;
|
|
}
|
|
|
|
|
|
.btn_main:hover {
|
|
background: var(--yellow);
|
|
color: #000;
|
|
box-shadow: 0 0 15px var(--yellow);
|
|
}
|
|
|
|
|
|
.content {
|
|
background: rgba(0, 0, 0, 0.8);
|
|
padding: 3rem;
|
|
border-radius: 10px;
|
|
max-width: 1500px; /* antes 1000px */
|
|
font-size: 2rem; /* más grande en escritorio */
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.content h2 {
|
|
font-size: 3rem;
|
|
color: var(--orange-neon);
|
|
font-family: var(--font-display);
|
|
margin-bottom: 2rem;
|
|
text-shadow: 0 0 6px var(--yellow);
|
|
}
|
|
|
|
.h2 {
|
|
font-size: 3rem;
|
|
color: var(--orange-neon);
|
|
font-family: var(--font-display);
|
|
margin-bottom: 2rem;
|
|
text-shadow: 0 0 6px var(--yellow);
|
|
}
|
|
|
|
|
|
.card-group {
|
|
display: flex;
|
|
flex-wrap: nowrap; /* evita que se bajen CAAAAAAAAAAAAAAAAAAAAAAAARRRRRRRRRRRRRRRRRDS */
|
|
gap: 1.2rem;
|
|
justify-content: space-between;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.card {
|
|
flex: 1 1 calc(25% - 1rem);
|
|
min-width: 200px;
|
|
background: rgba(20, 20, 20, 0.9);
|
|
padding: 1.5rem;
|
|
padding-bottom: 1.5rem;
|
|
border-radius: 10px;
|
|
text-align: left;
|
|
box-shadow: 0 0 12px rgba(255, 94, 0, 0.3);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
position: hidden;
|
|
overflow: relative;
|
|
}
|
|
|
|
.card-group .card .card-link {
|
|
flex: 1 1 22%; /* aproximadamente 25% - margen */
|
|
min-width: 220px;
|
|
max-width: 25%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.card .btn {
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
.card .buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
text-align: center;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: scale(1.03);
|
|
box-shadow: 0 0 20px var(--orange-neon);
|
|
}
|
|
|
|
.card h3 {
|
|
color: var(--orange-neon);
|
|
font-size: 1.4rem;
|
|
font-family: var(--font-display);
|
|
margin-bottom: 0.5rem;
|
|
text-shadow: 0 0 6px var(--orange-neon);
|
|
}
|
|
|
|
.card p {
|
|
color: var(--yellow);
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.card-group a {
|
|
all: unset;
|
|
display: block;
|
|
}
|
|
|
|
.card-group a h3,
|
|
.card-group a p {
|
|
color: var(--yellow);
|
|
text-decoration: none;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.card-group a:hover h3,
|
|
.card-group a:hover p {
|
|
color: var(--orange-neon);
|
|
}
|
|
|
|
|
|
.card-link {
|
|
display: block;
|
|
text-decoration: none;
|
|
background: rgba(20, 20, 20, 0.9);
|
|
padding: 1.5rem;
|
|
border-radius: 10px;
|
|
text-align: left;
|
|
box-shadow: 0 0 12px rgba(255, 94, 0, 0.3);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
color: var(--orange-neon);
|
|
}
|
|
|
|
.card-link h2 {
|
|
color: var(--orange-neon);
|
|
font-size: 1.4rem;
|
|
font-family: var(--font-display);
|
|
margin-bottom: 0.5rem;
|
|
text-shadow: 0 0 6px var(--orange-neon);
|
|
}
|
|
|
|
.card-link p {
|
|
color: var(--orange-neon);
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
|
|
.extra-info img {
|
|
width: 100%;
|
|
max-width: 250px;
|
|
height: auto;
|
|
display: block;
|
|
margin: 1rem auto;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 10px var(--yellow);
|
|
}
|
|
|
|
.card .extra-info {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
transition: opacity 0.4s ease, transform 0.4s ease;
|
|
transform: translateY(10px);
|
|
}
|
|
|
|
.card:hover .extra-info {
|
|
max-height: 750px;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.site-footer {
|
|
background-color: #000;
|
|
color: var(--orange-neon);
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
padding: 2rem;
|
|
border-top: 1px solid var(--orange-neon);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header .main-title {
|
|
font-size: 5rem;
|
|
font-family: var(--font-display);
|
|
color: var(--orange-neon);
|
|
text-shadow: 0 0 10px var(--orange-neon);
|
|
}
|
|
|
|
.buttons {
|
|
margin-top: 2rem;
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
flex-wrap: wrap;
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.main-nav ul {
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
.main-nav a {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.intro-block {
|
|
position: absolute;
|
|
bottom: 30%;
|
|
text-align: center;
|
|
}
|
|
|
|
.logo-title-wrap {
|
|
flex-direction: column;
|
|
margin-bottom: 8rem;
|
|
alighn: center;
|
|
}
|
|
|
|
.card-group {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.card-group .card {
|
|
flex: 1 1 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.card .btn {
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
.card .buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
text-align: center;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.header .logo {
|
|
height: 60px;
|
|
}
|
|
|
|
.content h2 {
|
|
font-size: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.card h3 {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.card p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.card .extra-info {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
margin-top: 0;
|
|
transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
|
|
}
|
|
|
|
.card.expanded .extra-info,
|
|
.card:hover .extra-info {
|
|
max-height: 750px;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
/* stack title → logo (instead of column-reverse) */
|
|
.header {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
top: 4rem; /* pull the whole header down */
|
|
}
|
|
|
|
/* much smaller heading */
|
|
.header .main-title {
|
|
font-size: 5rem !important; /* force it */
|
|
margin: 2rem 0; /* some breathing room */
|
|
line-height: 1.1;
|
|
}
|
|
|
|
/* Logo centrado y separado del título */
|
|
.header .logo {
|
|
order: 2;
|
|
margin: 5rem -2rem ; /* arriba, auto (centra), abajo */
|
|
height: 100px; /* ajusta a tu gusto */
|
|
display: block; /* para que margin-auto centre bien */
|
|
}
|
|
|
|
|
|
|
|
.main-nav ul {
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.main-nav a {
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.intro-block {
|
|
position: absolute;
|
|
bottom: 30%;
|
|
text-align: center;
|
|
}
|
|
|
|
.intro-text h2 {
|
|
font-size: 1.5rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.intro-text span {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
.btn {
|
|
font-size: 1.2rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
.buttons {
|
|
margin-top: 2rem;
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
flex-wrap: wrap;
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.card h3 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.card-group {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.card-group .card {
|
|
flex: 1 1 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.card p {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.card .btn {
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
.card .buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
text-align: center;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.content h2 {
|
|
font-size: 1.4rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.card .extra-info {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
margin-top: 0;
|
|
transition: max-height 0.4s ease, opacity 0.4s ease;
|
|
}
|
|
|
|
.card:hover .extra-info,
|
|
.card.expanded .extra-info {
|
|
max-height: 750px;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|