-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
138 lines (132 loc) · 2.4 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
138
* {
padding: 0px;
margin: 0px;
box-sizing: border-box;
}
a {
text-decoration: none;
color: #fff;
}
body {
background-color: rgb(255, 221, 0);
font-family: "Poppins", sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
width: 100%;
overflow: hidden;
}
/* CONTAINER */
.container {
max-width: 400px;
}
.container h1 {
color: #111;
font-size: 25px;
text-align: center;
text-transform: capitalize;
background-color: lightsalmon;
padding: 20px;
border-radius: 12px;
}
/* CARD */
.container .card {
max-width: 80%;
margin: auto;
margin-top: 30px;
background-color: rgba(255, 255, 255, 0.7);
box-shadow: 5px 5px 50px 0px #3a3939;
padding: 20px 40px;
border-radius: 20px;
height: 350px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.container .card button {
border: none;
outline: none;
position: relative;
background-color: lightseagreen;
padding: 10px 60px;
border-radius: 5px;
font-size: 13px;
color: white;
font-weight: bold;
transition: 0.3s;
box-shadow: 5px 5px 10px 0px #3a3939;
cursor: pointer;
}
.container .card button:hover{
background-color: darkorange;
transition: 200ms;
}
.container .card button:active {
box-shadow: 0px 0px 0px 0px #216aae;
transform: translateY(5px);
}
.container .card button input {
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
opacity: 0;
cursor: pointer;
}
.container .card p {
color: #111;
font-size: 15px;
opacity: 0.8;
text-align: center;
margin-top: 20px;
}
.container #displayCard img {
max-height: 100%;
width: auto;
border-radius: 5px;
z-index: 1;
}
#startBtn {
font-size: 12px;
}
.container .image-cont {
border-radius: 5px;
padding: 10px;
max-height: 90%;
width: 100%;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.container #downloadCard .image-cont {
padding: 20px;
width: fit-content;
background-size: contain;
}
.container #downloadCard .image-after {
max-height: 100%;
width: auto;
border-radius: 5px;
z-index: 1;
}
.container #downloadCard .image-before {
max-width: 20%;
height: auto;
border-radius: 5px;
position: absolute;
top: 0px;
left: 0px;
z-index: 2;
}
footer p{
margin-top: 40px;
color: #111;
font-size: 15px;
opacity: 0.8;
text-align: center;
}