@font-face {
  font-family: "Montserrat-ExtraLight";
  src: url('fonts/Montserrat-ExtraLight.otf');
}

@font-face {
  font-family: "Montserrat";
  src: url('fonts/Montserrat-Regular.otf');
  font-weight: 400;
}

@font-face {
  font-family: "Raleway";
  src: url('fonts/Raleway-Regular.ttf');
  font-weight: 400;
}

* {
  margin: 0em;
  padding: 0em;
  box-sizing: border-box;
}

:root {
  scroll-behavior: smooth;
  scroll-snap-points-y: repeat(calc(100% - 3.5rem));
  scroll-snap-type: proximity;
}

body {
  font: normal normal 400 1.3em/1.9em 'Montserrat', sans-serif;
  background-color: black;
}

#menu {
  position: fixed;
  z-index: 1;
  width: 100%;
  background-color: rgba(52, 52, 52, 1);
}

#menu ul {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
}

#menu ul, .content {
  max-width: 64rem;
  padding: 0rem 1.5rem;
  margin: 0em auto;
}

#menu a {
  color: whitesmoke;
  letter-spacing: 0.06rem;
  line-height: 3.5rem;
  transition: all 0.15s;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

#menu a:hover {
  color: white;
  background-color: #0099b8;
}

#menu a:focus{
  outline: none;
}

button {
  display: none;
}

#content::before {
  content: "";
  display: block;
  position: fixed;
  width: 100%;
  height: 3.5rem;
  box-shadow: 0px 0px 5px black;
}

#content {
  margin-top: 3.5rem;
}

.contentPage {
  display: flex;
  align-items: center;
  min-height: 100vh;
  margin-top: -3.5rem;
  padding-top: 3.5rem;
  background-clip: content-box;
}

.contentPage:nth-of-type(even) {
  position: relative;
  background-color: whitesmoke;
}

.contentPage:nth-of-type(odd) {
  color: whitesmoke;
  text-shadow: 0px 0px 5px black;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 77, 92, 0.8)), url('images/hazet2.jpg');
  background-attachment: fixed;
  background-size: cover;
}

#partneri {
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 77, 92, 0.8)), url('images/hazet3.jpg');
}

.content {
  padding: 3.5rem 2rem;
  width: 100%;
  text-align: justify;
  font-family: "Raleway", "Montserrat-ExtraLight", sans-serif;
  font-variant-numeric: lining-nums;
}

h2 {
  font-size: 2.5em;
  margin-bottom: 3rem;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
}

#uvod h2 {
  font-size: 3.2em;
  text-decoration: underline solid #0099b8;
}

p {
  margin-bottom: 1.9rem;
}

p:last-of-type {
  margin-bottom: 0rem;
}

#kontakt .content div {
  clear: both;
}

#kontakt ul {
  margin: 0rem 3.5rem 2rem 0rem;
  float: left;
  list-style-type: none;
}

#katalogy img {
  vertical-align: middle;
  max-width: 7em;
  margin: 0.5em;
  transition: filter 0.15s;
  filter: grayscale(100%) contrast(60%);
}

#katalogy img:hover {
  filter: grayscale(0%) contrast(100%) brightness(100%);
}

#katalogy div div {
  text-align: justify;
  text-align-last: justify;
  margin-top: 2rem;
}

#katalogy a {
  text-decoration: inherit;
}

#partneri div div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.7em;
  flex-flow: wrap;
}

#partneri img {
  max-width: 5em;
  max-height: 4em;
}
