From 1791057bcd61b833e04afa0476496ed6af80b39a Mon Sep 17 00:00:00 2001 From: lydden Date: Tue, 14 Jan 2025 20:40:41 -0500 Subject: [PATCH] fixed header styles --- public/styles.css | 62 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 53 insertions(+), 9 deletions(-) diff --git a/public/styles.css b/public/styles.css index 8fffb8c..d8e45d9 100644 --- a/public/styles.css +++ b/public/styles.css @@ -163,7 +163,7 @@ a.hover-bold:hover { } /* Responsive Design */ -@media (max-width: 600px) { +@media (max-width: 600px) .role-selection { flex-direction: column; } @@ -171,19 +171,63 @@ a.hover-bold:hover { .role-btn { width: 100%; } +.section-content { + display: flex; + justify-content: space-between; + align-items: flex-start; + margin: 20px; +} +.left-content { + flex: 1; + display: flex; + flex-direction: column; + margin-right: 20px; +} +.centered-header { + text-align: left; /* Align header to the left to match text-content */ + margin-bottom: 75px; + font-family: 'Montserrat', sans-serif; + color: #091f2f; + text-transform: uppercase; + font-weight: 700; + font-size: 60px; +} +.text-content { + font-size: 22px; + color: #091f2f; + font-family: Lora, serif; + font-style: italic; + +} +.right-content { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; /* Center images horizontally */ } -/* hero part */ -.right-content img { - max-width: 100%; +.header-BOS-image { + width: 550px; /* Adjust the size as needed */ height: auto; - display: block; - margin: 0 auto; + margin-bottom: 20px; } - .image-links { + display: flex; + flex-direction: row; + justify-content: space-around; + align-items: flex-start; +} +.image-link { + text-align: center; + flex: 1; display: flex; flex-direction: column; - gap: 20px; align-items: center; } - +.image-link img { + width: 150px; + height: 150px; + object-fit: cover; + border: 1px solid #ccc; + border-radius: 8px; + cursor: pointer; +}