-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
173 lines (151 loc) · 2.65 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
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
body {
background: #3b1a23;
color: white;
margin: 0;
font-family: "Open Sans", sans-serif;
}
.title {
display: block;
width: 80%;
max-width: 600px;
margin: 0 auto;
}
.bg-gradient {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
min-height: 1300px;
background: linear-gradient(
180deg,
#ffc672 0%,
#fc8450 8.9%,
#952e3f 22.6%,
#64272e 37.72%,
#3a1922 55.69%
);
z-index: -1;
}
.hero-img {
width: 90%;
max-width: 600px;
}
.header {
margin-top: -6rem;
position: relative;
}
.header-content {
position: absolute;
top: 0;
right: 0;
margin: 0 3rem;
margin-top: 4rem;
min-width: 25%;
text-align: right;
}
hr {
border: 0;
border-bottom: 1px solid #fff;
margin: 2rem 0;
}
h3 {
font-size: 1.5rem;
font-weight: 600;
letter-spacing: 0.3rem;
}
section {
margin: 3rem;
}
.grid {
display: grid;
grid-template-columns: 1fr 100px;
grid-gap: 1rem;
font-size: 1.4rem;
font-weight: 600;
}
.grid-item {
background: linear-gradient(270deg, #462434 3.08%, #331c2b 85.07%);
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
border-radius: 19px;
padding: 1rem;
text-transform: uppercase;
}
.grid-item-cost {
position: relative;
background: linear-gradient(
270.46deg,
rgba(70, 36, 52, 0) 33.83%,
#331c2b 84.79%
);
filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.25));
border-radius: 19px;
padding: 1rem;
}
.flex {
display: flex;
justify-content: space-between;
}
.flex-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.label {
font-size: 0.8rem;
font-weight: 400;
letter-spacing: 0.1rem;
margin: 0.5rem 0;
}
.grid .circle {
position: absolute;
left: 50%;
top: 0;
}
.grid-item-cost:nth-child(2) .circle {
background: radial-gradient(
84.38% 84.38% at 15.63% 82.29%,
#5a222a 0%,
#893034 100%
);
}
.grid-item-cost:nth-child(4) .circle {
background: radial-gradient(
71.88% 71.88% at 21.87% 76.04%,
#e04b3d 0%,
#ff805a 100%
);
}
.circle {
width: 56px;
height: 56px;
background: radial-gradient(
71.88% 71.88% at 21.87% 76.04%,
#f99f3b 0%,
#feb245 100%
);
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
border-radius: 50%;
}
.flex-item:nth-child(2) .circle {
background: radial-gradient(
71.88% 71.88% at 21.87% 76.04%,
#13dfcf 0%,
#1beee0 100%
);
}
.flex-item:nth-child(3) .circle {
background: radial-gradient(
71.88% 71.88% at 21.87% 76.04%,
#f77840 0%,
#fa924d 100%
);
}
.flex-item:nth-child(4) .circle {
background: radial-gradient(
71.88% 71.88% at 21.87% 76.04%,
#5a1a7a 0%,
#971def 100%
);
}