// SECTION General

// SECTION Variables
$red: #ff0000;
$grey: #666666;
$white: #ffffff;
$black: #000000;
$lightgrey: #f2f2f2;

// !SECTION

// SECTION Mixins
// !SECTION

// SECTION General
:root {
	--plyr-color-main: #ff0000;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

:target:before {
	content: "";
	display: block;
	height: 30px;
	margin: -30px 0 0;
}

hr {
	background-color: $grey;
	margin: 20px 0;
}

html {
	margin-top: 0 !important;
	#wpadminbar {
		opacity: 0.2;
		transition: all 0.3s ease;
		&:hover {
			opacity: 1;
		}
	}
}

.container-fluid {
	padding-left: 30px;
	padding-right: 30px;
}

[class*="col-"] {
	padding-left: 10px;
	padding-right: 10px;
}

.row {
	margin-left: -8px;
	margin-right: -8px;
}

body {
	font-size: 18px;
	font-weight: 500;
	color: $grey;
	font-family: "Raleway";
}

p {
	&:last-child {
		margin-bottom: 0;
	}
}

img {
	max-width: 100%;
}

.of {
	object-fit: cover;
	font-family: "object-fit: cover;";
}

.oc {
	object-fit: contain;
	font-family: "object-fit: contain;";
}

.back-to {
	position: fixed;
	bottom: 65px;
	right: 0;
	background-color: $red;
	display: flex;
	color: $white;
	padding: 10px 20px;
	font-weight: 700;
	font-size: 14px;
	align-items: center;
	z-index: 999;
	&:hover {
		color: $white;
		.arrow {
			margin-top: -5px;
		}
	}
	.arrow {
		display: block;
		transition: all 0.3s ease;
		background-image: url("../images/arrow-up.svg");
		background-size: 100% 100%;
		width: 15px;
		height: 15px;
		margin-left: 10px;
		z-index: 999;
	}
}

a,
a:hover,
a:focus,
a:active {
	color: inherit;
	color: $red;
	text-decoration: none;
	&:hover {
		text-decoration: underline;
	}
}

.moove-gdpr-branding {
	display: none !important;
}

.btn {
	background-color: $red;
	padding: 10px 30px;
	color: $white;
	font-weight: 900;
	border-radius: 0;
	display: inline-flex;
	align-items: center;
	&:after {
		content: url("../images/arrow-white.svg");
		margin-left: 30px;
	}
	&:hover {
		border: 1px solid $red;
		background-color: transparent;
		color: $red;
		&:after {
			content: url("../images/arrow-red.svg");
		}
	}
}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

// !SECTION

// SECTION Spacing
.vp {
	padding-top: 200px;
	padding-bottom: 200px;
}

.vpt {
	padding-top: 200px;
}

.vpb {
	padding-bottom: 200px;
}

.vm {
	margin-top: 200px;
	margin-bottom: 200px;
}

.vmt {
	margin-top: 200px;
}

.vmb {
	margin-bottom: 200px;
}
// !SECTION

// SECTION Typography
h1,
.bigtext {
	font-size: 80px !important;
	line-height: 85px;
	font-weight: 900;
	color: $white;
	hyphens: auto;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
}

.bigtext {
	color: $red;
}

.home {
	h1 {
		text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.62);
	}
}

h2 {
	font-size: 40px;
	line-height: 48px;
	font-weight: 900;
	color: $red;
	margin-bottom: 20px;
}

h3 {
	font-size: 30px;
	line-height: 38px;
	font-weight: 900;
	color: $red;
}

.title {
	font-size: 50px;
	line-height: 60px;
	font-weight: 900;
	color: $red;
}

// !SECTION

// SECTION Colors
// !SECTION

// !SECTION

// ANCHOR Navigation
.navigation {
	position: sticky !important;
	top: 0;
	background-color: $white;
	z-index: 999 !important;
	transition: all 0.3s ease;
	&.scrolled {
		-webkit-box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 20%);
		-moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
		box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 20%);
	}
	nav {
		padding: 0 !important;

		.navbar-brand {
			padding: 0;
			max-width: 60%;
			img {
				width: 400px;
				max-width: 100%;
			}
		}
		ul {
			li {
				margin-right: 30px;
				&.current-menu-item {
					a {
						text-decoration: underline;
					}
				}
				&:last-child {
					margin-right: 0;
				}
				a {
					line-height: 14px;
					// font-weight: 700;
					// text-transform: uppercase;
					font-size: 14px;
					// color: $white;
					text-decoration: none;
				}
			}
		}
	}
}

// ANCHOR Error
.error {
	position: absolute;
	width: 100%;
	height: 100vh;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	color: $red !important;
	z-index: 0;
	h1 {
		color: $red;
	}
}

// ANCHOR Navigation
.navigation {
	padding: 30px !important;
	// z-index: 1;
	position: relative;
}

// ANCHOR Header
.header {
	padding: 100px;
	position: relative;
	background-size: cover;
	background-position: center;
	height: 300px;
	display: flex;
	align-items: flex-end;
	&:before {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		// background-color: $black;
		background: rgb(4, 6, 9);
		background: -moz-linear-gradient(60deg, rgba(4, 6, 9, 0.5018382352941176) 0%, rgba(4, 6, 9, 0) 100%);
		background: -webkit-linear-gradient(60deg, rgba(4, 6, 9, 0.5018382352941176) 0%, rgba(4, 6, 9, 0) 100%);
		background: linear-gradient(60deg, rgba(4, 6, 9, 0.5018382352941176) 0%, rgba(4, 6, 9, 0) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#040609",endColorstr="#040609",GradientType=1);
		// opacity: 0.2;
		width: 100%;
		height: 100%;
	}
	h3 {
		font-size: 26px;
		font-weight: 500;
		line-height: 34px;
		color: $white;
	}
}

// ANCHOR Header chapter
.header-chapter {
	padding: 0 30px !important;
	.title {
		color: $white;
		font-weight: 500;
		margin-top: 20px;
		font-size: 30px;
		line-height: 35px;
	}
	.header-inner {
		background-color: $red;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 400px;
		.text {
			padding: 140px 30px;
			h2 {
				color: $white;
				font-weight: 500;
				margin-top: 20px;
				font-size: 30px;
				line-height: 35px;
				margin-bottom: 0;
			}
		}
	}
}

// ANCHOR Chapters
.chapters {
	color: $white;
	margin-top: -16px !important;
	.chapter {
		display: block;
		position: relative;
		overflow: hidden;
		margin-top: 20px;
		img {
			transition: all 0.6s ease;
		}
		&:before {
			content: "";
			position: absolute;
			width: 100%;
			height: 50%;
			bottom: 0;
			left: 0;
			background: rgb(0, 0, 0);
			background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
			background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
			background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
			z-index: 1;
		}
		.text {
			position: absolute;
			left: 0;
			bottom: 0;
			padding: 40px;
			width: 90%;
			z-index: 2;
			h3 {
				font-size: 20px;
				line-height: 34px;
				font-weight: 500;
			}
			h2 {
				margin-bottom: 0;
				transition: all 0.6s ease;
				color: $white;
			}
		}
		&:hover {
			img {
				transform: scale(1.05);
			}
			.text {
				h2 {
					color: $red;
				}
			}
		}
	}
}

// ANCHOR More chapters
.more-chapters {
	color: $white;
	padding: 0 30px !important;
	margin-bottom: 30px;
	h2 {
		color: $black;
	}
	.more-chapters-wrapper {
		background-color: $lightgrey;
		padding: 30px;
		.chapter {
			display: block;
			position: relative;
			overflow: hidden;
			margin-top: 25px;
			h4 {
				font-size: 14px;
				color: $white;
				font-weight: 500;
				line-height: 16px;
			}
			h5 {
				font-size: 20px;
				color: $white;
				font-weight: 700;
				line-height: 25px;
				margin-bottom: 0;
				transition: all 0.6s ease;
				&.current {
					color: $red;
				}
			}
			img {
				transition: all 0.6s ease;
			}
			&:before {
				content: "";
				position: absolute;
				width: 100%;
				height: 50%;
				bottom: 0;
				left: 0;
				background: rgb(0, 0, 0);
				background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
				background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
				background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
				filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
				z-index: 1;
			}
			.text {
				position: absolute;
				left: 0;
				bottom: 0;
				padding: 30px;
				width: 100%;
				z-index: 2;
				h3 {
					font-size: 20px;
					line-height: 34px;
					font-weight: 500;
				}
				h2 {
					margin-bottom: 0;
					transition: all 0.6s ease;
					color: $white;
				}
			}
			&:hover {
				img {
					transform: scale(1.05);
				}
				.text {
					h5 {
						color: $red;
					}
				}
			}
		}
		.back {
			margin-top: 40px;
			color: $grey;
			font-weight: 500;
			text-decoration: none;
			display: flex;
			align-items: center;
			transition: all 0.3s ease;
			position: relative;
			&:before {
				content: url("../images/arrow-back.svg");
				margin-right: 20px;
				transition: all 0.3s ease;
			}
			&:after {
				content: url("../images/arrow-back-hover.svg");
				position: absolute;
				margin-right: 20px;
				left: 0;
				opacity: 0;
				transition: all 0.3s ease;
			}
			&:hover {
				color: $red;
				&:before {
					opacity: 0;
				}
				&:after {
					opacity: 1;
				}
			}
		}
	}
}

// ANCHOR Video
.video {
	.video-wrapper {
		width: 100%;
	}
}

// ANCHOR Quote
.quote {
	.name {
		margin-top: 40px;
	}
}

// ANCHOR Image
.image {
	.img {
		position: relative;
		.title {
			position: absolute;
			bottom: 0;
			left: 0;
			padding: 20px 30px;
			margin-right: 30px;
			background-color: $white;
		}
	}
	&.image-fullwidth {
		padding: 0;
		.title {
			left: 0;
			bottom: 0;
			margin: 30px;
		}
	}
}

// ANCHOR Variable
.variable {
	h2 {
		margin-bottom: 20px;
	}
	ul {
		list-style-type: none;
		padding-left: 22px;
		li {
			background-image: url("../images/bullet.svg");
			background-repeat: no-repeat;
			padding-left: 45px;
			background-position-y: 6px;
			font-weight: 700;
			margin-bottom: 10px;
			a {
				color: $grey;
				transition: all 0.2s ease;
				text-decoration: none;
				&:hover {
					color: $red;
					text-decoration: none;
				}
			}
			&:last-child {
				margin-bottom: 0;
			}
		}
	}
}

// ANCHOR Slider
.swiper-container {
	width: 100%;
	height: 100%;
	.swiper-slide {
		text-align: center;
		// background-color: rgba(255, 0, 0, 0.08);
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		flex-direction: column;
		display: flex;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
		.title {
			position: absolute;
			bottom: 0;
			left: 0;
			padding: 20px 30px;
			margin-right: 30px;
			background-color: $white;
		}
		h3 {
			margin-bottom: 0;
		}
		p {
			margin-top: 10px;
			margin-bottom: 0;
		}
		.textblock {
			padding-top: 30px;
			padding-bottom: 30px;
		}
		.embed-container {
			position: initial;
		}
	}
	.swiper-button-prev,
	.swiper-button-next {
		width: 86px;
		height: 86px;
		background-color: $white;
		border-radius: 50%;
		-webkit-box-shadow: 0px 0px 14px 6px rgba(0, 0, 0, 0.2);
		-moz-box-shadow: 0px 0px 14px 6px rgba(0, 0, 0, 0.2);
		box-shadow: 0px 0px 14px 6px rgba(0, 0, 0, 0.2);
		outline: 0;
		transform: translateY(-50%);
		margin-top: 0;
	}
	.swiper-button-prev {
		left: 40px;
		&:after {
			content: url("../images/arrow-prev.svg");
		}
	}
	.swiper-button-next {
		right: 40px;
		&:after {
			content: url("../images/arrow-next.svg");
		}
	}
	.swiper-pagination-bullets {
		bottom: 30px;
		span {
			width: 13px;
			height: 13px;
			background-color: $white;
			outline: 0;
			box-shadow: none;
			opacity: 1;
			&.swiper-pagination-bullet-active {
				border: 3px solid $red;
				background-color: transparent;
			}
		}
	}
	.plyr {
		width: 100%;
		height: 100%;
	}
}

// ANCHOR Socials
.socials {
	background-color: rgba(255, 0, 0, 0.08);
	.social-wrapper {
		> div {
			display: flex;
			justify-content: center;
			a {
				width: 114px;
				height: 114px;
				display: flex;
				justify-content: center;
				align-items: center;
				background-color: $white;
				border-radius: 50%;
				transition: all 0.3s ease;
				img {
					transition: all 0.3s ease;
				}
				&:hover {
					background-color: $red;
					img {
						filter: invert(100%);
					}
				}
			}
			&:last-child {
				margin-right: 0;
			}
		}
	}
}

// ANCHOR Footer
footer {
	padding: 30px;
	background-color: $red;
	text-align: center;
	img {
		max-width: 100%;
	}
}

// ANCHOR Media queries
@media screen and (max-width: 1199px) {
	nav {
		ul {
			margin-top: 15px;
			li {
				margin-right: 0;
				margin-bottom: 10px;
				&:last-child {
					margin-bottom: 0;
				}
				a {
					font-size: 18px !important;
				}
			}
		}
	}
}
@media screen and (min-width: 992px) {
	.header-inner,
	.header {
		height: 600px !important;
	}
	.header-chapter {
		h2 {
			margin-top: 40px !important;
		}
	}
	.more-chapters {
		margin-bottom: 65px;
		padding: 0 65px !important;
		.more-chapters-wrapper {
			padding: 65px;
		}
	}
	hr {
		margin: 40px 0;
	}
	.container-fluid {
		padding-left: 65px;
		padding-right: 65px;
	}
	.navigation {
		padding: 55px 65px !important;
	}
	.header-chapter {
		padding: 0 65px !important;
	}
	footer {
		padding: 55px;
	}
	.image {
		.title {
			margin-right: 65px;
		}
		&.image-fullwidth {
			.title {
				margin: 65px;
			}
		}
	}
	.variable {
		h2 {
			margin-bottom: 40px;
		}
	}
	.txt-centered.home {
		font-size: 22px;
	}
}

@media screen and (max-width: 767px) {
	.socials {
		padding-top: 30px !important;
		padding-bottom: 30px !important;
		.social-wrapper {
			margin: 0;
			padding-left: 15px;
			padding-right: 15px;
			.social {
				width: 100px;
				height: 100px;
				img {
					max-width: 50%;
					max-height: 50%;
				}
			}
		}
	}
}

@media screen and (max-width: 991px) {
	.swiper-button-prev,
	.swiper-button-next {
		display: none;
	}
	body {
		font-size: 16px;
	}
	.header-chapter {
		.header-inner {
			.text {
				padding-top: 60px;
				padding-bottom: 60px;
			}
		}
	}
	.quote {
		.name {
			margin-top: 20px;
		}
	}
	.header {
		padding: 60px 30px;
	}
	.vp {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.vpt {
		padding-top: 60px;
	}

	.vpb {
		padding-bottom: 60px;
	}

	.vm {
		margin-top: 60px;
		margin-bottom: 60px;
	}

	.vmt {
		margin-top: 60px;
	}

	.vmb {
		margin-bottom: 60px;
	}
	h1,
	.bigtext {
		font-size: 25px !important;
		line-height: 30px !important;
	}
	h2,
	.title {
		font-size: 20px !important;
		line-height: 25px !important;
	}
	h3 {
		font-size: 18px !important;
		line-height: 23px !important;
	}
	.title {
		padding: 10px 15px !important;
	}
}
