-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
137 lines (128 loc) · 2.66 KB
/
app.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
@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500&display=swap");
:root {
--primary-pale-blue: hsl(225, 100%, 94%);
--primary-bright-blue: hsl(245, 75%, 52%);
--neutral--very-pale: hsl(225, 100%, 98%);
--neutral--desaturated-blue: hsl(224, 23%, 55%);
--neutral--dark-blue: hsl(223, 47%, 23%);
}
body {
font-family: "Red Hat Display", sans-serif;
background-color: hsl(225, 100%, 94%);
font-size: 16px;
margin: 0%;
}
main {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-image: url(images/pattern-background-desktop.svg);
background-repeat: no-repeat;
background-size: contain;
}
.product-card {
width: 380px;
background-color: white;
display: flex;
flex-direction: column;
border-radius: 25px;
box-shadow: 0px 40px 25px rgb(176 184 206 / 62%);
}
.product-svg img {
border-radius: 25px 25px 0 0;
width: 100%;
}
.product-info {
margin: auto;
margin-top: 20px;
width: 80%;
padding: 10px;
text-align: center;
}
.product-desc h1 {
margin-top: 0%;
font-weight: 900;
color: var(--neutral--dark-blue);
}
.product-caption {
color: var(--neutral--desaturated-blue);
padding: 5px;
}
.product-price h2 {
margin: 0%;
margin-bottom: 5px;
color: var(--neutral--dark-blue);
font-size: 17px;
}
.product-cost {
color: var(--neutral--desaturated-blue);
font-size: 15px;
}
.product-plan-card {
padding: 10px;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 15px;
background-color: var(--neutral--very-pale);
}
.product-plan {
display: flex;
}
.product-logo {
display: flex;
align-items: center;
margin-left: 5px;
}
.product-price {
padding: 5px;
margin-left: 10px;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.product-plan-link a {
text-decoration: none;
font-weight: 800;
color: var(--primary-bright-blue);
font-size: 15px;
padding: 10px;
}
.product-form {
margin-top: 25px;
display: flex;
flex-direction: column;
}
.product-payment {
height: 45px;
border-radius: 15px;
border: none;
font-weight: 700;
background-color: var(--primary-bright-blue);
color: var(--primary-pale-blue);
box-shadow: 0px 20px 20px #c7c5c5;
}
.product-form a {
margin-top: 25px;
margin-bottom: 20px;
text-decoration: none;
color: var(--neutral--desaturated-blue);
font-size: 15px;
font-weight: 800;
}
.product-payment:hover {
background-color: hsl(245deg 65% 66%);
}
.product-plan-link a:hover {
color: hsl(245deg 65% 66%);
}
.product-form a:hover {
color: var(--neutral--dark-blue);
}
@media (max-width: 600px) {
.product-card {
width: 350px;
margin: 20px;
}
}