@charset "UTF-8";
body {
  font-family: "Montserrat", serif;
  font-size: clamp(1.25rem, 1.75vw, 2rem);
  line-height: 1.4;
  color: #666666;
}

.hero-section {
  background-image: linear-gradient(to bottom, #ffffff, #e7f0fd);
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section .welcome-text {
  position: absolute;
  font-size: clamp(2rem, 3vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.1vw;
  color: #737373;
  opacity: 0;
  bottom: 0vh;
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  text-shadow: 0 0 1rem #cacaca;
}
.hero-section .hexagon {
  position: absolute;
  width: clamp(300px, 75vmin, 1000px);
  height: clamp(300px, 75vmin, 1000px);
  box-sizing: border-box;
  overflow: visible;
}
.hero-section .hexagon svg {
  width: 100%;
  height: 100%;
}
.hero-section .hexagon svg polygon {
  stroke-width: clamp(0.25rem, 0.25vw, 1rem);
}
.hero-section .hexagon-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: clamp(2rem, 8vmin, 10rem);
  font-family: "Ephesis", cursive;
  color: #124388;
}
.hero-section .hexagon-inner .welcome {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
}
.hero-section .hexagon-inner .welcome span.and {
  color: #b2b2b2;
  font-size: clamp(3rem, 12vw, 12rem);
}

nav {
  background-color: #124388;
  padding: 2rem 2rem;
}
nav ul {
  gap: max(1.5rem, 2vw);
  flex-wrap: wrap;
}
nav ul li a {
  gap: 1vw;
  font-family: "Montserrat", serif;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}
nav ul li a span {
  font-size: 80%;
}
nav ul li a span.material-symbols-outlined {
  font-size: 150%;
}
nav ul li a.active, nav ul li a:hover, nav ul li a:focus-visible {
  color: #FFFFFF;
}
nav .navicon {
  width: 4vw;
  height: 4vw;
}

#map {
  height: min(1000px, 50vh);
  width: 100%;
  border: 0.25rem solid #DDDDDD;
}
#map::after {
  content: "";
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  box-shadow: 0px 0px 1rem 1rem #ffffff inset;
  position: absolute;
  pointer-events: none;
}

section#banner {
  height: clamp(10rem, 35vmax, 800px);
  background-color: #124388;
  background-image: url(https://statekujezd.cz/wp-content/uploads/2024/07/DSC_2243-kopie.jpg);
  background-size: cover;
  background-position: center;
}

.sections {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  padding: 2vmin;
  background-color: #FFFFFF;
}
.sections .section {
  padding: 6vh 2vw;
  opacity: 0; /* Počáteční stav, přepsaný animací */
  transition: opacity 0.3s ease; /* Záloha pro nepodporované prohlížeče */
  position: relative; /* Pro posouvání */
}
.sections .section.gallery {
  opacity: 1;
  background-color: #e0e8f2;
  padding: 3vh 2vw;
}
.sections .section h2 {
  font-size: 200%;
  font-weight: 700;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}
.sections .section h2 span.material-symbols-outlined {
  font-size: 100%;
  color: rgb(240, 111, 169);
}
.sections .section > div {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.sections dl dt {
  color: #1d5ab1;
  font-weight: 600;
  margin-bottom: 1rem;
}
.sections dl dd {
  border-left: 0.5rem solid #d2d2d2;
  padding-left: 1rem;
}
.sections dl dd:not(:last-child) {
  margin-bottom: 1rem;
}
.sections ul {
  padding: max(2rem, 3vw);
  background: rgba(0, 0, 0, 0.05);
  border-radius: max(2rem, 3vw);
}
.sections ul li {
  padding-left: max(2rem, 3vw);
  font-size: 90%;
  position: relative;
}
.sections ul li::before {
  font-family: "Material Symbols Outlined";
  position: absolute;
  left: 0px;
  top: 0.15rem;
}
.sections ul.list-normal li::before {
  content: "\eaaa";
  color: #115cbe;
}
.sections ul.list-allowed li::before {
  content: "\e86c";
  color: #1a861a;
}
.sections ul.list-denied li::before {
  content: "\e14b";
  color: #b90000;
}
.sections .hl-blue {
  color: #1d5ab1;
  font-weight: 600;
}

#upload-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: #f0f0f0;
  border-radius: max(2rem, 3vw);
}
#upload-form-wrapper h3 {
  font-size: calc(1rem + 1vw);
  font-weight: 600;
  color: #124388;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
#upload-form-wrapper h3 span.material-symbols-outlined {
  font-size: 130%;
  color: #357ada;
}
#upload-form-wrapper span.orange {
  color: #f8a100;
}
#upload-form-wrapper span.blue {
  color: #124388;
}
#upload-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#upload-form-wrapper form label {
  font-weight: 500;
  color: #333333;
}
#upload-form-wrapper form input[type=file] {
  border-radius: max(1rem, 1.5vw);
  background-color: #ffffff;
  font-size: calc(0.5rem + 1vw);
}
#upload-form-wrapper form input[type=file]::file-selector-button {
  padding: 1rem 2rem;
  border-radius: max(1rem, 1.5vw);
  background-color: #f8a100;
  color: #FFFFFF;
  border: none;
  margin-right: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
#upload-form-wrapper form input[type=file][disabled]::file-selector-button {
  cursor: not-allowed;
  background-color: #cccccc;
}
#upload-form-wrapper form button {
  padding: 1rem 2rem;
  background-color: #124388;
  color: #ffffff;
  border: none;
  border-radius: max(1rem, 1.5vw);
  cursor: pointer;
  transition: all 0.3s ease;
}
#upload-form-wrapper form button[disabled] {
  cursor: not-allowed;
  background-color: #cccccc;
}
#upload-form-wrapper form button:not([disabled]):hover {
  background-color: #0d3a6b;
}
#upload-form-wrapper #progress-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#upload-form-wrapper #progress-wrapper.hidden {
  display: none;
}
#upload-form-wrapper #progress-wrapper .progress-label {
  font-weight: 500;
  color: #747474;
  font-size: 70%;
}
#upload-form-wrapper #progress-wrapper progress {
  border-radius: max(1rem, 1.5vw);
  background-color: #D0D0D0;
  color: #0b7e1e;
}
#upload-form-wrapper #progress-wrapper progress::-webkit-progress-value {
  background-color: #0b7e1e !important;
}
#upload-form-wrapper #progress-wrapper progress::-moz-progress-bar {
  background-color: #0b7e1e !important;
}
#upload-form-wrapper .upload-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #333333;
  font-size: 90%;
  margin-top: 1rem;
}
#upload-form-wrapper .upload-result.hidden {
  display: none;
}
#upload-form-wrapper .upload-result span.material-symbols-outlined {
  font-size: 400%;
}
#upload-form-wrapper .upload-result.success span.material-symbols-outlined {
  color: #0b7e1e;
}
#upload-form-wrapper .upload-result.error span.material-symbols-outlined {
  color: #b90000;
}

#gallery-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
#gallery-wrapper #gallery-btn {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
  font-size: calc(1rem + 1vw);
  padding: 1rem 2rem;
  background-color: #db2777;
  color: #ffffff;
  border: none;
  border-radius: max(1rem, 1.5vw);
  cursor: pointer;
}
#gallery-wrapper #gallery-btn:hover {
  background-color: #bd1360;
}
#gallery-wrapper #gallery-btn[disabled] {
  cursor: not-allowed;
  background-color: #aaaaaa;
}
#gallery-wrapper #gallery-btn span.material-symbols-outlined {
  color: rgba(255, 255, 255, 0.75);
  font-size: 200%;
}
#gallery-wrapper #gallery-btn span.btn-text {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
#gallery-wrapper #gallery-btn span.btn-text abbr {
  font-size: 50%;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 0.25vw 1.5vw;
}

#back-btn {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
  font-size: calc(1rem + 1vw);
  padding: 1rem 2rem;
  background-color: #0d3a6b;
  color: #ffffff;
  border: none;
  border-radius: max(1rem, 1.5vw);
  cursor: pointer;
}
#back-btn span.material-symbols-outlined {
  color: rgba(255, 255, 255, 0.75);
  font-size: 200%;
}
#back-btn span.btn-text {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

#gallery {
  padding: 2vw;
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /*
  grid-auto-rows: 50px;
  grid-auto-flow: dense;
  */
  gap: 1vw;
}
#gallery .gallery-item-wrapper {
  position: relative;
  background-color: #F0F0F0;
  aspect-ratio: 1/1;
  cursor: pointer;
}
#gallery .gallery-item-wrapper::before, #gallery .gallery-item-wrapper::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 0px;
  top: 0px;
  left: 0;
  bottom: 0;
  opacity: 0;
  transition: all 1s ease;
}
#gallery .gallery-item-wrapper.loading {
  pointer-events: none;
}
#gallery .gallery-item-wrapper.loading::before {
  background: #FFFFFF;
  opacity: 0.85;
  z-index: 1;
}
#gallery .gallery-item-wrapper.loading::after {
  height: 4px;
  z-index: 2;
  opacity: 1;
  background: linear-gradient(90deg, #4caf50, #81c784);
  animation: loadingBar 2s infinite;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
}
@keyframes loadingBar {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
#gallery .gallery-item-wrapper .gallery-item {
  display: flex;
  aspect-ratio: 1/1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
#gallery .gallery-item-wrapper .gallery-item.gallery-zip, #gallery .gallery-item-wrapper .gallery-item.gallery-video {
  padding: 20%;
}

#load-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
#load-wrapper #load-btn {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
  font-size: calc(1rem + 1vw);
  padding: 1rem 4rem;
  background-color: #db2777;
  color: #ffffff;
  border: none;
  border-radius: max(1rem, 1.5vw);
  cursor: pointer;
}
#load-wrapper #load-btn:hover {
  background-color: #bd1360;
}
#load-wrapper #load-btn[disabled] {
  cursor: not-allowed;
  background-color: #aaaaaa;
}
#load-wrapper #load-btn span.material-symbols-outlined {
  color: rgba(255, 255, 255, 0.75);
  font-size: 200%;
}
#load-wrapper #load-btn span.btn-text {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
#load-wrapper #load-btn span.btn-text abbr {
  display: inline-block;
  font-size: 50%;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 0.25vw 1.5vw;
}

#popup-overlay {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: all 0.5s ease;
}
#popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}
#popup-overlay #popup-content {
  background-color: #ffffff;
  padding: 2rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  transition: all 0.3s ease;
}
#popup-overlay #popup-content h2 {
  font-size: 150%;
  color: #124388;
  margin-bottom: 1rem;
}
#popup-overlay #popup-content p {
  font-size: 100%;
  color: #333333;
  margin-bottom: 1rem;
}
#popup-overlay #popup-content button.close-btn {
  background-color: #db2777;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: max(1rem, 1.5vw);
  cursor: pointer;
}
#popup-overlay #popup-content button.close-btn:hover {
  background-color: #bd1360;
}
#popup-overlay .buttons {
  z-index: 10;
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding: 4vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2vw;
}
#popup-overlay .buttons button {
  transition: all 0.3s ease;
}
#popup-overlay .buttons button span.material-symbols-outlined {
  transition: all 0.3s ease;
  background-color: #db2777;
  padding: 1rem;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 200%;
}
#popup-overlay .buttons button[disabled] {
  pointer-events: none;
  cursor: not-allowed;
}
#popup-overlay .buttons button[disabled] span.material-symbols-outlined {
  opacity: 0.5;
  background-color: #aaaaaa;
}
#popup-overlay .buttons button:hover span.material-symbols-outlined {
  background-color: #bd1360;
}
#popup-overlay .buttons button.close-btn {
  background-color: #db2777;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: max(1rem, 1.5vw);
  cursor: pointer;
}
#popup-overlay .buttons button.close-btn:hover {
  background-color: #bd1360;
}
#popup-overlay .buttons button:first-child span.material-symbols-outlined {
  background-color: #124388;
}/*# sourceMappingURL=main.css.map */