-
Notifications
You must be signed in to change notification settings - Fork 0
/
aboutus.css
126 lines (104 loc) · 1.96 KB
/
aboutus.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
119
120
121
122
123
124
125
126
body, h1, h2, h3, p {
margin: 0;
padding: 0;
}
body {
background-image: url('https://images.pexels.com/photos/325185/pexels-photo-325185.jpeg');
background-size: cover;
background-position: center;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
section {
width: 500px;
padding: 20px;
background-color: rgba(0, 0, 0, 0.4);
border-radius: 10px;
margin: 1cm auto; /* Center the section horizontally and add margin on top and bottom */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
header {
background-image: url('header-background.jpg');
background-size: cover;
background-position: center;
text-align: center;
padding: 80px 0;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav a {
text-decoration: none;
color: #00008b;
font-weight: bold;
font-size: 16px;
transition: color 0.3s ease;
}
nav a:hover {
color: darkslategray;
}
.header-content {
max-width: 800px;
margin: 0 auto;
background-color: #3498db;
}
h1 {
font-size: 36px;
margin: 20px 0;
}
p {
font-size: 18px;
}
@media (max-width: 768px) {
header {
padding: 40px 0;
}
h1 {
font-size: 24px;
}
p {
font-size: 16px;
}
}
#contact {
padding: 40px 0;
}
.container {
max-width: 400px;
margin: 0 auto;
text-align: center;
}
h2 {
font-size: 28px;
color: #333;
margin-bottom: 20px;
}
form {
max-width: 500px;
margin: 0 auto;
}
.input-group {
margin: 15px 0;
text-align: left;
}
label {
display: block;
font-weight: bold;
margin-bottom: 5px;
}
input[type="text"],
input[type="email"],
textarea {
width: 100%;
padding: 10px;
font-size: 16px;
border: 1px solid;
color: navy;
}