aboutsummaryrefslogtreecommitdiff
path: root/public/main.css
blob: 44cfd4b9e29ef1b03d7c477a57147af9642e9f6e (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
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
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  margin: 0;
  overflow-x: hidden;
}

a {
  color: #050584;
}

/* Header */

header .content {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #303030;
  font-family: Arial;
  letter-spacing: 2px;
}

header .title, header .icon {
  position: relative;
  z-index: 1;
}

header .title :nth-child(1) {
  color: white;
  margin-bottom: 10px;
}

header .title :nth-child(2) {
  font-weight: bold;
  color: #E90707;
}

header::after {
  content: " ";
  display: block;
  width: 150%;
  margin: -100px 0 2em -25%;
  background-color: #303030;
  transform: rotate(2deg);
  box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.5);
  position: relative;
}

@media only screen and (min-width: 600px) {
  header {
    font-size: 50px;
  }

  header .content {
    height: 60%;
    padding-top: 100px;
  }

  header .icon {
    width: 350px;
  }

  header::after {
    height: 250px;
  }
}

@media only screen and (max-width: 600px) {
  header {
    font-size: 24px;
  }

  header .content {
    padding-top: 50px;
  }

  header .icon {
    width: 100px;
  }

  header::after {
    height: 150px;
  }
}

/* Main */

main h1 {
  color: #AE3333;
}

main h2 {
  font-size: 22px;
  font-weight: normal;
  text-decoration: underline;
}

main ul {
  list-style: none;
  padding-left: 10px;
  margin-bottom: 2em;
}

main li {
  line-height: 1.5em;
}

main li::before {
  content: "•";
  color: #AE3333;
  margin-right: 10px;
}

main .contact {
  text-align: center;
  font-size: 26px;
  background-color: #AE3333;
  color: white;
  line-height: 1.5em;
  box-shadow: 0 2px 15px 0 rgba(0,0,0,0.11), 0 5px 15px 0 rgba(0,0,0,0.08);
}

main .contact a {
  color: white;
}

@media only screen and (min-width: 600px) {
  main {
    font-size: 22px;
  }

  main section {
    margin: 3em 0;
    padding: 3em 1em;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  main section:nth-child(even) {
    flex-direction: row-reverse;
    background-color: #F3F3F3;
    box-shadow: 0 2px 15px 0 rgba(0,0,0,0.11), 0 5px 15px 0 rgba(0,0,0,0.08);
  }

  main h1 {
    font-size: 34px;
    margin: 0 30px;
  }

  main h2 {
    font-size: 22px;
  }

  main li {
    margin-bottom: 12px;
  }

  main .contact {
    font-size: 26px;
    margin-bottom: 3em;
    padding: 30px;
  }
}

@media only screen and (max-width: 600px) {
  main {
    font-size: 18px;
    min-height: calc(100% - 240px);
  }

  main section {
    padding: 0 25px;
  }

  main h1 {
    font-size: 24px;
    margin: 30px 0 30px;
  }

  main .contact {
    font-size: 20px;
    padding: 20px;
  }
}

/* Footer */

footer {
  background-color: #F6F6F6;
  text-align: center;
}

footer :not(:last-child) {
  margin-bottom: 5px;
}

@media only screen and (min-width: 600px) {
  footer {
    margin: 0 auto;
    width: 50%;
    padding: 1em;
    min-width: 600px;
    margin-bottom: 4em;
    border: 2px solid #EEEEEE;
    border-radius: 3px;
    font-size: 20px;
  }
}

@media only screen and (max-width: 600px) {
  footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1em;
    border-top: 2px solid #EEEEEE;
    height: 110px;
  }
}