-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
165 lines (165 loc) · 2.65 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #19a1ad;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans", Arial, sans-serif;
letter-spacing: 0.3px;
}
#main {
height: 100vh;
width: 100%;
position: relative;
}
.top-main {
height: 600px;
width: 600px;
position: absolute;
top: -30%;
}
.top-main img,
.bottom-main img {
width: 100%;
height: 100%;
}
.card {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 7px 10px 20px rgba(0, 0, 0, 0.192);
background-color: #fff;
width: 350px;
border-radius: 5px;
overflow: hidden;
}
.card span {
height: 100%;
width: 100%;
border-radius: 5px;
position: absolute;
top: -2px;
left: 0;
right: 0;
z-index: -1;
}
.card span img {
width: 100%;
height: 35%;
}
.card-top {
display: flex;
justify-content: center;
align-items: center;
}
.card-top img {
width: 100%;
height: 100%;
object-fit: contain;
}
.profile-img {
margin-top: 62px;
padding-bottom: 5px;
}
.profile-img img {
border-radius: 50%;
border: 6px solid #fff;
z-index: 1;
}
.card-text {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
}
.card-middle {
padding-top: 10px;
padding-bottom: 30px;
border-bottom: 1px solid #5252527e;
}
.card-middle h1 {
font-size: 20px;
padding-bottom: 10px;
}
.card-middle h1 span,
p {
position: relative;
color: #525252;
font-weight: 300;
}
.card-middle p {
font-size: 15px;
}
.card-bottom {
display: flex;
justify-content: space-around;
align-items: center;
padding: 18px 0;
}
.card-bottom h2 {
font-size: 18px;
font-weight: 900;
padding-bottom: 5px;
}
.bottom-main {
height: 395px;
width: 486px;
position: absolute;
bottom: 0;
left: 55%;
z-index: -1;
}
@media (max-width: 1140px) {
.top-main {
height: 600px;
width: 500px;
}
}
@media (max-width: 1099px) {
.top-main {
height: 500px;
width: 450px;
}
.bottom-main {
height: 200px;
width: 100px;
}
}
@media (max-width: 450px) {
.bottom-main {
height: 247px;
width: 300px;
}
}
@media (max-width: 411px) {
.top-main {
height: 400px;
width: 250px;
}
.bottom-main {
height: 300px;
width: 200px;
}
.card {
top: 40%;
}
.card {
width: 300px;
}
}
@media (max-width: 360px) {
.top-main {
height: 400px;
width: 200px;
}
.bottom-main {
height: 300px;
width: 100px;
}
.card {
width: 300px;
}
}