body, html {
    height: 100%;
    margin: 0;
  }

  * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Josefin Sans', sans-serif;
}
html {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
html body {
margin: 0;
background: #EAECF4;
/*background: linear-gradient(to right, #008fff, #ffffff);*/
}
/*navigace*/

* {
    margin: 0;
    padding: 0;
}
#navigace{
  position: fixed;
  width: 100%;
}
.navbar {
    position: fixed;
    top: -500px;
    width: 100%;
    font-size: 18px;
    background-color: #3D5388;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 10px;
    transition: 0.5s;
    overflow: hidden;
    z-index: 3;
    overflow-y: unset;
}
#logoM{
  display: none;
  z-index: 5;
}
.main-nav {
    list-style-type: none;
    display: none;
}

.nav-links,
.logo {
    text-decoration: none;
    color: #EAECF4;
}

.main-nav li {
    text-align: center;
    margin: 15px auto;
}

.logo {
    display: inline-block;
    font-size: 22px;
    margin-top: 10px;
    margin-left: 20px;
}

.navbar-toggle {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
}

.active {
    display: block;
}
.tlaco{
  z-index: 2;
  transition: 0.5s;
  position: fixed;
}
@media (max-width: 768px) {
  .tlaco{
    z-index: 4;
    position: fixed;
  }
  
}
@media screen and (min-width: 768px) {
    .navbar {
        position: fixed;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        height: 70px;
        align-items: center;
        overflow: unset;
        overflow-y: unset;
        z-index: 3;
    }
    

    .main-nav {
        display: flex;
        margin-right: 30px;
        flex-direction: row;
        justify-content: flex-end;
    }

    .main-nav li {
        margin: 0;
    }

    .nav-links {
        margin-left: 40px;
    }

    .logo {
        margin-top: 0;
    }

    .navbar-toggle {
        display: none;
    }

    .logo:hover,
    .nav-links:hover {
        color: rgba(255, 255, 255, 1);
    }
}
/*tlacitko*/
.tlaco {
  border: none; /* Remove borders */
  color: white; /* White text */
  top: 2%;
  right: 2%;
  font-size: 16px; /* Set a font size */
  cursor: pointer; /* Mouse pointer on hover */
  background-color: Transparent;
  background-repeat:no-repeat;
  border: none;
  cursor:pointer;
  overflow: hidden;
  outline:none;
}
#odkaz{
    position: fixed;
    top: 2%;
    right: 2%;
}

/*obrazky*/
.navbar-toggle2{
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    z-index: 2;
}
body {
    font-family: Arial;
    margin: 0;
  }
  
  * {
    box-sizing: border-box;
  }
  
  img {
    vertical-align: middle;
    
    object-fit: cover;
  }
  
  /* Position the image container (needed to position the left and right arrows) */
  .container {
    position: relative;
    text-align: center;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
    
  }
  
  /* Add a pointer when hovering over the thumbnail images */
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: fixed;
    top: 47%;
    width: auto;
    padding: 16px;
    color: white;
    background-color: black;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 2;
  }
  .prev{
      left: -2px;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 20px;
    position: absolute;
    top: 2%;
    left: 2%;
  }
  
  /* Container for image text */
  .caption-container {
    text-align: center;
    padding: 2px 16px;
    color: white;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side */

  .column img{
    border-radius: 15px;
  }
  
  /* Add a transparency effect for thumnbail images */
  .demo {
    opacity: 0.8;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }

.row{
    margin: 0 auto;
}
@media (max-width: 450px){
  p{
    font-size: 13px;
  }
  #logoV{
    display: none;
  }
  #logoM{
    display: unset;
  }
}