-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
165 lines (159 loc) · 2.92 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
*,
*::before,
*::after {
margin: 0%;
padding: 0%;
box-sizing: border-box;
}
img {
max-width: 100%;
}
body {
height: 100vh;
background-color: hsl(0, 0%, 94%);
font-family: "Poppins", sans-serif;
}
.hero-container {
width: 60%;
margin: 10% auto;
padding: 3em;
background-color: hsl(0, 0%, 100%);
border-radius: 30px 30px 30% 30px;
}
@media screen and (max-width: 650px) {
.hero-container {
width: 90%;
margin-top: 20%;
}
}
.input {
width: 67.5%;
display: flex;
justify-content: space-between;
align-items: center;
}
@media screen and (max-width: 883px) {
.input {
width: 100%;
}
}
.input div p {
color: hsl(0, 1%, 44%);
text-transform: uppercase;
letter-spacing: 1px;
padding-bottom: 0.5em;
}
@media screen and (max-width: 650px) {
.input div p {
font-size: 13px;
}
}
.input div input {
border: none;
outline: 2px solid hsl(0, 0%, 86%);
border-radius: 5px;
width: 85%;
font-size: 32px;
padding: 0.4em 0.6em;
cursor: pointer;
font-family: inherit;
}
.input div input:hover, .input div input:focus {
outline: 2px solid hsl(259, 100%, 65%);
}
.input div input::-webkit-inner-spin-button, .input div input::-webkit-outer-spin-button {
display: none;
}
@media screen and (max-width: 1220px) {
.input div input {
font-size: 1.5rem;
}
}
@media screen and (max-width: 650px) {
.input div input {
font-size: 1.25rem;
padding: 0.4em;
}
}
.input div .error-msg {
margin-top: 0.5em;
height: 0.75rem;
font-weight: 400;
font-size: 0.75rem;
font-style: italic;
color: hsl(0, 100%, 67%);
}
@media screen and (max-width: 650px) {
.input div .error-msg {
height: 0.65rem;
font-size: 0.65rem;
}
}
.seperator {
margin-top: 1em;
height: -moz-max-content;
height: max-content;
display: flex;
justify-content: none;
align-items: center;
}
@media screen and (max-width: 883px) {
.seperator {
display: block;
position: relative;
margin-top: 1.35em;
}
}
.seperator hr {
border: 0;
outline: 0;
width: 100%;
height: 3px;
background-color: hsl(0, 0%, 86%);
}
@media screen and (max-width: 883px) {
.seperator hr {
position: absolute;
top: 50%;
transform: translateY(-50%);
}
}
.seperator button {
border: none;
aspect-ratio: 1;
display: flex;
justify-content: center;
align-items: center;
padding: 1em;
border-radius: 100px;
background-color: hsl(259, 100%, 65%);
}
.seperator button:hover {
cursor: pointer;
background-color: hsl(0, 0%, 8%);
}
@media screen and (max-width: 883px) {
.seperator button {
position: relative;
margin-left: 50%;
transform: translateX(-50%);
}
}
@media screen and (max-width: 650px) {
.seperator button {
height: 63px;
}
}
.output {
font-size: 5rem;
font-style: italic;
font-weight: 800;
}
.output span {
color: hsl(259, 100%, 65%);
}
@media screen and (max-width: 883px) {
.output {
font-size: 2.75rem;
}
}/*# sourceMappingURL=styles.css.map */