summaryrefslogtreecommitdiffstats
path: root/src/styles.css
blob: c83169cb2083efc749f9a7dee0bc09659235d9ef (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
:root {
    --purple: #683863;
    --grid-gap: 10px;
}

html {
    font-family: 'Roboto', sans-serif;
    color: var(--purple);
    width: 100%;
}

body {
    max-width: 1440px;
    margin: 78px auto;
    padding: 10px;

    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
}

header {
    position: relative;
    margin-bottom: 200px; 
}

h1 {
    font-family: 'Amiri', serif;
    font-size: 128px;
    font-weight: 400;
    line-height: 109px;
    margin: 5px 0;
    padding: 0;
    white-space: nowrap;
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: var(--purple);
    margin: 0;
}

h3 {
    font-family: 'Amiri', serif;
    font-size: 48px;
    font-weight: 400;
}

#swoosh {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 85%;
}

#logo {
    position: absolute;
    top: 62px;
    left: 612px;
}

@media screen and (max-width: 850px) {
    h1 {
        font-size: 14vw;
        line-height: 14vw;
    }

    h2 {
        font-size: 5vw;
    }

    h3 {
        font-size: 8vw;
        margin-bottom: 8px;
    }
    
    #logo {
        display: none;
    }

    header {
        margin-bottom: 20px;
    }
}

.gallery {
    display: flex;
    flex-flow: row wrap-reverse;
    justify-content: space-evenly;
    width: calc(100% + var(--grid-gap));
    margin: 0 calc(-0.5 * var(--grid-gap));
}

.gallery .column {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    flex: 1;
    margin: 0 calc(0.5 * var(--grid-gap));
}

.gallery .column a {
    margin-bottom: var(--grid-gap);
    min-width: min(400px, 100vw);
}

.gallery .column img {
    width: 100%;
}