248 lines
4.0 KiB
CSS
248 lines
4.0 KiB
CSS
/* about.css */
|
|
body {
|
|
background-image: url("/images/subtle-prism.svg");
|
|
}
|
|
|
|
/*? ↓ About Section Styles ↓ */
|
|
|
|
.about-section {
|
|
max-width: 1000px;
|
|
margin: 30px auto;
|
|
padding: 0 20px;
|
|
color: var(--text-color);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.about-section h1,
|
|
.about-section h2 {
|
|
color: var(--text-color);
|
|
margin-bottom: var(--margin-medium);
|
|
}
|
|
|
|
.i-am {
|
|
color: #2e97be;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.about-section h1 {
|
|
font-size: 2.5rem;
|
|
color: #2e97be;
|
|
text-align: center;
|
|
margin-bottom: var(--margin-medium);
|
|
}
|
|
|
|
.about-section h2 {
|
|
font-size: 1.8rem;
|
|
color: #2e97be;
|
|
}
|
|
|
|
.about-section p {
|
|
margin-bottom: 5px;
|
|
font-size: 1.05rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.click {
|
|
font-weight: bold;
|
|
color:#ca6e0b;
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.about-section a {
|
|
color: var(--primary-color);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.about-section a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.accordion {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.accordion-item {
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
margin-bottom: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.accordion-header {
|
|
background-color: #f7f7f7;
|
|
padding: 15px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.accordion-content {
|
|
display: none; /* Hide content by default */
|
|
padding: 15px;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.w3-cag21 {
|
|
color: #ca6e0b;
|
|
}
|
|
|
|
/*? ↓ Contact Section Styles ↓ */
|
|
/* Base styles */
|
|
.contact-module {
|
|
max-width: 1000px;
|
|
margin: 2rem auto;
|
|
padding: 2rem;
|
|
background-color: #f9f9f9;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
color: #333;
|
|
}
|
|
|
|
#contact-heading {
|
|
font-size: 1.8rem;
|
|
color: #2e97be;
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Flex layout for side-by-side fields */
|
|
.form-sections {
|
|
display: flex;
|
|
gap: 2rem;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.contact-fields,
|
|
.message-submit {
|
|
flex: 1;
|
|
min-width: 320px;
|
|
}
|
|
|
|
/* Fieldset styling */
|
|
fieldset {
|
|
border: 1px solid #ccc;
|
|
border-radius: 6px;
|
|
padding: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
legend {
|
|
padding: 0 0.5rem;
|
|
font-weight: bold;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Input groups */
|
|
.contact-fields > div,
|
|
.message-field {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
label {
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
color: #333;
|
|
margin-bottom: 0.4rem;
|
|
display: block;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.error-message {
|
|
color: red;
|
|
font-size: 0.9em;
|
|
margin-top: 4px;
|
|
display: block;
|
|
}
|
|
|
|
input.error, textarea.error {
|
|
border-color: red;
|
|
}
|
|
|
|
|
|
input[type="text"],
|
|
input[type="email"],
|
|
input[type="tel"],
|
|
textarea {
|
|
width: 100%;
|
|
padding: 0.6rem;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
font-size: 0.95rem;
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
|
|
input:focus,
|
|
textarea:focus {
|
|
border-color: #007acc;
|
|
outline: none;
|
|
}
|
|
|
|
/* Required asterisk */
|
|
.req-ask {
|
|
color: red;
|
|
margin-left: 0.2rem;
|
|
}
|
|
|
|
/* Preferred method section */
|
|
.preferred-method {
|
|
margin-top: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.radio-group {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1.5rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.radio-group label {
|
|
font-weight: normal;
|
|
}
|
|
|
|
/* Button */
|
|
.submit-reset {
|
|
display: flex;
|
|
gap: 20px;
|
|
justify-content: center;
|
|
}
|
|
|
|
button[type="submit"], button[type="reset"] {
|
|
margin:20px 0px 20px 0px;
|
|
padding: 8px 25px;
|
|
background-color: #ca6e0b;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 50px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
button[type="submit"]:hover, button[type="reset"]:hover {
|
|
background-color: #2e97be;
|
|
}
|
|
|
|
.honeypot-field {
|
|
display: none;
|
|
}
|
|
|
|
/* Responsive tweaks */
|
|
@media (max-width: 768px) {
|
|
.form-sections {
|
|
flex-direction: column;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
.form-note {
|
|
color: red;
|
|
font-size: 0.9rem;
|
|
text-align: left;
|
|
} |