/*basics*/
:root {
	--green: #1F6D30;
	--grey: #4A4A4A;
	--darkgrey: #1D1D1B;
	--lightgrey: #F1F1F1;
}

body {
	margin: 0;
	padding-top: 78px;
}
body * {
	box-sizing: border-box;
	font-family: 'Ubuntu', sans-serif;
}
h1 {

}
h2 {
	font-size: 17px;
	color: var(--green);
	text-transform: uppercase;
	font-weight: 500;
}
h3 {
	font-size: 19px;
	line-height: 170%;
	color: black;
	font-style: italic;
}
h4 {
	font-size: 27px;
	color: black;
	text-align: center;
}
p {
	font-size: 15px;
	line-height: 180%;
	color: var(--grey);
}
a {
	color: var(--darkgrey);
	text-decoration: none;
	
}

.underlined {
	border-bottom: 5px solid var(--green);
	padding-bottom: 2px;
}

.container {
	width: 1040px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}
.content-block {
	padding-top: 50px;
}
.button {
	border: 2px solid white;
	border-radius: 5px;
	padding: 10px 40px 10px 10px;
	position: relative;
	color: white;
	transition: .3s ease;
}
.button:after {
	content: "";
	position: absolute;
	background-image: url(svg/arrow.svg);
	width: 18.86px;
	height: 12.73px;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	transition: .3s ease;
}
.button:hover:after {
	animation: .5s forwards animate-arrow;
	right: 0;
}
@keyframes animate-arrow {
	0% {
		right: 10px;
	}
	50% {
		right: 5px;
	}
	100% {
		right: 10px;
	}
}

/*header*/

.header {
	position: fixed;
	top: 0;
	width: 100%;
	background-color: white;
	box-shadow: 0px 12px 14px 0px rgba(74,74,74,0.19);
	z-index: 10;
}
.header-inner {
	width: 100%;
	height: 78px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}
.nav {
	display: none;
}
.nav-items {
	display: flex;
}
.nav-item {
	list-style: none;
	margin: 0 8px;
}
.nav-link {
	padding: 5px 0;
	transition: .2s ease;
}
.nav-link:hover {
	border-bottom: 3px solid var(--green);
}
.rh-logo {
	background-color: var(--green);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0px 2px 4px 0px rgba(74,74,74,0.19);
}
.rh-logo__image {
	width: 80%;
}

/*image header*/

.image-header {
	background-image: url(image/header.jpg);
	background-size: cover;
	background-position: center;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding-bottom: 70%;
	position: relative;
}

.shape {
	position: relative;
}
.shape:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	background-image: url(svg/shape.svg);
	width: 61%;
	background-repeat: no-repeat;
	background-size: cover;
}

/*subject*/
.subject {

}
.subject__titles {
	width: 80%;
	position: relative;
	margin-bottom: 20px;
	left: 40px;
}

.leaf {
	position: relative;
}
.leaf:before {
	content: "";
	position: absolute;
	left: -40px;
	top: -10px;
	background-image: url(svg/leaf.svg);
	width: 24.5px;
	height: 33.6px;
}

.subject__content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}
.subject__content--reverse {
	flex-direction: row-reverse;
}
.subject__text {
	width: 100%;
}


/*slider*/
.slider {
	width: 100%;
	margin: 20px 0
}
.slide {
	padding-bottom: 70%;
	background-size: cover;
	background-position: center;
	position: relative;
}
.slick-prev,
.slick-next {
	border: 0;
	background: transparent;
	position: absolute;
	top: 50%;
	height: 18px;
	transform: translateY(-50%);
	font-size: 0;
	z-index: 1;
	outline: none;
	cursor: pointer;
}
.slick-prev {
	left: 10px;
}
.slick-next {
	right: 10px;
}
.slick-prev:after,
.slick-next:after {
	content: '';
	background: url(svg/slider-arrow.svg) no-repeat;
	width: 10px;
	height: 20px;
	position: absolute;
	left: 0;
	top: 0;
	opacity: .8;
}
.slick-next:after {	
	transform: rotate(180deg);
}
.slick-dots {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	list-style: none;
	padding: 0;
	display: flex;
	margin: 0;
}
.slick-dots button {
	border: 0;
    background: white;
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 20px;
    opacity: .5;
    margin: 0 5px;
    font-size: 0;
    outline: none;
    cursor: pointer;
}
.slick-dots .slick-active button {
	opacity: 1;
}
.renovation:after {
	position: absolute;
	background: rgba(0,0,0,.5);
	color: white;
	padding: 10px 20px;
	left: 16px;
	top: 16px;
}
.renovation--before:after {
	content: 'Voor';
}
.renovation--after:after {
	content: 'Na'
}

/*info block*/
.info-block {
	background-color: var(--green);
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	padding: 30px 20px;
	margin-top: 30px;
}
.info-block__title {
	font-style: normal;
	color: white;
	font-weight: 500;
	width: 100%;
	text-align: center;
	margin: 0 0 20px 0;
}

/*contact block*/

.contact {
	background: var(--green);
	padding: 60px 20px;
	margin-bottom: 30px;
}
.contact__logo {
	width: 200px;
	margin: 0 auto 40px auto;
	display: inherit;
	position: relative;
}
.contact__information {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	color: white;
}
.contact__information a {
	color: white;
}
.contact__item {
	color: white;
	padding-left: 40px;
	position: relative;
	margin: 0 0 40px 10px;
}
.contact__item:before {
	content: '';
	width: 29px;
	height: 29px;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	left: 0;
}
.contact__phone:before {
	background-image: url(svg/phone.svg);
}
.contact__address:before {
	background-image: url(svg/home.svg);
}
.contact__email:before {
	background-image: url(svg/mail.svg);
}
.contact__right {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/*footer*/
.footer {
	background: var(--darkgrey);
	height: 78px;
	width: 100%;
	display: flex;
	align-items: center;
}
.social-media {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 100%;
}
.social-button {
	border: 2px solid white;
	border-radius: 5px;
	padding: 5px;
	margin-left: 30px;
	opacity: .7;
	transition: .3s ease;
}
.social-button:hover {
	opacity: 1;
}
.social-icon {
	width: 20px;
	height: 20px;
	background-size: contain;
	display: block;
	fill: white;
}
.facebook {
	background-image: url(svg/facebook.svg);
}
.instagram {
	background-image: url(svg/instagram.svg);
}

/*SMALL SCREEN*/
@media screen and (min-width: 425px) {
	.container {
		padding: 0 30px;
	}
}

/*MEDIUM SCREEN*/

@media screen and (min-width: 768px) {
	h3 {
		font-size: 26px;
	}

	.content-block {
		padding-top: 100px;
	}
	.rh-logo {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		bottom: -40px;
		width: 80px;
		height: 80px;
	}
	.subject__text {
		width: 50%;
	}
	.slider {
		width: 45%;
	}
	.nav {
		display: block;
		font-size: 12px;
	}
	.image-header {
		padding-bottom: 60%;
	}
	.subject__titles {	
		left: 50%;
		transform: translateX(-50%);
		margin-bottom: 50px;
		width: 70%;
	}
	.subject__titles--right {
		text-align: right;
	}
	.leaf--right:before {
		left: unset;
		right: -40px;
	}
	.slider {
		margin: 0;
	}
	.info-block {
		padding: 75px;
		margin-top: 100px;
		justify-content: space-between;
	}
	.info-block__title {
		width: unset;
		text-align: left;
		margin: 0;
	}
	.contact {
		padding: 40px 80px;
		margin-bottom: 80px;
	}
	.contact__logo {
		width: 265px;
	}
	.contact__information {
		justify-content: space-between;
	}
	.contact__right {
		align-items: flex-end;
	}
}
@media screen and (min-width: 1024px) {
	.image-header {
		padding-bottom: 50%;
	}
	.nav {
		font-size: 16px;
	}
}
@media screen and (min-width: 1440px) {
	.image-header {
		padding-bottom: 40%;
	}
}
