:root {
	--primary: #e52629;
	--primary-dark: #e52629;
	--secondary: #ffc60a;
	--secondary-dark: #daa700;
	--white: #f6f6f6;
	--dark: #484848;
	--nav-height-mobile: 60px;
	--primaryFont: "Roboto", sans-serif;
	--headingFont: "Poiret One", sans-serif;
}

@media (max-width: 576px) {
	::-webkit-scrollbar {
		width: 10px;
		background-color: #f5f5f5;
	}

	/* Track */
	::-webkit-scrollbar-track {
		background-color: #f5f5f5;
	}

	/* Handle */
	::-webkit-scrollbar-thumb {
		border-radius: 10px;
		box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
		-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
		background-color: rgb(207, 207, 207);
	}
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--primaryFont, sans-serif);
	font-weight: 400;
	background: white;
}

* {
	margin: 0;
	padding: 0;
}

a {
	color: inherit;
	text-decoration: none;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

a:hover,
a:focus {
	color: var(--primary);
	text-decoration: none;
}

strong {
	font-weight: bold;
}

p {
	color: #464646;
	font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
	position: relative;
	font-family: var(--headingFont, sans-serif);
	font-weight: 700;
}
h2 {
	text-shadow: 0px 1px 0 black;
}
.decor::after {
	content: "";
	width: 60px;
	height: 3px;
	position: absolute;
	left: 0;
	bottom: -1px;
	background-color: var(--secondary);
}

img {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

section {
	padding: 10px 0;
}

@media (max-width: 576px) {
	section {
		padding: 60px 0;
	}
	h2 {
		font-size: 1.5rem;
	}
}

header {
	position: relative;
	overflow: hidden;
	background-image: url("../images/bg10-crop-top.jpg");
	background-position: center;
	background-position: 50% 0%;
	background-size: cover;
	z-index: 0;
	text-align: center;
	height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom-left-radius: 50% 10%;
	border-bottom-right-radius: 50% 10%;
}

header::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: linear-gradient(
		0deg,
		rgba(0, 0, 0, 0.5) 0%,
		rgba(0, 0, 0, 0.7) 85%
	);
	z-index: -1;
}

header p.heading {
	margin-top: -50px;
	margin-bottom: 2rem;
	text-shadow: 0 1px 0 white, 1px 0 0 white, 0px 0 10px rgba(0, 0, 0, 1);

	color: white;
	font-size: 10rem;
	line-height: 7.5rem;
	font-family: var(--headingFont);
}
header p.heading span.pizzerie {
	font-size: 4rem;
}
header p.heading span.smaller {
	font-size: 8rem;
}
header p.desc {
	margin-bottom: 3rem;

	color: white;
	font-size: 2rem;
	font-weight: 300;
}
header p.desc span {
	color: var(--secondary);
}

.header-btns {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	font-family: var(--headingFont);
	padding: 2px 0;
}

.order-btn,
.call-btn {
	padding: 10px 30px;
	display: inline-block;
	text-transform: uppercase;
	border-radius: 5px;
	box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);

	border: 3px solid white;
	text-align: center;
	font-family: var(--primaryFont);
	font-size: 1.15rem;
	font-weight: 700;
}

.order-btn {
	background: var(--primary);
	color: #fff;
	margin-right: 30px;

	border-color: rgba(0, 0, 0, 0);
}

.order-btn:hover,
.order-btn:focus {
	background-color: var(--primary-dark);
	color: #fff;
}

.call-btn {
	color: white;
	background-color: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(2px);
}

.call-btn:hover,
.call-btn:focus {
	color: white;
}

.order-btn:hover,
.call-btn:hover {
	-webkit-transform: scale(1.03);
	-moz-transform: scale(1.03);
	-ms-transform: scale(1.03);
	-o-transform: scale(1.03);
	transform: scale(1.03);
}

@media (max-width: 768px) {
	header {
		border-bottom-left-radius: 50% 4%;
		border-bottom-right-radius: 50% 4%;
	}
	header p.heading {
		margin-top: 0px;
		margin-bottom: 1rem;
		font-size: 6.5rem;
		line-height: 5rem;
	}
	header p.heading span.pizzerie {
		font-size: 3rem;
	}
	header p.heading span.smaller {
		font-size: 5rem;
	}
	header p.desc {
		margin-bottom: 2rem;
		font-size: 1.4rem;
	}
}

@media (max-width: 576px) {
	.header-btns {
		flex-direction: column;
	}
	.order-btn,
	.call-btn {
		padding: 10px 20px;
		width: 210px;
		font-size: 1rem;
	}

	.order-btn {
		margin-right: 0;
		margin-bottom: 15px;
	}
}

@media (max-width: 576px) {
}

/* O NAS */

#market {
	position: relative;
	padding-bottom: 180px;
}
#market h2 {
	font-size: 3rem;
	text-align: center;
	font-family: "Inter", serif;
}
#market .d-text{
	font-size: 3rem;
	text-align: center;
	font-family: "Inter", serif;
}
#market p {
	font-size: 1.1rem;
}
#market a {
	font-weight: 700;
	border-bottom: 2px dashed black;
}

@media (max-width: 992px) {
	#market h2 {
		margin-bottom: 2rem;
	}
	#market p:last-of-type {
		margin-bottom: 2rem;
	}
}
@media (max-width: 576px) {
	#marketp {
		font-size: 1.05rem;
	}
	#market h2 {
		font-size: 2.5rem;
	}
}

#market .container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
	text-align: center;
}

#market .row {
    justify-content: center;
}

#market .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
}


/* ROZVOZ */

#rozvoz {
	background: url("../images/black-board.jpg");
	color: #fff;
	position: relative;
	z-index: 1;
	overflow: hidden;
	padding: 60px 0;
}
#rozvoz h2 {
	font-size: 3rem;
	margin-bottom: 25px;
}
#rozvoz p {
	color: white;
}
#rozvoz p.zona {
	font-size: 1.4rem;
	margin-bottom: 0;
}
#rozvoz p.zona span {
	color: var(--secondary);
	font-weight: 700;
}
#rozvoz p.town {
	font-size: 1.05rem;
}

#rozvoz .map img {
	padding-bottom: 5px;
}
#rozvoz .map p {
	color: white;
	font-size: 1.1rem;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
}
#rozvoz .map a:hover,
#rozvoz .map a:hover p {
	opacity: 0.8;
}
#rozvoz .order-btn {
	font-size: 1.1rem;
	margin: 20px 0 0;
	padding-right: 23px;
	padding-left: 23px;
}
#rozvoz .order-btn i {
	display: inline-block;
	margin-left: 5px;
}
@media (max-width: 992px) {
	#rozvoz {
		padding-top: 50px;
		padding-bottom: 50px;
	}
}
@media (max-width: 768px) {
	#rozvoz .order-btn {
		font-size: 1.1rem;
		margin: 0 0 20px;
		min-width: 242px;
	}
}

@media (max-width: 576px) {
	#rozvoz h2 {
		font-size: 2.4rem;
	}
	#rozvoz .zony p {
		font-size: 1.1rem;
	}
}

/* SLUZBY */

#sluzby {
	background: url("../images/black-board.jpg");
	color: #fff;
	position: relative;
	padding: 60px 0;
}

#sluzby h2 {
	font-size: 3rem;
	margin-bottom: 1rem;
}
#sluzby p {
	color: white;
	font-size: 1.05rem;
}
#sluzby a {
	color: inherit;
	border-bottom: 1px dashed white;
	font-weight: 700;
}
#sluzby a:hover {
	color: var(--secondary);
}

/* KONTAKT */
#kontakt {
	padding: 90px 0 60px;
	position: relative;
	background-image: url("../images/header30.jpg");
	background-position: 50% 97%;
	background-size: cover;
}
#kontakt::before {
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.2);
}

.card {
	height: 100%;
	position: relative;
	text-align: left;
	border-radius: 5px;
	font-size: 1.1rem;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}
.card h2 {
	font-size: 1.9rem;
	color: var(--primary);
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 1.5rem;
}

.contact {
	color: #2d2d2d;
}
.contact a {
	color: var(--dark);
}
.contact a:hover {
	color: var(--primary-dark);
}
.contact ul {
	list-style: none;
	margin: 0;
}
.contact ul li {
	margin-bottom: 1rem;
}
.contact ul li i {
	font-size: 23px;
	color: var(--primary);
	width: 40px;
}
.contact .social i {
	font-size: 29px;
}

.business-hours {
	position: relative;
	height: 100%;
}
.business-hours li {
	font-size: 1.05rem;
	color: #000;
	border-bottom: 1px solid #e4e4e4;
}
.business-hours li:not(:first-child) {
	margin-top: 7px;
}
.business-hours ul {
	margin-bottom: 5px;
}
.business-hours .opening-hours li.today {
	font-weight: 600;
	border-bottom: 2px solid var(--primary);
}

iframe {
	min-height: 240px;
}

@media (max-width: 992px) {
	#kontakt {
		background-image: url("../images/header30.jpg");
		background-position: center;
	}
}
@media (max-width: 576px) {
	.card h2 {
		font-size: 1.7rem;
	}
	.contact ul li {
		font-size: 1.05rem;
	}
	.business-hours li {
		font-size: 1rem;
	}
}

/* FOOTER */

footer {
	position: relative;
	background-color: var(--white);
	padding: 30px 0;
	color: #636363;
	text-align: center;
}
footer .info {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
footer .info h2 {
	color: #333333;
	font-size: 1.15rem;
	margin-bottom: 0.3rem;
	font-family: var(--primaryFont);
	text-shadow: none;
}

footer a {
	border-bottom: 2px dashed #636363;
}

footer a:hover {
	color: var(--primary);
}

footer p {
	margin: 0;
	font-weight: 500;
	color: var(--dark);
}

/* ===================
        arrow to Top
        ================
 */

.arrowToTop {
	cursor: pointer;
	position: fixed;
	text-align: center;
	z-index: 9999;
	-webkit-transition: 0.3s all;
	-moz-transition: 0.3s all;
	-ms-transition: 0.3s all;
	-o-transition: 0.3s all;
	transition: background-color 0.2s ease-in-out;
	right: 40px;
	bottom: 40px;
	opacity: 0;
	transition: 0.3s all;
	pointer-events: none;
}

.arrowToTop a {
	text-decoration: none;
	padding: 5px 12px;
	color: #fff;
	background: var(--primary);
	-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
	transition: 0.3s ease-in-out;
	border-radius: 8px;
	font-size: 1.2rem;
	display: inline-block;
}

.arrowToTop a:hover {
	background: var(--primary-dark);
	-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
}

.arrowToTop svg {
	width: 20px;
	height: 20px;
}

.arrowToTop.show {
	pointer-events: all;
	opacity: 1 !important;
}

@media (max-width: 576px) {
	.arrowToTop {
		right: 0;
		bottom: 20px;
	}
}

/* Nav bar*/
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
	position: fixed;
	width: 100%;
	z-index: 100;
	font-family: var(--headingFont);
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
}
.navbar.sticky {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 1px 1px 13px -1px rgba(0, 0, 0, 0.3);
}

.navbar-toggler:focus,
.navbar-toggler:hover {
	outline: none !important;
	border: none;
}

.navbar-links {
	height: 100%;
}

@media (min-width: 992px) {
	.navbar-links {
		position: relative;
		left: 50%;
		transition: all 0.5s;
		-webkit-transition: all 0.5s;
		-moz-transition: all 0.5s;
		-ms-transition: all 0.5s;
		-o-transition: all 0.5s;
		transform: translateX(-48%);
		-webkit-transform: translateX(-48%);
		-moz-transform: translateX(-48%);
		-ms-transform: translateX(-48%);
		-o-transform: translateX(-48%);
	}
	.navbar.sticky .navbar-links {
		left: 100%;
		transform: translateX(-100%);
		-webkit-transform: translateX(-100%);
		-moz-transform: translateX(-100%);
		-ms-transform: translateX(-100%);
		-o-transform: translateX(-100%);
	}
}

.navbar-links ul {
	display: flex;
	margin: 0;
	padding: 0;
}

.navbar-links li {
	list-style: none;
}
.navbar-links li a {
	position: relative;
	margin: 10px 20px;

	color: white;
	text-shadow: 0 1px 0 white;
	font-weight: 400;
	font-size: 1.3rem;
}
.navbar.sticky .navbar-links li a {
	color: black;
	text-shadow: 0 1px 0 black;
}
.navbar-links li a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: -20%;
	width: 80%;
	height: 1px;
	background: var(--secondary);
	opacity: 0;
	transition: all 0.2s;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
}
.navbar-links li a:hover:after {
	left: 0;
	opacity: 1;
}
.sticky .navbar-links li a::after {
	height: 2px;
}

.navbar-light .navbar-toggler,
.navbar-dark .navbar-toggler {
	border: none;
}

.brand-logo {
	position: absolute;
	max-width: 95px;
	opacity: 0;
	pointer-events: none;
}

.navbar.sticky .brand-logo {
	opacity: 1;
	pointer-events: all;
}

@media (max-width: 992px) {
	.navbar {
		height: auto;
		background: rgba(255, 255, 255, 0.98);
	}

	.navbar-links {
		margin-right: 0;
	}

	.navbar-links ul {
		display: table;
		width: 100%;
		text-align: center;
	}

	.navbar-links li a {
		padding-bottom: 6px;
		display: inline-block;
		color: black;
		text-shadow: 0 1px 0 black;
		font-size: 1.2rem;
	}

	.navbar-links li a::after,
	.sticky .navbar-links li a::after {
		height: 1px;
	}

	.brand-logo {
		position: relative;
		max-width: 100px;
		top: 0;
		left: 0;
	}
}

@media (max-width: 576px) {
	.navbar {
		padding: 7px 20px;
	}
	.brand-logo {
		max-width: 80px;
	}
}

/* POPUP */

.popup-overlay {
	height: 100%;
	width: 100%;
	margin: 0 auto;
	display: none;
	position: fixed;
	z-index: 1500;
	align-items: center;
	background: rgba(0, 0, 0, 0.7);
	padding: 30px;
	backdrop-filter: blur(2px);
}
.popup__body {
	height: auto;
	max-height: 80vh;
	width: 100%;
	max-width: 500px;
	margin: 50px auto;
	background-color: white;
	background-size: auto;
	background-repeat: repeat;
	color: #000;
	position: relative;
	z-index: 103;
	padding: 35px 35px;
	border-radius: 5px;
	box-shadow: 0 2px 5px #000;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}

.popup__body img {
	display: block;

	width: 40%;
	margin-right: 2rem;
}

.popup__body p {
	color: #333;
	font-size: 1.05rem;
	margin: 15px auto 0;
	max-width: 500px;
	text-align: center;
}

.popup__body h3 {
	color: #333;
	text-align: center;
}

.popup__body a:not(.close-btn) {
	color: inherit;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 2px dashed black;
	transition: all 0.2s;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
}
.popup__body a:hover {
	color: var(--primary);
}

.popup__body .close-btn {
	color: #000;
	position: absolute;
	top: 0;
	right: 15px;
	font-size: 30px;
	cursor: pointer;
}

@media (max-width: 576px) {
	.popup__body {
		max-height: unset;
		margin: unset;
	}
	.popup__body p {
		font-size: 0.9rem;
		margin: 10px auto 0;
		font-weight: 500;
	}
	/* .popup__body img {
		width: 100%;
		max-width: 190px;
		margin-bottom: 10px;
	} */
}

/* ERROR PAGE */

#error-page {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	text-align: center;
	background-image: url("../images/bg10-crop-top.jpg");
	background-size: cover;
}
#error-page::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: linear-gradient(
		0deg,
		rgba(0, 0, 0, 0.5) 0%,
		rgba(0, 0, 0, 0.7) 85%
	);
	z-index: -1;
}

#error-page h1 {
	margin-top: -50px;
	margin-bottom: 2rem;
	text-shadow: 0 1px 0 white, 1px 0 0 white, 0px 0 10px rgba(0, 0, 0, 1);

	color: white;
	font-size: 10rem;
	font-weight: 400;
	line-height: 7.5rem;
	font-family: var(--headingFont);
}
#error-page h1 span.pizzerie {
	font-size: 4rem;
}
#error-page h1 span.smaller {
	font-size: 8rem;
}
@media (max-width: 576px) {
	#error-page h1 {
		font-size: 5rem;
		line-height: 4rem;
	}
	#error-page h1 span.pizzerie {
		font-size: 2rem;
	}
	#error-page h1 span.smaller {
		font-size: 4rem;
	}
}
#error-page h2 {
	margin-bottom: 2rem;
	color: #fff;
}

#error-page .primary-btn {
	display: inline-block;
	padding: 0.7rem 2rem;
	background: var(--primary);
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	border-radius: 0.3rem;
	-webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	position: relative;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;
}
#error-page .primary-btn i {
	position: relative;
	left: -5px;
	transition: all 0.2s;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
}

#error-page .primary-btn:hover {
	background: var(--primary-dark);
}
#error-page .primary-btn:hover i {
	left: -10px;
}
