body {
  background: #ccc;
  color: #333;
}

#container {
  margin: 0 auto;
  width: 70vw;
}

header {
  width: 100%;
  border-bottom: 4px #0638be solid;
}

#logo {
  margin-bottom: 32px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 64px;
  font-weight: 700;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav ul#menu li {
  display: inline-block;
  padding: 16px 16px 16px 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #222;
}

#flags {
  float: right;
}

article {
  margin-bottom: 32px;
  font-family: "Armata", serif;
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: -1px;
}

img.lang {
  width: 64px;
  height: auto;
}

img.cz {
  margin-right: 8px;
}

img.pl {
  margin-left: 8px;
}

footer {
  margin: 48px 0;
  font-family: "Armata", serif;
  font-size: 24px;
  border-top: 4px #0638be solid;
}

#copyright {
  margin-top: 96px;
  font-family: "Armata", serif;
  font-size: 18px;
  text-align: center;
}

.blue {
  color: #0638be;
}

.white {
  color: #ffffff;
}

.red {
  color: #eb0009;
}

h1, h2, h3 {
  margin-bottom: 16px;
  font-family: "Roboto Condensed", sans-serif;
  line-height: 1.2;
}

h1 {
  color: #0638be;
  font-size: 48px;
}

h2 {
  color: #444444;
  font-size: 32px;
}

h3 {
  color: #0638be;
  font-size: 24px;
}

a:link, a:active, a:visited {
  text-decoration: none;
  color: #0638be;
}

a:hover {
  text-decoration: none;
  color: #fff;
}

a#hamburger {
  display: none;
  float: right;
  font-size: 48px;
}

small {
  color: #999;
}

.upper {
  text-transform: uppercase;
}

.about, .news, .team, .dict, .search {
  margin: 0;
  padding: 24px 32px;
  background: #d6d6d6;
}

#contacts {
  margin: 0;
  padding: 0;
  margin-top: 96px;
  width: 100%;
}

#contacts div {
  display: inline-block;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 50%;
}

#credits {
  display: flex;
  align-items: center;
  padding-top: 48px;
  width: 100%;
  font-size: 18px;
}

#credits img {
  padding-right: 48px;
  width: 128px;
  height: auto;
  vertical-align: middle;
}

.clear {
  display: table;
  content: "";
  clear: both;
}

/* FORM */
form input[type=text] {
  padding: 5px;
  border: 2px #0638be solid;
  font-family: "Armata", sans-serif;
  font-size: 26px;
  line-height: 1.6;
  background: #ddd;
}

form input[type=text]:hover {
  background: #eee;
}

form input[type="radio"] {
  display: none;
}      

form label.radio {
  display: inline-block;
  padding: 5px;
  cursor: pointer;
  border: 2px #0638be solid;
  background: #ddd;
}

form label.radio:hover {
  border: 2px #0638be solid;
  background: #eee;
}    

form input[type="radio"]:checked+label {
  color: #fff;
  background: #0638be;
}

form select {
  padding: 5px;
  border: 2px #0638be solid;
  font-family: "Armata", sans-serif;
  font-size: 26px;
  line-height: 1.6;
  background: #ddd;
}

form select:hover {
  background: #eee;
}

.wrap {
  overflow-wrap: break-word;
  width: 50%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

form button {
  margin-top: 24px;
  padding: 5px;
  border: 2px #0638be solid;
  font-family: "Armata", sans-serif;
  font-size: 26px;
  line-height: 1.6;
  background: #ddd;
}

form button:hover {
  background: #eee;
}

.hidden {
  display: none;
}

.fields {
  font-family: sans-serif;
  font-size: 22px;
}

/* BACK TO TOP */
#top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #0638be;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#top:hover {
  background-color: #eb0009;
}

@media screen and (max-width: 768px) {
  #container {
    width: 100%;
  }
  header {
    border-bottom: 2px #0638be solid;
  }
  #logo {
    font-size: 32px;
    /*text-align: center;*/
  }
  nav ul#menu {
    display: none;
    clear: both;
  }
  nav ul#menu li {
    display: block;
    padding: 8px 8px 8px 0;
    font-size: 18px;
    /*text-align: center;*/
  }
  #flags {
    margin-top: 24px;
    margin-bottom: 12px;
    float: left;
    /*text-align: center;*/
  }
  article {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -1px;
  }
  img.lang {
    width: 32px;
    height: auto;
  }
  img.cz {
    margin-right: 4px;
  }
  img.pl {
    margin-left: 4px;
  }
  footer {
    margin: 32px 0;
    font-size: 16px;
    border-top: 2px #0638be solid;
  }
  #copyright {
    margin-top: 64px;
    font-size: 10px;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 16px;
  }
  a#hamburger {
    display: block;
  }
  small {
    font-size: 12px;
  }
  .about, .news, .team, .dict, .search {
    padding: 12px 16px;
  }
  #contacts {
    margin-top: 48px;
  }
  #credits {
    flex-direction: column;
  }
  #credits img {
    padding-bottom: 24px;
    padding-right: 0;
  }
  /* FORM */
  form input[type=text] {
    padding: 3px;
    border: 1px #0638be solid;
    width: 98%;
    font-size: 18px;
  }
  form label.radio {
    padding: 3px;
    border: 1px #0638be solid;
    font-size: 18px;
  }
  form label.radio:hover {
    border: 1px #0638be solid;
  }    
  form select {
    padding: 3px;
    border: 1px #0638be solid;
    font-size: 18px;
  }
  form button {
    margin-top: 24px;
    padding: 3px;
    border: 1px #0638be solid;
    font-size: 18px;
  }
  .fields {
    font-size: 14px;
}
  /* BACK TO TOP */
  #top {
    opacity: 50%;
    bottom: 10px;
    right: 10px;
  }
  #top:hover {
    background-color: #0638be;
  }
}
