@font-face {
  font-family: coolFontSudety;
  src: url(evil_empire2.woff2);
}

/* Style inputs with type="text", select elements and textareas */
input, select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

.g-recaptcha {
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px; /* Bottom margin */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 15%;
  margin-right: 15%;
}

.containersimple {
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 15%;
  margin-right: 15%;
}

.containerflex {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 15%;
  margin-right: 15%;
  display: flex;
}

.itemflex {

}

.itemimageflex {
  max-width:100%;
}

/* TABS */

.topnav {
  overflow: hidden;
  margin-left: 15%;
  margin-right: 15%;
  /*max-height: 48px;*/

  border-radius: 5px;
  background-color: #f2f2f2;


}

.topnavright {
  float: right;
}

.topnav a {
  float: left;
  display: block;
  color: #333;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 27px;
}

.topnav a.nadpisnebologo {
  float: left;
}

.topnav a:hover {
  text-shadow:0px 0px 1px black;
  color: black;
}

.topnav a.active {
  font-weight: bold;
  color: black;
}

.topnav .icon {
  display: none;
}

.imgMainPage {
  display: none;
  text-align: center;
  width: 100%;
  object-fit: scale-down;
}

.topnav .mainMenuTopNav {
  display: none;
}

/*footer*/

.footer {
  overflow: hidden;
  /*
  padding-left: 15%;
  padding-right: 15%;
  */
  position: fixed;
  bottom: 10px;
  right: 10px;
}

/*page padding and font*/
.pagecontent {

}

body {
  font-family: coolFontSudety;

  background-image: url('imgs\\background.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position-x: center;
}

#videoBackground {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

#imageBackground {
  visibility: hidden;
  width: 100vw;
  height: 0px;
  object-fit: cover;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

/*TABULKA PRO FOTKY*/
.row > .column {
  padding: 0 8px;
}

.row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.columntretinky {
  text-align: center;
  width: 33%;
  margin: 0 auto;
}

.columnctvrtinky {
  text-align: center;
  width: 25%;
  margin: 0 auto;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* GALERIE */

.imggalerie {
  width: 400px;
  height: 400px;
  object-fit: cover;
  margin:5px;
  /*transition: 0.3s;*/
  cursor:pointer;
}

.imggalerie:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  /*position: relative;*/
  background-color: black;
  margin: auto;
  margin-top: 3%;
  padding: 0;
  width: 90%;
  height: 80%;
  max-width: 1200px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 50px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "prev button" to the left */
.prev {
  left: 0;
}

.background-container {
    position: relative;
    width: 100%;
    height: 100vh;           /* zabere celé okno */
    overflow: hidden;
    z-index: 1;
}

/* Obrázek chovající se jako pozadí */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;        /* vyplní celé okno */
    z-index: -1;
}

/* Sekce s videem */
.video-section {
    background-color: #111;   /* tmavé pozadí */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    min-height: 60vh;
    z-index: 5;
}

.defaultpagebody {
    background-image: none !important;
    background-color: #111;
}

/* Poměr stran videa 16:9 */
.video-wrapper {
    width: 80%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    position: relative;
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
}

/* nastaveni pro telefony*/
@media screen and (max-width: 1000px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
	padding-top: 0px;
  }
  .topnav {
    margin-left: 3%;
    margin-right: 3%;
  }
  .topnav a {
    padding-top: 5px;
	padding-bottom: 5px;
  }
  .topnav a.nadpisnebologo {
  float: none;
  display: none;
  }

  .topnav .mainMenuTopNav {
    display: block;
  }

  
  .container {
  margin-left: 3%;
  margin-right: 3%;
  }

.containersimple {
  margin-left: 3%;
  margin-right: 3%;
  }

  .containerflex {
    flex-wrap: wrap;
  }
  
  .row {
  display: initial;
  }
  
  .columnctvrtinky {
  width: auto;
  }

  #videoBackground {
    visibility: hidden;
  }
  #imageBackground {
    visibility: visible;
    height: auto;
  }
  .imggalerie {
    width: 100%;
    height: auto;
  }

  .defaultpagebody {
    background-image: url('imgs\\pozadi_SC.jpg')
  }

  body {
    background-image: url('imgs\\pozadi_SC.jpg')
  }

  .bg-image {
      content:url("imgs\\background_phone.png");
  }
}

@media screen and (max-width: 1000px) {
  .topnav.responsive {
	  position: relative;
	  max-height: none;
  }
  .topnav.responsive .icon {
    position: block;
    left: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: right;
  }
  .topnav a.nadpisnebologo {
  float: none;
  display: none;
  }
}