echoloopp / style.css (basic)
SushiDrip69666's picture
Update style.css (basic)
10730ba verified
Raw History Blame Contribute Delete
2.27 kB
/* Make layout responsive */
body, html {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
background: #0d0d0d;
color: #fff;
overflow-x: hidden;
}
/* Responsive text sizing */
h1 {
font-size: clamp(1.8rem, 5vw, 3rem);
}
p, h2, blockquote {
font-size: clamp(1rem, 2vw, 1.2rem);
line-height: 1.6;
}
/* Hero styling */
.hero {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
background: url('https://images.unsplash.com/photo-1549921296-3a9d93c5f3ad?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
}
.overlay {
background: rgba(0, 0, 0, 0.75);
padding: 40px;
border: 2px solid #7f5af0;
border-radius: 12px;
max-width: 90%;
margin: auto;
}
/* Button glow effect */
button {
padding: 12px 24px;
border: none;
border-radius: 10px;
background: #7f5af0;
color: #fff;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
box-shadow: 0 0 10px #7f5af0;
transition: all 0.3s ease;
}
button:hover {
background: #a78bfa;
box-shadow: 0 0 20px #a78bfa;
}
/* Testimonials styling */
.testimonials blockquote {
font-style: italic;
margin: 20px auto;
max-width: 600px;
padding: 10px;
border-left: 3px solid #7f5af0;
color: #bbb;
}
/* Media Queries */
@media (max-width: 600px) {
.overlay {
padding: 20px;
}
button {
width: 100%;
font-size: 1.1rem;
}
}
max-width: 100%;
overflow-x: hidden;
background: #0f0f0f;
color: #f2f2f2;
font-family: 'Arial', sans-serif;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
}
button {
padding: 12px 24px;
background: #00ffee;
border: none;
color: #000;
font-weight: bold;
cursor: pointer;
margin-top: 20px;
border-radius: 6px;
}
.hidden {
display: none;
}
#echoMessage {
margin-top: 30px;
font-size: 1.5em;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 0.3; }
50% { opacity: 1; }
}
.overlay h1,
.overlay p,
button {
opacity: 0;
animation: fadeIn 2s forwards;
}
.overlay p {
animation-delay: 0.5s;
}
button {
animation-delay: 1s;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}