summaryrefslogtreecommitdiff
path: root/src/css/index.css
blob: 546a26f47530ed17c609f37c86179060b4b0e4c1 (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
:root {
    --text: #F4E8C1
}
.wrapper {
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    -ms-overflow-style: none;
    scrollbar-width: none;
    z-index: -6;
}
.wrapper::-webkit-scrollbar {
    display: none;
}


/* main info window ======================================= */
.indexPage {
    overflow: hidden;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgb(20, 53, 85);
    background-image: url(/images/backgroundNightCity.jpg) ,url(/images/backgroundNightCity.webp); */
    background-color: var(--neon-bg-color);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text);
    z-index: -10;
}

.window {
    position: relative;
    top: 15%;
    left: 10%;
    height: 70%;
    width: 80%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-backdrop-filter: blur(1024px);
    backdrop-filter: blur(1024px);
    box-shadow: 0 0 100px rgba(5,1,13,.4);
}

/* .window:after { */
/*   content: ""; */
/*   height: 70px; */
/*   width: 1px;   */
/*   position: absolute;   */
/*   left: -1px; */
/*   top: 65%; */
/*   transition: top, opacity; */
/*   transition-duration: 600ms; */
/*   transition-timing-function: ease; */
/*   background: linear-gradient( */
/*     transparent, */
/*     var(--primary-color), */
/*     transparent */
/*   ); */
/*   opacity: 0; */
/* } */

/* .window:hover:after { */
/*   top: 25%; */
/*   opacity: 1; */
/* } */

.window .windowWrap {
    /* transform-style: preserve-3d; */
    position: relative;
    /* transform: perspective(1000px); */
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255,255,255,1);
    border-radius: 1em;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    /* box-shadow: 0 0 10mm rgba(0,0,0,1); */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 11;
}

/* 
.window:hover,
.windowWrap:hover {
    transform: scale(1.1);
    -webkit-transition: transform 0.3s;
    transition: transform 0.3s;
} */

.window .windowWrap .text {
    position: relative;
    width: 100%;
    text-align: center;
}

.window .windowWrap .text .title {
    /* z-index: -1; */
    /* transform: translateZ(30px); */
    font-family: monoton;
    font-kerning: none;
    font-size: 7vw;
    text-transform: uppercase;
}

.description {
    /* z-index: -1; */
    /* transform: translateZ(30px); */
    font-family: rocksalt;
    font-size: 2.5vw;
}


.title {
    text-shadow: 15px 15px 15px black;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.title:hover {
    transform: scale(1.1);
    -webkit-transition: all 0.5s;
    transition: all 0.5s
}

.window .windowWrap .text .br {
    display: block;
    height: 0;
    width: 0;
    margin-bottom: 5vh;
}

.text {
    transform: translateZ(200px);
    text-shadow: 0 1px 0 #e9e6e6, 
    0 2px 0 #e9e6e6, 
    0 3px 0 #e9e6e6, 
    0 4px 0 #e9e6e6, 
    0 5px 0 #e9e6e6, 
    0 6px 0 #e9e6e6, 
    0 7px 0 #e9e6e6, 
    0 8px 0 #e9e6e6, 
    0 9px 0 #e9e6e6, 
    0 10px 0 #e9e6e6, 
    0 30px 10px rgba(0,0,0,.7);
}
.windowWrap, .tilt {
    transform-style: preserve-3d;
    /* perspective: 1000px; */
}