@font-face {
  font-family: "Aller SansSerif";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/aller/Aller_Rg.woff") format("woff");
}

@font-face {
  font-family: "Aller SansSerif";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/aller/Aller_It.woff") format("woff");
}

@font-face {
  font-family: "Aller SansSerif";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/aller/Aller_Bd.woff") format("woff");
}

@font-face {
  font-family: "Aller SansSerif";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/aller/AllerDisplay.woff") format("woff");
}

:root {
  --stampi-green: #88ca00;
  --stampi-dark: #324339;
  --stampi-footer: #212e26;
  --bs-primary: var(--stampi-green);
  --bs-primary-rgb: 136, 202, 0;
  --bs-body-bg: #fafafa;
  --bs-body-color: var(--stampi-dark);
  --bs-body-font-family: "Aller SansSerif", Arial, sans-serif;
}

body {
  background: #fafafa;
  color: var(--stampi-dark);
  font-family: "Aller SansSerif", Arial, sans-serif;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
}

a {
  color: var(--stampi-green);
  text-decoration: none;
}

a:hover {
  color: #6fa700;
}

section {
  padding: 8rem 0;
}

#sledovani-tv {
  min-height: auto !important;
  padding-bottom: 2.5rem;
}

#pageNavbar {
  padding: 1rem 0;
  transition: 0.3s;
}

#pageNavbar.scrolled,
#pageNavbar.navbar-show {
  background-color: #fff;
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

#pageNavbar .nav-link {
  color: var(--stampi-dark);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
}

#pageNavbar .nav-link:hover,
#pageNavbar .nav-link.active {
  color: var(--stampi-green);
}

#pageNavbar.navbar-white .nav-link {
  color: #fff;
}

#pageNavbar.navbar-white .account-nav-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

#pageNavbar.navbar-white .navbar-toggler .icon-bar {
  background-color: #fff;
}

#pageNavbar.navbar-white.scrolled .navbar-brand img,
#pageNavbar.navbar-white.navbar-show .navbar-brand img {
  content: url("../img/stampi-logo-green.svg");
}

#pageNavbar.navbar-white.scrolled .nav-link,
#pageNavbar.navbar-white.navbar-show .nav-link {
  color: var(--stampi-dark);
}

#pageNavbar.navbar-white.scrolled .account-nav-link,
#pageNavbar.navbar-white.navbar-show .account-nav-link {
  background: rgba(136, 202, 0, 0.1);
  border-color: rgba(136, 202, 0, 0.45);
}

#pageNavbar.navbar-white.scrolled .navbar-toggler .icon-bar,
#pageNavbar.navbar-white.navbar-show .navbar-toggler .icon-bar {
  background-color: var(--stampi-dark);
}

.account-nav-link {
  align-items: center;
  background: rgba(136, 202, 0, 0.1);
  border: 1px solid rgba(136, 202, 0, 0.45);
  border-radius: 999px;
  color: var(--stampi-dark);
  display: inline-flex;
  gap: 0.45rem;
  line-height: 1;
  margin-left: 0.35rem;
  padding: 0.56rem 0.86rem !important;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.account-nav-link i {
  font-size: 1rem;
}

.account-nav-link:hover,
.account-nav-link:focus-visible {
  background: var(--stampi-green);
  border-color: var(--stampi-green);
  color: #fff !important;
  transform: translateY(-1px);
}

.account-nav-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.25rem;
}

.navbar-toggler {
  border: none;
  margin-bottom: auto;
  margin-top: auto;
  padding: 5px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler .icon-bar {
  background-color: var(--stampi-dark);
  border-radius: 1px;
  display: block;
  height: 2px;
  transition: all 0.2s, background-color 0.15s ease-in-out;
  width: 22px;
}

.navbar-toggler:hover .icon-bar {
  background-color: var(--stampi-green);
}

.navbar-toggler .icon-bar + .icon-bar {
  margin-top: 4px;
}

.navbar-toggler.x .icon-bar:nth-of-type(1) {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler.x .icon-bar:nth-of-type(2) {
  opacity: 0;
}

.navbar-toggler.x .icon-bar:nth-of-type(3) {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.x.collapsed .icon-bar:nth-of-type(1),
.navbar-toggler.x.collapsed .icon-bar:nth-of-type(3) {
  transform: rotate(0);
}

.navbar-toggler.x.collapsed .icon-bar:nth-of-type(2) {
  opacity: 1;
}

footer {
  background-color: var(--stampi-dark);
}

footer .remote-control {
  background-color: var(--stampi-footer);
  border: 2px solid var(--stampi-green);
  border-radius: 25px;
  font-size: 0.9rem;
  padding: 20px;
  transition: 0.3s;
}

footer .remote-control:hover {
  background-color: #283d20;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

footer a:hover {
  color: var(--stampi-green);
}

footer .footer-account-link {
  background: transparent;
  border: 0;
  color: #fff;
  display: inline-flex;
  font: inherit;
  line-height: inherit;
  padding: 0;
  width: fit-content;
}

footer .footer-account-link:hover,
footer .footer-account-link:focus-visible {
  color: var(--stampi-green);
}

footer .footer-account-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.2rem;
}

.footer-social-link img {
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.footer-social-link:hover img,
.footer-social-link:focus-visible img {
  filter: brightness(0.72);
  opacity: 0.92;
}

.footer-instagram-link {
  margin-top: 0.75rem;
}

.btn-stampi {
  background: transparent linear-gradient(286deg, #14ab52 0%, #88ca00 100%) 0 0 no-repeat padding-box;
  animation: btnGradientAnimeReverse 0.5s ease forwards;
  border: 0;
  border-radius: 10px;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.btn-stampi:hover,
.btn-stampi:focus-visible {
  animation-name: btnGradientAnime;
  color: #fff !important;
  text-decoration: none;
}

@keyframes btnGradientAnime {
  0% {
    background-size: 100% 100%;
  }

  100% {
    background-size: 300% 100%;
  }
}

@keyframes btnGradientAnimeReverse {
  0% {
    background-size: 300% 100%;
  }

  100% {
    background-size: 100% 100%;
  }
}

section#pageHeader.error-page-header {
  background: transparent linear-gradient(311deg, #0a7837 0%, #88ca00 100%) 0 0 no-repeat padding-box;
  height: 800px;
}

.error-page-header__content {
  padding-top: 4rem;
  position: relative;
  z-index: 1;
}

section#pageHeader.error-page-header .error-page__panel {
  margin-top: 2rem;
}

.error-page__panel {
  background: #fff;
  border: 1px solid rgba(50, 67, 57, 0.1);
  border-radius: 20px;
  box-shadow: 0 1.2rem 3rem rgba(50, 67, 57, 0.12);
  margin: 0 auto;
  padding: 3rem 2.25rem;
  position: relative;
  text-align: center;
  width: min(100%, 620px);
  z-index: 2;
}

.error-page__logo {
  height: auto;
  margin-bottom: 1.5rem;
  max-width: 70%;
  width: 165px;
}

.error-page__icon {
  align-items: center;
  background: linear-gradient(286deg, #14ab52 0%, #88ca00 100%);
  border-radius: 18px;
  box-shadow: 0 0.9rem 1.7rem rgba(20, 171, 82, 0.22);
  color: #fff;
  display: flex;
  font-size: 2rem;
  height: 4.25rem;
  justify-content: center;
  line-height: 1;
  margin: 0 auto 1.25rem;
  width: 4.25rem;
}

.error-page__code {
  color: #88ca00;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.error-page__panel h1 {
  color: #324339;
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  line-height: 1.16;
  margin: 0 auto 0.75rem;
  max-width: 520px;
}

.error-page__text {
  color: #324339;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 auto 2rem;
  max-width: 500px;
}

.error-page__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.error-page__actions .btn {
  align-items: center;
  display: inline-flex;
  font-size: 0.85rem;
  gap: 0.55rem;
  justify-content: center;
  padding: 1rem 2rem;
}

.error-page__link {
  align-items: center;
  background: #e9ecef;
  border: 0;
  border-radius: 10px;
  color: #324339 !important;
  display: inline-flex;
  font-weight: 700;
  gap: 0.55rem;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.25rem;
  transition: 0.2s ease;
}

.error-page__link:hover,
.error-page__link:focus-visible {
  background: #d7dce0;
  color: #26342d !important;
  text-decoration: none;
  transform: translateY(-2px);
}

.mtv [class*="bg-primary-"] {
  background: #88ca00 !important;
  box-shadow: none !important;
  transition: none !important;
}

.mtv [class*="bg-primary-"]:not(a):not(button):not([role="button"]):hover,
.mtv [class*="bg-primary-"]:not(a):not(button):not([role="button"]):focus-visible {
  background: #88ca00 !important;
  box-shadow: none !important;
}

.mtv button.bg-primary-500,
.mtv a.bg-primary-500,
.mtv [role="button"].bg-primary-500,
.mtv input[type="button"].bg-primary-500,
.mtv input[type="submit"].bg-primary-500 {
  background: transparent linear-gradient(286deg, #14ab52 0%, #88ca00 100%) 0 0 no-repeat padding-box !important;
  box-shadow: inset 0 0 0 9999px rgba(136, 202, 0, 0) !important;
  overflow: hidden;
  transition: box-shadow 0.18s ease, color 0.18s ease;
}

.mtv button.bg-primary-500:hover,
.mtv button.bg-primary-500:focus-visible,
.mtv a.bg-primary-500:hover,
.mtv a.bg-primary-500:focus-visible {
  box-shadow: inset 0 0 0 9999px rgba(136, 202, 0, 1) !important;
}

.mtv [role="button"].bg-primary-500:hover,
.mtv [role="button"].bg-primary-500:focus-visible,
.mtv input[type="button"].bg-primary-500:hover,
.mtv input[type="button"].bg-primary-500:focus-visible,
.mtv input[type="submit"].bg-primary-500:hover,
.mtv input[type="submit"].bg-primary-500:focus-visible {
  box-shadow: inset 0 0 0 9999px rgba(136, 202, 0, 1) !important;
}

.mtv [class*="bg-blue-"],
.mtv [class*="bg-sky-"],
.mtv [class*="bg-cyan-"] {
  background: #88ca00 !important;
}

.mtv .w-auto[class*="bg-"],
.mtv .w-auto[class*="text-"],
.mtv .w-auto[style*="background"] {
  background: #88ca00 !important;
  color: #fff !important;
}

.mtv [class*="bg-blue-"]::before,
.mtv [class*="bg-blue-"]::after,
.mtv [class*="bg-sky-"]::before,
.mtv [class*="bg-sky-"]::after,
.mtv [class*="bg-cyan-"]::before,
.mtv [class*="bg-cyan-"]::after,
.mtv .w-auto::before,
.mtv .w-auto::after {
  background-color: #88ca00 !important;
  border-color: #88ca00 !important;
}

.mtv .w-auto svg,
.mtv .w-auto svg *,
.mtv svg.w-auto,
.mtv svg.w-auto * {
  color: currentColor !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.mtv .text-primary-50,
.mtv .text-primary-100,
.mtv .text-primary-200,
.mtv .text-primary-300,
.mtv .text-primary-400,
.mtv .text-primary-500,
.mtv .text-primary-600,
.mtv .text-primary-700,
.mtv .text-primary-800,
.mtv .text-primary-900,
.mtv [class*="text-primary-"] {
  color: #88ca00 !important;
}

.mtv [class*="text-blue-"],
.mtv [class*="text-sky-"],
.mtv [class*="text-cyan-"] {
  color: #88ca00 !important;
}

.mtv .border-primary-50,
.mtv .border-primary-100,
.mtv .border-primary-200,
.mtv .border-primary-300,
.mtv .border-primary-400,
.mtv .border-primary-500,
.mtv .border-primary-600,
.mtv .border-primary-700,
.mtv .border-primary-800,
.mtv .border-primary-900,
.mtv [class*="border-primary-"] {
  border-color: #88ca00 !important;
}

.mtv [class*="border-blue-"],
.mtv [class*="border-sky-"],
.mtv [class*="border-cyan-"] {
  border-color: #88ca00 !important;
}

.mtv .fill-primary-50,
.mtv .fill-primary-100,
.mtv .fill-primary-200,
.mtv .fill-primary-300,
.mtv .fill-primary-400,
.mtv .fill-primary-500,
.mtv .fill-primary-600,
.mtv .fill-primary-700,
.mtv .fill-primary-800,
.mtv .fill-primary-900,
.mtv [class*="fill-primary-"] {
  fill: #88ca00 !important;
}

.mtv [class*="fill-blue-"],
.mtv [class*="fill-sky-"],
.mtv [class*="fill-cyan-"] {
  fill: #88ca00 !important;
}

.mtv .stroke-primary-50,
.mtv .stroke-primary-100,
.mtv .stroke-primary-200,
.mtv .stroke-primary-300,
.mtv .stroke-primary-400,
.mtv .stroke-primary-500,
.mtv .stroke-primary-600,
.mtv .stroke-primary-700,
.mtv .stroke-primary-800,
.mtv .stroke-primary-900,
.mtv [class*="stroke-primary-"] {
  stroke: #88ca00 !important;
}

.mtv [class*="stroke-blue-"],
.mtv [class*="stroke-sky-"],
.mtv [class*="stroke-cyan-"] {
  stroke: #88ca00 !important;
}

.mtv a:not([class*="bg-"]) {
  text-decoration: none !important;
}

.mtv a:not([class*="bg-"]):hover,
.mtv a:not([class*="bg-"]):focus-visible {
  text-decoration: underline !important;
}

.mtv * {
  scrollbar-color: #88ca00 #f3f4f6 !important;
}

.mtv *::-webkit-scrollbar-thumb {
  background-color: #88ca00 !important;
}

.mtv img[src*="/misc/icons/blue/"] {
  filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(1199%) hue-rotate(31deg) brightness(101%) contrast(101%);
}

.mtv img[src*="/misc/tv.png"],
.mtv img[src*="/misc/pc+tv.png"] {
  filter: none !important;
}

.mtv div.bg-white.rounded-full.shadow-lg:has(> img[alt="user-check"]) {
  margin-left: -25px !important;
}

@media (max-width: 575.98px) {
  #pageNavbar .navbar-brand img,
  footer .brand {
    width: 170px;
  }

  section#pageHeader.error-page-header {
    min-height: 760px;
    padding-bottom: 4rem;
    padding-top: 8rem;
  }

  .error-page-header__content {
    padding-top: 0;
  }

  .error-page__panel {
    border-radius: 16px;
    padding: 2.25rem 1.35rem;
  }

  .error-page__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .error-page__actions .btn,
  .error-page__link {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  #pageNavbar .account-nav-link {
    margin-top: 0.5rem;
  }
}
