147 lines
2.6 KiB
CSS
147 lines
2.6 KiB
CSS
|
|
.contact-section {
|
|
padding: 2rem 2rem 4rem;
|
|
}
|
|
.contact-section h1 {
|
|
margin: 1rem auto;
|
|
}
|
|
.contact-section p {
|
|
margin: 0.5rem auto;
|
|
}
|
|
|
|
.contact-form {
|
|
max-width: 60vw;
|
|
width: fit-content;
|
|
margin: 0 auto;
|
|
background: var(--colour-text-background);
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
text-align: center;
|
|
}
|
|
.contact-form textarea {
|
|
max-width: 40vw;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: 200px 1fr;
|
|
gap: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.form-label {
|
|
padding-top: 0.5rem;
|
|
font-weight: 500;
|
|
}
|
|
.form-input {
|
|
width: 100%;
|
|
padding: 0.5rem;
|
|
border: 2px solid var(--colour-accent);
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
max-width: 40vw;
|
|
}
|
|
textarea.form-input {
|
|
min-height: 120px;
|
|
}
|
|
|
|
.marketing-consent input {
|
|
display: inline-block;
|
|
/* margin-left: 20%; */
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
|
|
.container.row.captcha > div {
|
|
margin: 0 auto;
|
|
}
|
|
.container.captcha > div:first-child > label:first-child {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: fit-content;
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
}
|
|
.container.captcha > p:last-child{
|
|
font-size: 0.9rem;
|
|
margin: 1vh 1vw;
|
|
}
|
|
.container.captcha .altcha-widget,
|
|
.container.captcha .altcha-widget div.altcha {
|
|
width: 200px;
|
|
}
|
|
.container.captcha .altcha-main {
|
|
padding-left: 1rem;
|
|
padding-top: 0.75rem;
|
|
padding-bottom: 0;
|
|
}
|
|
.container.captcha .altcha-main > :last-child {
|
|
display: none;
|
|
}
|
|
.container.captcha .altcha,
|
|
altcha-widget > div:first-child,
|
|
.container.captcha > div > .altcha-widget > div {
|
|
width: fit-content;
|
|
display: flex;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
|
|
input[type="submit"] {
|
|
margin-left: 40%;
|
|
margin: 0 auto;
|
|
padding: 0.75rem 1.5rem;
|
|
background: #2563eb;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
input[type="submit"]:hover {
|
|
background: #1d4ed8;
|
|
}
|
|
|
|
.data-notice {
|
|
margin-top: 3rem;
|
|
padding: 1.5rem;
|
|
background: #f3f4f6;
|
|
border-radius: 4px;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.data-notice h3 {
|
|
margin-bottom: 1rem;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.data-notice ul li {
|
|
list-style-position: inside;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.contact-form {
|
|
max-width: 80vw;
|
|
}
|
|
.contact-form textarea {
|
|
max-width: 60vw;
|
|
}
|
|
.form-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.form-label {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.submit-button {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
} |