HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/reiskick.komma.nl/resources/sass/6-Organisms/_organisms.footer.scss
$footerBp1: 450;

.o-footer {
	@include z(z-footer);
	background-color: palette(neutral, 900);
	color: palette(neutral, 0);
}


.o-footer__main {
	display: flex;
	@include contain;
	@include vspacing(
		'padding-top' 1.5,
		'padding-bottom' 1.5
	);

	@include mq($max: $footerBp1) {
		flex-direction: column;
	}

	@include mq($footerBp1, m) {
		justify-content: space-between;
		@include vspacing(
				'padding-top' 1,
				'padding-bottom' 1
		);
	}

	@include mq(m) {
		justify-content: center;
		align-items: center;
		@include vspacing(
				'padding-top' 0.5,
				'padding-bottom' 0.5
		);
	}
}

.o-footer__brand {
	position: relative;
	display: flex;
	width: 164px;
	max-height: 90px;
	right: -4px;
	transition: opacity 200ms linear;

	&:hover {
		opacity: 0.75;
	}

	@include mq($max: $footerBp1) {
		order: 1;
		margin: 0 auto space(4);
	}

	@include mq($footerBp1, m) {
		margin-top: space(2);
		right: 0;
	}
}

.o-footer__logo {
	width: 100%;
}

.o-footer__nav,
.o-footer__social{
	@include mq(m) {
		width: calc( (100% - 164px) / 2);
	}
}

.o-footer__nav {
	@include mq($max: $footerBp1) {
		order: 2;
	}

	@include mq($footerBp1, m) {
		width: calc( 100% - 180px );
	}
}

.o-footer__heading {
	position: relative;
	padding-bottom: 8px;
	font-size: 1.1rem;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	text-decoration: none;

	transition-property: opacity;
	transition-duration: 300ms;

	@include mq($max: $footerBp1) {
		display: none;
	}

	&:after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		display: block;
		height: 3px;
		width: 100%;
		transform: scaleX(0.45);
		transform-origin: 0 50%;
		background-color: palette(secondary);

		transition-property: transform;
		transition-timing-function: ease-in-out;
		transition-duration: 300ms;
	}

	&:hover {
		opacity: 0.75;

		&:after {
			transform: scaleX(1);
		}
	}
}

.o-footer__list {
	list-style: none;
	margin: 0;

	@include mq($footerBp1) {
		margin-top: space(4);
	}
}

.o-footer__item {
	@include mq($max: $footerBp1) {
		text-align: center;
	}
}

.o-footer__link {
	display: inline-block;
	position: relative;
	z-index: 0;
	text-decoration: none;
	cursor: pointer;
	color: palette(neutral, 0);
	font-size: 0.9rem;

	&::before {
		pointer-events: none;
		content: '';
		display: block;
		position: absolute;
		z-index: -1;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 2px;
		transform: scaleX(0);
		transform-origin: 0 50%;
		background-color: palette(secondary, 400);
		transition: all 250ms ease-out;
	}

	&:hover {
		&::before {
			transform-origin: 100% 50%;
			transform: scaleX(1);
		}
	}

	&:focus {
		outline-color: palette(feedback, focus);
	}
}


.o-footer__social {
	display: flex;
	justify-content: flex-end;
	list-style: none;
	margin: 0;

	@include mq($max: $footerBp1) {
		order: 3;
		margin-top: space(4);
		justify-content: center;
	}

	@include mq($footerBp1, m) {
		position: absolute;
		right: calc((100% / 14) + 7px);
		top: 220px;
		width: auto;
	}
}