@font-face {
  font-family: "DINPro";
  font-weight: 300;
  src: url("font/DINPro-Light.otf") format("opentype");
}

@font-face {
  font-family: "DINPro";
  font-weight: 400;
  src: url("font/DINPro-Regular.otf") format("opentype");
}

@font-face {
  font-family: "DINPro";
  font-weight: 500;
  src: url("font/DINPro-Medium.otf") format("opentype");
}

@font-face {
  font-family: "DINPro";
  font-weight: 700;
  src: url("font/DINPro-Bold.otf") format("opentype");
}

@font-face {
  font-family: "DINPro";
  font-weight: 900;
  src: url("font/DINPro-Black.otf") format("opentype");
}


:root {
  --color-primary: #1d1d1b;
  --color-secondary: #ffffff;
  --color-muted: #808081;

  --color-uzdravovacka: #6cbfd4;
  --color-inovacka: #93c01f;
  --color-zauhlovacka: #f0e6b8;
  --color-zabydlovacka: #e0ba8a;
}

html{
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: "DINPro", sans-serif;
}

body{
  margin: 0;
  padding: 0;
  color: var(--color-primary);
  font-size: 1rem;
	overflow: hidden;
}

.w1920 {
  position: relative;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.menu {
  #menu-btn { 
    cursor: pointer;
    svg {
      width: 100%;
      height: auto;
      fill: #000;
      transition: .2s ease;
      &:hover { fill: var(--color-muted); }
    }
  }
  nav {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    width: 150px;
    background: var(--color-secondary);
    color: var(--color-primary);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 50;
    
    ul { padding: 0; margin: 0; list-style: none; }
    li { padding: 5px 10px; border-bottom: 1px solid rgba(0,0,0,0.1); }
    li:last-of-type { border-bottom: 0; }
    li:hover { 
      background: rgba(0,0,0,0.1); 
      a { font-weight: 700; }
    }
    a { 
      display: block;
      width: 100%;
      font-weight: 300;
      font-size: 1rem; 
      color: var(--color-primary); 
      white-space: nowrap;
      text-decoration: none;
    }
  }
  &.open nav { display: block; }
}

.project-picker {
  a { display: flex; justify-content: center; align-items: center; height: 100%; }
  svg { 
    height: 56px; 
    max-width: 80%;
    fill: #fff;
    transition: .2s ease;
    &:hover { transform: scale(1.1); fill: #fff; }
  }
  .zauhlovacka svg { height: 41px; transform: translateY(-0.5rem); }
  .zauhlovacka svg:hover { transform: scale(1.1) translateY(-0.5rem); }
  .project {
    position: relative;
    &::after { content: ""; position: absolute; left: 5px; top: calc(100% + 25px); width: calc(100% - 10px); height: 8px; background: var(--color-secondary); transition: .2s ease; }
    &.zauhlovacka::after { background: var(--color-zauhlovacka); }
    &.inovacka::after { background: var(--color-inovacka); }
    &.uzdravovacka::after { background: var(--color-uzdravovacka); }
    &.zabydlovacka::after { background: var(--color-zabydlovacka); }
    
    &.zauhlovacka:hover svg { fill: var(--color-zauhlovacka); }
    &.inovacka:hover svg { fill: var(--color-inovacka); }
    &.uzdravovacka:hover svg { fill: var(--color-uzdravovacka); }
    &.zabydlovacka:hover svg { fill: var(--color-zabydlovacka); }
  }
}

section {
  &.wave-bl {
    position: relative;
    * { position: relative; z-index: 2; }
    &::before {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 20%;
      height: 100%;
      background-image: url('../assets/images/wave-bottomleft.svg');
      background-size: 100% auto;
      background-position: bottom left;
      background-repeat: no-repeat;
      opacity: 0.1;
      z-index: 1;
    }
    &.wave-color::before { background-image: url('../assets/images/wave-bottomleft-color.svg'); opacity: 1; }
  }

  &.wave-tr {
    position: relative;
    * { position: relative; z-index: 2; }
    &::after {
      content: '';
      position: absolute;
      right: 0;
      top: 0;
      width: 20%;
      height: 100%;
      background-image: url('../assets/images/wave-topright.svg');
      background-size: 100% auto;
      background-position: top right;
      background-repeat: no-repeat;
      opacity: 0.1;
      z-index: 1;
    }
    &.wave-color::after { background-image: url('../assets/images/wave-topright-color.svg'); opacity: 1; }
  }
}

section.hero {
  background-image: url('../assets/images/hero.webp');
  background-size: cover;
  background-position: 50% 75%;
  //background-attachment: fixed;
}

#logo-zauhlovacka svg {
  width: 100%;
  fill: var(--color-primary);
}

section.parallax {
  background-image: url('../assets/images/location.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

section.spaces {
  position: relative;
  
  table {
    width: 90%;
    td { 
      padding: 3px 15px;
      text-align: center;
    }
    thead {
      font-weight: 200;
      background-color: #0c3049;
      color: #fff;
    }
    tbody {
      font-weight: bold;
      td { border-bottom: 1px solid #0c3049; }
    }
  }

  &.wave-tr::after { z-index: 2; }

}

section.contact {
  position: relative;
  color: var(--color-primary);
  &::after { width: 32%; }

  input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-primary);
    outline: none !important;
    transition: .2s ease;
    &:focus {
      border-color: var(--color-primary);
    }
  }
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next, .swiper-button-prev { color: #fff !important; }
.swiper-button-next:after, .swiper-button-prev:after { display: none; }

h1, h2 {
  color: var(--color-primary);
  line-height: 120%;
}

b, strong {
  font-weight: 700;
}

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-muted { background-color: var(--color-muted); }
.color-primary { color: var(--color-primary); }
.color-secondary { color: var(--color-secondary); }
.color-muted { color: var(--color-muted); }


@keyframes shrink {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes zoom_out {
  100% {transform:  scale(1);}
}

@keyframes zoom_in {
  100% {transform:  scale(1.1);}
}

@keyframes pulse {
  0% { transform: translate(-50%,-50%) scale(1); }
  100% { transform: translate(-50%,-50%) scale(1.1); opacity: 0;}
}

@keyframes big_pulse {
  0% { transform: translate(-50%,-50%) scale(1); }
  100% { transform: translate(-50%,-50%) scale(1.4); opacity: 0;}
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--color-muted) !important;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: var(--color-muted) !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: var(--color-muted)  !important;
}

.io-hidden{
	opacity: 0;
	transform: translateY(100px);
  transition-duration: 1s;
  transition-timing-function: ease-out;
  &.io-left{transform: translateX(-80%);}
  &.io-right{transform: translateX(80%);}
}

.io-show{
	opacity: 1 !important;
	transform: translate(0, 0) !important;
}

@media (min-width: 1536px){
  .container { width: 80vw; max-width: 1024px; }
  .container.tight { max-width: 1024px; }
}

@media (min-width: 1280px){
  .container { width: 80vw; max-width: 1024px; }
  .container.tight { max-width: 1024px; }
}

@media (min-width: 1024px){
  .project-picker a { width: 100%; }
}


@media (max-width: 1600px){
  footer .foot { background-position: center; }
}


@media (max-width: 1280px){

}

@media (max-width: 1024px){
  .container { padding-left: 15px !important; padding-right: 15px !important; }

  .project-picker .project::after { top: calc(100% + 5px); height: 5px; }
  .project-picker .project:nth-of-type(1), .project-picker .project:nth-of-type(2) { margin-top: -0.5rem; }
  .project-picker .project:nth-of-type(3), .project-picker .project:nth-of-type(4) { margin-top: 1rem; }
  .project-picker .zauhlovacka svg { transform: translateY(0); }
  .project-picker .zauhlovacka svg:hover { transform: scale(1.1); }
  .project-picker .inovacka a { transform: translateX(-22%); }
}

@media (max-width: 768px){
  #logo-zauhlovacka svg { width: 70%; margin-inline: auto; }
}

@media (max-width: 640px){
  .project-picker svg { height: 44px; }
  .project-picker .zauhlovacka svg { height: 32px; }
  .project-picker .zauhlovacka a { transform: translate(-5%, -5%); }
}
