-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (79 loc) · 1.72 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
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Lexend+Deca&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.items {
background-color: hsl(0, 0%, 95%);
min-height: 100vh;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.item {
background-color: hsl(184, 100%, 22%);
min-height: 25rem;
max-width: 17rem;
padding: 2.5rem;
position: relative;
}
.item .image {
margin-bottom: 1.5rem;
}
.item h1 {
color: hsl(0, 0%, 95%);
font-family: 'Big Shoulders Display', cursive;
font-size: 2.3rem;
}
.item p {
color: hsl(0, 0%, 95%);
font-family: 'Lexend Deca', sans-serif;
margin-top: 1.5rem;
margin-bottom: 6rem;
}
.item button {
position: absolute;
background: hsl(0, 0%, 95%);
border: 2px solid hsl(0, 0%, 95%);
text-align: center;
padding: 12px 18px;
bottom: 0;
margin-bottom: 2rem;
border-radius: 30px;
color: hsl(184, 100%, 22%);
cursor: pointer;
font-family: 'Lexend Deca', sans-serif;
}
.first {
background-color: hsl(31, 77%, 52%);
}
.second {
background-color: hsl(184, 100%, 22%);
}
.third {
background-color: hsl(179, 100%, 13%);
}
.first button{
color: hsl(31, 77%, 52%);
}
.second button{
color: hsl(184, 100%, 22%);
}
.third button{
color: hsl(179, 100%, 13%);
}
button:hover {
background-color: transparent;
color: hsl(0, 0%, 95%);
}
@media (max-width:950px) {
.items {
flex-direction: column;
padding: 5rem 0;
}
.item {
min-width: 22rem;
}
}