-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
131 lines (112 loc) · 2.22 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f4f4f4;
}
/* Header styles */
header {
background-color: #333;
color: #0c0404;
padding: 20px 0;
position: fixed;
width: 100%;
z-index: 1000;
transition: background-color 0.3s ease-in-out;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
nav h1 {
margin: 0;
}
nav ul {
list-style: none;
padding: 0;
display: flex;
gap: 20px;
}
nav li {
display: inline;
}
nav a {
text-decoration: none;
color: #1f0505;
font-weight: bold;
transition: color 0.3s ease-in-out;
}
nav a:hover {
color: #d9534f;
/* Red color on hover */
}
/* Hero section styles with background image */
#hero {
background-image: url('img/logo infinity 1.jpeg');
/* Replace with your image URL */
background-size: cover;
color: #fff;
padding: 100px 0;
text-align: center;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
}
.hero-heading {
font-size: 3rem;
margin-bottom: 20px;
}
.hero-paragraph {
font-size: 1.2rem;
margin-bottom: 30px;
}
.btn {
display: inline-block;
background-color: #d9534f;
color: #fff;
padding: 10px 20px;
text-decoration: none;
margin-top: 20px;
font-weight: bold;
border-radius: 5px;
transition: background-color 0.3s ease-in-out;
}
.btn:hover {
background-color: #c9302c;
}
/* Section styles */
.container {
max-width: 800px;
margin: 0 auto;
padding: 40px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
border-radius: 5px;
margin-bottom: 20px;
}
/* Footer styles */
footer {
background-color: #333;
color: #3a3131;
text-align: center;
padding: 10px 0;
}
/* Media queries for responsiveness */
@media (max-width: 768px) {
nav ul {
flex-direction: column;
align-items: flex-start;
}
nav li {
margin-bottom: 10px;
}
#hero {
padding: 80px 0;
}
.container {
padding: 20px;
}
}