@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500&amp;display=swap");
html {
  height: calc(var(--vh, 1vh) * 100);
}
body {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0;
  margin: 0;
  text-align: center;
  overscroll-behavior: none;
  height: calc(var(--vh, 1vh) * 100);
}
a {
  text-decoration: none;
  color: black;
  -webkit-tap-highlight-color: transparent;
}
nav {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: black;
}
nav a {
  font-size: calc(var(--vh, 1vh) * 4);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: calc(var(--vh, 1vh) * 0.5);
  color: white;
}
h1,
h2,
h3,
h4,
h5 {
  padding: 5px;
  margin: 0;
}
h1 {
  font-size: 50px;
}
section {
  padding-top: 3em;
}
.carousel {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  overflow-x: auto;

  background: rgba(0, 0, 0, 1);
  color: black;
  transition: height 1s ease-in-out, background-color 1s ease-in-out,
    color 1s ease-in-out;
}
.carousel:hover {
  color: white;
  background: rgba(255, 255, 255, 1);
}
.carouselItems {
  display: flex;

  width: fit-content;
  flex-direction: row;
  flex: 1 0 auto;
  justify-content: center;
  gap: 10px;
}
.carousel img {
  padding: 1em;
  height: 40vh;
  transition: height 1s ease-in-out, max-height 1s ease-in-out;
}
.carousel img:hover {
  height: 85vh;
}

.imgWrap {
  display: flex;
  flex-direction: column;
}
.featureSection {
  position: relative;
  display: grid;
  top: 6vh;
  top: calc(var(--vh, 1vh) * 6);
  height: 94vh;
  height: calc(var(--vh, 1vh) * 94);
  grid-template-columns: auto auto;
  background: transparent;
  overflow: hidden;
}
.featureBackground {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("./pictures/jarous4aa3.gif?v=1677095548682");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: auto 35vh;
  -o-background-size: auto 35vh;
  -moz-background-size: auto 35vh;
  -webkit-background-size: auto 35vh;
}
.featureBackgroundStatic {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("./pictures/jarous4aa3.gif?v=1677095548682");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: auto 35vh;
  -o-background-size: auto 35vh;
  -moz-background-size: auto 35vh;
  -webkit-background-size: auto 35vh;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}
.gridItem {
  z-index: -5;
  display: table-cell;
  background: rgba(0, 0, 0, 0.1);
}
.flexContainer {
  height: calc(var(--vh, 1vh) * 47);
  display: flex;
  align-items: center;
  justify-content: center;
}
#front {
  z-index: 10;
  position: fixed;
  top: calc(var(--vh, 1vh) * 6);
  left: 0;
  right: 50vw;
  bottom: calc(var(--vh, 1vh) * 53);
  background-color: transparent;
}
#front1 {
  z-index: 10;
  position: fixed;
  top: calc(var(--vh, 1vh) * 6);
  left: 50vw;
  right: 0vw;
  bottom: calc(var(--vh, 1vh) * 53);
  background-color: transparent;
}
#front2 {
  z-index: 10;
  position: fixed;
  top: calc(var(--vh, 1vh) * 53);
  left: 0;
  right: 50vw;
  bottom: calc(var(--vh, 1vh) * 0);
  background-color: transparent;
}
#front3 {
  z-index: 10;
  position: fixed;
  top: calc(var(--vh, 1vh) * 53);
  left: 50vw;
  right: 0vw;
  bottom: calc(var(--vh, 1vh) * 0);
  background-color: transparent;
}
.flexContainer .front .topLeft {
  top: 0;
  left: 0;
  bottom: 50;
  right: 50;
}
.gridItem h1 {
  writing-mode: vertical-rl;
  text-orientation: upright;
}
#end {
  position: absolute;
  width: 0;
  height: 0;
  top: calc(var(--vh, 1vh) * 100);
}
.sochyFeature {
  background-color: rgba(165, 169, 153, 0.7);
}
.vrbaFeature {
  background-color: rgba(165, 169, 153, 0.7);
}
.kontaktFeature {
  z-index: 10;
  position: absolute;
  top: 20vh;
  left: 40vw;
  right: 40vw;
  bottom: 20vh;
  background-color: transparent;
}
.sochySection {
}
.sochyFeature:focus ~ .featureBackground {
  background-image: url("./pictures/sochy31f9.gif?v=1676145213225");
}
.výstavyFeature:focus ~ .featureBackground {
  background-image: url("./pictures/v%c3%bdstavy6f8a.gif?v=1676145584662");
}
.grafikaFeature:focus ~ .featureBackground {
  background-image: url("./pictures/grafikac36f.gif?v=1676145703680");
}
.vrbaFeature:focus ~ .featureBackground {
  background-image: url("./pictures/vrbae332.gif?v=1676145824971");
}
.kontaktFeature:focus ~ .featureBackground {
  background-image: url("./pictures/kontakt79af.gif?v=1676145975282");
}
.sochyFeature:focus ~ .featureBackgroundStatic {
  opacity: 0;
}
.výstavyFeature:focus ~ .featureBackgroundStatic {
  opacity: 0;
}
.grafikaFeature:focus ~ .featureBackgroundStatic {
  opacity: 0;
}
.vrbaFeature:focus ~ .featureBackgroundStatic {
  opacity: 0;
}
.kontaktFeature:focus ~ .featureBackgroundStatic {
  opacity: 0;
}
.bottomTextBoxWrap {
  padding: 1em;
  display: flex;
  justify-content: center;
}
.bottomTextBox {
  padding: 1em 0;
  background: rgba(0, 0, 0, 1);

  color: white;
  width: 100vw;
}
.bottomTextBox a {
  color: white;
}
.výstavySection a {
  align-content: center;
}
.výstavySection .imgWrap img {
  height: auto;
  width: 45vw;
  margin: auto;
}

.1img {
  margin-left: 30vw;
}
.2img {
  margin-left: 30vw;
}
.3img {
  margin-left: 30vw;
}
.4img {
  margin-left: 30vw;
}
.5img {
  margin-left: 30vw;
}
/*pc*/
@media only screen and (min-width: 700px) {
  nav a {
    flex-direction: row;
  }
  .gridItem h1 {
    writing-mode: unset;
  }
}
