nav{
  margin:0;
  position: sticky;
  top:0;
  background-color: white;
  display: grid;
  grid-template-columns : 23% 12.5% 12.5% 12.5% 12.5% auto ;
  grid-template-rows: 80px;
  grid-template-areas: "container-logo container-domov container-okolie container-galeria  container-ceny container-kontakt";
}

nav a{
  font-family: 'Caveat', bold;
  font-weight: bold;
  font-size: 20px;
}

.domov,.galeria,.okolie,.ceny,.kontakt{
  padding-top:30px;
  padding-left: 10px;
}

.domov a,.galeria a,.okolie a,.ceny a,.kontakt a{
  text-decoration: none;
  color: black;
}
img{
  width: 100%;
}
.logo{
  padding-left: 40px;
  width: 200px;
  height: 80px;
}

h1{
  padding-bottom: 10px;
  height: 20px;
  text-align: center;
  font-family: 'Big Shoulders Stencil Display', cursive;
  font-size: 50px;
}

.indexSection{
  padding-top: 100px;
  margin:0;
  display: grid;
  grid-template-columns : 50% 50%;
  grid-template-rows: 500px 500px;
  grid-template-areas:
                        "container-foto1 container-text1"
                        "container-text2 container-foto2";
}

video{
  padding-top: 10px;
  width: 100%;
}

.text1 p{
  padding-top: 100px;
  text-align: justify;
  width: 600px;
  float:left;
  padding-left: 150px;
  font-family: 'Caveat', cursive;
  font-size: 30px;
}

.text2 p{
  padding-top: 100px;
  text-align: justify;
  width: 600px;
  padding-right: 150px;
 float:right;
 font-family: 'Caveat', cursive;
 font-size: 30px;
}

.mapa  {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.cennik {
    border-collapse: collapse;
    border-right: 1px solid #ffe6cc;
    margin: 25px 0;
    margin-top: 50px;
    font-size: 0.9em;
    font-family: 'Caveat', cursive;
    font-size: 20px;
    min-width: 400px;

}

.cennik thead tr {
    background-color: #ffe6cc;
    color: black;
    text-align: left;
}

.cennik th,.cennik td {
    padding: 12px 15px;
}

.cennik tbody tr {
    border-bottom: 1px solid #ffe6cc;
}

.cennik tbody tr:nth-of-type(even) {
    background-color: #ffe6cc;
}

.cennik tbody tr:last-of-type {
    border-bottom: 2px solid black;
}

.cennik tbody tr.active-row {
    font-weight: bold;
    color: black;
}


.riadok{
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.stlpec {
  flex: 25%;
  max-width: 25%;
}
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-image: linear-gradient(70deg, #ffa64d 50%, #ffe6cc 100%);
  color: white;
  text-align: center;
}
.stlpec img {
  margin-top: 50px;
  vertical-align: middle;
  margin-left: 25px;
  width: 90%;
  transition: transform  2s;
}
.stlpec img:hover{
  transform: scale(1.2);
}

.video2{
  margin-top: 130px;
}

img.prvaAnimacia{

  width: 750px;
  float:right;
  top:0px;
}
img.druhaAnimacia{
  width: 750px;
  float: left;
  top:651.5px;
}


@media screen and (max-width: 800px) {
  .stlpec{
    flex: 50%;
    max-width: 50%;
  }

}

@media screen and (max-width: 600px) {
  .stlpec{
    flex: 100%;
    max-width: 100%;
  }
  .indexSection{
    display: block;
  }
  img.prvaAnimacia{
    padding-top: 20px;
    max-width: 100%;
}
  img.druhaAnimacia{
    max-width: 100%;

  }
  .text1 p {
    padding-left: 0;
    padding-top:20px;
    float:left;
    font-family: 'Caveat', cursive;
    font-size: 20px;
    max-width: 100%;
  }
  .text2 p {
    padding-right: 0;
    padding-top: 20px;
    float:left;
    font-family: 'Caveat', cursive;
    font-size: 20px;
    max-width: 100%;
  }
  nav{
    display: block;
    position: relative;
  }
  .logo{
    display: none;
  }
  .domov,.galeria,.okolie,.ceny,.kontakt{
    text-align: center;
  }
  .video2{
    margin-top: 130px;
  }
}
