body {
  font-family: 'Catamaran', sans-serif;
  /*font-family: 'Roboto Condensed', sans-serif;*/
  /*font-family: 'Open Sans Condensed', sans-serif;*/
  
  /*font-family: 'Amatic SC', cursive;*/

  line-height: 1.6;
}

/*----------------------------------------------------------------------------*/

header {
  /*
  background-color: #4c4c4c;
  color: white;
  */
  background-color: white;
  color: black;
  border-bottom: solid 1px black;


  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1;
  height: 78.5px;
}

.lower-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;

  padding: 10px 0;

  height: 57.6px;
}

header h1 {
  margin: 0;
  float: left;
  margin-left: 150px;
}

header a {
  color: inherit;
  text-decoration: none;
}

nav {
  height: 57.6px;
}

nav ul {
  list-style-type: none;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin-right: 4vw;
}

nav li {
  margin-left: 3vw;
}

@media screen and (min-width: 774px) {
  nav a:hover {
    border-bottom: solid 3px;
  }
}

.menu-btn, .scrollUp-btn {
  display: none;
}

/*----------------------------------*/

@media screen and (max-width: 774px) {

  body {
    font-size: 90%;
  }

  header {
    height: auto;
  }

  nav {
    height: auto;
  }

  .lower-header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    display: none;

    height: auto;
  }

  .lower-header.show {
    display: block;
  }

  header h1 {
    margin: 0;
    text-align: center;
    float: none;

    display: none;
  }

  nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
    margin: 0;
    padding: 0;
  }

  nav li {
    margin: 0;
    font-size: 1.5em;
    padding: 4vh 0;
  }

  .menu-btn {
    display: inline;
    position: fixed;
    right: 10px;
    top: 3px;
  }

  .scrollUp-btn {
    display: inline;
    position: fixed;
    right: 45px;
    top: 3px;
  }

}

/*----------------------------------------------------------------------------*/

@media screen and (min-width: 774px) {

  .dropdown {
    padding: 0;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: absolute;
    top: calc(79px - 25px);
    -webkit-transform: translateX(calc(-50% + 27.5px));
        -ms-transform: translateX(calc(-50% + 27.5px));
            transform: translateX(calc(-50% + 27.5px));
    width: auto;
  }

  .dropdown li {
    display: none;
    margin: 0;
    padding: 10px 15px;
    text-align: center;

/*
    background-color: #303030;
    color: white;
*/
  
    background-color: white;
    color: black;
  }

  .dropdown li:not(:first-child) {
    border: 1px black;
    border-style: none solid;
  }

  .dropdown li:last-child {
    border: 1px solid black;
    border-top-style: none;
  }

  li:hover .dropdown li {
    display: block;
  }

  .dropdown li:first-child {
    opacity: 0;
    padding: 0;
    height: 25px;
  }

}

@media screen and (max-width: 774px) {
  .dropdown {
    /*display: none;*/
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .dropdown li:first-child {
    display: none;
  }

  .dropdown li {
    padding: 0;
    padding: 0 4vw;
  }

  .dropdown a {
    /*font-size: 0.66666em;*/
    font-size: 0.57em;
  }

  nav>ul>li:nth-child(3)>a {
    /*text-decoration: underline;*/
  } 
}
/*----------------------------------------------------------------------------*/

.lang {
  margin: 0;
  padding: 0;

  padding: 0 15px;
  padding-top: 6px;

  position: absolute;
}

.lang a {
  font-size: 0.8em;
}

.lang > li {
  display: inline;
}

.lang > li:after {
  content: ' | ';
}

.lang > li:last-child:after {
  content: '';
}



@media screen and (max-width: 774px) {
  .lang {
    position: static;

  }

  .lang a {
    font-size: 1.25em;
  }

  .lang li:last-child::after {
    content: "Hedvábné sny";
    font-size: 1.8em;
    font-weight: bold;
    position: fixed;
    left: calc(50vw - 82px);
    line-height: 1.1;
  }
}

@media screen and (max-width: 480px) {
  .lang li:last-child::after {
    content: "";
  }
}


/*----------------------------------------------------------------------------*/

footer {
  background-color: #4c4c4c;
  /*height: 5vh;*/
}
