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

	img {
		mix-blend-mode: multiply;
	}

	.container {
		justify-content: center;
	}

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

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

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

			&: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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

		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
83
84
85
	}

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

		p {
			margin-top: -6px;
		}
Benthe Kuijpers's avatar
Benthe Kuijpers committed
92
93
94
95
96
97
98
99
100
101
102
103
	}

	&__social {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		margin: 30px -10px;

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

			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
113
114
115
116
117
118
119
		}

		h4 {
			margin: 0 0 0 20px;
		}
	}
}