140 lines
2.7 KiB
CSS
140 lines
2.7 KiB
CSS
:root {
|
|
--primary-color: #ff6b6b;
|
|
--secondary-color: #4ecdc4;
|
|
--background-color: #1a1a2e;
|
|
--text-color: #ffffff;
|
|
--input-background: #2a2a3e;
|
|
--input-text: #ffffff;
|
|
--button-hover: #ff8787;
|
|
}
|
|
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
|
|
color: var(--text-color);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.container {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 20px;
|
|
padding: 2rem;
|
|
width: 100%;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
color: var(--secondary-color);
|
|
font-size: 2.5rem;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
form {
|
|
display: grid;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
label {
|
|
margin-bottom: 0.5rem;
|
|
font-weight: bold;
|
|
color: var(--secondary-color);
|
|
}
|
|
|
|
input {
|
|
padding: 0.75rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
background-color: var(--input-background);
|
|
color: var(--input-text);
|
|
font-size: 1rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
input:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px var(--secondary-color);
|
|
}
|
|
|
|
.submit-button {
|
|
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
|
color: white;
|
|
border: none;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
font-size: 1.1rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
font-weight: bold;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
justify-self: center;
|
|
}
|
|
|
|
.submit-button:hover {
|
|
background: linear-gradient(135deg, var(--button-hover), var(--secondary-color));
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.form-group-special {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.form-group-special::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: conic-gradient(from 0deg, transparent, var(--primary-color), transparent 30%);
|
|
animation: rotate 4s linear infinite;
|
|
z-index: -1;
|
|
}
|
|
|
|
.form-group-special label,
|
|
.form-group-special input {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
@keyframes rotate {
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.form-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
} |