All checks were successful
Build and Publish Images / build-and-push (push) Successful in 2m12s
161 lines
2.9 KiB
CSS
161 lines
2.9 KiB
CSS
.survey {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
width: 100%;
|
|
max-width: 520px;
|
|
padding: 3rem 2rem;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.survey-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.survey-label {
|
|
font-family: 'Cormorant Garamond', serif;
|
|
font-size: 1.4rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.03em;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.survey-input {
|
|
background: none;
|
|
border: none;
|
|
border-bottom: 1.5px solid rgba(164, 90, 90, 0.25);
|
|
padding: 0.6rem 0;
|
|
font-family: 'Cormorant Garamond', serif;
|
|
font-size: 1.4rem;
|
|
font-weight: 400;
|
|
color: var(--text);
|
|
outline: none;
|
|
transition: border-color 0.25s;
|
|
width: 100%;
|
|
}
|
|
|
|
.survey-input:focus {
|
|
border-bottom-color: var(--pink);
|
|
}
|
|
|
|
.survey-checkbox-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.survey-checkbox-box {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border: 1.5px solid var(--pink-light);
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
transition: background 0.2s, border-color 0.2s;
|
|
background: none;
|
|
}
|
|
|
|
.survey-checkbox-box.checked {
|
|
background: var(--pink);
|
|
border-color: var(--pink);
|
|
}
|
|
|
|
.survey-checkbox-box.checked::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 45%;
|
|
width: 35%;
|
|
height: 60%;
|
|
border: 2px solid #fff;
|
|
border-top: none;
|
|
border-left: none;
|
|
transform: translate(-50%, -50%) rotate(45deg);
|
|
}
|
|
|
|
.survey-checkbox-label {
|
|
font-family: 'Cormorant Garamond', serif;
|
|
font-size: 1.2rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.survey-partner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
padding-left: 1.5rem;
|
|
border-left: 2px solid var(--pink-light);
|
|
animation: fadeDown 0.3s ease both;
|
|
}
|
|
|
|
.survey-submit {
|
|
align-self: center;
|
|
margin-top: 0.5rem;
|
|
padding: 0.875rem 2.5rem;
|
|
background: var(--pink);
|
|
color: #fff;
|
|
border: none;
|
|
font-family: 'Cormorant Garamond', serif;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
transition: background 0.25s ease, transform 0.15s ease;
|
|
}
|
|
|
|
.survey-submit:hover:not(:disabled) {
|
|
background: #C2536A;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.survey-submit:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.survey-error {
|
|
color: #C2536A;
|
|
font-size: 0.9rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.survey-thanks {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
padding: 4rem 2rem;
|
|
text-align: center;
|
|
min-height: 50vh;
|
|
}
|
|
|
|
.survey-thanks-title {
|
|
font-family: 'Cormorant Garamond', serif;
|
|
font-size: clamp(2.5rem, 6vw, 4rem);
|
|
font-weight: 300;
|
|
font-style: italic;
|
|
color: var(--text);
|
|
}
|
|
|
|
.survey-thanks-sub {
|
|
font-size: 1rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.survey {
|
|
padding: 2rem 22vw;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeDown {
|
|
from { opacity: 0; transform: translateY(-8px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|