* {
	box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
}

body {
	margin: 0;
	padding: 0;
}

h1 {
	text-align: center;
}
/*Navbar*/
.topnav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.nav-bg {
	background-image: url("nav_svg.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	z-index: -1;
}
.navn {
	margin: 20px;
	font-size: 2rem;
	color: white;
	text-decoration: none;
	float: left;
}
.navlinks {
	display: flex;
}
.navlinks ul {
	display: flex;
	margin: 0;
	padding: 0;
}

.navlinks li {
	list-style: none;
}

.navlinks li a {
	text-decoration: none;
	color: white;
	display: block;
	padding: 25px;
}

.navlinks li:hover {
	background: linear-gradient(rgba(255, 40, 0, 0.4) 0%, rgba(255, 0, 0, 0.3) 17%, rgba(255, 255, 255, 0) 100%);
}

.currentsite {
	background: linear-gradient(rgba(255, 40, 0, 0.1) 0%, rgba(255, 0, 0, 0.2) 17%, rgba(255, 255, 255, 0) 100%);
}

.topnav .mobile {
	display: none;
}
/*Form*/
.form-error {
	color: red;
	display: none;
}
.contactform {
	display: flex;
	flex-direction: column;
	text-align: center;
}
.input {
	margin-top: 10px;
}
.input input {
	width: 400px;
	max-width: 90vw;
	height: 2rem;
	padding: 10px;
	border-radius: 5px;
	border-width: 1px;
}
.confirm-btn {
	margin-top: 10px;
	padding: 10px 40px;
	background-color: green;
	color: white;
	border-color: green;
	border-radius: 5px;
	border-width: 1px;
	opacity: 0.9;
}
.confirm-btn:hover {
	opacity: 1;
	box-shadow: 2px 2px 2px #999;
}
.confirm-btn:disabled {
	background-color: #fff;
	color: #777;
}
/*Carousel*/
.carousel {
	width: 100vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.carousel-posts {
	display: flex;
	overflow-x: scroll;
	scroll-behavior: smooth;
	padding-left: 25px;
}

.carousel-posts::-webkit-scrollbar {
	display: none;
}
.caro-post {
	object-fit: cover;
	margin-right: 25px;
}
.caro-img {
	width: 350px;
	aspect-ratio: 1/1;
	box-shadow: 10px -2px 10px #999;
}
.caro-link {
	text-align: center;
	color: black;
	text-decoration: none;
}
.next-btn,
.prev-btn {
	top: 50%;
	aspect-ratio: 1/1;
	opacity: 0.6;
	font-size: 2.5rem;
	color: black;
	border: none;
	background: transparent;
}

.btns {
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	z-index: 1;
}
.next-btn:hover,
.prev-btn:hover {
	opacity: 1;
}
/*Blog list*/
.blogcontainer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 2vw;
	padding-left: 25px;
	padding-right: 25px;
	justify-content: center;
}
.postbox a {
	text-decoration: none;
	color: black;
	text-align: center;
}
.postbox img {
	box-shadow: 5px 5px 5px #999;
}
.bl-btn-div {
	display: flex;
	justify-content: center;
	margin: 20px;
}
.bloglist-btn {
	padding: 15px;
	border-radius: 5px;
	border-width: 1px;
}
.bloglist-btn:hover {
	box-shadow: 2px 2px 10px #333;
}

/*Blog page*/
.blogcontent {
	padding-left: 25px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	gap: 10vw;
}
.blog-text {
	max-width: 350px;
}
.blog-image {
	max-height: 60vh;
	max-width: 40vw;
}
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
}
.modal-img {
	max-width: 95vw;
	max-height: 95vh;
	margin: auto;
	box-shadow: 0 0 200px 25px black;
}
/*About*/
.about-txt {
	width: 100%;
}
.about-txt p {
	max-width: 600px;
	margin: auto;
	padding: 0 25px;
}
/*footer*/
.footer-bg {
	aspect-ratio: 3/1;
	position: fixed;
	background-image: url("footer_img.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	width: 100%;
	min-width: 600px;
	bottom: 0;
	z-index: -1;
}
@media only screen and (max-width: 768px) {
	.topnav .mobile {
		display: block;
		color: white;
		margin-right: 20px;
	}

	.navn {
		font-size: 1.5rem;
	}

	.navlinks {
		position: fixed;
		top: 60px;
		right: -100%;
		flex-direction: column;
		text-align: center;
		transition: 0.3s;
		z-index: 1;
	}
	.navlinks ul {
		flex-direction: column;
	}

	.navlinks a {
		width: 100%;
	}

	.navlinks.active {
		right: 0;
		transition: 0.3s;
		background: rgb(250, 144, 105);
		background: linear-gradient(90deg, rgba(250, 144, 105, 1) 0%, rgba(255, 116, 129, 1) 100%);
	}
	.navlinks li {
		border-bottom: 1px solid #fff;
	}

	#hamburger {
		opacity: 0;
		position: fixed;
	}
	.caro-img {
		width: 310px;
	}
}
