100 lines
2.0 KiB
CSS
100 lines
2.0 KiB
CSS
@import url('variables.css');
|
|
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family);
|
|
background: var(--background-color);
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: 600;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--primary-color);
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--primary-color-light);
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.glass {
|
|
background: var(--glass-background);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border-radius: var(--border-radius);
|
|
border-top: 1px solid var(--glass-border);
|
|
border-bottom: 1px solid var(--glass-border);
|
|
box-shadow: var(--box-shadow), var(--inset-shadow);
|
|
}
|
|
|
|
.main-container {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
max-width: 1200px;
|
|
width: 100%;
|
|
padding: 0 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.content {
|
|
color: var(--text-color);
|
|
background: rgba(0, 0, 0, 0.10);
|
|
backdrop-filter: blur(32px) saturate(180%) brightness(1.1);
|
|
-webkit-backdrop-filter: blur(32px) saturate(180%) brightness(1.1);
|
|
border-radius: var(--border-radius-large);
|
|
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
|
|
padding: 32px 24px;
|
|
transition: background 0.3s, box-shadow 0.3s;
|
|
min-width: 26rem;
|
|
max-width: 26rem;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.main-container {
|
|
padding: 0 15px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
body {
|
|
font-size: 14px;
|
|
}
|
|
}
|