_footer.scss 1.92 KB
Newer Older
Benthe Kuijpers's avatar
Benthe Kuijpers committed
1
2
3
.footer {
	background: $bg-yellow;
	padding: 50px 0;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
4
	margin: 50px 0 0;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
5
6
7
8
9
10
11
12
13
14
15

	img {
		mix-blend-mode: multiply;
	}

	.container {
		justify-content: center;
	}

	&__column {
		flex: 0 0 100%;
alain's avatar
alain committed
16
		max-width: 380px;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
17
18

		&:first-child {
19
			margin: 0 0 50px;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
20
21
22
23
24
			@include colouredBar($yellow, $bg-yellow);
		}

		@media only screen and (min-width: $large) {
			flex: 1;
alain's avatar
alain committed
25
			margin: 0px 40px 40px;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
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

			&:first-child {
				&:before, &:after {
					width: 6px;
					height: auto;
					bottom: 0;
					top: 0;
					right: 0;
					left: auto;
				}
			}
		}
	}

	&__newsletter a,
	&__europe {
		display: flex;
		flex-wrap: wrap;
		text-decoration: none;
		margin: 0 0 30px;

		img {
			width: 90px;
			height: auto;
			flex: 0 1 auto;
			margin: 0 20px 0 0;
		}

		* {
			flex: 1;
		}

		h4, p {
			margin: 0;

			@media only screen and (min-width: $large) {
				max-width: 220px;
			}
		}
	}

	&__newsletter a {
		align-items: center;
alain's avatar
alain committed
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83

		h4:after {
			content: "↗";
			position: relative;
			top: 0;
			left: 0;
			margin-left: 5px;
		}

		&:hover h4:after {
			top: -2px;
			left: 2px;
			transition: all 0.2s ease;
		}

Benthe Kuijpers's avatar
Benthe Kuijpers committed
84
85
86
	}

	&__europe {
87
		justify-content: center;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
88
		align-items: flex-start;
alain's avatar
alain committed
89
90
91
92

		p {
			margin-top: -6px;
		}
Benthe Kuijpers's avatar
Benthe Kuijpers committed
93
94
95
96
97
98
	}

	&__social {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
99
		margin: 30px -10px 10px;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
100
101
102
103
104

		a {
			display: block;
			padding: 10px;
			line-height: 0;
alain's avatar
alain committed
105
106
107
108
109
110
111
112
113

			img {
				transform: perspective(1px); // avoid blur during transform transition
			}

			&:hover img {
				transform: perspective(1px) scale(1.05);
				transition: all 0.1s ease;
			}
Benthe Kuijpers's avatar
Benthe Kuijpers committed
114
115
116
117
118
119
		}

		h4 {
			margin: 0 0 0 20px;
		}
	}
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

	&__email a {
		text-decoration: none;
		align-items: center;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		margin: 0 0 0 51px;

		h4 {
			margin-left: 31px;
		}

		h4:before {
			content: "←";
			position: relative;
			top: 0;
			left: 0;
			margin-right: 5px;
		}

		&:hover h4:before {
			left: -2px;
			transition: all 0.2s ease;
		}
	}
Benthe Kuijpers's avatar
Benthe Kuijpers committed
146
}