Files
website/css/style.css
2025-06-16 21:38:51 -04:00

257 lines
6.1 KiB
CSS

@import "tailwindcss";
@font-face {
font-family: 'Minecraft';
src: url('https://fontmeme.com/fonts/minecraft-font/') format('truetype');
font-weight: normal;
font-style: normal;
}
body {
background: linear-gradient(135deg, #0b0f2b, #1a2249);
font-family: 'Roboto', 'Verdana', sans-serif;
color: #e0e7ff;
overflow-x: hidden;
position: relative;
margin: 0;
min-height: 100vh;
scroll-behavior: smooth;
}
.minecraft-font {
font-family: 'Minecraft', sans-serif;
letter-spacing: 0.8px;
text-shadow: 0 0 12px rgba(20, 184, 166, 0.7);
}
.section-bg {
background: rgba(10, 17, 40, 0.75);
backdrop-filter: blur(20px);
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.08);
transition: transform 0.4s ease, box-shadow 0.4s ease;
animation: floatSection 4s ease-in-out infinite;
}
.section-bg:hover {
transform: translateY(-8px);
box-shadow: 0 12px 40px rgba(20, 184, 166, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.12);
}
@keyframes floatSection {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-4px); }
}
.btn-minecraft {
background: linear-gradient(45deg, #14b8a6, #3b82f6);
background-size: 300% 300%;
border: none;
color: #fff;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
border-radius: 14px;
padding: 14px 30px;
font-weight: 700;
position: relative;
overflow: hidden;
transition: transform 0.3s, box-shadow 0.3s;
animation: gradientShift 5s ease infinite;
}
.btn-minecraft::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
transition: left 0.5s;
}
.btn-minecraft:hover::before {
left: 100%;
}
.btn-minecraft:hover {
transform: scale(1.1);
box-shadow: 0 8px 30px rgba(20, 184, 166, 0.7);
}
.btn-minecraft::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background: radial-gradient(circle, rgba(20, 184, 166, 0.5), transparent);
opacity: 0;
transition: width 0.3s, height 0.3s, opacity 0.3s;
transform: translate(-50%, -50%);
}
.btn-minecraft:hover::after {
width: 200px;
height: 200px;
opacity: 1;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.hero-bg {
position: relative;
overflow: hidden;
min-height: 600px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 24px;
will-change: transform;
}
.hero-bg iframe {
position: absolute;
top: 50%;
left: 50%;
width: 120%;
height: 120%;
min-height: 600px;
transform: translate(-50%, -50%) scale(1.2);
object-fit: cover;
z-index: 1;
border: none;
pointer-events: none;
will-change: transform;
backface-visibility: hidden;
}
.hero-bg img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 0;
display: none;
}
.hero-bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
z-index: 2;
}
.hero-content {
position: relative;
z-index: 3;
text-align: center;
padding: 4rem;
animation: scaleIn 1.2s ease-out;
}
.header-content {
animation: scaleIn 1s ease-out;
}
@keyframes scaleIn {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}
.feature-card {
background: rgba(15, 23, 50, 0.85);
backdrop-filter: blur(15px);
border-radius: 18px;
padding: 2rem;
border: 1px solid rgba(255, 255, 255, 0.06);
transition: transform 0.4s ease, box-shadow 0.4s ease;
position: relative;
overflow: hidden;
animation: floatSection 5s ease-in-out infinite;
}
.feature-card:hover {
transform: translateY(-12px) scale(1.03);
box-shadow: 0 12px 35px rgba(20, 184, 166, 0.5);
}
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 30% 30%, rgba(20, 184, 166, 0.3), transparent);
opacity: 0;
transition: opacity 0.4s;
}
.feature-card:hover::before {
opacity: 1;
}
.particle {
position: absolute;
width: 5px;
height: 5px;
background: linear-gradient(45deg, #14b8a6, #60a5fa);
border-radius: 50%;
animation: float 12s infinite ease-in-out;
z-index: 0;
pointer-events: none;
box-shadow: 0 0 15px rgba(20, 184, 166, 0.9);
}
.particle.large {
width: 8px;
height: 8px;
animation-duration: 14s;
}
@keyframes float {
0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
50% { transform: translateY(-60px) translateX(25px); opacity: 0.8; }
}
.header-bg {
background: linear-gradient(180deg, rgba(10, 17, 40, 0.95), rgba(5, 15, 35, 0.95));
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
position: relative;
overflow: hidden;
}
footer a {
color: #2dd4bf;
transition: color 0.3s, text-shadow 0.3s;
}
footer a:hover {
color: #60a5fa;
text-shadow: 0 0 12px rgba(96, 165, 250, 0.7);
}
@media (max-width: 768px) {
.hero-bg {
min-height: 500px;
}
.hero-bg iframe {
min-height: 500px;
}
.btn-minecraft {
padding: 12px 26px;
font-size: 0.9rem;
}
.minecraft-font.text-5xl {
font-size: 2.5rem;
}
.minecraft-font.text-4xl {
font-size: 2rem;
}
.minecraft-font.text-3xl {
font-size: 1.75rem;
}
.feature-card {
padding: 1.5rem;
}
}
@media (max-width: 640px) {
.hero-bg {
min-height: 400px;
}
.hero-bg iframe {
min-height: 400px;
}
.minecraft-font.text-5xl {
font-size: 2rem;
}
.minecraft-font.text-4xl {
font-size: 1.75rem;
}
.minecraft-font.text-3xl {
font-size: 1.5rem;
}
}