::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 30px;
}

::-webkit-scrollbar-button {
  display: none;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --lightGreen: #4d863f;
  --darkGreen: #587751;
  --gray: #ababaa;
  --yellow: #d3cd00;
  --white: #ffffff;
  --opacity: #4d863f07;
}

:root {
  --step--2: clamp(0.78rem, calc(0.78rem + 0.02vw), 0.8rem);
  --step--1: clamp(0.94rem, calc(0.93rem + 0.06vw), 1rem);
  --step-0: clamp(1.13rem, calc(1.1rem + 0.13vw), 1.25rem);
  --step-1: clamp(1.35rem, calc(1.31rem + 0.21vw), 1.56rem);
  --step-2: clamp(1.62rem, calc(1.55rem + 0.33vw), 1.95rem);
  --step-3: clamp(1.94rem, calc(1.84rem + 0.5vw), 2.44rem);
  --step-4: clamp(2.33rem, calc(2.19rem + 0.72vw), 3.05rem);
  --step-5: clamp(2.8rem, calc(2.6rem + 1.02vw), 3.82rem);
}

:root {
  --space-3xs: clamp(0.31rem, calc(0.31rem + 0vw), 0.31rem);
  --space-2xs: clamp(0.56rem, calc(0.55rem + 0.06vw), 0.63rem);
  --space-xs: clamp(0.88rem, calc(0.86rem + 0.06vw), 0.94rem);
  --space-s: clamp(1.13rem, calc(1.1rem + 0.13vw), 1.25rem);
  --space-m: clamp(1.69rem, calc(1.65rem + 0.19vw), 1.88rem);
  --space-l: clamp(2.25rem, calc(2.2rem + 0.25vw), 2.5rem);
  --space-xl: clamp(3.38rem, calc(3.3rem + 0.38vw), 3.75rem);
  --space-2xl: clamp(4.5rem, calc(4.4rem + 0.5vw), 5rem);
  --space-3xl: clamp(6.75rem, calc(6.6rem + 0.75vw), 7.5rem);
}

@font-face {
  font-family: Comfortaa;
  src: url(/font/Comfortaa-Bold.ttf);
  font-weight: bold;
}

@font-face {
  font-family: Comfortaa;
  src: url(/font/Comfortaa-Regular.ttf);
  font-weight: normal;
}

body {
  position: relative;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  background-image: url(/img/PNG/backNoice.png);
  background-color: #ababaa;
}

.none {
  display: none;
}

h1 {
  position: relative;
  display: inline-block;
  font-family: "Comfortaa";
  font-weight: bold;
  font-size: var(--step-1);
  white-space: nowrap;
  text-align: center;
  color: black;
  background-color: var(--yellow);
  width: 100%;
  padding: var(--space-m);
  margin-bottom: var(--space-2xs);
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  grid-column: 1/2;
  grid-row: 1/3;
}

h2 {
  position: relative;
  display: inline-block;
  font-family: "Comfortaa";
  font-weight: bold;
  font-size: var(--step--1);
  white-space: nowrap;
  text-align: center;
  color: black;
  padding: var(--space-s);
}

p {
  z-index: 1;
  position: relative;
  font-family: "Comfortaa";
  font-weight: normal;
  color: var(--yellow);
  font-size: var(--step--1);
  line-height: var(--space-m);
  text-align: center;
}

a {
  color: var(--yellow);
  text-decoration: none;
}

ul li {
  font-family: "Comfortaa";
  font-weight: bold;
  cursor: pointer;
  margin: 5px;
  list-style-type: none;
}

ul li a {
  color: var(--yellow);
  text-decoration: none;
  font-size: var(--step--2);
}

.left {
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-family: Comfortaa;
}

.via{
  color: var(--white);
  font-size: var(--step--2);
}

#backMotiv {
  z-index: 0;
  background-image: url(/img/SVG/cesta.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: 0px;
  width: 100%;
  opacity: 0.3;
  grid-column: 1/2;
  grid-row: 1/3;
}

#backMotiv2 {
  position: absolute;
  opacity: 0.3;
  grid-column: 1/2;
  top: 400dvh;
  grid-row: 3;
}

.button {
  z-index: 99;
}


#closevice {
  bottom: 10px;
  left: 45vw;
  background-image: url(/img/SVG/close.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: fixed;
  z-index: 1001;
  width: max(15%, 50px);
  height: max(15%, 50px);
  cursor: pointer;
}

.registrace {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-column: 2/3;
  grid-row: 1/3;
  width: 100%;
  height: auto;
  padding-left: 10%;
  overflow: hidden;
  z-index: 10;
}

.formular {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
}

.registrujte {
  color: var(--yellow);
  font-size: var(--step-2);
  width: 100%;
  padding-top: min(10px, 2%);
  padding-bottom: min(10px, 2%);
}

input {
  border-radius: 10px;
  border: 2px solid var(--yellow);
  width: 100%;
  height: var(--space-xl);
  background-color: var(--opacity);
  text-align: center;
  color: whitesmoke;
}

.odeslat {
  color: black;
  cursor: pointer;
  font-size: var(--step--1);
  background-color: var(--yellow);
}

.odeslat:hover {
  background-color: black;
  color: var(--yellow);
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: rgba(245, 245, 245, 0.564);
  text-align: center;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: rgba(245, 245, 245, 0.564);
  text-align: center;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: rgba(245, 245, 245, 0.564);
  text-align: center;
}

@media only screen and (min-width: 0px) and (max-width: 450px) and (orientation: portrait) {
  main {
    min-height: 100%;
  }

  nav {
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    height: 15vh;
    width: 100%;
    top: 0px;
  }

  .navItem {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--lightGreen);
    position: fixed;
    height: max(80px, 15vh);
    width: 90%;
    padding: 0% 2% 2% 2%;
    top: 0px;
    border-radius: 0px 0px 20px 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .navItemChange {
    display: flex;
    top: 0px;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    height: 50%;
    width: 90%;
  }

  .navItem img {
    background-color: var(--lightGreen);
    height: 100%;
  }

  .habmurger {
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    right: 10%;
    width: 55px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
  }

  .line {
    width: 100%;
    height: 4px;
    border-radius: 60px;
    background-color: var(--yellow);
    transition: all 0.8s;
  }

  .lineDist {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-around;
  }

  .line:nth-child(1) {
    width: 25px;
  }

  .line:nth-child(2) {
    width: 25px;
  }

  .line:nth-child(3) {
    width: 25px;
  }

  .line:nth-child(4) {
    width: 25px;
  }

  .line:nth-child(5) {
    width: 25px;
  }

  .line:nth-child(6) {
    width: 25px;
  }

  .lineMove {
    transform: translateX(-3px);
  }

  .change .line-1 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-2 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-3 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-4 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  .change .line-5 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  .change .line-6 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  ul li {
    font-family: "Comfortaa";
    font-weight: bold;
    cursor: pointer;
    margin: 5px;
    list-style-type: none;
  }

  #welcome {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 15vh auto 15vh;
    overflow: hidden;
  }

  #poster {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 15vh auto 15vh;
    overflow: hidden;
  }

  #map {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 15vh 100lvh 15vh;
    overflow: hidden;
  }

  #list {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #foto {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 15vh 100lvh 15vh;
  }

  #footer {
    height: 150lvh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.15fr 1fr 0.15fr 0.15fr;
  }

  .back {
    grid-column: 1/2;
    grid-row: 1/3;
    padding: 5%;
    border-radius: 0px 0px 0px 40px;
    background: rgb(77, 134, 63);
    background: -moz-linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    background: -webkit-linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    background: linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4d863f", endColorstr="#587751", GradientType=1);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back2 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 0px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back3 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 0px 40px 0px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back4 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 0px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    overflow: hidden;
  }

  .back5 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 0px 40px 0px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back6 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .next {
    z-index: 98;
    grid-column: 1/2;
    grid-row: 3/4;
    height: 100%;
  }

  .next img {
    z-index: 99;
    height: 100%;
  }

  .corner {
    background-image: url(/img/SVG/corner.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    height: 100%;
    width: 100%;
    transform: translateY(-2px);
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .corner2 {
    background-image: url(/img/SVG/corner2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    height: 100%;
    width: 100%;
    transform: translateY(2px);
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .corner3 {
    background-image: url(/img/SVG/corner3.svg);
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
    transform: translateY(-2px);
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .corner4 {
    background-image: url(/img/SVG/corner4.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(2px);
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .contetntWelcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    border-radius: 0px 0px 40px 40px;
    background: var(--lightGreen);
    padding: var(--space-m);
    padding-top: min(27%, 30vh);
    overflow: hidden;
  }

  #motiv1 {
    display: none;
  }

  #closevice {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    bottom: 0px;
    left: 43%;
  }

  #backMotiv {
    background-size: contain;
  }

  .registrace {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    z-index: 10;
    padding-left: 0px;
  }

  .registrujte {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: var(--yellow);
    font-size: var(--step-1);
    width: 100%;
    height: min(30%, 10vh);
  }

  .formular {
    width: 100%;
  }

  input {
    width: 100%;
    min-height: auto;
    margin-block: clamp(1%, 3%, 5%);
  }

  .contetntPoster {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 1/2;
    grid-row: 2/3;
    min-height: 100%;
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
    overflow: hidden;
  }
  .back2 img{
    width: 100%;
    height: auto;
    margin-top: clamp(10%,15%,20%);
  }
  .contetntMap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    grid-column: 1/2;
    grid-row: 2/3;
    height: 100%;
    width: 100%;
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
    overflow: hidden;
  }

  .maps {
    background-color: var(--white);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
    border-radius: 20px;
    height: 20vh;
    width: 90vw;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer;
  }

  .maps img {
    height: 30%;
  }

  .contetList {
    grid-column: 1/2;
    grid-row: 2/3;
    height: 100%;
    width: 95%;
    display: flex;
    overflow: scroll;
  }

  table {
    font-family: "Comfortaa";
    border-collapse: collapse;
    color: var(--yellow);
    width: 100%;
  }

  td,
  th {
    text-align: left;
    padding: 8px;
  }

  tr:nth-child(even) {
    background-color: var(--gray);
  }

  .contetntFoto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    grid-column: 1/2;
    grid-row: 2/3;
    height: 100%;
    width: 100%;
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
  }

  .swiper-button-prev,
  .swiper-button-next {
    color: var(--yellow);
  }

  .swiper {
    background-color: white;
    border-radius: 20px 20px 20px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 90vw;
    height: 30vh;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #motiv1 {
    display: none;
  }

  .contetntFooter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    font-family: Comfortaa;
    width: 100%;
    height: 100%;
    padding: 0%;
  }

  .contetntFooter a {
    z-index: 98;
    font-size: var(--step--2);
    color: var(--yellow);
  }

  #logoOkolo {
    max-width: 50%;
  }

  .footerCMV {
    overflow: scroll;
  }

  .footerKontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

@media only screen and (min-width: 0px) and (max-width: 950px) and (orientation: landscape) {
  main {
    min-height: 100%;
  }

  nav {
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    height: 15%;
    width: 100vw;
  }

  .navItem {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--lightGreen);
    position: fixed;
    height: 15%;
    width: 90%;
    padding: 2%;
    border-radius: 0px 0px 20px 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .navItemChange {
    display: flex;
    top: 0px;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    height: 85%;
    width: 90%;
  }

  .navItem img {
    background-color: var(--lightGreen);
    max-height: 100%;
  }

  .habmurger {
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    right: 10%;
    width: 55px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
  }

  .line {
    width: 100%;
    height: 4px;
    border-radius: 60px;
    background-color: var(--yellow);
    transition: all 0.8s;
  }

  .lineDist {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-around;
  }

  .line:nth-child(1) {
    width: 25px;
  }

  .line:nth-child(2) {
    width: 25px;
  }

  .line:nth-child(3) {
    width: 25px;
  }

  .line:nth-child(4) {
    width: 25px;
  }

  .line:nth-child(5) {
    width: 25px;
  }

  .line:nth-child(6) {
    width: 25px;
  }

  .lineMove {
    transform: translateX(-3px);
  }

  .change .line-1 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-2 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-3 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-4 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  .change .line-5 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  .change .line-6 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  ul li {
    font-family: "Comfortaa";
    font-weight: bold;
    cursor: pointer;
    margin: 5px;
    list-style-type: none;
  }

  .next {
    display: none;
  }

  #welcome {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh auto 15vh;
    overflow: hidden;
  }

  .center {
    display: none;
  }

  #poster {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh auto 15vh;
    overflow: hidden;
  }

  #map {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #list {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #foto {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #footer {
    height: 100lvh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    width: 100vw;
  }

  .back {
    grid-column: 1/3;
    grid-row: 1/3;
    padding: 2%;
    border-radius: 0px 0px 0px 40px;
    background: rgb(77, 134, 63);
    background: -moz-linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    background: -webkit-linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    background: linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4d863f", endColorstr="#587751", GradientType=1);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back2 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 0px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back3 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 0px 40px 0px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back4 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 0px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    overflow: hidden;
  }

  .back5 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 0px 40px 0px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back6 {
    grid-column: 1/3;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .contetntWelcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    padding: 10% 3% 3% 3%;
    border-radius: 0px 0px 40px 40px;
    background: var(--lightGreen);
    overflow: hidden;
  }

  .welLeft {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 10%;
  }

  .registrujte {
    color: var(--yellow);
    font-size: var(--step--2);
    width: max(25vw);
    padding-top: min(10px, 2%);
    padding-bottom: min(10px, 2%);
  }

  #pcGridH1 {
    position: relative;
    grid-column: 1/2;
    grid-row: 1/2;
  }

  #pcGridP {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    grid-column: 1/2;
    grid-row: 2/3;
  }

  #closevice {
    bottom: 50%;
    left: 80%;
  }

  .contetntPoster {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 1/2;
    grid-row: 2/3;
    height: 100%;
    padding: 0%;
    overflow: hidden;
  }

  .contetntMap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    grid-column: 1/2;
    grid-row: 2/4;
    height: 100%;
    width: 100%;
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
    overflow: hidden;
  }

  .maps {
    background-color: var(--white);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
    border-radius: 20px;
    height: 30vh;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer;
    z-index: 100;
  }

  .maps img {
    height: 30%;
  }

  .contetList {
    grid-column: 1/2;
    grid-row: 2/4;
    height: 100%;
    width: 100%;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  table {
    font-family: "Comfortaa";
    border-collapse: collapse;
    color: var(--yellow);
    width: 90vw;
  }

  td,
  th {
    text-align: left;
    padding: 8px;
  }

  tr:nth-child(even) {
    background-color: var(--gray);
  }

  .contetntFoto {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    width: 100%;
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
  }

  .contetntFooter {
    display: flex;
    flex-direction: row !important;
    font-family: Comfortaa;
    grid-column: 1/2;
    width: 100%;
    height: 100%;
    padding: 0%;
  }

  .contetntFooter a {
    z-index: 98;
    font-size: var(--step--2);
    color: var(--yellow);
  }

  #logoOkolo {
    max-width: 50%;
  }

  .footerCMV {
    overflow: scroll;
  }

  .footerKontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .corner {
    background-image: url(/img/SVG/corner.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    height: 100%;
    width: 100%;
    transform: translateY(-2px);
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .corner2 {
    background-image: url(/img/SVG/corner2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    height: 100%;
    width: 100%;
    transform: translateY(2px);
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .corner3 {
    background-image: url(/img/SVG/corner3.svg);
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
    transform: translateY(-2px);
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .corner4 {
    background-image: url(/img/SVG/corner4.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(2px);
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .swiper-button-prev,
  .swiper-button-next {
    color: var(--yellow);
  }

  .swiper {
    background-color: white;
    border-radius: 20px 20px 20px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 40vw;
    height: 30vh;
    margin: 0px;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #motiv1 {
    display: none;
  }

  .contetntFooter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Comfortaa;
    padding: 0%;
    z-index: 98;
  }

  .contetntFooter a {
    z-index: 98;
    font-size: var(--step--2);
    color: var(--yellow);
  }
}

@media only screen and (min-width: 451px) and (max-width: 850px) and (orientation: portrait) {
  nav {
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    height: 15%;
    width: 100vw;
  }

  .navItem {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--lightGreen);
    position: fixed;
    height: 15%;
    width: 90%;
    padding: 2%;
    border-radius: 0px 0px 20px 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .navItemChange {
    display: flex;
    top: 0px;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    height: 50%;
    width: 90%;
  }

  .navItem img {
    background-color: var(--lightGreen);
    height: 90px;
  }

  .habmurger {
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    right: 10%;
    width: 55px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
  }

  .line {
    width: 100%;
    height: 4px;
    border-radius: 60px;
    background-color: var(--yellow);
    transition: all 0.8s;
  }

  .lineDist {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-around;
  }

  .line:nth-child(1) {
    width: 25px;
  }

  .line:nth-child(2) {
    width: 25px;
  }

  .line:nth-child(3) {
    width: 25px;
  }

  .line:nth-child(4) {
    width: 25px;
  }

  .line:nth-child(5) {
    width: 25px;
  }

  .line:nth-child(6) {
    width: 25px;
  }

  .lineMove {
    transform: translateX(-3px);
  }

  .change .line-1 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-2 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-3 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-4 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  .change .line-5 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  .change .line-6 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  ul li {
    font-family: "Comfortaa";
    font-weight: bold;
    cursor: pointer;
    margin: 5px;
    list-style-type: none;
  }

  .next {
    z-index: 98;
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .next img {
    z-index: 99;
    height: 100%;
  }

  #welcome {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh auto 15vh;
    overflow: hidden;
  }

  #poster {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh auto 15vh;
    overflow: hidden;
  }

  #map {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #list {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #foto {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #footer {
    height: 150lvh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.15fr 1fr 0.15fr 0.15fr;
  }

  .back {
    grid-column: 1/2;
    grid-row: 1/3;
    border-radius: 0px 0px 0px 40px;
    background: rgb(77, 134, 63);
    background: -moz-linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    background: -webkit-linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    background: linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4d863f", endColorstr="#587751", GradientType=1);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back2 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 0px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back3 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 0px 40px 0px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back4 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 0px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    overflow: hidden;
  }

  .back5 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 0px 40px 0px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back6 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .contetntWelcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 90%;
    margin: 5%;
    border-radius: 0px 0px 40px 40px;
    background: var(--lightGreen);
    padding: 25% 10% 0% 10%;
    overflow: hidden;
  }

  .registrace {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    z-index: 10;
    padding-left: 0px;
  }

  .registrujte {
    color: var(--yellow);
    font-size: var(--step-1);
    width: max(70vw);
    padding-top: min(10px, 2%);
    padding-bottom: min(10px, 2%);
  }

  .formular {
    width: 100%;
  }

  input {
    width: max(70vw);
    height: var(--space-xl);
  }

  .contetntPoster {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    padding: 0%;
    overflow: hidden;
  }

  .contetntMap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    width: 100%;
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
    overflow: hidden;
  }

  .maps {
    background-color: var(--white);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
    border-radius: 20px;
    height: 20vh;
    width: 90vw;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer;
  }

  .maps img {
    height: 30%;
  }

  .contetList {
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    width: 100%;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  table {
    font-family: "Comfortaa";
    border-collapse: collapse;
    color: var(--yellow);
    width: 100%;
  }

  td,
  th {
    text-align: left;
    padding: 8px;
    font-size: 3vw;
  }

  tr:nth-child(even) {
    background-color: var(--gray);
  }

  .contetntFoto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    width: 100%;
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
  }

  .corner {
    background-image: url(/img/SVG/corner.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    height: 100%;
    width: 100%;
    transform: translateY(-2px);
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .corner2 {
    background-image: url(/img/SVG/corner2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    height: 100%;
    width: 100%;
    transform: translateY(2px);
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .corner3 {
    background-image: url(/img/SVG/corner3.svg);
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
    transform: translateY(-2px);
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .corner4 {
    background-image: url(/img/SVG/corner4.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(2px);
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .swiper-button-prev,
  .swiper-button-next {
    color: var(--yellow);
  }

  .swiper {
    background-color: white;
    border-radius: 20px 20px 20px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 90vw;
    height: 30vh;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #motiv1 {
    display: none;
  }

  .contetntFooter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    font-family: Comfortaa;
    width: 100%;
    height: 100%;
    padding: 0%;
  }

  .contetntFooter a {
    z-index: 98;
    font-size: var(--step--2);
    color: var(--yellow);
  }

  #logoOkolo {
    max-width: 50%;
  }

  .footerCMV {
    overflow: scroll;
  }

  .footerKontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

@media only screen and (min-width: 951px) and (max-width: 1270px) and (orientation: landscape) {
  nav {
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    height: 15%;
    width: 100vw;
  }

  .navItem {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--lightGreen);
    position: fixed;
    height: 15%;
    width: 90%;
    padding: 2%;
    border-radius: 0px 0px 20px 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .navItemChange {
    display: flex;
    top: 0px;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    height: 85%;
    width: 90%;
  }

  .navItem img {
    background-color: var(--lightGreen);
    max-height: 45px;
  }

  .habmurger {
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    right: 10%;
    width: 55px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
  }

  .line {
    width: 100%;
    height: 4px;
    border-radius: 60px;
    background-color: var(--yellow);
    transition: all 0.8s;
  }

  .lineDist {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-around;
  }

  .line:nth-child(1) {
    width: 25px;
  }

  .line:nth-child(2) {
    width: 25px;
  }

  .line:nth-child(3) {
    width: 25px;
  }

  .line:nth-child(4) {
    width: 25px;
  }

  .line:nth-child(5) {
    width: 25px;
  }

  .line:nth-child(6) {
    width: 25px;
  }

  .lineMove {
    transform: translateX(-3px);
  }

  .change .line-1 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-2 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-3 {
    position: relative;
    height: 6px;
    transform: rotateZ(-30deg);
  }

  .change .line-4 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  .change .line-5 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  .change .line-6 {
    position: relative;
    height: 6px;
    transform: rotateZ(30deg);
  }

  ul li {
    font-family: "Comfortaa";
    font-weight: bold;
    cursor: pointer;
    margin: 5px;
    list-style-type: none;
  }

  .next {
    z-index: 98;
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .next img {
    z-index: 99;
    height: 100%;
  }

  #welcome {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh auto 15vh;
    overflow: hidden;
  }

  #poster {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh auto 15vh;
    overflow: hidden;
  }

  #map {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #list {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #foto {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #footer {
    height: 100lvh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.15fr 1fr 0.15fr 0.15fr;
    width: 100vw;
  }
  .ahref{
    grid-column: 1/2;
    grid-row: 4/5;
  }
  .back {
    grid-column: 1/2;
    grid-row: 1/3;
    border-radius: 0px 0px 0px 40px;
    background: rgb(77, 134, 63);
    background: -moz-linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    background: -webkit-linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    background: linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4d863f", endColorstr="#587751", GradientType=1);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back2 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 0px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back3 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 0px 40px 0px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back4 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 0px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    overflow: hidden;
  }

  .back5 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 0px 40px 0px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back6 {
    grid-column: 1/3;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .contetntWelcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    padding: 20% 3% 3% 3%;
    border-radius: 0px 0px 40px 40px;
    background: var(--lightGreen);
    overflow: hidden;
  }

  .welLeft {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 10%;
  }

  .registrujte {
    color: var(--yellow);
    font-size: var(--step--2);
    width: max(25vw);
    padding-top: min(10px, 2%);
    padding-bottom: min(10px, 2%);
  }

  #pcGridH1 {
    position: relative;
    grid-column: 1/2;
    grid-row: 1/2;
  }

  #pcGridP {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    grid-column: 1/2;
    grid-row: 2/3;
  }

  #closevice {
    bottom: 50%;
    left: 80%;
  }

  .contetntPoster {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    padding: 0%;
    overflow: hidden;
  }
  .contetntPoster img{
    width: 40lvw;
    flex: 1;
  }
  .contetntPoster :nth-child(3){
    flex: 1 1 100%;
    margin-top: min(5%,20px);
  }

  .contetntMap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    width: 100%;
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
    overflow: hidden;
  }

  .maps {
    background-color: var(--white);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
    border-radius: 20px;
    height: 30vh;
    min-width: 35vw;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer;
  }

  .maps img {
    height: 30%;
  }

  .contetList {
    grid-row: 1/3;
    height: 100%;
    width: 100%;
    overflow: scroll;
    display: flex;
  }

  table {
    font-family: "Comfortaa";
    border-collapse: collapse;
    color: var(--yellow);
    width: 100%;
  }

  td,
  th {
    text-align: left;
    padding: 8px;
  }

  tr:nth-child(even) {
    background-color: var(--gray);
  }

  .contetntFoto {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    width: 100%;
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
  }

  .contetntFooter {
    display: flex;
    flex-direction: row !important;
    font-family: Comfortaa;
    grid-column: 1/2;
    width: 100%;
    height: 100%;
    padding: 0%;
  }

  .contetntFooter a {
    z-index: 98;
    font-size: var(--step--2);
    color: var(--yellow);
  }

  #logoOkolo {
    max-width: 50%;
  }

  .footerCMV {
    overflow: scroll;
  }

  .footerKontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .corner {
    background-image: url(/img/SVG/corner.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    height: 100%;
    width: 100%;
    transform: translateY(-2px);
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .corner2 {
    background-image: url(/img/SVG/corner2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    height: 100%;
    width: 100%;
    transform: translateY(2px);
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .corner3 {
    background-image: url(/img/SVG/corner3.svg);
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
    transform: translateY(-2px);
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .corner4 {
    background-image: url(/img/SVG/corner4.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(2px);
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .swiper-button-prev,
  .swiper-button-next {
    color: var(--yellow);
  }

  .swiper {
    background-color: white;
    border-radius: 20px 20px 20px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 40vw;
    height: 30vh;
    margin: 0px;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #motiv1 {
    display: none;
  }

  .contetntFooter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: Comfortaa;
    padding: 0%;
    z-index: 98;
  }

  .contetntFooter a {
    z-index: 98;
    font-size: var(--step--2);
    color: var(--yellow);
  }
}

@media only screen and (min-width: 1271px) and (max-width: 1920px) {
  nav {
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    height: 15%;
    width: 100vw;
  }

  .navItem {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--lightGreen);
    position: fixed;
    height: 15%;
    width: 90%;
    padding: 2%;
    border-radius: 0px 0px 20px 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .navItem img {
    background-color: var(--lightGreen);
    max-height: 70px;
  }

  .navPolozky {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 80%;
  }

  .next {
    z-index: 98;
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .next img {
    z-index: 99;
    height: 100%;
  }

  #welcome {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.15fr 1fr 0.15fr;
    overflow: hidden;
    background-repeat: repeat;
    height: 100dvh;
  }

  #poster {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh auto 15vh;
    overflow: hidden;
  }

  #map {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #list {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #foto {
    min-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:15vh 100lvh 15vh;
    overflow: hidden;
  }

  #footer {
    height: 100lvh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.15fr 1fr 0.15fr 0.15fr;
    width: 100vw;
  }
  .ahref{
    grid-column: 1/2;
    grid-row: 4/5;
  }

  .back {
    grid-column: 1/2;
    grid-row: 1/3;
    border-radius: 0px 0px 0px 40px;
    background: rgb(77, 134, 63);
    background: -moz-linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    background: -webkit-linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    background: linear-gradient(
      0deg,
      rgba(77, 134, 63, 1) 0%,
      rgba(88, 119, 81, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4d863f", endColorstr="#587751", GradientType=1);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back2 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 2%;
    border-radius: 40px 0px 40px 0px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back3 {
    grid-column: 1/2;
    grid-row: 2/3;
    border-radius: 0px 40px 0px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back4 {
    grid-column: 1/2;
    grid-row: 2/3;
    border-radius: 40px 0px 40px 0px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    overflow: hidden;
  }

  .back5 {
    grid-column: 1/2;
    grid-row: 2/3;
    border-radius: 0px 40px 0px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .back6 {
    grid-column: 1/3;
    grid-row: 2/3;
    padding: 5%;
    border-radius: 40px 0px 40px 40px;
    background-color: var(--lightGreen);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  h1 {
    position: relative;
    display: inline-block;
    font-family: "Comfortaa";
    font-weight: bold;
    font-size: var(--step-1);
    white-space: nowrap;
    text-align: center;
    color: black;
    background-color: var(--yellow);
    padding: var(--space-m);
    margin-bottom: 0px;
    margin-top: var(--space-l);
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    grid-column: 1/2;
    grid-row: 1/3;
  }

  .contetntWelcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    margin-inline: max(5%, 200px);
    padding-top: min(30%, 20vh);
    padding-bottom: min(30%, 10vh);
    padding-inline: 3%;
    border-radius: 0px 0px 40px 40px;
    background: var(--lightGreen);
    overflow: hidden;
  }

  .welLeft {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 10%;
  }

  #pcGridH1 {
    position: relative;
    grid-column: 1/2;
  }

  #pcGridP {
    position: relative;
    grid-column: 1/2;
  }

  #backMotiv {
    opacity: 0.2;
    background-size: cover;
  }

  #closevice {
    bottom: 50%;
    left: 80%;
    cursor: pointer;
  }

  .registrujte {
    color: var(--yellow);
    font-size: var(--step-2);
    width: 100%;
    padding-top: 0px;
    padding-bottom: min(10px, 2%);
  }

  .odeslat {
    cursor: pointer;
    color: black;
    font-family: comfortaa;
    font-size: var(--step--1);
    font-weight: bolder;
  }

  .odeslat:hover {
    background-color: black;
    color: var(--yellow);
    border: 2px solid black;
  }

  .contetntPoster {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    padding: 0%;
    overflow: hidden;
  }
  .contetntPoster img{
    max-width: 20%;
    flex: 1;
    cursor: zoom-in;
  }
  .contetntPoster :nth-child(3){
    flex: 1 1 100%;
    margin-top: min(5%,20px);
  }

  #plakatbig {
    background-image: url(/img/PNG/plakat2023.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: 50%;
    background-position-y: 50%;
    z-index: 1000;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
  }
  #detailbig {
    background-image: url(/img/PNG/detaily.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: 50%;
    background-position-y: 50%;
    z-index: 1000;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
  }
  #closeplakatbig {
    bottom: 50vh;
    right: 20vw;
    background-image: url(/img/SVG/close.svg);
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    z-index: 1001;
    width: 50px;
    height: 50px;
    cursor: pointer;
  }

  .contetntMap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    margin-inline: max(5%, 200px);
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
    overflow: hidden;
  }

  .maps {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    height: 30vh;
    width: 30vw;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer;
  }

  .maps img {
    height: 30%;
  }

  .contetList {
    grid-row: 1/3;
    height: 100%;
    margin-inline: max(5%, 200px);
    padding-top: 2%;
    padding-bottom: 2%;
    display: flex;
    align-items: center;
  }

  table {
    font-family: "Comfortaa";
    border-collapse: collapse;
    color: var(--yellow);
    width: 100%;
  }

  td,
  th {
    text-align: left;
    padding: 8px;
  }

  tr:nth-child(even) {
    background-color: var(--gray);
  }

  .contetntFoto {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    grid-column: 1/2;
    grid-row: 1/3;
    height: 100%;
    margin-inline: max(5%, 200px);
    border-radius: 0px 0px 40px 40px;
    padding: 0%;
  }

  .corner {
    background-image: url(/img/SVG/corner.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    height: 100%;
    width: 100%;
    transform: translateY(-2px);
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .corner2 {
    background-image: url(/img/SVG/corner2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    height: 100%;
    width: 100%;
    transform: translateY(2px);
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .corner3 {
    background-image: url(/img/SVG/corner3.svg);
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
    transform: translateY(-2px);
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .corner4 {
    background-image: url(/img/SVG/corner4.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(2px);
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .swiper-button-prev,
  .swiper-button-next {
    color: var(--yellow);
  }

  .swiper {
    background-color: white;
    border-radius: 20px 20px 20px 20px;
    width: 30vw;
    height: 30vh;
    margin: 0px;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #motiv1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    grid-column: 2/3;
    grid-row: 1/3;
  }

  .contetntFooter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: Comfortaa;
    padding: 0%;
    z-index: 98;
  }

  .contetntFooter a {
    z-index: 98;
    font-size: var(--step--2);
    color: var(--yellow);
  }
  .footerCMV {
    width: max(50%, 50vw);
  }
}

@media only screen and (min-width: 1921px) {
}
