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
|
/* base properties */
body, button {
margin: 0;
color: white;
user-select: none;
background: black;
font-family: "Roboto", sans-serif;
}
/* positioning, sizing and everything for background elements */
.background, .background .color, .background .image {
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
position: fixed;
background-size: cover;
background-position: center;
}
/* tinted background color */
.background .color {
background-color: rgb(0, 0, 0, 0.7);
}
/* background image elements */
.background .image {
opacity: 0.0;
transform: scale(1.0);
background-position-x: 50%;
transition: 0.8s opacity ease-in-out,
5.0s transform ease-out,
5.0s background-position-x ease-out;
background-image: url("images/backgrounds/1.jpg");
}
/* appear but dont animate */
.background .image.active-noanim {
opacity: 1.0;
}
/* show and animate the image */
.background .image.active {
opacity: 1.0;
transform: scale(1.05);
background-position-x: 25%;
}
/* main container for everything */
.main {
width: 80vw;
height: 100vh;
display: flex;
margin: 0 auto;
max-width: 800px;
position: relative;
align-items: center;
}
/* actual containers with content */
.box {
width: 100%;
height: 80%;
display: flex;
max-height: 400px;
border-radius: 15px;
align-items: center;
justify-content: center;
}
/* preview image */
.box .preview {
width: 100%;
cursor: default;
border-radius: 15px;
transition: 0.3s ease-in-out;
transition-property: box-shadow, transform;
box-shadow: 0px 8px 5px rgba(0, 0, 0, 0.1);
}
.box .preview:hover {
transform: scale(1.05);
box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.4);
}
/* hide preview image devices with less than 900px in width */
@media (max-width: 900px) {
.box:nth-child(2) {
display: none;
}
}
/* main div with text and content */
.info {
text-align: center;
}
/* Viper logo+text */
.info .image {
display: flex;
align-items: center;
justify-content: center;
font-size: min(3vw, 30px);
}
/* Viper logo sizing */
.info .image img {
width: 30%;
max-width: 400px;
}
/* more download options link */
.info a {
opacity: 0.8;
color: #C7777F;
text-decoration: none;
transition: filter 0.2s ease-in;
}
.info a:hover {
filter: brightness(80%);
}
/* big download button */
button {
border: none;
color: white;
display: flex;
margin: 15px auto;
font-size: 24px;
font-weight: bold;
padding: 20px 40px;
align-items: center;
border-radius: 10px;
justify-content: center;
transition: 0.2s ease-in-out;
background: linear-gradient(45deg, #81A1C1, #7380ED);
filter: drop-shadow(0px 8px 5px rgba(0, 0, 0, 0.1));
}
button:hover {
transform: scale(1.05);
filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.3)) brightness(110%);
}
button:active {
opacity: 0.7;transform: scale(0.98);
filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.4));
}
/* platform icon in button */
button img {
width: 28px;
margin-right: 15px;
}
|