-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
183 lines (160 loc) · 3.13 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
body,
h1,
h2,
p,
a {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
line-height: 1.6;
}
h1 {
font-size: 36px;
line-height: 1.3;
}
h2 {
font-size: 28px;
line-height: 1.4;
}
a {
text-decoration: none;
}
/* Container */
.container {
background-color: #f2f2f2;
border: 1px solid #ccc;
border-radius: 10px;
padding: 50px;
margin-bottom: 40px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a consistent box-shadow */
}
/* Header */
.container-header {
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a consistent box-shadow */
transition: transform 0.3s ease;
}
.container-header:hover {
transform: translateY(5px);
}
.background-gradient {
background: linear-gradient(45deg, #df6666, #947ed4, #947ed4, #df7777, #df6666);
background-size: 200% 200%;
animation: gradientAnimation 40s linear infinite;
}
@keyframes gradientAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Fix the header at the top */
header {
position: fixed;
top: 0;
left: 0;
right: 0;
background-color: #333;
z-index: 100;
}
.heading {
font-size: 32px;
color: #333;
margin-top: 20px;
}
.subheading {
font-size: 18px;
color: #666;
margin-bottom: 20px;
}
/* Section Title */
.section-title {
font-size: 24px;
color: #333;
margin-bottom: 20px;
text-align: center;
}
/* Box */
.box {
background-color: #fff;
border: 1px solid #ccc;
border-radius: 10px;
padding: 20px;
text-align: justify;
}
/* Add padding to content to offset the fixed header */
.content {
padding-top: 100px; /* Adjust the value as needed */
text-align: center;
}
/* Button */
.button {
display: inline-block;
background-color: #4CAF50;
color: white;
padding: 16px 30px;
font-size: 18px;
border: none;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.button:hover {
background-color: #45a049;
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
transform: translateY(6px);
}
/* Footer */
.footer {
color: #fff;
padding: 20px;
text-align: center;
position: fixed;
bottom: 0;
left: 0;
right: 0;
}
.footer-text {
margin: 0;
}
/* Import Fonts */
@import url('https://fonts.googleapis.com/css?family=Bangers|Cinzel:400,700,900|Lato:100,300,400,700,900|Lobster|Lora:400,700|Mansalva|Muli:200,300,400,600,700,800,900|Open+Sans:300,400,600,700,800|Oswald:200,300,400,500,600,700|Roboto:100,300,400,500,700,900&display=swap');
/* Logo Container */
.logo-container {
text-align: center;
}
/* Main Logo */
.main-logo {
font-family: 'Bangers';
font-size: 70px;
color: #ffffff;
text-transform: uppercase;
line-height: 1;
}
/* Slogan */
.slogan {
font-family: 'Open Sans', sans-serif;
font-size: 18px;
color: #ffffff;
animation: fade-in 1s ease-in-out infinite alternate;
}
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}