-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (102 loc) · 2.14 KB
/
style.css
File metadata and controls
115 lines (102 loc) · 2.14 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
perspective: 950px;
}
.container {
width: 47%;
display: flex;
align-items: center;
justify-content: center;
}
.card {
transform-style: preserve-3d;
min-height: 80vh;
width: 35rem;
box-shadow: 0px 20px 20px rgba(0,0,0,0.2),
0px 0px 50px rgba(0,0,0,0.2);
border-radius: 30px;
padding: 0rem 5rem;
}
.card-img {
min-height: 35vh;
display: flex;
align-items: center;
justify-content: center;
}
.card-img img {
width: 16rem;
z-index: 2;
transition: all 0.75s ease-out;
}
.circle {
width: 15rem;
height: 15rem;
background: linear-gradient(
to right,
rgba(98, 231, 36, 0.897),
rgba(151, 190, 229, 0.87)
);
position: absolute;
border-radius: 50%;
z-index: 1;
}
.info h1 {
font-size: 3rem;
transition: all 0.75s ease-out;
}
.info h3 {
font-size: 1.3rem;
padding: 2rem 0.2rem;
color: #797c7b;
font-weight: 300;
hyphens: auto;
transition: all 0.75s ease-out;
}
.attributes {
display: flex;
justify-content: space-between;
transition: all 0.75s ease-out;
}
.attributes button {
display: flex;
justify-content: center;
width: 2rem;
padding: 0.5rem 2rem;
margin: 0.5rem 0.5rem;
background: none;
border: none;
box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
border-radius: 30px;
cursor: pointer;
font-weight: bold;
color: #797c7b;
}
button.active {
background: #4d5250;
color: white;
}
.purchase {
margin-top: 5rem;
margin-bottom: 2.2rem;
transition: all 0.75s ease-out;
}
.purchase button {
width: 100%;
padding: 1rem 0rem;
background: rgba(53, 143, 12, 0.8);
border: none;
color: white;
cursor: pointer;
border-radius: 30px;
font-weight: bolder;
box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}