-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (84 loc) · 1.33 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
font-size: 62.5%;
}
/* Screen 1 */
#main-text-container {
display: grid;
gap: 1.6rem;
}
.screen-1 {
display: grid;
gap: 4.8rem;
}
.hide {
display: none;
}
body {
display: grid;
place-items: center;
height: 100vh;
background: linear-gradient(287.56deg, #c2e9fb 0%, #a1c4fd 100%);
}
body,
button,
input {
font-family: 'DM Sans', sans-serif;
}
main {
background: #ffffff;
box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
border-radius: 0.6rem;
padding: 4.8rem 6.4rem 6.4rem;
margin-top: -12rem;
width: min(42.8rem, 90%);
text-align: center;
}
h1 {
font-family: 'Montserrat', sans-serif;
font-size: 2.4rem;
color: #34355b;
}
p {
font-size: 1.6rem;
color: rgba(52, 53, 91, 0.8);
}
form {
display: flex;
justify-content: center;
}
input,
button {
border: none;
padding: 1.6rem;
}
input {
background: #dce2e9;
color: #34355b;
width: 7rem;
border-radius: 0.4rem 0 0 0.4rem;
}
button {
background: #7879f1;
font-weight: bold;
color: white;
cursor: pointer;
border-radius: 0 0.4rem 0.4rem 0;
transition: background 0.3s;
}
button:hover {
background: #6363ce;
}
/* Screen 2 */
h2 {
font-size: 2.4rem;
font-weight: normal;
margin-bottom: 3.3rem;
}
.screen-2 button {
border-radius: 0.4rem;
}