@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Parkinsans:wght@300..800&display=swap');

* {
  box-sizing: boder-box;
}

body {
  margin: 0;
    font-family: "Parkinsans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

#main {
  position: relative;
  z-index: 20;
  background: #fff;
  transition: transform 0.6s ease;
  min-height: 100vh;
}

  .desktop {
  display: table-cell;
  }
  
  .mobil {
  display: none;
  }
  
  
@media (min-width: 640px) {
  #main {
   // padding: 1em;
  }
  
  .desktop {
  display: none;
  }
  
  .mobil {
  display: table-cell;
  }
}

.caveat-font {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 300%;
}

.parkinsans-font {
  font-family: "Parkinsans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.fake-section {
  background: #eee;
  height: 300px;
}

.tiles-a {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.tiles-a ul {
  margin: 0;
  padding: 0;
}
.tiles-a li {
  list-style: none;
  
}
@media (min-width: 640px) {
  .tiles-a li {
    float: left;
    width: 100%;
  }
}

@media (min-width: 910px) {
  .tiles-a li {
    float: left;
    width: 50%;
  }
}
@media (min-width: 1500px) {
  .tiles-a li {
    float: left;
    width: 33.3%;
  }
}
@media (min-width: 1920px) {
  .tiles-a li {
    float: left;
    width: 25%;
    font-size: 90%;
  }
}
.tiles-a a {
  margin: 1em;
  display: block;
  background: #222;
  padding-top: 73%;
  height: 0;
  position: relative;
}
#aside {
  position: fixed;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: rgba(207, 207, 207, 0.5);
  overflow-y: scroll;
  z-index: 10;
  background-blend-mode: overlay;
}

@media (max-width: 910px) {
#aside {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(207, 207, 207, 0.5);
  overflow-y: scroll;
  z-index: 10;
  background-blend-mode: overlay;
}
}

#aside img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
#aside .wrapper {
  padding: 1em;
}
#aside .close {
  width: 45px;
  display: block;
  position: absolute;
  top: 1em;
  right: 1em;
  background-color: rgba(255, 255, 255, 1);
}

.show-detail {
  overflow: hidden;
}
.show-detail #main {
  transform: translateX(-60%);
}

@media (max-width: 910px) {
.show-detail #main {
  transform: translateX(-100%);
}
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.overlay_nadpis {
  position: absolute;
  top: 50%;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10%;
  width: 100%;
  //opacity: 0.8;
  transition: .5s ease;
}

.overlay_nadpis:hover {
  opacity: 1;
}


.overlay {
  position: absolute;
  top: 60%;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  width: 100%;
  //opacity: 1;
  transition: .5s ease;
}

.overlay:hover {
  opacity: 1;
}

.text {
  color: white;
  position: absolute;
  top: 50%;
  left: 20%;
  -webkit-transform: translate(-10%, -50%);
  -ms-transform: translate(-10%, -50%);
  transform: translate(-10%, -50%);
  text-align: center;
  width: 80%;
  display: inline-block;
}

@media (min-width: 911px) {
.text {
font-size: 90%;
    line-height: 15px;
}
}






@media (max-width: 910px) {
.text {
font-size: 120%;
  line-height: 30px;
}
}

@media (max-width: 705px) {
.text {
font-size: 100%;
  line-height: 20px;
}
}

@media (max-width: 500px) {
.text {
font-size: 80%;
  line-height: 15px;
}
}

@media (max-width: 425px) {
.text {
font-size: 60%;
  line-height: 10px;
}
}




input, select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit] {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}




.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#urlfrm {
display: none;
}
