OASIS-PROJECT/subdirectorios/technologies.css
2025-11-06 21:49:24 +01:00

374 lines
7.1 KiB
CSS

/* === Variables y fuentes === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Rajdhani:wght@400;700&display=swap');
:root {
--orange-neon: #FF5E00;
--yellow: #FFD700;
--white-soft: #f2f2f2;
--black: #000000;
--highlight: #FF8C00;
--font-display: 'Orbitron';
}
body {
background-image:
url("../images/0ASIS_WEB_PEN/palmmm.jpeg"),
url("../images/0ASIS_WEB_PEN/istockphoto-1589481762-612x612.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: top, center, bottom;
background-attachment: fixed;
background-color: #000; /* fallback */
}
.screen {
min-height: 100vh;
width: 100%;
padding: 3rem 0rem;
background-size: cover;
background-position: center;
background-attachment: fixed;
}
.content {
width: 95%;
margin: 0 auto;
background: rgba(0, 0, 0, 0.6);
padding: 2rem;
border-radius: 10px;
box-shadow: 0 0 15px var(--orange-neon);
}
h1 {
font-family: var(--font-display);
font-size: 4rem;
color: var(--orange-neon);
margin-bottom: 1rem;
text-shadow: 0 0 12px var(--yellow);
text-align: center;
}
h2 {
text-align: center;
font-family: var(--font-display);
font-size: 2rem;
padding: 2rem 2rem;
color: var(--orange-neon);
margin-bottom: 2rem;
text-shadow: 0 0 12px var(--orange-neon);
}
h3 {
text-align: center;
font-family: var(--font-display);
font-size: 1.4rem;
padding: 2rem 2rem;
color: var(--yellow);
margin: 1.5rem 0 0.8rem;
text-shadow: 0 0 6px var(--yellow);
}
.card-group {
box-sizing: border-box;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
margin-bottom: 1.5rem;
padding: 0 0.5rem;
}
.card {
background: rgba(20, 20, 20, 0.95);
padding: 0.5rem;
border-radius: 10px;
width: 20%;
box-shadow: 0 0 12px rgba(255, 94, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}
.card-double {
background: rgba(20, 20, 20, 0.95);
padding: 0.5rem;
border-radius: 10px;
width: 80%;
box-shadow: 0 0 12px rgba(255, 94, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}
.card:hover {
transform: scale(1.03);
box-shadow: 0 0 20px var(--orange-neon);
}
.card-double:hover {
transform: scale(1.03);
box-shadow: 0 0 20px var(--orange-neon);
}
.card p {
align-text: center;
font-size: 1rem;
font-family: var(--font-display);
color: var(--orange-neon);
line-height: 1.6;
}
.card-double p {
text-align: center;
font-size: 1rem;
font-family: var(--font-display);
color: var(--orange-neon);
line-height: 1.6;
}
.card-double p {
text-align: center;
font-size: 1rem;
font-family: var(--font-display);
color: var(--orange-neon);
line-height: 1.6;
}
.card:hover .extra-info {
display: block;
animation: fadeIn 0.4s ease-in-out;
}
.card-double:hover .extra-info {
display: block;
animation: fadeIn 0.4s ease-in-out;
}
.extra-info {
display: none;
margin-top: 1rem;
text-align: left;
}
.extra-info img {
width: 100%;
max-width: 500px;
height: auto;
display: block;
margin: 0.5rem auto 0 auto;
border-radius: 8px;
box-shadow: 0 0 4px var(--orange-neon);
}
.comparison-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
margin-top: 3rem;
font-size: 1rem;
background-color: rgba(255, 255, 255, 0.01);
color: var(--white-soft);
box-shadow: 0 0 10px var(--orange-neon);
border: 2px solid var(--orange-neon);
border-radius: 6px;
overflow: hidden;
}
.comparison-table th,
.comparison-table td {
padding: 0.6rem;
text-align: center;
border-bottom: 1px solid var(--yellow);
}
.comparison-table thead th {
background: rgba(255, 94, 0, 0.4);
color: var(--orange-neon);
font-family: var(--font-display);
font-size: 1rem;
}
.comparison-table td:first-child {
text-align: left;
font-weight: bold;
color: var(--yellow);
}
.comparison-table tbody tr:hover {
background-color: rgba(255, 94, 0, 0.9);
transition: background 0.2s ease;
}
/* Botones principales */
.buttons {
margin-top: 2rem;
margin-bottom: 2rem;
display: flex;
gap: 1.5rem;
flex-wrap: wrap;
justify-content: center;
text-align: center;
}
.btn {
border: 2px solid var(--yellow);
color: var(--yellow);
background-color: transparent;
padding: 0.7rem 1.8rem;
font-weight: bold;
border-radius: 5px;
font-family: var(--font-display);
text-decoration: none;
transition: all 0.3s ease;
}
.btn:hover {
background: var(--yellow);
color: #000;
box-shadow: 0 0 15px var(--yellow);
}
.layered-cubes {
width: 100%;
border-collapse: collapse;
background: transparent;
margin: 2rem auto;
table-layout: fixed;
}
.layered-cubes col.c1 { background-color: rgba( 0, 50, 0, 0.6); }
.layered-cubes col.c2 { background-color: rgba( 0, 80, 0, 0.7); }
.layered-cubes col.c3 { background-color: rgba( 0,120, 0, 0.7); }
.layered-cubes col.c4 { background-color: rgba(180,180, 0, 0.7); }
.layered-cubes col.c5 { background-color: rgba(220,200, 0, 0.7); }
.layered-cubes col.c6 { background-color: rgba(220,120, 0, 0.8); }
.layered-cubes col.c7 { background-color: rgba(255, 80, 0, 0.9); }
.layered-cubes th,
.layered-cubes td {
border: 1px solid rgba(255,255,255,0.2);
padding: 1rem;
text-align: center;
vertical-align: middle;
background: rgba(0,0,0,0.7);
transition: background 0.3s, transform 0.2s;
}
.layered-cubes th a,
.layered-cubes td a {
color: var(--yellow);
text-decoration: none;
display: inline-block;
width: 100%;
height: 100%;
}
.layered-cubes th:hover,
.layered-cubes td:hover {
background: rgba(255,255,255,0.1);
transform: scale(1.05);
z-index: 1;
}
/* Altura fija de filas */
.layered-cubes tbody tr,
.layered-cubes tfoot tr {
height: 8rem;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1024px) {
h2 {
font-size: 2.2rem;
}
.card {
width: 45%;
}
.comparison-table {
font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
padding: 0.4rem;
}
}
@media (max-width: 768px) {
.content {
padding: 1.5rem 1rem;
width: 100%;
box-sizing: border-box;
}
h1, h2, h3 {
font-size: 1.6rem;
text-align: center;
word-break: break-word;
padding: 0 0.5rem;
}
/* Para cualquier .card-group que uses */
.card-group {
flex-direction: column;
align-items: center;
gap: 1rem;
}
.card {
width: 100%;
max-width: 95%;
margin: 0 auto;
}
/* Tables responsivas iguales para comparison-table y layered-cubes */
.comparison-table,
.layered-cubes {
display: block;
width: 100%;
overflow-x: auto;
font-size: 0.85rem;
}
.comparison-table th, .comparison-table td,
.layered-cubes th, .layered-cubes td {
padding: 0.5rem;
text-align: center;
}
img {
max-width: 100%;
height: auto;
}
}
@media (max-width: 480px) {
h1 {
font-size: 2rem;
}
h2, h3 {
font-size: 1.4rem;
}
.btn {
font-size: 0.9rem;
padding: 0.6rem 1rem;
}
.card h3 {
font-size: 1.1rem;
}
.card p {
font-size: 0.95rem;
}
}