-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
118 lines (101 loc) · 1.69 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/* Apply Montserrat font to all elements */
* {
font-family: 'Montserrat', sans-serif;
}
/* General Body Styling */
body {
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
/* Hero Container Styling */
.hero-container {
position: relative;
width: 100%;
height: 280px; /* Reduced from 400px (30% shorter) */
overflow: hidden;
margin: 0;
}
.banner {
width: 100%;
height: 100%;
object-fit: cover;
}
/* Logo Styling */
#logo {
position: absolute;
bottom: 15px; /* Adjusted from 20px to look better with shorter banner */
left: 10vw;
width: 100px; /* Slightly reduced size to fit better */
height: 100px;
border: 3px solid #fff;
border-radius: 10px;
background-color: #fff;
z-index: 10;
box-shadow: 0 0 0 1px #000; /* Add 1px black border */
}
/* Navigation Styling */
nav {
background: #333;
color: #fff;
width: 100%;
padding: 10px 0;
}
nav ul {
list-style: none;
padding: 0;
margin: 0 10vw;
display: flex;
flex-wrap: wrap;
}
nav ul li {
display: inline-block;
margin-right: 20px;
padding: 5px 0;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: bold;
}
/* Hero Text Section Styling */
#hero {
padding: 30px 0;
}
.hero-text {
margin: 0 10vw;
}
.hero-text h1 {
font-size: 3em;
margin: 0;
color: #000;
font-weight: 600;
}
/* Content Container */
.content-container {
margin: 0 10vw;
}
section {
padding: 14px 0;
text-align: left;
}
section h2 {
color: #333;
font-size: 1.4em;
margin: 0 0 10px 0;
}
section p {
max-width: 800px;
margin: 0 0 20px 0;
color: #555;
}
/* Footer Styling */
footer {
background: #333;
color: #fff;
width: 100%;
padding: 10px 0;
}
.footer-content {
margin: 0 10vw;
}