Spaces:
Running
Running
File size: 2,268 Bytes
e0f1d94 cdc6e0a d72c543 10730ba d72c543 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | /* 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;
}
} |