html,
body {
  margin: 0;
  font-family: Raleway;
  font-weight: 300;
}
section {
  display: grid;
  grid-template-rows: 5% 1fr;
  grid-template-columns: repeat(10, 1fr);
  min-height: calc(100vh - 60px);
}
section > div {
  grid-row: 2;
  grid-column: 2 / span 8;
  padding-bottom: 8%;
}
section > div h2 {
  font-size: clamp(1.7rem, 2.4vw, 4rem);
}
section > div p {
  font-size: clamp(1rem, 1.2vw, 3rem);
}
ul {
  padding: 0;
  list-style-type: none;
}
a,
a:link,
a:visited {
  text-decoration: none;
  color: #000;
}
.oteviraci-doba,
.about,
.nabidka {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 30px;
}

.oteviraci-doba img,
.about img,
.nabidka img {
  width: clamp(300px, 30vw, 500px);
  max-width: 100%;
}
.oteviraci-doba p,
.about p,
.nabidka p {
  max-width: 400px;
}
.oteviraci-doba h2,
.about h2,
.nabidka h2 {
  font-weight: bold;
}
.hero {
  position: relative;
  height: 100vh;
  gap: 0 15px;
  color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 40%;
}
.hero .text {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.hero h1,
.hero p {
  text-align: right;
  z-index: 1;
}
.navbar-wrapper header {
  position: static;
  background: rgba(0, 0, 0, 0.9);
  margin: 0;
  padding: 5px 10%;
}
header {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 80%;
  margin: 0 10%;
  padding: 5px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #dbdbdb;
  color: #fff;
}
header .navbar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
header .navbar__logo {
  font-weight: bold;
  display: flex;
  margin-left: 20px;
  line-height: 0.7;
  font-size: 15px;
}
header .burger {
  display: none;
}
header a {
  color: #fff !important;
}
.nabidka button {
  margin: 0;
  border: none;
  padding: 10px 16px;
  background: #000;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}
.oteviraci-doba img {
  width: 500px;
  max-width: 100%;
}
.oteviraci-doba td {
  color: #313131;
}
.oteviraci-doba td span {
  margin-left: 10px;
  font-weight: bold;
}
.menu-kavy {
  text-align: center;
  color: #fff;
}
.menu-kavy .menu-items {
  line-height: 3;
}
.nabidka-kavy p {
  max-width: 400px;
}
.nabidka-kavy .menu {
  margin-top: 30px;
  position: absolute;
  left: 0;
  width: 100%;
  gap: 0 9%;
  overflow-x: scroll;
  display: flex;
}
.nabidka-kavy .menu > div img {
  width: 300px;
  height: 400px;
  object-fit: cover;
}
.form input {
  display: block;
  border: none;
  width: 100%;
}
.form input[type="text"] {
  margin-bottom: 30px;
  font-size: 15px;
  padding: 8px 3px;
  border-bottom: 1.5px solid #262626;
}
.form input[type="submit"] {
  margin-top: 20px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: bold;
}
.fotogalerie {
  text-align: center;
}
.fotogalerie .fotogalerie__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  justify-items: stretch;
}
.fotogalerie .fotogalerie__grid img {
  display: block;
  height: auto;
  aspect-ratio: 1;
  width: 100%;
  max-width: 80vw;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease-in-out;
}
.fotogalerie .fotogalerie__grid img:hover {
  filter: grayscale(0);
}
.team {
  text-align: center;
}
.team .team__people {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.team .team__people figure {
  position: relative;
  margin: 0;
}
.team .team__people figure figcaption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-weight: bold;
}
.team .team__people figure img {
  width: 320px;
  height: 320px;
  object-fit: cover;
}
.footer {
  padding: 10% 0;
  color: #fff;
}
.footer a {
  color: #fff !important;
}
.footer__items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer__items li {
  margin-bottom: 10px;
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
  section {
    display: grid;
    grid-template-rows: 8% 1fr;
    grid-template-columns: repeat(14, 1fr);
  }
  section > div {
    grid-column: 2 / span 12;
  }
  .oteviraci-doba,
  .about,
  .nabidka {
    flex-direction: column;
    text-align: center;
    justify-content: flex-start;
    gap: 18px 0;
  }
  .footer__items {
    flex-direction: column;
  }
}

@media screen and (max-width: 800px) {
  .hero {
    height: calc(100vh - 60px);
  }
  header {
    position: static;
    background-color: black;
    margin: 0;
    min-height: 40px;
    padding: 10px 10%;
  }
  header .navbar__items {
    flex-direction: column;
  }
  .oteviraci-doba,
  .about,
  .nabidka {
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 18px 0;
  }
  .nabidka-kavy .menu {
    position: static;
    flex-direction: column;
    overflow-x: hidden;
  }
  .oteviraci-doba img,
  .about img,
  .nabidka img,
  .nabidka-kavy .menu > div img {
    width: 100%;
    max-width: 100%;
  }
  .footer__items {
    flex-direction: column;
  }
  header .navbar__items {
    opacity: 0;
    flex-wrap: nowrap;
    overflow: hidden;
    max-height: 0px;
    transition: all 0.4s ease-in-out;
  }
  header input[type="checkbox"]:checked ~ span,
  header input[type="checkbox"]:checked {
    display: none;
  }
  header input[type="checkbox"]:checked ~ nav .navbar__items {
    opacity: 1;
    max-height: 500px;
  }
  header .navbar__items li {
    padding: 7px 0;
  }
  header .burger {
    position: absolute;
    display: block;
    left: 10%;
    font-size: 40px;
    width: 40px;
    height: 40px;
  }
  header span.burger {
    pointer-events: none;
    line-height: 0.8;
  }
  header input.burger {
    opacity: 0;
  }
}
