﻿body {
  background-color: #f7f9fb;
}

nav ul {
  width: 100%;
  max-width: 1000px;
  display: flex;
  margin: 0 auto;
  justify-content: flex-end;
  flex-wrap: wrap;
}

nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
  font-size: 14px;
}

nav {
  background-color: #01122d;
  display: flex;
  align-items: center;
  padding: 5px;
  color: white;
}

nav a:hover,
.active {
  color: #00b1ed;
  font-weight: 600;
}

header {
  background-color: #011a43;
}

#header-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header-section {
  color: white;
}

#header-section > span {
  text-align: center;
}

#header-section > div {
  display: flex;
  flex-direction: column;
}

#header-section > div > span {
  text-align: right;
  font-size: 14px;
}

#header-section > div > a {
  font-size: 20px;
  color: #00b1ed;
}

video {
  width: 100% !important;
  max-width: 1000px;
  height: auto !important;
  margin: 0 auto;
}

h2 {
  font-size: 24px;
  text-align: center;
  padding: 5px 0;
  background-color: #011a43;
  color: white;
}

.side-by-side {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 15px 5px;
}
.side-by-side img {
  max-width: 49%;
  flex-grow: 1;
}
.side-by-side p {
  max-width: 49%;
  flex-grow: 1;
}

.side-by-side a {
  color: #007bff;
  font-weight: 700;
}

.oferta {
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px 5px;
}

.offer-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 15px;
  gap: 15px;
}
.item {
  background-color: white;
  border: 1px solid lightgray;
  border-radius: 1px;
}
.google-maps {
  margin-top: 15px;
  height: 320px;
  width: 100%;
  border: 0px solid transparent;
  max-width: 1000px;
}

.item img {
  transition: 0.5s all;
}

.item a:hover img {
  opacity: 0.7;
}

.title {
  display: block;
  font-size: 20px;
  width: 100%;
  text-align: center;
  font-weight: 600;
}

.desc {
  display: block;
  text-align: center;
  font-size: 16px;
  padding: 10px;
  color: gray;
}

#galeria {
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px 5px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

#galeria a,
#galeria a img {
  min-width: 225px;
  max-width: 225px;
  width: 100%;
  height: 225px;
  object-fit: contain;
  background-color: white;
  border: 1px solid lightgray;
  transition: 0.3s all;
  margin: 0 auto;
}

.cover {
  object-fit: cover !important;
}

#galeria a:hover img {
  border-color: #007bff;
}

#kontakt {
  background-color: #011a43;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 0;
}

#kontakt h6 {
  font-size: 24px;
  padding-bottom: 15px;
  color: white;
}

.kontakt-info {
  max-width: 1000px;
  color: white;
  text-align: center;
}

.fb-cont {
  margin: 10px 0;
}

#author {
  margin: 0px auto;
  text-align: center;
  padding: 10px 20px;
  font-size: 11px;
  color: #999;
  background-color: #eee;
  width: 100%;
  max-width: 100%;
}
#author img {
  border: none;
  vertical-align: middle;
}
#author a {
  color: #555;
}

#author img {
  display: inline;
}

#author iframe {
  margin: 0 auto;
}

.fb-cont iframe {
  max-width: 340px;
  width: 100%;
}

h2,
#kontakt h6 {
  text-transform: capitalize;
}

@media (max-width: 880px) {
  #galeria {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .side-by-side {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .oferta {
    text-align: center;
  }
  .side-by-side * {
    max-width: 100% !important;
  }
  #header-section {
    flex-direction: column;
  }
  #header-section > div span {
    text-align: center !important;
  }
}

@media (max-width: 660px) {
  #galeria {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .offer-items {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  #galeria {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media (max-width: 370px) {
  nav ul {
    justify-content: center;
  }
  #header-section > span {
    display: none;
  }
}
