/*
Theme Name: denboefmedia
Author: Lars Esselink
Description: theme for denboefmedia.nl
Version: 1.0
*/

:root {
	--topnav-height: 75px;
	--topnav-mobile-height: 75px;
	--botnav-height: 400px;
	--botnav-mobile-height: 250px;
	--primary-color: #3D555D;
	--secondary-color: #37787C;
}

html, body {
	height: 100%; /* Ensures the body takes up the full viewport height */
	background-color: #000000;
	font-family: 'Raleway', fallback, sans-serif;
	color: white;
	padding: 0 !important;
	margin: 0 !important;
}

main{
	min-height: calc(100vh - var(--topnav-height) - var(--botnav-height)); /* Adjusts the main content area's minimum height */
}

h1 {
	font-family: 'Bebas Neue', fallback, sans-serif;
}

h2 {
	font-family: 'Bebas Neue', fallback, sans-serif;
}

h3 {
	font-family: 'Bebas Neue', fallback, sans-serif;
}


p1 {
	font-family: 'Battambang', fallback, sans-serif;
}


/* boiler plate for mobile and non mobile */

.mobile{
	display: none;
}

.non-mobile{
	display: none;
}
/* Picture styling under trouwen and drone */

.image-column-container{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	width: 70%;
	margin: 0 auto;
}

.image-column{
	flex: 0 0 50%; /* Each item takes exactly 50% of the container width */
	display: flex; /* Makes .image-column itself a flex container */
	justify-content: center; /* Centers the image in the column */
	margin: 10px 0;
}

.image-column img {
	width: 500px;
	height: auto;
	max-width: 70vw;
}


/* video gallery styling */

.non-mobile .video-gallery {
	display: grid;
	grid-template-columns: repeat(2, auto);
	justify-content: center; /* This centers the grid if it doesn't take up the full width of the container */
	justify-items: center; /* This centers the items within the grid */
	align-content: center; /* Vertically centers the grid in the container */
	grid-gap: 10px 10px;
	margin: 10px;
}

.non-mobile .video-gallery a {
	border: 2px solid white; /* Adjust the pixel value as needed */
	display: block; /* Make the anchor block-level to handle width and height properly */
	box-sizing: border-box; /* Include the border in the element's total width and height */
	overflow: hidden; /* Hide the overflow to ensure the image is cropped */
}

.non-mobile .video-gallery .image-container {
	position: relative;
	width: 480px; /* Match the width of your images */
	height: 250px; /* Match the height of your images */
}

.non-mobile .video-gallery .image-container img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.non-mobile .video-gallery .image-container:before {
	display: block;
	background-image: url('https://denboefmedia.nl/wp-content/uploads/2023/12/youtube-icon.svg');
	background-size: 20%; /* adjust the size */
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%; /* This will be relative to the .image-container size */
	height: 100%; /* This will be relative to the .image-container size */
	content: ""; /* Necessary for the :before element to display */
}

.mobile .video-gallery {
	display: grid;
	grid-template-columns: repeat(1, auto);
	justify-content: center; /* This centers the grid if it doesn't take up the full width of the container */
	justify-items: center; /* This centers the items within the grid */
	align-content: center; /* Vertically centers the grid in the container */
	grid-gap: 10px 10px;
	padding: 0; /* Adjust padding */
    margin: auto; /* Center align if necessary */
}

.mobile .video-gallery a {
	border: 2px solid white; /* Adjust the pixel value as needed */
	display: block; /* Make the anchor block-level to handle width and height properly */
	box-sizing: border-box; /* Include the border in the element's total width and height */
	margin: 5px 0; /* Reduce margin or adjust as necessary */
}

.mobile .video-gallery .image-container {
    width: 100%; /* Use 100% width or a max-width that fits better on mobile screens */
    max-width: 480px; /* Ensures it does not exceed 480px but can shrink on smaller screens */
    height: auto; /* Maintain aspect ratio */
}

.mobile .video-gallery .image-container img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.mobile .video-gallery .image-container:before {
	display: block;
	background-image: url('https://denboefmedia.nl/wp-content/uploads/2023/12/youtube-icon.svg');
	background-size: 20%; /* adjust the size */
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%; /* This will be relative to the .image-container size */
	height: 100%; /* This will be relative to the .image-container size */
	content: ""; /* Necessary for the :before element to display */
}

/* desktop topnav */



.topnav {
	display: none;
	background-color: var(--primary-color);
	font-family: 'Bebas Neue', fallback, sans-serif;
	overflow: hidden;
	position: fixed; /* Add this line to ensure proper positioning */
	height: var(--topnav-height);
	width: 100%;
	z-index: 1000; /* makes sure top nav stays infront*/
}

/* Style the links inside the navigation bar */
.topnav a {
	float: right;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 40px;
	text-decoration: none;
	font-size: 23px;
	height: 100%;
	margin: auto;
}

/* Change the color of links on hover */
.topnav a:hover {
	background-color: #ddd;
	color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
	background-color: var(--secondary-color);
	color: white;
}

.topnav .logo {
	float: left;
	height: 90%; /* This will scale the logo to the height of the .topnav */
	padding: 5px 10px; /* Adjusted padding to only add space to the right and left of the logo */
}

/* mobile topnav */
.topnav-mobile {
	display: none;
	justify-content: space-between; 
	align-items: center; 
	background-color: var(--primary-color);
	width: 100%;
	overflow: hidden;
	height: var(--topnav-mobile-height);
}

.topnav-mobile .logo {
	float: left;
	height: 90%;
	padding: 5px 10px;
}

.topnav-mobile .icon {
	float: right;
	display: flex;
	color: white;
	text-align: center;
	padding: 10px; /* Reduced padding */
	font-size: 14px; /* Reduced font size */
	cursor: pointer;
	height: 80%; /* Adjust to align with the height of .topnav-mobile */
	align-items: center; /* Center the icon vertically if it's smaller than the parent */
}

.topnav-mobile .icon img {
	height: auto; /* Maintain aspect ratio */
	width: 30px; /* Example width, adjust as necessary */
}

.sidebar {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	right: 0;
	background-color: var(--primary-color);
	overflow-x: hidden;
	transition: 0.5s;
	padding-top: 60px;
}

.sidebar a {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 25px;
	color: #fff;
	display: block;
	transition: 0.3s;
}

.sidebar a:hover {
	color: #f1f1f1;
}

.sidebar .closebtn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}

/* <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" /> */


/*  */
.botnav {
    display: none;
    background-color: var(--primary-color);
    color: white;
	margin 0px;
	font-weight: bold;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-left {
	width: 300px;
	text-align: left;
}

.footer-center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.footer-right {
	width: 300px;
	text-align: right;
}

.footer-section h3 {
	font-size: 30px;
    min-height: 30px;
	text-align: center;
}

.footer-section a, .footer-section p {
    margin: 0;
    color: white;
    text-decoration: none;
	text-align: center;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Adjust the icons container */
.botnav .icontray {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Removed the padding that was pushing the icons tray to the right */
}

.botnav .icontray img {
    filter: brightness(0) invert(1);
	justify-content: center;
}

.botnav a {
    padding: 0 20px; /* Keep the padding for the anchors */
}

.copy-right {
	display: flex;
	justify-content: center;
    text-align: center;
    background-color: var(--primary-color);
	margin: 0 auto;
}

/* mobile botnav*/
.botnav-mobile {
	display: none;
	justify-content: space-between;
	align-items: center;
	background-color: var(--primary-color);
	font-family: 'Raleway', fallback, sans-serif;
	overflow: hidden;
	position: relative; /* Add this line to ensure proper positioning */
	height: var(--botnav-mobile-height); 
}

.botnav-mobile .logo {
	float: left;
	height: 90%; /* This will scale the logo to the height of the .topnav */
	padding: 5px 10px; /* Adjusted padding to only add space to the right and left of the logo */
}

.botnav-mobile .center {
	margin: auto;
	text-align: center;
	width: 50%;
	font-size: 20px;
	font-family: 'Raleway', fallback, sans-serif;
	font-style: medium;
}

.botnav-mobile a{
	padding: 0px 20px;
}

.botnav-mobile .icontray{
	display: flex;
	justify-content: center;
	margin: 10px 0;
}

.botnav-mobile img {
	width: 50px;
	height: 50px;
    filter: brightness(0) invert(1);
}

/* serve desktop or mobile footer*/
@media screen and (max-width: 767px) {
	.botnav-mobile{
		display: flex;
	}
	.topnav-mobile{
		display: flex;
	}
}

@media screen and (min-width: 768px) {
	.botnav{
		display: flex;
	}
	.topnav{
		display: block;
	}
}

