-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
179 lines (151 loc) · 2.74 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,700;1,400;1,800&display=swap');
* {
box-sizing: border-box;
margin: 0;
overflow-x: hidden;
}
body {
font-family: 'Poppins', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
background-color: #f0f0f0;
width: 100vw;
}
.container {
width: 842px;
height: 651px;
background-color: white;
border-radius: 2rem 2rem 14rem 2rem;
padding: 3rem;
position: relative;
}
.inputs {
width: 634px;
display: flex;
justify-content: start;
gap: 3rem;
}
.inputEl {
display: flex;
flex-direction: column;
gap: .7rem;
}
.inputEl label {
font-size: 15px;
text-transform: uppercase;
letter-spacing: 1.2px;
font-family: inherit;
color: hsl(0, 1%, 44%);
}
.inputEl input {
border-radius: 5px;
padding: 15px 20px;
font-size: 25px;
max-width: 150px;
font-family: inherit;
border: 1px solid gray;
}
.error-message {
font-size: 10px;
color: red;
}
.line {
border: 1px solid hsl(0, 0%, 86%);
margin-top: 3rem;
}
.btn {
background: #874cfc;
border-radius: 50%;
width: 97px;
height: 97px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 165px;
right: 5%;
cursor: pointer;
border: none;
transition: .3s ease;
}
.btn:hover {
background-color: hsl(0, 0%, 8%);
}
.stats {
font-size: 40px;
margin-top: .5rem;
font-style: italic;
}
.stats span {
color: #874cfc;
}
footer {
font-size: 12px;
text-align: center;
bottom: 10px;
}
footer a {
color: red;
}
@media(max-width:878px) {
.container {
width: 95%;
}
}
@media(max-width:783px) {
.container {
padding: 3rem 10px;
height: auto;
border-radius: 2rem 2rem 8rem 2rem;
}
.inputs {
width: 100%;
justify-content: center;
gap: 1rem;
}
.inputEl input {
padding: 10px 20px;
max-width: 200px;
}
.btn {
left: 50%;
top: 170px;
transform: translateX(-50%);
width: 70px;
height: 70px;
}
.stats {
font-size: 25px;
margin-top: 2rem;
}
}
@media(max-width:400px) {
.container {
height: auto;
}
.inputs {
display: flex;
flex-direction: column;
align-items: center;
}
.inputEl {
width: 100%;
}
.inputEl input {
min-width: 100%;
}
.btn {
top: 415px;
}
.stats {
font-size: 18px;
padding-top: 3rem;
padding-left: 1rem;
}
footer {
font-size: 8px;
}
}