-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
191 lines (191 loc) · 3.6 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
191
:root{
--pink: hsl(322, 100%, 66%);
--light-pink: hsl(321, 100%, 78%);
--light-red: hsl(0, 100%, 63%);
--very-dark-cyan: hsl(192, 100%, 9%);
--very-pale-blue: hsl(207, 100%, 98%);
font-size: 15px;
}
h1,h3{
font-family: 'Poppins', sans-serif;
}
h2,p,a{
font-family: 'Open Sans', sans-serif;
}
a{
text-decoration: none;
font-size: 1rem;
}
h1:only-of-type{
font-size: clamp(2rem, 5vw, 3rem);
}
p{
font-size: clamp(.8rem, 5vw, 1.1rem);
}
body {
box-sizing: border-box;
padding: 0;
/* scroll-behavior: smooth; */
}
.wrapper{
max-width: 1400px;
margin: auto;
display: flex;
flex-direction: column;
justify-content: center;
}
nav{
display: flex;
justify-content: space-between;
align-items: center;
padding: 3em 0;
margin-bottom: 4em;
}
.btn{
border-radius: 27px;
color: var(--pink);
padding: 0.5em 1.5em;
letter-spacing: .09em;
box-shadow: 1px 2px rgba(0, 0, 0, 0.3);
border: 2px var(--pink) solid;
cursor: pointer;
}
.btn:hover{
border: 2px var(--light-pink) solid;
color: var(--light-pink);
}
.banner{
text-align: center;
padding: 3em 2em;
}
.banner > p{
line-height: 1.7em;
margin: 2em 0 3.5em;
}
.cta{
padding: 1em 4.6em;
font-weight: 600;
color: white;
background-color: var(--pink);
box-shadow: 3px 5px 2px -2px rgba(0, 0, 0, 0.3);
border-radius: 60px;
cursor: pointer;
}
.cta:hover{
background-color: var(--light-pink);
}
.split{
display: flex;
flex-direction: column;
gap: 5em;
padding: 6em;
margin: auto;
}
.split h2{
font-size: 4em;
margin: auto 0 -15px;
}
section div{
padding: 5em 1em;
text-align: center;
}
section div h3{
font-size: 1.85rem;
}
.ribbon:nth-of-type(odd){
display: flex;
flex-direction: column-reverse;
background: var(--very-pale-blue);
}
.ribbon-1 div:first-of-type{
margin-top: -10px;
}
.ribbon img{
min-width: 450px;
width: 90%;
}
.footer{
padding: 2.5em 3.5em;
background-color: var(--very-dark-cyan);
color: white;
line-height: 1.9em;
display: flex;
flex-direction: column;
gap: 6em;
}
.footer h2{
text-transform: uppercase;
font-size: 1.7rem;
}
input:only-of-type{
min-width: 50%;
padding: .6em;
border-radius: 6px;
border: none;
font-size: 1.4rem;
}
input:focus{
outline: none;
border: 1px var(--light-red) solid;
}
.footer img, .links i{
filter: invert(100%) sepia(0%) saturate(2%) hue-rotate(63deg) brightness(106%) contrast(101%);
}
button{
float: right;
background: var(--pink);
border-radius: 6px;
border: 1px var(--pink) solid;
color: white;
padding: 1em 2.5em;
font-size: 18px;
font-weight: 600;
}
button:hover{
background-color: var(--light-pink);
border: 1px var(--light-pink) solid;
cursor: pointer;
}
.links i{
font-size: 2.13rem;
}
i:only-of-type:hover{
color: var(--very-pale-blue);
cursor: pointer;
}
@media (min-width: 900px){
nav{
padding: 3em 2.5em;
}
.banner > p{
max-width: 500px;
margin: 0 auto 6em;
}
.split{
width: 70%;
flex-direction: row;
justify-content: space-between;
}
section div{
min-width: 450px;
text-align: left;
}
.ribbon:nth-of-type(odd){
flex-direction: row;
}
.ribbon-2{
display: flex;
}
.footer{
flex-direction: row;
flex-direction: row-reverse;
justify-content: space-between;
}
.footer div{
max-width: 450px;
}
form{
display: flex;
gap: 2.6em;
}
}