-
-
Notifications
You must be signed in to change notification settings - Fork 524
/
style.css
137 lines (118 loc) · 2.13 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Poppins", sans-serif;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
overflow: hidden;
perspective: 1000px;
}
.container {
width: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.card {
min-height: 80vh;
width: 25rem;
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 2rem;
transform-style: preserve-3d;
}
.sneaker {
min-height: 35vh;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.sneaker img {
width: 13rem;
z-index: 2;
transition: all 0.75s ease-out;
}
.circle {
width: 7rem;
height: 7rem;
background: linear-gradient(
to right,
rgba(245, 70, 66, 0.75),
rgba(8, 83, 156, 0.75)
);
position: absolute;
z-index: -1;
border-radius: 50%;
}
.info h1 {
font-size: 1.7rem;
transition: all 0.75s ease-out;
}
.info h3 {
font-size: 1rem;
padding: 2rem 0rem;
color: #585858;
font-weight: lighter;
transition: all 0.75s ease-out;
}
.sizes {
display: flex;
justify-content: space-between;
transition: all 0.75s ease-out;
}
.sizes button {
padding: 0.5rem 2rem;
background: none;
border: none;
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
border-radius: 30px;
cursor: pointer;
font-weight: bold;
font-family: inherit;
color: #585858;
}
button.active {
color: white;
background-color: #585858;
}
.purchase {
margin-top: 3rem;
transition: all 0.75s ease-out;
}
.purchase button {
width: 100%;
padding: 1rem 0rem;
background: #f54642;
border: none;
color: white;
cursor: pointer;
border-radius: 30px;
font-weight: bolder;
font-family: inherit;
}
@media screen and (min-width: 740px) {
.card {
width: 35rem;
padding: 0rem 5rem;
}
.sneaker img {
width: 20rem;
}
.circle {
width: 15rem;
height: 15rem;
}
.info h1 {
font-size: 3rem;
}
.info h3 {
font-size: 1.3rem;
}
}