Update style.css
Browse files
style.css
CHANGED
@@ -1,28 +1,148 @@
|
|
1 |
body {
|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
body {
|
2 |
+
margin: 0;
|
3 |
+
font-family: 'Arial', sans-serif;
|
4 |
+
background-color: #1a1a1a;
|
5 |
+
color: #fff;
|
6 |
+
display: flex;
|
7 |
+
justify-content: center;
|
8 |
+
align-items: center;
|
9 |
+
min-height: 100vh;
|
10 |
+
}
|
11 |
+
|
12 |
+
.carousel {
|
13 |
+
width: 100%;
|
14 |
+
max-width: 900px;
|
15 |
+
margin: 20px;
|
16 |
+
position: relative;
|
17 |
+
overflow: hidden;
|
18 |
+
}
|
19 |
+
|
20 |
+
.slide {
|
21 |
+
display: none;
|
22 |
+
padding: 30px;
|
23 |
+
border-radius: 15px;
|
24 |
+
background-size: cover;
|
25 |
+
background-position: center;
|
26 |
+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
|
27 |
+
opacity: 0;
|
28 |
+
transition: opacity 0.5s ease-in-out;
|
29 |
+
}
|
30 |
+
|
31 |
+
.slide.active {
|
32 |
+
display: block;
|
33 |
+
opacity: 1;
|
34 |
+
}
|
35 |
+
|
36 |
+
.slide h1 {
|
37 |
+
font-size: 2.8em;
|
38 |
+
text-align: center;
|
39 |
+
margin-bottom: 15px;
|
40 |
+
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
|
41 |
+
}
|
42 |
+
|
43 |
+
.slide h2 {
|
44 |
+
font-size: 1.8em;
|
45 |
+
text-align: center;
|
46 |
+
margin-bottom: 15px;
|
47 |
+
color: #ffd700;
|
48 |
+
}
|
49 |
+
|
50 |
+
.slide p {
|
51 |
+
font-size: 1.2em;
|
52 |
+
text-align: center;
|
53 |
+
line-height: 1.6;
|
54 |
+
}
|
55 |
+
|
56 |
+
.slide ul {
|
57 |
+
list-style: disc;
|
58 |
+
padding-left: 25px;
|
59 |
+
font-size: 1.15em;
|
60 |
+
margin: 15px 0;
|
61 |
+
}
|
62 |
+
|
63 |
+
.slide img {
|
64 |
+
width: 100%;
|
65 |
+
height: 250px;
|
66 |
+
object-fit: cover;
|
67 |
+
border-radius: 10px;
|
68 |
+
margin-bottom: 20px;
|
69 |
+
border: 2px solid #ffd700;
|
70 |
+
}
|
71 |
+
|
72 |
+
.split {
|
73 |
+
display: flex;
|
74 |
+
flex-wrap: wrap;
|
75 |
+
gap: 20px;
|
76 |
+
justify-content: center;
|
77 |
+
}
|
78 |
+
|
79 |
+
.split > div {
|
80 |
+
flex: 1;
|
81 |
+
min-width: 280px;
|
82 |
+
}
|
83 |
+
|
84 |
+
.grid {
|
85 |
+
display: grid;
|
86 |
+
grid-template-columns: 1fr;
|
87 |
+
gap: 20px;
|
88 |
+
align-items: center;
|
89 |
+
}
|
90 |
+
|
91 |
+
.flex-center {
|
92 |
+
display: flex;
|
93 |
+
align-items: center;
|
94 |
+
margin-bottom: 15px;
|
95 |
+
font-size: 1.2em;
|
96 |
+
}
|
97 |
+
|
98 |
+
.flex-center span {
|
99 |
+
font-size: 1.8em;
|
100 |
+
margin-right: 15px;
|
101 |
+
color: #ffd700;
|
102 |
+
}
|
103 |
+
|
104 |
+
.nav-buttons {
|
105 |
+
display: flex;
|
106 |
+
justify-content: space-between;
|
107 |
+
margin-top: 25px;
|
108 |
+
}
|
109 |
+
|
110 |
+
.nav-buttons button {
|
111 |
+
background-color: #1e90ff;
|
112 |
+
color: #fff;
|
113 |
+
border: none;
|
114 |
+
padding: 12px 25px;
|
115 |
+
font-size: 1.1em;
|
116 |
+
cursor: pointer;
|
117 |
+
border-radius: 8px;
|
118 |
+
transition: background-color 0.3s;
|
119 |
+
}
|
120 |
+
|
121 |
+
.nav-buttons button:hover {
|
122 |
+
background-color: #1c86ee;
|
123 |
+
}
|
124 |
+
|
125 |
+
.intro-text {
|
126 |
+
font-size: 1.3em;
|
127 |
+
text-align: center;
|
128 |
+
margin-bottom: 20px;
|
129 |
+
color: #ccc;
|
130 |
+
}
|
131 |
+
|
132 |
+
@media (min-width: 768px) {
|
133 |
+
.grid {
|
134 |
+
grid-template-columns: 1fr 1fr;
|
135 |
+
}
|
136 |
+
|
137 |
+
.slide img {
|
138 |
+
height: 300px;
|
139 |
+
}
|
140 |
+
|
141 |
+
.slide h1 {
|
142 |
+
font-size: 3em;
|
143 |
+
}
|
144 |
+
|
145 |
+
.slide h2 {
|
146 |
+
font-size: 2em;
|
147 |
+
}
|
148 |
+
}
|