-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
113 lines (97 loc) · 1.66 KB
/
style.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
/* Reset some default styles */
body, h1, h2, h3, p, ul, li, form {
margin: 0;
padding: 0;
}
/* Global styles */
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #f4f4f4;
color: #333;
}
.container {
max-width: 960px;
margin: 0 auto;
padding: 20px;
}
/* Header styles */
#header {
background-color: #333;
color: #fff;
padding: 10px;
position: fixed;
top: 0;
width: 100%;
z-index: 1;
}
#header #header-img {
height: 50px;
}
#nav-bar ul {
list-style-type: none;
display: flex;
justify-content: space-between;
align-items: center;
}
#nav-bar .nav-link {
color: #fff;
text-decoration: none;
margin-right: 10px;
padding: 10px;
transition: background-color 0.3s ease;
}
#nav-bar .nav-link:hover {
background-color: #555;
}
/* Main section styles */
video#video {
width: 100%;
display: block;
margin-top: 80px;
}
form#form {
margin-top: 20px;
}
form#form label {
display: block;
margin-bottom: 10px;
font-weight: bold;
}
form#form input[type="email"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
form#form input[type="submit"] {
display: block;
margin-top: 10px;
padding: 10px 20px;
background-color: #333;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
/* Sections styles */
section {
padding: 40px 0;
background-color: #fff;
}
section h2 {
text-align: center;
margin-bottom: 20px;
}
/* Media queries */
@media screen and (max-width: 768px) {
#nav-bar ul {
flex-direction: column;
align-items: flex-start;
}
#nav-bar .nav-link {
margin-bottom: 10px;
}
}