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

176 lines
3.3 KiB
CSS

/* overview.css */
/* 1. Fonts & Variables */
@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;
--white: #f2f2f2;
--font-body: 'Rajdhani', sans-serif;
--font-display:'Orbitron', sans-serif;
}
/* 2. Global Reset & Body */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: var(--black);
color: var(--white);
font-family: var(--font-body);
line-height: 1.5;
overflow-x: hidden;
}
/* 3. Full-page Section with Fixed Background */
.screen-1 {
min-height: 100vh;
padding: 4rem 1rem;
background: url("../images/0ASIS_WEB_PEN/abstract-orange-powder-explosion-on-black-background-freeze-motion-of-orange-dust-particles-splash-free-photo.jpg") center/cover fixed no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
/* 4. Card Group Layout */
.card-group {
width: 90%;
max-width: 1200px;
display: flex;
flex-direction: column;
gap: 2rem;
}
/* 5. Individual Card Styling */
.card {
background: rgba(0, 0, 0, 0.8);
background-opacity: 98%;
border: 2px solid var(--orange-neon);
border-radius: 15px;
padding: 2rem;
alighn: center;
box-shadow: 0 0 15px var(--orange-neon);
transition: transform 0.3s ease, box-shadow 0.3s ease;
margin-top: 4rem;
}
.card:hover {
transform: scale(1.20);
box-shadow: 0 0 25px var(--orange-neon);
}
.card h3 {
font-family: var(--font-display);
font-size: 2rem;
color: var(--orange-neon);
text-align: center;
margin-bottom: 1rem;
text-shadow: 0 0 8px var(--orange-neon);
}
.card p {
display: block;
font-size: 1rem;
color: var(--yellow);
margin-bottom: 1.5rem;
text-align: center;
white-space: pre-wrap;
}
/* 8. Responsive Images Inside Cards */
.code-image {
display: block;
max-width: 100%;
height: auto;
margin: 1rem auto 0 auto;
border-radius: 10px;
box-shadow: 0 0 10px var(--orange-neon);
}
/* Extra: Ajuste de tamaño máximo en pantallas grandes */
@media (min-width: 1024px) {
.code-image {
max-width: 600px;
}
}
/* 6. Buttons Inside Each Card */
.buttons {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
}
.btn {
display: inline-block;
padding: 0.6rem 1.2rem;
border: 2px solid var(--orange-neon);
border-radius: 5px;
font-family: var(--font-display);
font-size: 0.7rem;
color: var(--yellow);
text-decoration: none;
transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover {
background: var(--yellow);
color: #000;
}
/* 7. Responsive Adjustments */
/* Tablet */
@media (max-width: 768px) {
.card h3 {
font-size: 1.6rem;
}
.card p {
font-size: 0.95rem;
}
.buttons {
gap: 0.8rem;
}
.btn {
font-size: 0.85rem;
padding: 0.5rem 1rem;
}
}
/* Phone */
@media (max-width: 480px) {
.screen-1 {
padding: 2rem 0.5rem;
}
.card-group {
gap: 1.5rem;
}
.card {
padding: 1.5rem;
}
.card h3 {
font-size: 1.4rem;
}
.card p {
font-size: 0.9rem;
}
.buttons {
flex-direction: column;
gap: 0.6rem;
}
.btn {
width: 100%;
text-align: center;
font-size: 0.9rem;
}
}