aboutsummaryrefslogtreecommitdiff
path: root/ps/ui/css/parallax.css
blob: 97a12f9237e0a5e4cb415a1d1205c6141e95825b (plain)
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body { overflow: hidden; height: 100%; }

body {
    background: url(../img/logo-ps.svg) center center / contain no-repeat fixed, rgba(0,0,0,0.97);
    color: rgba(250,250,250,1);
    transform: translateZ(0px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

:link,
:visited {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-family: 'Cormorant Garamond';
    font-weight: 600;
    text-transform: capitalize;
}

.slides {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 42rem;
    perspective-origin: bottom right;
}

.slide {
    display: flex;
    flex-flow: row wrap;
    background: rgba(0,100,200,.31);
    color: rgba(250,250,250,1);
    width: 100%;
    min-height: 100%;
    border: 2px solid;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
    position: relative;
    padding: 40% 5%;
}
.slide .bg {
    background: repeating-linear-gradient( rgba(102, 204, 102, .4), rgba(102, 204, 102, .3) 30px, rgba(92, 184, 92, .4) 30px, rgba(92, 184, 92, .5) 60px ),
    url(../../media/x62.png) top left, rgba(170, 204, 0, 0.1);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: yes;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    opacity: 0.8;
    /*    transform: translateZ(-150px) scale(3) translateX(3.6rem) rotate(85.5deg) translateY(5rem) rotateZ(8deg); */
    transform: scale(3);
    transform-style: preserve-3d;
    transform-origin: 100% 100%;
}
.slide:nth-child(odd) {
    background: rgba(60,130,120,.51);
}
.slide:nth-child(odd) .bg {
    transform: scale(2) translateZ(-200px);
}
.slide:nth-child(2n+1) .bg {
    background: repeating-linear-gradient( rgba(102, 204, 102, .4), rgba(102, 204, 102, .3) 30px, rgba(92, 184, 92, .4) 30px, rgba(92, 184, 92, .5) 60px ),
    url(../../media/x42.png) top left, rgba(170, 4, 120, 0.1);
}

.slide:nth-child(1) .bg {
    transform-origin: 0 0;
    background: url(../img/w1.svg) top left repeat-y,
    url(../img/w2.svg) top left repeat-y,
    url(../img/w3.svg) top left / 10% repeat-y,
    url(../img/w4.svg) top left / 10% repeat-y, 
    rgba(0,0,0,1);
    background-attachment: fixed;
    background-size: contain;
    animation: flow-y 40s infinite ease-in-out;
}

.slide:nth-child(1) .bg::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    opacity: 0.8;
    transform-origin: 0 0;
    background: url(../img/w1.svg) center center repeat-y,
    url(../img/w2.svg) left center repeat-y,
    url(../img/w3.svg) left center repeat-y,
    url(../img/w4.svg) center center repeat-y, 
    rgba(0,255,0,.7);
    background-attachment: fixed;
    background-size: contain;
    animation: flow-r 40s infinite ease-in-out;
}

@keyframes flow-y {
    50% { background-position: 0 11rem , 0 -22rem, 0 55rem, 0 -110rem, 0 30rem;  }
}
@keyframes flow-r {
    50% { background-position: 0 -1rem , 0 2rem, 0 -5rem, 0 10rem, 0 -30rem;  }
}
    
.sine {
    text-align: center;
}
.sine_span {
    display: inline-block;
    margin:0;
    padding:0;
    height: 20px;
    width: 40px;
    border: 1px solid black;
}
.sine_span_first {
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    transform: translate(-20px, 0) scale(2,1);
}
.sine_span_second {
    border-top: none;
    border-radius: 0 0 20px 20px;
    transform: translate(20px, 20px) scale(2,1);
}
.sine_span_first_2 {
    transform: translate(0, 20px) scale(1,2);
}
.sine_span_second_2 {
    transform: translate(0, 60px) scale(1,2);
}


nav {
    position: fixed;
    z-index: 50;
    bottom: 0;
    width: 100%;
    background: rgba(90,60,20,.9);
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
}

@media screen and (max-width: 1024px) {
    nav {
	justify-content: space-around;
    }
}
@media screen and (max-width: 640px) {
    nav {
	flex-flow: column wrap;
	width: 0%;
    }
    nav li {
	display: block;
    }
}

nav > ul {
    display: block;
    list-type: none;
    padding: 0.5rem;
    background: rgba(200,120,40,.4);
}
nav li {
    margin: 0;
    display: inline-block;
    padding: 0;
    
}