168 lines
2.5 KiB
CSS
168 lines
2.5 KiB
CSS
/* Basic Reset */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1100px;
|
|
margin: auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* Header */
|
|
header {
|
|
background: #004080;
|
|
color: #fff;
|
|
padding: 60px 0;
|
|
text-align: center;
|
|
display: flex;
|
|
align-items: center; /* Center vertically */
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 20px;
|
|
flex-grow: 1; /* Make the title expand to fill available space */
|
|
}
|
|
|
|
header p {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
header .cta-button {
|
|
background: #ff9900;
|
|
color: #fff;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
font-size: 1.2rem;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
header .cta-button:hover {
|
|
background: #cc7a00;
|
|
}
|
|
|
|
.logo-container {
|
|
display: flex; /* Use a flex container for better layout */
|
|
align-items: center;
|
|
|
|
|
|
}
|
|
|
|
.logo {
|
|
max-width: 150px;
|
|
height: auto;
|
|
}
|
|
|
|
/* Media query for smaller screens */
|
|
@media (max-width: 768px) {
|
|
header {
|
|
flex-direction: column; /* Stack elements vertically */
|
|
align-items: flex-start; /* Align items to the left */
|
|
}
|
|
|
|
.logo-container {
|
|
margin-bottom: 20px; /* Move logo below the title */
|
|
margin-left: 35%;
|
|
}
|
|
}
|
|
|
|
/* Sections */
|
|
section {
|
|
padding: 40px 0;
|
|
}
|
|
|
|
section h2 {
|
|
font-size: 2rem;
|
|
margin-bottom: 20px;
|
|
color: #004080;
|
|
}
|
|
|
|
/* Curriculum */
|
|
#curriculum ul {
|
|
list-style: none;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
#curriculum ul li {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Testimonials */
|
|
#testimonials blockquote {
|
|
font-size: 1.2rem;
|
|
font-style: italic;
|
|
margin: 20px 0;
|
|
color: #666;
|
|
}
|
|
|
|
#testimonials cite {
|
|
font-size: 1rem;
|
|
color: #333;
|
|
font-style: normal;
|
|
}
|
|
|
|
/* Call to Action Form */
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
form input,
|
|
form textarea {
|
|
margin-bottom: 15px;
|
|
padding: 10px;
|
|
font-size: 1rem;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
form button {
|
|
background: #004080;
|
|
color: #fff;
|
|
padding: 10px 20px;
|
|
font-size: 1.2rem;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
form button:hover {
|
|
background: #00264d;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
background: #f4f4f4;
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
footer p {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/*response messages*/
|
|
|
|
#responseMessage {
|
|
margin-top: 1em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#responseMessage.success {
|
|
color: green;
|
|
}
|
|
|
|
#responseMessage.error {
|
|
color: red;
|
|
}
|