Files
2026-05-16 11:10:19 +02:00

95 lines
1.3 KiB
CSS
Executable File

body {
font-family: 'Comfortaa', cursive;
background: #282a36;
color: #f8f8f2;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
}
.container {
background: rgba(68, 71, 90, 0.95);
padding: 2rem;
border-radius: 16px;
width: 100%;
max-width: 480px;
box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
h1 {
text-align: center;
color: #bd93f9;
margin-bottom: 1.5rem;
}
label {
display: block;
margin-top: 1rem;
margin-bottom: 0.3rem;
font-weight: 700;
}
input,
select {
width: 100%;
padding: 0.7rem;
border-radius: 10px;
border: none;
font-family: inherit;
font-size: 1rem;
background: #6272a4;
color: #f8f8f2;
}
input:focus,
select:focus {
outline: none;
background: #50fa7b;
color: #282a36;
}
.row {
display: flex;
gap: 0.6rem;
flex-wrap: wrap;
}
.row > div {
flex: 1;
}
button {
margin-top: 1.5rem;
width: 100%;
background: #bd93f9;
color: #282a36;
border: none;
padding: 0.8rem;
font-size: 1.1rem;
font-weight: 700;
border-radius: 12px;
cursor: pointer;
transition: 0.2s;
}
button:hover {
background: #ff79c6;
transform: translateY(-2px);
}
.result {
margin-top: 1.5rem;
text-align: center;
font-size: 1.3rem;
font-weight: 700;
color: #50fa7b;
}
@media (max-width: 500px) {
.container {
padding: 1.5rem;
}
}