/*
Theme Name:     Pordziktheme
Theme URI:      
Description:    Av-bootstrap-optimized child theme.
Author:         Sebi900
Author URI:     
Template:       av-bootstrap-optimized
Version:        0.1.0
*/

/* Base  */

@font-face {
	font-family: "Urbanist";
	src: url("./fonts/Urbanist-Medium.ttf") format("truetype");
	font-weight: 500; /* Adjust as needed */
	font-style: medium; /* Adjust as needed */
}

@font-face {
	font-family: "Urbanist";
	src: url("./fonts/Urbanist-Regular.ttf") format("truetype");

	font-weight: normal; /* Adjust as needed */
	font-style: normal; /* Adjust as needed */
}

@font-face {
	font-family: "Urbanist";
	src: url("./fonts/Urbanist-SemiBold.ttf") format("truetype");

	font-weight: 600; /* Adjust as needed */
	font-style: semibold; /* Adjust as needed */
}

body {
	color: #141414;
	font-family: "Urbanist", sans-serif !important;
}

body h2 {
	color: #4682b4;
}

header.entry-header {
	display: none;
}

div.entry-content {
	margin-top: -5rem;
}

/* header#masthead {
	background-color: white;
	color: #141414;
	position: fixed;
	z-index: 10;
	width: 100vw;
} */
header#masthead {
	background-color: rgba(
		255,
		255,
		255,
		0.9
	); /* Adjust the last value (alpha) as needed */
	color: #141414;
	position: fixed;
	top: 0px; /* Adjust this value based on your layout */
	z-index: 10;
	width: 100vw;
	padding: 0;
	backdrop-filter: blur(10px);
	padding-block: 1rem;
}

nav.navbar {
	flex-direction: column;
	align-items: start;
}

figcaption.wp-element-caption {
	display: none;
}

section#primary {
	padding: 0;
	display: flex;
}

figure.toppic {
	width: 100vw;
	top: 0;
	position: static;
	/* min-height: 862px;
	object-fit: cover; */
}

div.wp-block-cgb-block-bootstrap-cols {
	padding-block: 2rem;
}

h2.scroll-link {
	margin-top: -150px;
	padding-top: 150px;
}

a.wp-block-button__link {
	color: #fff;
	background-color: #4682b4;
	border-radius: 0px;
	box-shadow: none;
	text-decoration: none;
	/* padding: calc(0.667em + 2px) calc(1.333em + 2px); */
	padding-block: 1.5rem;
	margin: 2rem;
	margin-top: 3rem;
	font-size: 1.5rem;
	transition: box-shadow 0.3s ease-in-out;
}

a.wp-block-button__link:hover {
	color: white;
	text-decoration: none;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px,
		rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}

.wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex {
	justify-content: center;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
	color: #141414;
	font-size: 30px;
	font-weight: 400;
	padding-block: 0rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
	color: #141414;
	font-size: 30px;
	font-weight: 400;
	padding-block: 0rem;
}

a.site-title {
	padding-left: 0.5rem;
	color: #4682b4;
	font-size: 64px;
	font-weight: 600;
}

a.site-title:hover {
	text-decoration: none;
	color: #4682b4;
}

div.bg-blue {
	color: white;
	background-color: #4682b4;
	margin-top: 1rem;
}

ul#menu-mainnav {
	gap: 1rem;
}

div.nopad {
	padding: 0;
}

div.pad-top-1 {
	padding-top: 0.5rem;
}

div.row {
	justify-content: center;
}

.wp-block-image img {
	min-width: 100%;
}

div.logo img {
	transition: transform 0.3s ease-in-out;
}

div.logo img:hover {
	transform: scale(1.05);
}

p.name {
	font-size: 30px;
	margin-bottom: -2rem;
}

p.job {
	font-size: 22px;
	color: #4682b4;
}

h2 {
	font-size: 40px !important;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

*[id] {
	scroll-margin-top: 50px;
}

@media screen and (max-width: 1200px) {
	nav.navbar {
		flex-direction: unset;
		align-items: center;
		margin-bottom: 0;
		padding-bottom: 0;
	}
	a.wp-block-button__link {
		padding-block: 1rem;
		padding-inline: 15rem;
		margin: 2rem;
		margin-top: 3rem;
		font-size: 16px;
	}
	body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
		color: #141414;
		font-size: 20px;
		font-weight: 400;
		padding-block: 0rem;
	}

	body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
		color: #141414;
		font-size: 20px;
		font-weight: 400;
		padding-block: 0rem;
	}

	a.site-title {
		padding-left: 0.5rem;
		color: #4682b4;
		font-size: 26px;
		font-weight: 600;
	}
	p.name {
		font-size: 16px;
		margin-bottom: -2rem;
	}

	p.job {
		padding-top: 8px;
		font-size: 10px;
		color: #4682b4;
	}
	h2 {
		font-size: 25px !important;
	}

	p {
		font-size: 16px !important;
	}
	h2.scroll-link {
		margin-top: -50px;
		padding-top: 50px;
	}
}

@media (max-width: 768px) {
	a.wp-block-button__link {
		padding-inline: 3rem;
	}
}

.navbar-light .navbar-toggler {
	color: rgba(0, 0, 0, 0.5);
	border-color: (255, 255, 255, 0.1) !important;
}

div.smaller {
	max-width: 80%;
}

div.no-pad-b {
	padding-bottom: 0;
}

body:not(.theme-preset-active) footer#colophon {
	background-color: #4682b4;
	color: white;
}
