@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: #102335;
  --color-secondary: #6cbfd4;
  --color-muted: #808080;
}

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;
}

.menu {
  #menu-btn { 
    cursor: pointer;
    svg {
      width: 100%;
      height: auto;
      fill: #000;
      transition: .2s ease;
      &:hover { fill: var(--color-secondary); }
    }
  }
  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; }
  svg { 
    height: 56px; 
    max-width: 80%;
    fill: var(--color-muted);
    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); }
  .primary-logo {
    svg {
      width: 250px;
      max-width: 80%;
      height: auto;
      fill: var(--color-secondary);
      transform: scale(1) !important;
    }
  }
}

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.5;
      z-index: 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.5;
      z-index: 1;
    }
  }
}

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

section.parallax {
  background-image: url('../assets/images/srpen_odpoledni.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; }
    }
  }

}

section.contact {
  position: relative;
  color: #fff;
  &::after { width: 32%; }

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

h1, h2 {
  color: var(--color-secondary);
  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: #fff !important;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #fff  !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 > div > div { order: 2; border-right: 1px solid var(--color-muted); }
  .project-picker > div > div:last-of-type { order: 3; border-right: none; }
  .primary-logo { order: 1 !important; border-right: none !important; }
}

@media (max-width: 768px){

}

@media (max-width: 640px){
  .project-picker svg { height: 44px; }
}
