*,
:after,
:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #e8ccbf;
}

h1 {
  color: #443b37;
  letter-spacing: 3px;
  font-size: 1.8rem;
  padding-top: 1rem;
}

h2 {
  color: #443b37;
  letter-spacing: 1px;
  font-size: 1.4rem;
  font-weight: 200;
  padding-bottom: 1rem;
}

h3 {
  color: #443b37;
  margin-top: 20px;
  letter-spacing: 1px;
}

h4 {
  color: #443b37;
}

p {
  color: #443b37;
}

ul {
  padding: 10px 0 10px 30px;
}

header {
  background-color: #f8f1ee;
  display: flex;
  position: fixed;
  width: 100%;
  height: 100px;
  z-index: 2;
  -webkit-box-shadow: 0px 10px 20px 0px rgba(68, 59, 55, 0.25);
  -moz-box-shadow: 0px 10px 20px 0px rgba(68, 59, 55, 0.25);
  box-shadow: 0px 10px 20px 0px rgba(68, 59, 55, 0.25);
}

.logo {
  width: 100px;
  padding: 10px;
  position: relative;
}

.logo img {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(20%, -50%);
}

.nav-right {
  margin-left: auto;
  align-self: center;
  padding: 10px 0 10px 10px;
}

.nav-right a {
  padding: 10px;
  text-decoration: none;
  color: #38312e;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
}

.anchor {
  top: -95px;
  left: 0;
  visibility: hidden;
}

#domu {
  height: 100px;
}

#uvod {
  width: 100vw;
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75)),
    url("00images/uvod-pozadi.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  position: relative;
}

#uvod article {
  position: absolute;
  bottom: 10%;
  left: 10%;
}

#uvod h1 {
  color: #f5e6e0;
}

#uvod h2 {
  color: #f5e6e0;
}

section {
  padding: 20px;
}

#aktualni {
  background-color: #f8f1ee;
}

#aktualni article p {
  padding-bottom: 20px;
}

table {
  margin-top: 10px;
  width: 100%;
  border-collapse: collapse;
}

table td,
table th {
  border: 1px solid #443b3733;
  padding: 8px;
}

table th {
  color: #443b37;
  font-weight: 400;
  text-align: left;
}

table tr:nth-child(even) {
  background-color: #e9ddd8;
}

#pece p:nth-child(1) {
  padding-top: 1.5rem;
}

.sluzby {
  position: relative;
}

#sluzby {
  position: absolute;
}

.sluzby table th:nth-child(even) {
  width: 110px;
  text-align: right;
}

.pojistovny {
  position: relative;
}

#pojistovny {
  position: absolute;
}

.cenik {
  position: relative;
}

#cenik {
  position: absolute;
}

.personal {
  position: relative;
  background-color: #f8f1ee;
}

.personal img {
  width: 100%;
  opacity: 0.9;
}

#personal {
  position: absolute;
}

.fotogalerie {
  position: relative;
}

#fotogalerie {
  position: absolute;
}

.fotogalerie img {
  width: 100%;
  height: 100%;
}

.kontakt {
  position: relative;
  /* background-color: #74655e; */
  background: linear-gradient(
    to left top,
    #3a332f 0% /*bottom-right color*/,
    #74655e 100% /*top-left color*/
  );
}

#kontakt {
  position: absolute;
}

.kontakt h1,
.kontakt h3,
.kontakt p,
.kontakt th {
  color: #e9ddd8;
}

#paticka {
  margin: 10px 0px 20px 0px;
  width: 50%;
  border-collapse: collapse;
}

#paticka td,
#paticka th {
  border: 1px solid transparent;
  padding: 8px;
}

#paticka th {
  font-weight: 400;
  text-align: left;
}

#paticka th:nth-child(odd) {
  width: 70px;
}

#paticka tr:nth-child(even) {
  background-color: transparent;
}

.popis-mapy {
  line-height: 2.4;
}

iframe {
  width: 100%;
  height: 50vh;
  padding: 40px 0px 10px 0px;
}

.kontakt article:last-child p {
  text-align: center;
  padding: 20px;
  color: #e8ccbf7e;
}

@media screen and (min-width: 700px) {
  .personal img {
    display: block;
    max-width: 60%;
    margin: 20px auto 10px auto;
  }

  .galerie {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .galerie img {
    width: 48%;
    max-width: 350px;
    margin: 0 1.8vw 1.8vw 0;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
  }

  .one,
  .two {
    width: 45%;
  }

  .two {
    margin-left: auto;
  }
}

@media screen and (min-width: 900px) {
  .logo {
    width: 90px;
  }

  .nav-right {
    padding: 10px 20px 10px 10px;
  }

  .nav-right a:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    content: "";
    width: 0;
    height: 2px;
    background-color: #38312e;
    transition: 0.3s;
  }

  .nav-right a:hover:after {
    width: 100%;
    transition: 0.3s ease-in-out;
  }

  section {
    padding: 40px 1%;
  }

  .sluzby table {
    margin: 0 auto;
    max-width: 885px;
  }

  .sluzby .one,
  .personal .one,
  .kontakt .one {
    width: 33%;
  }

  .sluzby .two,
  .personal .two,
  .kontakt .two {
    width: 60%;
  }

  .kontakt article:last-child p {
    padding: 40px 20px 20px 20px;
  }
}

@media screen and (min-width: 1024px) {
  .logo {
    width: 80px;
    margin-left: 5%;
    padding: 0;
  }

  .nav-right {
    padding: 10px 5% 10px 10px;
  }

  #uvod {
    height: 60vw;
  }

  section {
    padding: 40px 5%;
  }

  .kontakt article:last-child p {
    padding: 40px 20px 20px 20px;
  }
}

@media screen and (min-width: 1200px) {
  .logo {
    width: 80px;
    margin-left: 10%;
    padding: 0;
  }

  .nav-right {
    padding: 10px 10% 10px 10px;
  }

  #uvod {
    height: 50vw;
    max-height: 70vh;
  }

  section {
    padding: 40px 10%;
  }

  .kontakt .one {
    width: 300px;
  }

  .kontakt .two {
    width: 29%;
    margin-left: 0;
  }

  .kontakt .three {
    width: 39.75%;
    margin-left: auto;
  }

  iframe {
    width: 100%;
    height: 266px;
    padding: 10px 0px 0px 0px;
  }

  .kontakt article:last-child p {
    padding: 40px 20px 20px 20px;
  }
}
