/* Göteborgs Ungdomshem */

/* ==========================================================================
Generellt
========================================================================== */
:root {
	/* 	Colors */
	--primary-color: 213, 129, 116;

	--accent-green-color: 79, 207, 154;
	--accent-orange-color: 237, 148, 80;
	--accent-blue-color: 51, 161, 230;
	--accent-red-color: 234, 107, 107;
	--accent-purple-color: 159, 95, 174;

	--black-color: 17, 17, 17;
	--gray-dark-color: 58, 58, 58;
	--gray-color: 130, 130, 130;
	--gray-light-color: 243, 241, 237;
	--white-color: 255, 255, 255;

	/* 	Layout  */
	--col-padding: 3rem;
	--menu-height: 8rem;
	--menu-height-scrolled: 8rem;
	--section-width: 130rem;

	/* 	Typography */
	--base-size: 1.6rem;

	/* 	Mobile nav */
	--activate-mobile-menu: 980;
	--mobile-menu-height: 6rem;
	--mobile-menu-bg: var(--white-color);
	--menu-color: var(--black-color);
}

@media only screen and (max-width: 580px) {
	:root {
		--base-size: 1.5rem;
	}
}

/* Layout
========================================================================== */
.section-block {
	padding: 10rem 5rem;
}

/* Paddings */
.p-2 .section-block,
.p-2:not(.section-wrapper) {
	padding: 2rem;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
	padding-bottom: 0;
}

/* Margins */
.mb-3 {
	margin-bottom: 3rem;
}

/* Bredder */


/* Ovriga klasser */


@media only screen and (max-width: 1024px) {
	.section-block {
		padding: 8rem 3rem;
	}

	/* Paddings */
	.full-width.p-2 .section-block,
	.full-width.p-2:not(.section-wrapper) {
		padding: 0;
	}
}

@media only screen and (max-width: 580px) {
	.section-block {
		padding: 5rem 2rem;
	}
}

/* Text och typsnitt
========================================================================== */
body {
	font-family: 'Open Sans', sans-serif;
}

/* Rubriker */
.section-title {
	padding-bottom: .5em;
	font-size: 4.5rem;
	font-weight: 700;
	line-height: 1.2;
	font-family: 'Source Sans Pro', sans-serif;
	color: rgb(var(--primary-color));
}

.small-title {
	padding-bottom: .3em;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.4;
	font-family: 'Source Sans Pro', sans-serif;
}

/* Brodtext och lankar */
p,
li {
	color: rgb(var(--gray-dark-color));
}

/* List-arrow */
.list-arrow {
    padding: 0;
    list-style: none;
}

.list-arrow li::before {
    content: '\f35a';
    padding: 0 1rem 0 0;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Font Awesome 5 Pro';
    color: rgb(var(--primary-color));
}

/* Ovriga klasser */
.text-block {
	max-width: 70rem;
}

.text-block-center {
	max-width: 70rem;
	margin-left: auto;
	margin-right: auto;
}

.text-bold {
	font-weight: 700;
}

.text-center {
	text-align: center;
}

@media only screen and (max-width: 1200px) {

	/* Rubriker */
	.section-title {
		font-size: 3.8rem;
	}

	.small-title {
		font-size: 2.2rem;
	}
}

@media only screen and (max-width: 580px) {

	/* Rubriker */
	.section-title {
		font-size: 2.5rem;
	}

	.small-title {
		font-size: 2rem;
	}
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
	margin-top: 2rem;
}

.btn-wrapper.center {
	text-align: center;
}

/* Knappar */
.btn {
	min-width: 15rem;
	padding: 1.2rem 2rem;
	margin: 5px;
	font-size: 1.4rem;
	font-weight: 600;
	border-radius: 3px;
	text-align: center;
	text-decoration: none;
	transition: all .4s ease;
}

.btn-primary-filled {
	color: rgb(var(--white-color));
	border: 1px solid rgb(var(--primary-color));
	background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover {
	color: rgb(var(--primary-color));
	border: 1px solid rgb(var(--primary-color));
	background-color: transparent;
}

.btn-white-filled {
	color: rgb(var(--black-color));
	border: 1px solid rgb(var(--white-color));
	background-color: rgb(var(--white-color));
}

.btn-white-filled:hover {
	color: rgb(var(--white-color));
	border: 1px solid rgb(var(--white-color));
	background-color: transparent;
}

/* Arrow link */
.arrow-link {
	padding-right: 1rem;
	font-size: var(--base-size);
	color: rgb(var(--primary-color));
}

.arrow-link::after {
	content: ' \f105';
	display: inline-block;
	margin-left: 1rem;
	font-weight: 400;
	font-family: 'Font Awesome 5 Pro';
	transition: transform .4s ease;
}

.arrow-link:hover::after {
	transform: translateX(1rem);
	transition: transform .4s ease;
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
	background-color: rgb(var(--primary-color));
}

.bg-white {
	background-color: rgb(var(--white-color));
}

/* Text */
.text-primary {
	color: rgb(var(--primary-color));
}

.text-green {
	color: rgb(var(--accent-green-color));
}

.text-orange {
	color: rgb(var(--accent-orange-color));
}

.text-blue {
	color: rgb(var(--accent-blue-color));
}

.text-red {
	color: rgb(var(--accent-red-color));
}

.text-purple {
	color: rgb(var(--accent-purple-color));
}

.text-white {
	color: rgb(var(--white-color));
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image,
.bg-video {
	position: relative;
	overflow: hidden;
}

.bg-image-wrapper,
.bg-video-wrapper {
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Video */
.bg-video-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Parallax */
.parallax {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.parallax .section-block {
	background-color: rgb(var(--black-color), .4)
}

.parallax-skog {
	background-image: url('/assets/images/natur-goteborg-2000px.jpg');
}

@media only screen and (hover:none) {
	.parallax {
		background-attachment: scroll;
		background-position: center center;
	}
}

/* Cards
========================================================================== */
.cards-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.cards-wrapper:not(.w-100) {
	margin-left: -1rem;
	margin-right: -1rem;
}

/* Bredder */
.cards-wrapper.w-33 .card-item {
	width: calc((100% / 3) - 2rem);
	margin: 1rem;
}

.cards-wrapper.w-100 .card-item {
	width: 100%;
	margin: 1rem 0;
}

@media only screen and (max-width: 1050px) {

	/* Bredder */
	.cards-wrapper.w-33 .card-item {
		width: calc((100% / 2) - 2rem);
	}
}

@media only screen and (max-width: 750px) {
	.cards-wrapper:not(.w-100) {
		margin-left: 0;
		margin-right: 0;
	}

	/* Bredder */
	.cards-wrapper.w-33 .card-item {
		width: 100%;
		margin: 1rem 0;
	}
}

/* Split wrapper
========================================================================== */
.split-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.split-wrapper.reverse {
	flex-direction: row-reverse;
}

.split-content {
	width: 50%;
	padding: 5rem;
}

.split-image {
	width: 50%;
}

/* Centrera content */
.split-wrapper .align-center {
	align-self: center;
}

@media screen and (max-width: 1300px) {
	.split-content {
		padding: 3rem;
	}
}

@media screen and (max-width: 1000px) {

	.split-wrapper,
	.split-wrapper.reverse {
		flex-direction: column;
		background: transparent;
	}

	.split-content {
		width: 100%;
		max-width: 70rem;
		padding: 0 0 3rem;
		background: transparent;
	}

	.split-image {
		width: 100%;
		min-height: 20rem;
	}

	/* Centrera content */
	.split-wrapper .align-center {
		align-self: flex-start;
	}

	/* I full-width */
	.full-width .split-content {
		padding: 8rem 3rem;
	}
}

@media screen and (max-width: 580px) {

	/* I full-width */
	.full-width .split-content {
		padding: 5rem 2rem;
	}
}

/* Header / Navigation
========================================================================== */
header:not(.scrolled) {
	border-color: transparent;
	background-color: transparent;
}

header.scrolled {
	border-bottom: 1px solid rgb(var(--gray-light-color));
}

/* Logo */
.header-logo {
	flex: 1 1 0px;
}

.header-logo a {
	font-size: 2rem;
	font-weight: 800;
	color: rgb(var(--primary-color));
	text-decoration: none;
}

header:not(.scrolled) .header-logo a {
	color: rgb(var(--white-color));
}

/* Nav */
.TemplateMenu a {
	font-weight: 600;
	font-size: 1.4rem;
	color: rgb(var(--black-color));
}

header:not(.scrolled, .mobile-menu) .TemplateMenu>li:not(.active)>a:not(:hover) {
	color: rgb(var(--white-color));
}

/* Mobilmeny */
.mobile-menu:not(.scrolled, .active-menu) {
	--menu-color: var(--white-color);
}

.mobile-menu .TemplateMenu li {
	padding: 0 2rem;
	text-align: center;
}

@media only screen and (max-width: 580px) {

	/* Header logo */
	.header-logo a {
		font-size: 1.6rem;
	}
}

/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	margin-top: calc(var(--menu-height) * -1);
}

.top-section .section-block {
	width: 100%;
}

.top-section .section-title {
	line-height: 1;
	font-family: 'Amatic SC', sans-serif;
}

.top-section .section-title span:nth-child(1) {
	display: block;
	font-size: 13rem;
}

.top-section .section-title span:nth-child(2) {
	display: block;
	font-size: 7.5rem;
}

@media only screen and (max-width: 580px) {
	.top-section .section-title span:nth-child(1) {
		font-size: 8rem;
	}

	.top-section .section-title span:nth-child(2) {
		font-size: 5.5rem;
	}
}

/* ==========================================================================
Ramavtal
========================================================================== */
.lists-wrapper .card-item {
	width: calc((100% / 6) - 2rem);
	margin: 1rem;
}

@media only screen and (max-width: 1250px) {
	.lists-wrapper .card-item {
		width: calc((100% / 3) - 2rem);
		margin: 1rem;
	}
}

@media only screen and (max-width: 700px) {
	.lists-wrapper .card-item {
		width: calc((100% / 2) - 2rem);
		margin: 1rem;
	}
}

@media only screen and (max-width: 480px) {
	.lists-wrapper .card-item {
		width: 100%;
		margin: 1rem 0;
	}
}

/* ==========================================================================
Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
	align-items: center;
}

.section-contact .gmap {
	width: 100%;
	height: 50rem;
}

.section-contact a {
	text-decoration: none;
}

.section-contact a:hover {
	text-decoration: underline;
}

@media only screen and (max-width: 980px) {
	.section-contact .section-block-wrapper {
		flex-direction: column-reverse;
	}

	.section-contact .col-2 {
		margin-bottom: 3rem;
	}
}

/* ==========================================================================
Footer
========================================================================== */
footer {
	padding: 8rem 2rem;
}

footer a {
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
}

.webbess-stamp img {
	width: 2.5rem;
	margin-left: 1rem;
	opacity: .6;
}