aboutsummaryrefslogtreecommitdiff
path: root/static/style.css
blob: 5f279708d4fe18de8259f757fbfff69441564e24 (plain) (blame)
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
@font-face {
    font-family: 'DejaVu Sans';
    src: url('./fonts/dejavu-sans-fontfacekit/web fonts/dejavusans_regular_macroman/DejaVuSans-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DejaVu Sans';
    src: url('./fonts/dejavu-sans-fontfacekit/web fonts/dejavusans_bold_macroman/DejaVuSans-Bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'DejaVu Sans';
    src: url('./fonts/dejavu-sans-fontfacekit/web fonts/dejavusans_oblique_macroman/DejaVuSans-Oblique-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'DejaVu Sans';
    src: url('./fonts/dejavu-sans-fontfacekit/web fonts/dejavusans_boldoblique_macroman/DejaVuSans-BoldOblique-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'DejaVu Sans';
    src: url('./fonts/dejavu-sans-fontfacekit/web fonts/dejavusans_extralight_macroman/DejaVuSans-ExtraLight-webfont.woff') format('woff');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'Telegraf';
    src: url('./fonts/Telegraf-Free/PPTelegraf-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Telegraf';
    src: url('./fonts/Telegraf-Free/PPTelegraf-UltraLight.otf') format('opentype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'Telegraf';
    src: url('./fonts/Telegraf-Free/PPTelegraf-UltraBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'DejaVu Sans', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background-image: url("/static/media/grid-background-single-square-light.jpg");
    background-size: 1.25rem 1.25rem;
    background-attachment: fixed;
}

main {
    padding-top: 5rem;
    padding-bottom: 3rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

article, #intro, .main-bg {
  padding: 1rem 1.75rem;
  background-color: white;
  box-shadow: 0 0 1em 0.4em rgb(224, 224, 224);
}

article, #intro {
  margin-top: 1.75rem;
}

article h2 {
  margin-top: 0;
}

article p:last-of-type {
  margin-bottom: .5rem;
}

main:has(#intro) {
  padding-top: 1rem;
}

.top-bar {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    padding: .7rem 1.5rem;
    background-color: black;
}

.top-bar a {
  color: white;
}

/* .logo-w-name {
    display: flex;
} */

.logo {
    padding-left: .75rem;
    padding-right: .75rem;
    height: 3rem;
    filter: invert(70%);
}

.landing-page {
  padding: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-text {
  display: flex;
  flex-direction: column;
}

.landing-text span {
  font-size: max(4rem, 10vw);
  font-weight: bolder;
  line-height: 1;
}

.arrow-container {
  position: absolute;
  bottom: 4rem;
}

.down-arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: block;
  padding: 1rem;
  transform: rotate(45deg);
}

h1 {
  font-size: 2.75rem;
  color: rgb(190, 190, 190);
  margin: 0;
}

.subtext {
  margin: 0;
  font-weight: bold;
}

.end {
  text-align: center;
  opacity: 30%;
  font-size: 2.5rem;
}

hr {
  margin-top: 2.5rem;
}

b {
  color:rgb(100, 100, 100);
}

h2, h3, h4, h5, h6 {
/*   margin-top: 2rem;
  margin-bottom: 0.7rem; */
  font-size: 1.5rem;
}

h3, h4, h5, h6 {
  opacity: 50%;
}

p {
  line-height: 1.25;
}

pre {
  white-space: pre-wrap;
}

.name {
  font-weight: bold;
  margin: auto .3rem;
  color: rgb(197, 197, 197);
}

.main-nav-position {
    display: flex;
    justify-content: right;
    flex-grow: 1;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
  font-size: .8rem;
}

.toggler, .hamburger {
    display: none;
}

.even-2-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

iframe {
  max-width: 100%;
  aspect-ratio: 16/9;
  display: block;
}

figure {
  max-width: 35rem;
  margin: 2rem auto;
}

figure img:not(:first-child) {
  margin-top: 2rem;
}

figcaption {
  font-style: italic;
  color: rgb(177, 177, 177);
  margin-top: 0.3rem;
}

i {
  color: rgb(177, 177, 177);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
    font-style: italic;
    color: rgb(177, 177, 177);
    background-color: rgb(73, 73, 73);
}

.thumbnail img {
    width: fit-content;
    aspect-ratio: 16/9;
    object-fit: cover;
}

a {
    color: black;
}

header a, .projects a {
  text-decoration: none;
}

.projects p {
  margin-top: 0.2rem;
  border-right: .5rem solid rgb(196, 196, 196);
  border-top: .12rem solid rgb(196, 196, 196);
}

.footer-logo {
    filter: invert(100%);
    height: 1rem;
    margin-left: .75rem;
}

footer {
    background-color: black;
    padding-left: 1rem;
    padding-right: 1rem;
}

address {
    gap: 2rem;
    font-size: .7rem;
    display: flex;
    justify-content: center;
}

footer * {
    color: white;
}

blockquote {
  font-style: italic;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.75rem;
}

@media screen and (max-width: 45rem) {
    nav {
      display: none;
    }
    .footer-logo {
      height: 1.5rem;
    }

    .even-2-col-grid {
        grid-template-columns: 1fr;
    }
    .gallery {
      grid-template-columns: repeat(2, 1fr);
    }

    .toggler{
    /* ALWAYS KEEPING THE TOGGLER OR THE CHECKBOX ON TOP OF EVERYTHING :  */
      visibility: visible;
      display: block;
      z-index: 4;
      height: 45px;
      width: 45px;
      position: fixed;
      top: .15rem;
      right: 1rem;
      cursor: pointer;
      opacity: 0;
      margin: 0;
    }

    .hamburger{
      z-index: 3;
      position: fixed;
      top: .15rem;
      right: 1rem;
      height: 45px;
      width: 45px;
      /*border-bottom-left-radius: 8px;
      background-color: var(--dark-transparent);*/
      /*background-color: black;*/

    /* FOR DISPLAYING EVERY ELEMENT IN THE CENTER : */

      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* CREATING THE MIDDLE LINE OF THE HAMBURGER : */

    .hamburger > div{
      position: relative;
      top: 0;
      right: 0;
      background: white;
      height: 2px;
      width: 60%;
      transition: all  0.4s ease;
    }

    /* CREATING THE TOP AND BOTTOM LINES :
    TOP AT -10PX ABOVE THE MIDDLE ONE AND BOTTOM ONE IS 10PX BELOW THE MIDDLE: */

    .hamburger > div::before,
    .hamburger > div::after{
      content: '';
      position: absolute;
      top: -10px;
      background: white;
      width: 100%;
      height: 2px;
      transition: all  0.4s ease;
    }

    .hamburger > div::after{
      top: 10px;
    }

    /* IF THE TOGGLER IS IN ITS CHECKED STATE, THEN SETTING THE BACKGROUND OF THE MIDDLE LAYER TO COMPLETE BLACK AND OPAQUE :  */

    .toggler:checked + .hamburger > div{
      background: rgba(0,0,0,0); /*Not bothering with var because one-off*/
    }

    .toggler:checked + .hamburger > div::before{
      top: 0;
      transform: rotate(-45deg);
    }

    /* AND ROTATING THE TOP AND BOTTOM LINES :  */

    .toggler:checked + .hamburger > div::after{
      top: 0;
      transform: rotate(45deg);
    }

    /* MAIN MENU WITH THE WHITE BACKGROUND AND THE TEXT :  */

    .main-nav {

    /* APPLYING TRANSITION TO THE MENU :  */

      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0;
      right: 0;
      z-index: 2;
      background-color: rgba(0, 0, 0, 0.75);
      padding: 6rem 2rem 1rem 2rem;
      align-items: center;

    /* HIDDEN INITIALLY  :  */

      visibility: hidden;
    }

    .main-nav > a {
      margin-top: 15px;
      margin-bottom: 15px;
      font-size: 34px;
      z-index: 4;
    }

    /* IF THE TOGGLER IS CHECKED, THEN INCREASE THE WIDTH OF THE MENU TO 30% , CREATING A SMOOTH EFFECT :  */

    .toggler:checked ~ .main-nav{
      visibility: visible;
      animation: fadeIn 0.8s ease;
    }
    .toggler:checked ~ .bg-nav-block {
      visibility: visible;
      animation: fadeIn 0.8s ease;
    }
    .toggler:checked ~ .hamburger {
      background-color: #00000000;
    }
}

@media screen and (max-width: 27rem) {
  .logo {
    height: 10vw;
  }
  .address {
    font-size: .5rem;
  }
}