-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (84 loc) · 1.31 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
font-size: 62.5%;
}
body {
background: linear-gradient(287.56deg, #28ac07 0%, #19d351 100%);
font-size: 1.6rem;
display: grid;
place-items: center;
height: 100vh;
}
body,
button,
input,
span {
font-family: 'DM Sans', sans-serif;
}
button {
background: #28ac07;
color: #fff;
border-radius: 0 0.4rem 0.4rem 0;
cursor: pointer;
transition: background 0.3s ease;
}
button:hover {
background: #176603;
}
.hide {
display: none;
}
main {
background: #ffffff;
box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0.1);
border-radius: 0.6rem;
padding: 4.8rem 6.4rem 6.4rem;
width: min(46.8rem, 90%);
margin-top: -12rem;
text-align: center;
}
/*Screen-one*/
h1 {
font-family: 'Montserrat', sans-serif;
font-size: 2.4rem;
margin-bottom: 1.6rem;
}
h1,
p {
color: #34355b;
}
p {
opacity: 0.8;
}
form {
margin-top: 4.8rem;
display: flex;
justify-content: center;
}
input,
button {
border: none;
padding: 1.6rem;
font-weight: bold;
font-size: 1.8rem;
}
input {
background-color: #034d19;
width: 5rem;
color: #fff;
text-align: center;
border-radius: 0.4rem 0 0 0.4rem;
}
/*Screen-two*/
h2 {
font-size: 2.4rem;
font-weight: normal;
margin-bottom: 3.3rem;
}
.screen-two button {
border-radius: 0.4rem;
}