:root {
  --primary: #e00023;
  --primary-dark: #cc000f;
  --secondary: #e6e6e6;
  --secondary-dark: #cecece;
  --white: #fff;
  --dark: #111111;
  --primaryFont: "Nunito", sans-serif;
  --headingFont: "Roboto", sans-serif;
  --navbar-height-mobile: 70px;
}

::selection {
  color: #fff;
  background: var(--primary);
}
@media (max-width: 576px) {
  ::-webkit-scrollbar {
    width: 12px;
    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);
  }
}

/* Bannery dle dnů */

.banners {
  margin-top: 5rem;
}

.banners img {
  aspect-ratio: 12/3;
  object-fit: cover;
  border-radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--primaryFont, sans-serif);
  font-weight: 400;
  background: url("../images/fresh-snow.jpg");
}

* {
  margin: 0;
  padding: 0;
}

a {
  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;
  color: var(--primary);
}

a:hover,
a:focus {
  color: var(--primary-dark);
  text-decoration: none;
}

strong {
  font-weight: bold;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--headingFont, sans-serif);
  font-weight: bold;
}
h2 {
  font-size: 3rem;
}
@media (max-width: 576px) {
  h2 {
    font-size: 3rem;
  }
}
.decor {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}
.decor::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background-color: var(--primary);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

img {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

/* 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;
}
.popup__body {
	height: auto;
	max-height: 80vh;
	width: 100%;
	max-width: 550px;
	margin: 100px auto;
	color: #000;
	position: relative;
	z-index: 103;
	padding: 35px 35px;
	box-shadow: 0 2px 5px #000;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
  border-radius: 12px;
  background-color: white;
  background-size: auto;
	background-repeat: repeat;
}

.popup__body img {
	display: block;
  border-radius: 10px;
	max-height: 60vh;
	max-width: 100%;
	margin: auto auto;
}

.popup__body p {
	color: #333;
}

.popup__body a {
	text-decoration: none;
}

.popup__body .heading {
	font-size: 28px;
	font-weight: 800;
	margin-bottom: 15px;
	text-align: center;
}

.popup__body .second-heading {
	text-align: center;
}

.popup__body .close-btn {
	color: #000;
	position: absolute;
	top: 0;
	right: 15px;
	font-size: 30px;
	cursor: pointer;
}

@media (max-width: 576px) {
	.popup__body .heading {
		font-size: 20px;
	}
}

/* HEADER */

header {
  position: relative;
  background: var(--dark);
  background-image: url("../images/black-board.jpg");
  background-size: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 8rem 0;
  text-align: center;
}

header .header-logo {
  margin-top: -15px;
}
header .header-logo img {
  max-width: 90%;
}

header .heading {
  color: whitesmoke;
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.3;
  padding-top: 3rem;
  font-family: var(--headingFont);
}
header .description {
  color: whitesmoke;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  position: relative;
}

@media (min-width: 1400px) {
  header .heading {
    font-size: 3.8rem;
  }
  header .description {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  header {
    text-align: center;
  }
  header .header-logo {
    margin-top: 0;
    margin-bottom: 5px;
  }
  header .description {
    font-size: 1.15rem;
    margin-bottom: 30px;
  }
  header .banners {
    margin-top: 2rem;
  }
}
@media (max-width: 768px) {
  header .heading {
    margin-top: 5px;
    font-size: 2.3rem;
    line-height: initial;
  }
  header .header-logo img {
    max-width: 100%;
  }
}

.order-btn,
.call-btn {
  font-weight: 600;
  padding: 10px 30px;
  display: inline-block;
  text-transform: uppercase;
  border-radius: 5px;
}

.order-btn {
  background: var(--primary);
  border: 2px solid rgba(255, 255, 255, 0);
  color: #fff;
  margin-right: 25px;
}

.order-btn:hover,
.order-btn:focus {
  color: #fff;
  background: var(--primary-dark);
}

.call-btn {
  border: 2px solid white;
  color: white;
}

.call-btn:hover,
.call-btn:focus {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.header-btns {
  display: flex;
  position: relative;
  justify-content: center;
}

@media (max-width: 768px) {
  .header-btns {
    align-items: center;
    flex-direction: column;
  }

  .order-btn,
  .call-btn {
    width: 210px;
  }
  .order-btn {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

#kariera {
  position: relative;
  background: var(--dark);
  color: var(--light);
  background-image: url("../images/black-board.jpg");
  background-size: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 10rem 0;
  z-index: 0;
}

#kariera h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

#kariera p {
  font-size: 1.1rem;
}

#kariera hr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

#kariera .heading {
  font-size: 1.5rem;
  font-weight: bold;
}

#kariera .img-fluid{
  border-radius: 10px;
}

#kariera .absolute-image {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 11rem;
  transform: rotate(30deg);
}

/* Vouchery */

#vouchery {
  position: relative;
  background: var(--dark);
  color: var(--light);
  background-image: url("../images/black-board.jpg");
  background-size: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 10rem 0;
  z-index: 0;
}

#vouchery h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

#vouchery h2 {
  margin-bottom: 1rem;
}

#vouchery p {
  font-size: 1.1rem;
}

#vouchery hr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

#vouchery mark {
  background: transparent;
  color: var(--primary);
  font-weight: bold;
}

#vouchery ul {
  padding-left: 1rem;
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

#vouchery .heading {
  font-size: 1.5rem;
  font-weight: bold;
}

#vouchery .absolute-image {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 11rem;
  transform: rotate(30deg);
}

@media (max-width: 768px) {
  #vouchery h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
  }

  #vouchery .absolute-image {
    display: none;
  }
}

/* GALERIE */

#galerie {
  padding: 30px 0 50px;
  position: relative;
}
.mlada-boleslav #galerie {
  padding-bottom: 90px;
}
.mlada-boleslav #galerie img {
  border-radius: 5px;
}
#galerie h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: whitesmoke;
  text-align: center;
}
#galerie .owl-theme .owl-dots .owl-dot.active span {
  background: var(--primary);
}
@media (max-width: 576px) {
  #galerie h2 {
    font-size: 2.4rem;
  }
}

/* O NAS */

#o-nas {
  padding: 60px 0 30px;
}
#o-nas p {
  font-size: 1.3rem;
}
#o-nas a {
  color: var(--primary);
  font-weight: 700;
}
#o-nas a:hover {
  color: var(--primary-dark);
}

/* APLIKACE */

#aplikace {
  border-top: 4px dotted rgba(0, 0, 0, 0.06);
  padding-top: 120px;
  background: var(--white);
  position: relative;
}

#aplikace h2 {
  color: var(--dark);
  text-transform: none;
  font-weight: 600;
  font-size: 2.2rem;
}

#aplikace p {
  color: var(--dark);
  font-size: 1.1rem;
  margin-top: 20px;
  position: relative;
  text-indent: 2.5rem;
}

#aplikace p::before {
  position: absolute;
  content: "";
  top: 45%;
  left: 0;
  width: 1.8rem;
  height: 2px;
  background-color: var(--primary);
}

@media (max-width: 992px) {
  #aplikace h2 {
    font-size: 30px;
  }
  #aplikace p::before {
    top: 22%;
  }
}

@media (max-width: 768px) {
  #aplikace p::before {
    top: 45%;
  }
}

@media (max-width: 576px) {
  #aplikace {
    text-align: center;
    padding-top: 40px;
    border-bottom: 4px dotted rgba(0, 0, 0, 0.06);
    padding-bottom: 40px;
    margin-bottom: 20px;
  }
  #aplikace p {
    font-size: 1rem;
  }
  #aplikace p::before {
    display: none;
  }
}

.banner-btns {
  margin-top: 50px;
}

.banner-btns img {
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
  max-width: 180px;
  border-radius: 5px;
  margin-right: 10px;
}

.banner-btns img:hover {
  transform: scale(1.05);
}

.banner-btns img:nth-child(2) {
  height: 100%;
  max-height: 60px;
}

.mobil-img {
  position: absolute;
  width: 400px;
  border: none;
  right: 14%;
  bottom: 0;
}

.mobil-img img {
  max-width: 300px;
}

@media (max-width: 1200px) {
  .mobil-img {
    right: 8%;
  }
}
@media (max-width: 992px) {
  .mobil-img {
    right: 0;
  }

  .banner-btns {
    margin-top: 50px;
  }

  .banner-btns img {
    max-width: 150px;
  }
}

@media (max-width: 576px) {
  #aplikace {
    height: 100%;
  }

  .banner-btns {
    margin-top: 20px;
  }

  .banner-btns img {
    max-width: 120px;
  }
}

section {
  padding: 100px 0;
}

@media (max-width: 576px) {
  section {
    padding: 30px 0;
  }
  h2 {
    font-size: 2.5rem;
  }
}

.custom-container {
  position: relative;
  width: clamp(90%, 100% - 12vw, 100% - 12vw);
  max-width: 1200px;
  margin-inline: auto;
}

.decor {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}
.decor::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background-color: var(--primary);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}


/* ROZVOZ */

#rozvoz {
  background: transparent;
  color: var(--dark);
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 60px 0;
}
#rozvoz h2 {
  color: var(--dark);
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}
#rozvoz p {
  font-size: 1.4rem;
  font-weight: 500;
}

#rozvoz .order-btn {
  margin: 20px 0 0;
  padding-right: 23px;
  padding-left: 23px;
  border-radius: 5px;
}
#rozvoz .order-btn i {
  display: inline-block;
  margin-left: 5px;
}
#rozvoz .mapa img {
  padding-bottom: 5px;
  border-radius: 10px;
}
#rozvoz .mapa p {
  color: var(--dark);
  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 .mapa a:hover,
#rozvoz .mapa a:hover p {
  opacity: 0.8;
}
@media (max-width: 992px) {
  #rozvoz {
    padding-top: 40px;
    text-align: center;
  }
  #rozvoz h2 {
    font-size: 2.8rem;
  }
  #rozvoz p {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  #rozvoz .order-btn {
    margin: 20px 0 20px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  #rozvoz {
    padding-bottom: 40px;
  }
  #rozvoz h2 {
    font-size: 2.3rem;
  }
  #rozvoz p {
    font-size: 1.1rem;
  }
}

/* KONTAKT */

#kontakt {
  padding: 100px 0 60px;
  margin: 0;
  position: relative;
  background: url("../images/black-board.jpg");
  overflow: hidden;
  color: var(--dark);
}

@media (max-width: 576px) {
  #kontakt {
    padding: 70px 0 30px;
  }
}

img.pizza {
  max-width: 800px;
  position: absolute;
  bottom: -80px;
  left: -100px;
  z-index: 0;
  filter: drop-shadow(3px 3px 10px rgba(0, 0, 0, 0.2));
  -webkit-filter: drop-shadow(3px 3px 10px rgba(0, 0, 0, 0.2));
}
@media (max-width: 768px) {
  img.pizza {
    left: 0;
    bottom: 0;
  }
}

.card {
  padding: 25px;
  position: relative;
  text-align: left;
  border-radius: 5px;
  margin-bottom: 30px;
  font-size: 1.1rem;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.card h2 {
  font-size: 2.2rem;
  color: var(--dark);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.5rem;
}
@media (max-width: 576px) {
  .card h2 {
    font-size: 2rem;
  }
}

.contact a {
  color: var(--dark);
}
.contact a:hover {
  color: var(--primary-dark);
}
.contact ul {
  list-style: none;
}
.contact ul li {
  margin-bottom: 1rem;
}
.contact ul li,
.contact ul li a:first-child {
  display: flex;
  flex-direction: row;
}
.contact ul li i {
  font-size: 20px;
  color: var(--primary);
  margin-right: 4px;
  margin-top: 5px;
  width: 30px;
}
@media (max-width: 576px) {
  .contact ul li {
    font-size: 16px;
    line-height: 2em;
  }
}
#kontakt .social {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 30px;
  height: 30px;
}
#kontakt .social a {
  color: var(--primary);
}

#kontakt .social a i {
  font-size: 2.2rem;
}

#kontakt .map {
  padding: 0;
  margin-bottom: 30px;
  display: block;
  height: auto;
  position: relative;
}

#kontakt iframe {
  min-height: 200px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

@media (max-width: 768px) {
  #kontakt .map {
    padding: 10px;
  }
  #kontakt .card {
    margin: 10px;
  }
}

footer {
  position: relative;
  background-color: var(--dark);
  padding: 30px 0;
  text-align: center;
  box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15);
}
footer .info {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
footer .info h2 {
  color: #fff;
  font-size: 1.1rem;
}
footer a {
  color: var(--primary);
}
footer a {
  color: var(--primary-dark);
}
footer p {
  margin: 0;
  font-weight: 500;
  color: var(--white);
}

/*Arrow top, Home */

.arrowToTop,
.home {
  cursor: pointer;
  position: fixed;
  text-align: center;
  z-index: 9999;
  transition: 0.3s all;
}

.arrowToTop a,
.home a {
  text-decoration: none;
  width: 50px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  transition: 0.2s ease-in-out;
  border-radius: 5px;
  display: inline-block;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.arrowToTop {
  right: 40px;
  bottom: 0px;
  opacity: 0;
}

.arrowToTop a {
  padding: 7px 0;
}

.arrowToTop a:hover,
.home a:hover {
  background: var(--primary-dark);
  -webkit-transform: translateY(-3px);
  -moz-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  -o-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
}

.arrowToTop.show {
  bottom: 68px;
  opacity: 1 !important;
}

@media (max-width: 576px) {
  .arrowToTop {
    right: 3px;
  }
  .arrowToTop.show {
    bottom: 43px;
  }
  .arrowToTop a {
    padding: 5px 10px;
    font-size: 15px;
    width: 40px;
  }
  .arrowToTop a:hover,
  .home a:hover {
    background: var(--primary);
    transform: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
  }
}

.home {
  right: 40px;
  bottom: 20px;
}

.home a {
  padding: 6px 0;
  font-size: 18px;
}

@media (max-width: 576px) {
  .home {
    right: 3px;
    bottom: 4px;
  }
  .home a {
    font-size: 15px;
    padding: 4px 0;
    width: 40px;
  }
}

/* Nav bar*/

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  min-height: var(--navbar-height-mobile);
  position: fixed;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  width: 100%;
  z-index: 100;

  font-family: var(--primaryFont);
}

@media (max-width: 992px) {
  .navbar {
    padding: 5px 20px;
    background-color: var(--dark);
  }
}

.navbar.sticky {
  background-color: var(--dark);
  box-shadow: 1px 1px 13px -1px #000;
}

.navbar > .container {
  justify-content: flex-end;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
  outline: none !important;
  border: none;
}

.navbar-links {
  height: 100%;
}

.navbar-links ul {
  display: flex;
  margin: 0;
  padding: 0;
  font-size: 1rem;
}

.navbar-links li {
  position: relative;
  list-style: none;
  margin: 0 10px;
}

.navbar-links li a {
  position: relative;
  display: block;
  text-decoration: none;
  margin: 10px 5px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  color: white;
}
.navbar-links li a::after {
  content: "";
  position: absolute;
  background-color: var(--primary);
  opacity: 0;
  width: 105%;
  height: 2px;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.2s;
  -webkit-transform: translateX(-50%) translateY(10px);
  -moz-transform: translateX(-50%) translateY(10px);
  -ms-transform: translateX(-50%) translateY(10px);
  -o-transform: translateX(-50%) translateY(10px);
  -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 {
  opacity: 1;
  transform: translateX(-50%) translateY(0px);
  -webkit-transform: translateX(-50%) translateY(0px);
  -moz-transform: translateX(-50%) translateY(0px);
  -ms-transform: translateX(-50%) translateY(0px);
  -o-transform: translateX(-50%) translateY(0px);
}

@media (max-width: 992px) {
  .navbar-links {
    margin-right: 0;
  }

  .navbar-links ul {
    display: table;
    width: 100%;
    text-align: center;
  }

  .navbar-links li a {
    font-size: 1.1rem;
    margin-bottom: 25px;
    display: inline-block;
  }
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4) !important;
  margin-left: auto;
}

.navbar-toggler {
  border: none;
  padding: 10px 20px;
}

.toggle-button {
  position: absolute;
  top: 24px;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}

.toggle-button {
  display: flex;
}

.brand-logo {
  width: 65px;
  position: relative;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
.brand-logo:hover {
  transform: scale(1.03);
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
}

@media (max-width: 576px) {
  .navbar .brand-logo {
    width: 60px;
  }
}

/* CROSSROAD */

.crossroad {
  width: 100%;
  min-height: 100vh;
  background: url("../images/bg02.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.7);
  background-blend-mode: multiply;
  background-attachment: fixed;

  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  margin: auto;

  overflow-x: hidden;
}
#brands-header {
  padding: 0;
}
#brands-header img.logo {
  position: relative;
  max-width: 300px;
  margin: 10px auto 20px;
}

#brands-header p.choose {
  font-size: 1.6rem;
  color: whitesmoke;
  font-weight: 600;
  margin-bottom: 35px;
}

#brands {
  padding: 0;
  margin-bottom: 50px;
}

.brand {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 100%;
  display: block;
  margin: 0 auto;
}

.brand-link {
  position: relative;
  display: block;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
}
.brand-link:hover {
  transform: scale(1.03);
  text-decoration: none;
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
}

.brand img {
  max-height: 100%;
  height: 240px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  filter: brightness(0.9);
  -webkit-filter: brightness(0.9);
}

.brand .description {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: whitesmoke;
  padding: 10px;
  z-index: 10;
}

.brand .description h2 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-weight: 700;
  text-transform: none;
}

.brand .description p {
  margin-bottom: 0px;
}

.brand .order {
  position: absolute;
  top: -10px;
  right: -12px;

  z-index: 100;
  display: flex;
  flex-direction: column;
}
.brand .order-btn,
.brand .call-btn {
  text-transform: uppercase;
  padding: 10px 0px;
  margin: 0;
  width: 155px;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 5px;
  border: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.brand .order-btn {
  margin-bottom: 10px;
}
.brand .call-btn {
  background-color: var(--secondary);
  color: black;
}
.brand .call-btn:hover {
  background-color: var(--secondary-dark);
  color: black;
}

.brand-special {
  background-image: url("../images/tb/bg05.jpg");
  background-color: rgba(0, 0, 0, 0.65);
  background-blend-mode: multiply;
  background-size: cover;
  max-width: 450px;
  border-radius: 5px;
  padding: 25px 15px 20px;
  overflow: hidden;
  text-align: center;
  color: white;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.brand-special h2 {
  font-size: 2.3rem;
  margin-bottom: 0;
}
.brand-special .addr {
  font-size: 1.1rem;
}
.brand-special .open-hours strong {
  font-size: 1.2rem;
  font-weight: 700;
}
.brand-special .btns a {
  position: static;
}
.brand-special .contact a {
  margin-left: 10px;
  margin-right: 10px;
  font-size: 2.2rem;
  color: white;
}
.brand-special .contact a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  #brands-header .logo {
    max-width: 250px;
  }
  #brands-header .logo img {
    max-width: 250px;
  }
  #brands-header p {
    font-size: 1.3rem;
  }
  .brand {
    height: auto;
    margin-bottom: 30px;
  }
  .brand-special h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .crossroad {
    background-attachment: scroll;
    background-position: 15% 50%;
  }
  .brand .order-btn,
  .brand .call-btn {
    right: -5px;
  }
  .brand-special .btns {
    margin-bottom: 15px;
  }
  #brands-header p.choose {
    font-size: 1.3rem;
  }
}

.crossroad span.yellow {
  color: var(--secondary);
}
.crossroad strong {
  color: var(--secondary);
}

#popover {
  position: fixed;
  bottom: 0.5rem;
  left: 0.5rem;
  z-index: 150;
  max-width: 35vw;
  padding: 0.75rem 1rem;
  background-color: rgba(241, 243, 246, 0.8);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  opacity: 0;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transition: var(--transition-medium);
  transition: var(--transition-medium);
  -webkit-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
          box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
@media (max-width: 767.98px) {
  #popover {
    max-width: 100%;
  }
}
@media (max-width: 575.98px) {
  #popover {
    right: 0.5rem;
  }
}
#popover.slide-in {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
#popover .popover-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
#popover .popover-header .popover-heading {
  font-size: 1.2rem;
  margin-bottom: 0;
  margin-right: 2rem;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}
@media (max-width: 575.98px) {
  #popover .popover-header .popover-heading {
    font-size: 1rem;
  }
}
#popover .popover-close-button {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 2.75rem;
  font-size: 1.1rem;
  cursor: pointer;
}
#popover .popover-content {
  margin-bottom: 0;
}
@media (max-width: 575.98px) {
  #popover .popover-content {
    font-size: 0.875rem;
  }
}
