@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

/* set colors */
:root {
	--black: #333333;
	--red: #FF0000;
	--white: #fff;
	--white2: #fefefe;
	--color1: #6c7e6b;
	--color1-75: #6c7e6bBF;
	--color1-50: #6c7e6b80;
	--color1-25: #6c7e6b40;
	--color2: #deacae;
	--color2-25: #deacae40;
	--color2-50: #deacae80;
	--color2-75: #deacaeBF;
	--color3: #d0d1d5;
	--color4: #0e2f44;
	--color4-50: #0e2f44BF;
}

/*main style*/
*,
*:after,
*:before {
	box-sizing: content-box;
}

main {
	touch-action: manipulation;
}

body,
h1,
p,
ul,
li {
	margin: 0;
	padding: 0;
	box-sizing: content-box;
	font-family: "DM Sans", sans-serif;
}

h2 {
	text-align: center;
	color: var(--color1);
}

p {
	line-height: 1.6;
	color: var(--color4);
	text-align: left;
}

img {
	width: 100%;
	object-fit: cover;
}

div, a, button {
	-webkit-tap-highlight-color: transparent;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }



/* Navigation styles */
nav {
	background-color: var(--color1);
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
	position: fixed;
	width: 100%;
	z-index: 10;
	top:0;
	height: 4rem;
}

nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
}

.with-nav{
	margin-top: 4rem;
}

nav li {
	margin: 0;
}

nav a {
	height: 4rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

nav a:hover {
	background-color: var(--color1);
	cursor: pointer;
}

.logo-img {
	width: 3rem;
	height: 3rem;
}

/* sections */
section {
	background-color: var(--white2);
	padding: 1rem;
	justify-content: center;
	flex-direction: column;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
}

.sec2 {
	padding: 5rem 1rem;
	background-image: url("/images/view.jpg");
	box-shadow: inset 0 0 0 100000px var(--color4-50);
}

.sec3 {
	padding: 5rem 1rem;
	background-image: url("/images/view.jpg");
	box-shadow: inset 0 0 0 100000px var(--color2-75);
}

.sec4 {
	background-color: var(--color3);
	flex-direction: row;
}


.sec5 {
	background-color: var(--white2);
	flex-direction: row;
}

section p {
	line-height: 1.6;
	margin: 1rem;
}

section a {
	padding: 0.5rem 1rem;
	background-color: var(--color1);
	color: var(--white);
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.no-style {
	text-decoration: none;
	padding: 0;
	background-color: var(--white2);
	color: inherit;
	transition: none;
}

.no-style:hover {
	background-color: var(--white2);
}

.sec2 h2 {
	color: var(--color2);
}

.text-white {
	color: var(--white2);
}

.text-block-ver {
	position: flex;
	margin: 0 auto;
	flex: 1;
	max-width: 800px;
	justify-content: center;
	vertical-align: center;
}

.text-block-hor {
	position: relative;
	max-width: 100%;
	display: flex;
	margin: 0 auto;
	justify-content: center;
}

.text-card {
	flex: 1;
	display: block;
	text-align: center;
}

.text-card img{
	width: 80%;
	aspect-ratio: 1/1;
}

.text-center{
	text-align: center;
}

.text-left{
	position: relative;
	text-align: left;
	margin: 1rem;
}

.logo-loc {
	width: 5rem;
	height: 5rem;
}

.logo-loc2 {
	border-radius: 50%;
}

.logo-loc3 {
	width: 10rem;
	height: 10rem;
}


/* main pictures */
.trouwen {
	position: relative;
	margin: 0 auto;
	max-width: 600px;
	aspect-ratio: 2/1;
	border-radius: 45%;
	box-shadow: 0 0 10px 0 var(--black);
	display: block;
	background-image: url("/images/trouwen.jpeg");
	background-size: cover;
}

.img-wrapper-end {
	max-height: 100%;
	display: flex;
}

.img-wrapper-start {
	max-height: 40%;
	display: flex;
}

.img-wrapper-slide {
	position: absolute;
	max-height: 15%;
	max-width: 15%;
	top: 5%;
	left: calc(20% - 7.5%);
	text-align: center;
	opacity: 0.7;
}

/* map styles */
.map-container {
	position: relative;
	height: 100%;
	width: 100%;
	flex: 1;
}

.map {
	position: relative;
	width: 100%;
	height: 100%;
}

/* Form styles */
form {
	margin-top: 20px;
	background-color: var(--white);
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

label {
	display: block;
	color: var(--color1);
	font-size: 1rem;
	margin: 0.5rem 0rem;
}

button {
	background-color: var(--color1);
	color: var(--white);
	padding: 1rem 2rem;
	border: none;
	width: 90%;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

div, a, button {
	-webkit-tap-highlight-color: transparent;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

/* Add hover effects for links and buttons */
a:hover,
button:hover {
	background-color: var(--color2);
	cursor: pointer;
}

.hover-blue:hover{
	background-color: var(--color4);
}


/* Hide the images by default */
.mySlides {
	display: none;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
	.sec4 {
		flex-direction: column;
		align-items: center;
	}

	.sec5 {
		flex-direction: column;
		align-items: center;
	}
}