*,
:after,
:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-image: radial-gradient(var(--light) 2px, transparent 2px),
    radial-gradient(var(--light) 2px, #f7f7f7 2px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

:root {
  --themeColor: #262626;
  --grey: #707070;
  --mid: #d3d3d3;
  --light: #e6e6e6;
}

body {
  font-size: 16px;
  line-height: 1.6;
  width: 100vw;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
button {
  font-family: "Nunito Sans", sans-serif;
  font-weight: bolder;
  color: var(--grey);
}

a,
p,
span,
figcaption,
img {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  color: var(--grey);
}

h1 span {
  font-family: "Nunito Sans", sans-serif;
  opacity: 0.25;
  color: unset;
}

a {
  text-decoration: none;
}

.desktop {
  display: none;
}

.black {
  color: var(--themeColor);
  opacity: 1;
}

.shadow {
  box-shadow: 5px 5px 0px #26262640;
}

header {
  width: calc(100vw - 60px);
  height: calc(100vh - 60px);
  margin: 30px;
  position: relative;
}

#domuUvod {
  /* default je domuUvod */
  display: block;
  transition: 0.15s ease opacity;
}

#infoUvod,
#poptavkaUvod,
#navodUvod,
#referenceUvod,
#kontaktUvod {
  display: none;
  transition: 0.15s ease opacity;
}

#domuObsah {
  /* defaul je domuObsah */
  display: grid;
  transition: 0.15s ease opacity;
}

#infoObsah,
#poptavkaObsah,
#navodObsah,
#referenceObsah,
#kontaktObsah {
  display: none;
  transition: 0.15s ease opacity;
}

.lang {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border: 1px solid var(--themeColor);
  border-radius: 10px;
  overflow: hidden;
  transition: width 0.25s ease-in-out;
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 10;
}

.lang:hover {
  width: 100px;
}

.lang a {
  font-family: "Nunito Sans", sans-serif;
  font-weight: bolder;
  font-size: 1.3rem;
  line-height: 27px;
  padding: 10px 13px;
}

nav {
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border: 1px solid var(--themeColor);
  border-radius: 10px;
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 10;
  overflow: hidden;
  transition: height 0.15s ease-in-out, width 0.25s ease-in-out 0.15s;
}

.navLarger {
  width: 240px;
  height: 330px;
  transition: width 0.15s ease-in-out, height 0.25s ease-in-out 0.15s;
}

.fries {
  width: 50px;
  height: 50px;
  background-color: white;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

.fries span {
  display: block;
  margin-left: 15px;
  margin-top: 6px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--themeColor);
}

#line1 {
  width: 18px;
  margin-left: 19px;
  margin-top: 15px;
  transition: all 0.25s ease-in-out;
}

#line2 {
  transform-origin: center;
  transition: all 0.25s ease-in-out;
}

.line2Rotate {
  transform: rotate(45deg);
  transition: all 0.25s ease-in-out;
}

#line3 {
  transform-origin: center;
  position: absolute;
  top: 17px;
  transition: all 0.25s ease-in-out;
}

.line3Rotate {
  transform: rotate(-45deg);
  transition: all 0.25s ease-in-out;
}

#line4 {
  width: 15px;
  margin-left: 22px;
  transition: all 0.25s ease-in-out;
}

.hide {
  opacity: 0;
  transition: all 0.15s ease-in-out;
}

nav ul {
  margin-top: 50px;
  margin-right: 12px;
  text-align: right;
}

nav li {
  list-style-type: none;
  padding: 4px 0px;
}

nav a {
  font-family: "Nunito Sans", sans-serif;
  color: var(--grey);
  opacity: 0.75;
  padding: 4px 0px;
  cursor: pointer;
}

header article {
  position: absolute;
  top: 47%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
}

header article figure,
header article figure img {
  width: 100%;
}

header article figure {
  margin-bottom: 20px;
}

header article h1 {
  font-size: 2.9rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  line-height: 1.25;
}

header article p {
  font-size: 0.8rem;
  line-height: 2;
}

/* domuUvod */

.smer {
  text-align: center;
  position: absolute;
  bottom: 5%;
  left: 50%;
  -moz-transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  font-size: 0.8rem;
}

.smer div {
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  font-size: 2rem;
  color: var(--themeColor);
  animation: movingArrow 1s ease-in-out infinite alternate;
}

@keyframes movingArrow {
  0% {
    -moz-transform: rotate(90deg) translate(20px, 0);
    -webkit-transform: rotate(90deg) translate(20px, 0);
    -o-transform: rotate(90deg) translate(20px, 0);
    -ms-transform: rotate(90deg) translate(20px, 0);
    transform: rotate(90deg) translate(20px, 0);
  }
  100% {
    -moz-transform: rotate(90deg) translate(0, 0);
    -webkit-transform: rotate(90deg) translate(0, 0);
    -o-transform: rotate(90deg) translate(0, 0);
    -ms-transform: rotate(90deg) translate(0, 0);
    transform: rotate(90deg) translate(0, 0);
  }
}

/* infoUvod filter */

#infoUvod .smer {
  bottom: 20%;
}

.infoFilter {
  position: absolute;
  bottom: 0%;
  width: 100%;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.infoFilter li {
  height: 90px;
  width: 90px;
  background-color: #ffffff;
  border-radius: 10px;
  text-align: center;
  line-height: 90px;
  border: 1px solid var(--grey);
  font-family: "Nunito Sans", sans-serif;
  color: var(--grey);
  font-size: 0.9rem;
  cursor: pointer;
}

.infoFilter .filterSelected {
  color: var(--themeColor);
  border: 1px solid var(--themeColor);
  box-shadow: 5px 5px 0px #26262640;
}

/* kontaktUvod vlevo */

.highlight {
  -webkit-text-stroke: 1.5px var(--themeColor);
  letter-spacing: 0.5px;
}

/* domu obsah */

.mriz {
  width: 100%;
  padding: 30px;
}

.item {
  background-color: #ffffff;
  border: 1px solid var(--grey);
  border-radius: 20px;
  padding: 30px;
  height: 300px;
  position: relative;
  margin: 30px 0;
}

.item article {
  position: absolute;
  bottom: 30px;
  width: calc(100% - 60px);
  z-index: 1;
}

.item h1 {
  font-size: 2rem;
}
.item h2 {
  font-size: 1.2rem;
}
.item p {
  font-size: 0.9rem;
}

.item figure {
  position: absolute;
  top: 30px;
  right: 30px;
  left: 30px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item img {
  max-width: 90%;
  max-height: 150px;
}

/* domu obsah karty 375 */

.twoHoriz {
  height: 375px;
  border: 2px solid var(--themeColor);
}
.twoHoriz p {
  margin: 10px 0;
}
.twoHoriz figure {
  justify-content: space-between;
  width: calc(100% - 60px);
}
.twoHoriz img {
  height: 80px;
}
#sipkaDoprava {
  width: 20px;
  transform: translate(-15px, 0px);
}
button {
  padding: 10px 35px;
  border-radius: 10px;
  background-color: var(--themeColor);
  border: 1px solid var(--themeColor);
  color: #ffffff;
  margin: 0 auto;
  display: block;
}

/* info obsah */

#laserObsah {
  display: grid;
  transition: 0.15s ease opacity;
}

#cenikObsah,
#materialyObsah {
  display: none;
  transition: 0.15s ease opacity;
}

/* laser obsah */

#laserObsah .twoHoriz {
  display: flex;
  padding: 10px;
  height: unset;
  justify-content: center;
}

.parLevy p,
.parPravy p {
  font-size: 0.75rem;
}

.parLevy {
  text-align: right;
  margin-right: 10px;
}

#laserObsah .highlight {
  -webkit-text-stroke: 1.2px;
}

.masina figure {
  top: 10px;
  right: 50px;
}

.masina figure img {
  mix-blend-mode: luminosity;
  height: 150px;
}

.masina button,
.software button {
  background-color: transparent;
  color: var(--grey);
  border: 1px solid var(--grey);
  margin-top: 10px;
}

.masina button img,
.software button img {
  height: 15px;
  width: 15px;
  transform-origin: center;
  -moz-transform: translate(12px, 1px);
  -webkit-transform: translate(12px, 1px);
  -o-transform: translate(12px, 1px);
  -ms-transform: translate(12px, 1px);
  transform: translate(12px, 1px);
}

.twoVert {
  height: 500px;
  position: relative;
  overflow: hidden;
}

#laserGuy::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-image: url("00images/laserovac.jpg");
  background-repeat: no-repeat;
  background-position: 25%;
  background-size: cover;
  filter: grayscale(100%);
}

/* materialy obsah 375 */

.threeVert:first-child {
  border: 2px solid var(--themeColor);
}

.threeVert {
  height: 370px;
}

.dvaSloupce {
  display: flex;
  flex-wrap: wrap;
}

.dvaSloupce div {
  padding: 0px 20px;
}

.dvaSloupce .highlight {
  -webkit-text-stroke: 1px var(--themeColor);
}

/* cenik obsah 375 */

#cenikObsah .shadow {
  border: 2px solid var(--themeColor);
}

.ostatniImg {
  margin-top: 40px;
}

/* poptavka obsah karty 375 */

.threeHoriz {
  height: 870px;
}

#klasik {
  border: 2px solid var(--themeColor);
}

.threeHoriz article {
  position: unset;
  bottom: unset;
  width: 100%;
}

.threeHoriz figure {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 170px;
  width: 100%;
  top: unset;
  right: unset;
  left: unset;
}

.threeHoriz figure img:last-child {
  margin-bottom: 20px;
}

.sipkaDolu {
  width: 20px;
  transform-origin: center;
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  margin-bottom: 20px;
  opacity: 0.25;
}

/* reference 375 */

#referenceObsah .shadow {
  border: 2px solid var(--themeColor);
}

#other img {
  width: 50%;
}

/* kontakt 375 */

.face {
  overflow: hidden;
}

.face figure {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  opacity: 0.4;
}

.face img {
  -moz-transform: translate(60px, 20px);
  -webkit-transform: translate(60px, 20px);
  -o-transform: translate(60px, 20px);
  -ms-transform: translate(60px, 20px);
  transform: translate(60px, 20px);
  max-height: unset;
}

#kontaktObsah .twoHoriz {
  overflow: hidden;
}

#kontaktObsah .twoHoriz figure {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: luminosity;
  justify-content: unset;
  display: block;
}

#kontaktObsah .twoHoriz img {
  height: unset;
  max-height: unset;
  min-width: 100%;
  object-fit: cover;
}

.puun {
  overflow: hidden;
  display: flex;
  align-items: center;
}

.puun figure {
  width: 100%;
  height: 100%;
  display: block;
  transform: translate(-30px, -30px);
}

.budova img {
  filter: grayscale(100%);
  opacity: 0.4;
  height: 100%;
  width: 100%;
  max-width: unset;
  max-height: unset;
  object-fit: cover;
  object-position: center center;
}

.puun article {
  height: calc(100% - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* mobil na šířku */

@media only screen and (min-width: 568px) {
  .shadow {
    box-shadow: 7px 7px 0px #26262640;
  }

  header article p {
    width: 70%;
  }

  .smer {
    bottom: 0;
  }

  #infoUvod .smer {
    right: 0;
    bottom: 120px;
    left: unset;
    -moz-transform: unset;
    -webkit-transform: unset;
    -o-transform: unset;
    -ms-transform: unset;
    transform: unset;
  }

  .infoFilter {
    width: 50%;
    right: 0;
  }

  .mriz {
    width: calc(100% - 30px);
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 30px;
    align-self: center;
  }

  .item {
    order: 3; /* ostatní položky posouvám nakonec */
    margin: 0;
  }

  .item:nth-child(1),
  .item:nth-child(3) {
    order: 1; /* první a třetí položku posouvám na začátek */
  }

  .twoHoriz {
    order: 2; /* tuhle položku posouvám doprostřed */
    grid-column: 1 / -1;
    height: 300px;
  }

  .item p {
    font-size: 0.8rem;
  }

  .twoHoriz figure {
    width: 70%;
    right: 50px;
  }

  .item img,
  .twoHoriz img {
    height: 125px;
  }
  .puun img {
    height: 100%;
  }

  .buttonFlex {
    display: flex;
    align-items: flex-start;
  }

  .buttonFlex p {
    width: 70%;
  }

  button {
    margin-top: 10px;
  }

  /* laser obsah 568 */

  #laserObsah .twoHoriz {
    grid-column: unset;
  }
  #laserObsah .twoVert {
    order: 0;
  }
  .twoVert {
    height: 350px;
  }

  #laserGuy::before {
    background-position: 0%;
  }

  /* kontakt 568 */

  #kontaktObsah .item {
    order: 1; /* všechno přesouvám na začátek */
  }

  #kontaktObsah .item:nth-child(3) {
    order: 3; /* třetí položku posouvám na konec */
  }

  #kontaktObsah .twoHoriz {
    order: 2; /* tuhle položku posouvám doprostřed */
    grid-column: 1 / -1;
  }

  .face img {
    height: auto;
  }
}

/* tablet */

@media only screen and (min-width: 768px) {
  header {
    width: calc(100vw - 60px);
    height: 50vh;
    min-height: 400px;
  }

  header article {
    width: 60%;
  }

  header article p {
    font-size: 1rem;
    width: 100%;
  }

  #infoUvod .smer {
    right: unset;
    left: 50%;
    bottom: 20%;
    -moz-transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
  }

  .infoFilter {
    width: 45%;
    right: unset;
    left: 50%;
    bottom: -7%;
    -moz-transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
  }

  .lang,
  nav {
    width: 70px;
    height: 70px;
    border-radius: 15px;
  }

  nav {
    padding: 10px;
  }

  .lang:hover {
    width: 141px;
  }

  .lang a {
    font-size: 1.75rem;
    line-height: 27px;
    padding: 18px 20px;
  }

  .navLarger {
    width: 260px;
    height: 375px;
  }

  .fries {
    margin: 10px;
    transform-origin: center;
    transform: scale(1.35);
  }

  nav li {
    padding: 6px 0px;
  }

  nav a {
    padding: 6px 0px;
  }

  .threeHoriz {
    height: 830px;
  }

  .parLevy,
  .parPravy {
    line-height: 2.3;
  }

  /* kontakt 768 */

  .face img {
    height: auto;
  }

  #kontaktObsah .twoHoriz img {
    margin-top: -100px;
  }

  #kontaktObsah .twoHoriz p {
    width: 75%;
  }
}

/* tablet na šířku */

@media only screen and (min-width: 1024px) {
  header {
    height: 60vh;
    min-height: 600px;
    margin: 50px;
    width: calc(100vw - 100px);
  }

  .lang {
    top: 50px;
    left: 50px;
  }

  nav {
    top: 50px;
    right: 50px;
  }

  .infoFilter {
    width: 45%;
    bottom: -2%;
  }

  .infoFilter li {
    height: 110px;
    width: 110px;
    line-height: 110px;
    font-size: 1.1rem;
  }

  .mriz {
    width: calc(100% - 100px);
    height: calc(300px + 5% + 300px);
    min-height: 653px;
    margin: 50px;
    padding: 0;
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-template-rows: 46% 46%;
    column-gap: 5%;
    row-gap: 7%;
  }

  .item {
    order: unset; /* obnovuju pořadí */
    width: 100%;
    height: unset;
    cursor: pointer;
  }

  .item:nth-child(1),
  .item:nth-child(3) {
    order: unset; /* obnovuju pořadí */
  }

  /* domu obsah karty 1024 */

  .twoHoriz {
    order: unset; /* obnovuju pořadí */
    grid-column: span 2;
    height: unset;
  }
  #laserObsah .twoHoriz {
    grid-column: span 2;
    justify-content: center;
  }

  .twoHoriz figure {
    width: calc(100% - 100px);
  }

  #laserObsah .twoHoriz p {
    margin: 0;
  }

  .item img,
  .twoHoriz img {
    height: 150px;
  }
  .puun img {
    height: 100%;
  }

  .parLevy,
  .parPravy {
    line-height: 2;
    padding-top: 20px;
  }

  .parLevy {
    margin-right: 40px;
  }

  .parLevy .desktop,
  .parPravy .desktop {
    display: inline-block;
  }

  .item h1 {
    font-size: 2.5rem;
  }
  .item h2 {
    font-size: 1.5rem;
  }

  button {
    cursor: pointer;
  }

  /* laser obsah 1024 */

  #laserObsah .twoVert {
    order: 3;
    grid-row: 1 / span 2;
    grid-column: 3;
  }

  #laserGuy::before {
    background-position: 40%;
  }

  /* materialy obsah 1024 */

  .threeVert {
    grid-row: span 2;
  }

  .threeVert p {
    font-size: 1rem;
  }

  .threeVert article p {
    font-size: 0.8rem;
  }

  /* poptavka obsah karty 1024 */

  .threeHoriz {
    grid-column: span 3;
    display: flex;
  }

  .threeHoriz article {
    position: relative;
  }

  .threeHoriz h1 {
    position: absolute;
    bottom: 75px;
  }

  .threeHoriz h2 {
    position: absolute;
    bottom: 45px;
  }

  .threeHoriz p {
    position: absolute;
    bottom: 0;
    width: 95%;
  }

  .threeHoriz figure {
    flex-direction: unset;
    width: 90%;
  }

  .threeHoriz article:first-of-type img {
    height: 100px;
    margin-bottom: 70px;
  }

  .threeHoriz article:not(:first-of-type) img {
    height: 125px;
  }

  .sipkaDolu {
    width: 30px;
    -moz-transform: rotate(0deg) translate(-50px, 0);
    -webkit-transform: rotate(0deg) translate(-50px, 0);
    -o-transform: rotate(0deg) translate(-50px, 0);
    -ms-transform: rotate(0deg) translate(-50px, 0);
    transform: rotate(0deg) translate(-50px, 0);
    margin-bottom: unset;
  }

  /* kontakt 768 */

  #kontaktObsah .item:nth-child(3) {
    order: 2; /* třetí položku posouvám na konec */
  }

  #kontaktObsah .twoHoriz {
    order: 3; /* tuhle položku posouvám doprostřed */
    grid-column: 1 / -1;
  }

  #kontaktObsah .twoHoriz p {
    width: 65%;
  }

  .face img {
    height: auto;
    max-width: 110%;
  }
}

/* desktop */

@media only screen and (min-width: 1250px) {
  .mobile {
    display: none;
  }

  .desktop {
    display: block;
  }

  /* * * * * main grid * * * * */
  header {
    grid-area: header;
  }
  nav {
    grid-area: nav;
  }
  main {
    grid-area: main;
    display: flex;
  }

  body {
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 30vw 1fr;
    grid-template-rows: 100px 1fr;
    grid-template-areas:
      "header nav"
      "header main";
  }

  .shadow {
    box-shadow: 10px 10px 0px #26262640;
  }

  .social {
    position: absolute;
    top: 20px;
    right: 0px;
    display: flex;
  }

  .social a {
    padding: 15px 20px;
    opacity: 0.25;
  }

  .social a:hover {
    opacity: 1;
  }

  .social img {
    height: 20px;
    margin-top: 5px;
    fill: var(--themeColor);
  }

  header {
    height: 100%;
    min-height: unset;
    margin: 0;
    padding: 40px;
    width: 100%;
  }

  header article {
    width: calc(100% - 80px);
    top: 50%;
    left: unset;
    -moz-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }

  .lang {
    top: 20px;
    left: 20px;
    border: unset;
    background-color: unset;
    box-shadow: unset;
    width: unset;
    height: unset;
    transition: unset;
    border-radius: unset;
  }

  .lang:hover {
    width: unset;
  }

  .lang a {
    font-size: 1.15rem;
    text-transform: uppercase;
  }

  .lang a:not(:first-child) {
    color: var(--mid);
  }

  .lang a:hover {
    color: var(--themeColor);
  }

  nav {
    overflow: unset;
    border: unset;
    background-color: unset;
    box-shadow: none !important;
    border-radius: unset;
    padding: unset;
    transition: unset;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    position: unset;
  }

  nav ul {
    margin: 0;
    text-align: unset;
    display: flex;
    justify-content: space-evenly;
    height: 100%;
  }

  nav li {
    padding: unset;
    display: flex;
    align-items: center;
  }

  nav a {
    display: block;
    padding: 30px 0;
    opacity: unset;
    font-size: 1.15rem;
    color: var(--mid);
  }

  nav a:hover {
    color: var(--themeColor);
  }

  .navLarger {
    width: unset;
    height: unset;
  }

  header article h1 {
    font-size: 3.5rem;
  }

  .smer,
  #infoUvod .smer {
    text-align: unset;
    bottom: 2.5%;
    left: unset;
    -moz-transform: unset;
    -webkit-transform: unset;
    -o-transform: unset;
    -ms-transform: unset;
    transform: unset;
    display: flex;
    align-items: center;
    font-size: 1rem;
    right: 20px;
  }
  #infoUvod .smer {
    bottom: 140px;
  }

  .smer p {
    text-align: right;
    width: 300px;
  }

  .smer div {
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    margin: 0 20px;
  }

  @keyframes movingArrow {
    0% {
      -moz-transform: rotate(0deg) translate(20px, 0);
      -webkit-transform: rotate(0deg) translate(20px, 0);
      -o-transform: rotate(0deg) translate(20px, 0);
      -ms-transform: rotate(0deg) translate(20px, 0);
      transform: rotate(0deg) translate(20px, 0);
    }
    100% {
      -moz-transform: rotate(0deg) translate(0, 0);
      -webkit-transform: rotate(0deg) translate(0, 0);
      -o-transform: rotate(0deg) translate(0, 0);
      -ms-transform: rotate(0deg) translate(0, 0);
      transform: rotate(0deg) translate(0, 0);
    }
  }

  .infoFilter {
    width: calc(100% - 60px);
    bottom: 30px;
    gap: 20px;
  }

  .infoFilter li {
    height: 100px;
    width: 100px;
    line-height: 100px;
    font-size: 1.1rem;
    transition: all 0.15s ease-in-out;
  }

  .infoFilter:hover > li {
    box-shadow: 0px 0px 0px #26262640;
    transition: all 0.15s ease-in-out;
  }

  .infoFilter:hover li:hover {
    transform: translate(-5px, -5px);
    box-shadow: 5px 5px 0px #26262640;
    transition: all 0.15s ease-in-out;
    border: 2px solid var(--themeColor);
  }

  #infoObsah {
    width: 100%;
    margin-right: 40px;
  }

  .mriz {
    width: 100%;
    height: 80%;
    min-height: unset;
    margin: 0;
    margin-right: 40px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 40px;
    row-gap: 40px;
  }

  .item {
    transition: all 0.15s ease-in-out;
  }

  .mriz:hover > .item {
    box-shadow: 0px 0px 0px #26262640;
    transition: all 0.15s ease-in-out;
  }

  .mriz:hover .item:hover {
    transform: translate(-10px, -10px);
    box-shadow: 10px 10px 0px #26262640;
    transition: all 0.15s ease-in-out;
    border: 2px solid var(--themeColor);
  }

  .item:hover h1,
  .item:hover h2,
  .item:hover p {
    color: var(--themeColor);
  }

  button {
    max-height: 40px;
    padding: 10px 23px;
  }

  /* laser obsah 1250 */

  #laserObsah .twoHoriz p {
    font-size: 1rem;
  }

  .parLevy,
  .parPravy {
    padding-top: 10px;
  }

  .parLevy {
    margin-right: 20px;
  }

  #laserGuy:hover::before {
    opacity: 0.5;
    filter: grayscale(25%);
    transition: all 0.25s ease-in-out;
  }

  /* materialy obsah */

  .threeVert p {
    font-size: 1.15rem;
  }

  /* kontakt 1024 */

  #kontaktObsah .twoHoriz p {
    width: 50%;
  }

  .face figure {
    transition: all 0.25s;
  }

  .face:hover figure {
    filter: grayscale(0%);
    opacity: 0.8;
    transition: all 0.25s;
  }

  .face img {
    height: auto;
    max-width: 135%;
  }

  .puun figure img {
    min-width: 150%;
    transition: all 0.25s;
  }

  .puun:hover figure img {
    filter: grayscale(0%);
    opacity: 0.7;
    transition: all 0.25s;
  }
}

/* desktop vetsi */

@media only screen and (min-width: 1440px) {
  button {
    max-height: unset;
    padding: 10px 35px;
  }

  .item figure {
    position: absolute;
  }

  .twoHoriz figure {
    width: unset;
  }

  .threeHoriz figure {
    width: 95%;
  }

  .threeHoriz article:first-of-type img {
    height: 7vw;
  }

  .item img,
  .twoHoriz img,
  .threeHoriz article:not(:first-of-type) img {
    height: 10vw;
  }
  .puun img {
    height: 100%;
  }

  .item h1 {
    font-size: 3vw;
  }
  .item h2 {
    font-size: 1.5vw;
  }
  .item p {
    font-size: 0.8vw;
  }
  .threeVert p {
    font-size: 1.15rem;
  }

  /* kontakt 1440 */

  .face img {
    height: auto;
    max-width: 135%;
    -moz-transform: translate(40px, 0px);
    -webkit-transform: translate(40px, 0px);
    -o-transform: translate(40px, 0px);
    -ms-transform: translate(40px, 0px);
    transform: translate(40px, 0px);
  }
}
