-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
190 lines (161 loc) · 3.01 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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Varela Round", sans-serif;
}
header {
width: 100%;
padding: 12px 12px 15px;
display: flex;
align-items: center;
justify-content: center;
border-bottom: 2px solid #e5e5e5;
}
nav {
display: flex;
align-items: center;
justify-content: space-between;
width: 80%;
}
nav h1 {
font-size: 15px;
letter-spacing: 0.8px;
color: #afafaf;
}
.hero {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 50px;
margin-top: 80px;
}
.hero img {
width: 390px;
}
.hero h1 {
text-align: center;
font-weight: 700;
font-size: 30px;
color: #4b4b4b;
line-height: 40px;
letter-spacing: 1px;
margin-bottom: 30px;
}
.hero button {
padding: 15px;
font-weight: bolder;
border-radius: 10px;
box-shadow: 0px 4px 0px 2px #58a700;
border: none;
outline: none;
display: block;
text-align: center;
width: 320px;
margin: 20px auto;
background-color: #58cc02;
color: white;
outline: 2px solid #58cc02;
cursor: pointer;
}
.hero button:nth-child(3) {
outline: 2px solid #e5e5e5;
box-shadow: 0px 4px 0px 1px #e5e5e5;
background-color: #ffffff;
color: #20b1f6;
}
.hero button:nth-child(3):hover {
filter: brightness(0.9);
}
.hero button:hover {
filter: brightness(1.1);
}
.hero button:focus {
animation: click 0.35s linear;
}
@keyframes click {
50% {
box-shadow: none;
transform: translateY(3px);
}
}
@media screen and (max-width: 1050px) {
.hero img {
width: 330px;
}
.hero h1 {
font-size: 26px;
}
.hero button {
width: 300px;
}
}
@media screen and (max-width: 870px) {
.hero {
gap: 30px;
}
.hero img {
width: 300px;
}
.hero h1 {
font-size: 24px;
}
.hero button {
width: 260px;
}
}
@media screen and (max-width: 775px) {
.hero {
flex-direction: column;
gap: 40px;
}
.hero img {
width: 350px;
}
.hero h1 {
font-size: 30px;
}
.hero button {
width: 350px;
margin: 30px auto;
}
}
@media screen and (max-width: 550px) {
.hero {
gap: 40px;
}
.hero img {
width: 300px;
}
.hero h1 {
font-size: 26px;
padding: 0 10px;
}
.hero button {
width: 340px;
margin: 25px auto;
}
nav h1 {
display: none;
}
nav {
justify-content: center;
}
}
@media screen and (max-width: 410px) {
.hero {
margin-top: 30px;
}
}
@media screen and (max-width: 350px) {
.hero button{
width: 95%;
}
.hero img{
width: 250px;
}
.hero h1{
font-size: 20px;
}
}