:root {
  --main-color: white;
  --head-color: rgb(138,150,148);
  --background: rgb(188,180,160) url('img_int/uvod1.jpg') fixed center no-repeat;
  --background-ucto: rgb(72,101,118) url('img_int/ucto/pozadi.jpg') fixed center no-repeat;
  --background-it: rgb(14,33,45) url('img_int/it/pozadi.jpg') fixed center no-repeat;
  --background-kontakt: rgb(107,124,118) url('img_int/uvod2.jpg') fixed center no-repeat;
  --color-red: #9F433E;
  --color-blue: #48607E;
  --color-green: #5F815A;
  --color-orange: #C6935F;
}

.bold {
  font-weight: bold;
}
.italic {
  font-style: italic;
}

.center {
  text-align: center;
}
.right {
  text-align: right;
}
.left {
  text-align: left;
}
.justify {
  text-align: justify;
}

.floatRight {
  float: right;
  margin-left: 1em;
}

.floatLeft {
  float: left;
  margin-right: 1em;
}

.white {
  color: white;
}
.black {
  color: black;
}
.red {
  color: var(--color-red);
}
.blue {
  color: var(--color-blue);
}
.green {
  color: var(--color-green);
}
.orange {
  color: var(--color-orange);
}
.gray,
.grey {
  color: gray;
}

body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
  color: var(--main-color);
}
a,
.likeA {
  text-decoration: underline dashed 1px;
  color: var(--main-color);
  cursor: pointer;
}
a:hover,
.likeA:hover {
  color: yellow;
  text-decoration: underline solid;
}

h1 a {
  text-decoration: none;
}

h1, h2 {
  text-transform: uppercase;
}

header {
	background: var(--head-color);
	color: white;
	padding: 0.05rem 1rem;
  position: sticky;
  top: 0;
  text-align: center;
  border: none;
  box-shadow: 10px 10px 5px 0px rgba(79,78,78,0.75);
  -webkit-box-shadow: 10px 10px 5px 0px rgba(79,78,78,0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(79,78,78,0.75);
  z-index: 1;
}

header h1 {
  cursor: pointer;
  margin-left: 2em;
}

header h1 a {
  color: white;
  text-decoration: none;
}
header h1 a:hover {
  text-decoration: none;
}

#menu-icon {
  display: none;
  float: right;
  font-size: 15px;
  color: white;
  cursor: pointer;
  padding: 5px;
}

nav {
  font-size: 90%;
}

nav ul {
	list-style: none;
	padding: 0;
}
nav ul li {
	display: inline;
	margin: 0 1rem;
}
nav ul li a {
  color: white;
  text-decoration: none;
  cursor: pointer;
  text-transform: uppercase;
}
nav ul li a:hover {
  color: yellow;
  text-decoration: underline;
}
nav ul li a:visited {
  color: white;
  text-decoration: none;
}
nav ul li.selected a {
  color: yellow;
}

main {
  width: calc(100vw - 1em - 1px);
  height: 100%;
  overflow: auto;
  text-align: justify;
  background: var(--background);
  background-size: cover;
  border: none;
  margin: 0;
  padding: 0;
}

#screen {
  max-width: 1024px;
  min-width: 640px;
  width: 50%;
  margin-left: calc(20% + 4em);
  margin-right: auto;
  padding: 2em;
  min-height: 100vh;
  text-align: justify;
  border: none;
}

main.ucto {
  background: var(--background-ucto);
  background-size: cover;
}

main.it {
  background: var(--background-it);
  background-size: cover;
}

main.kontakt {
  background: var(--background-kontakt);
  background-size: cover;
}

main li {
  text-align: justify;
}

main h1 {
  text-align: center;
}


section {
  background-color: rgba(156,130,95,0.8);
  margin-bottom: 1em;
  border-radius: 20px;
  padding: 4em 1em;
  border: solid 1px #222222;
  box-shadow: 5px 5px 2px 0px rgba(79,78,78,0.75);
  -webkit-box-shadow: 5px 5px 2px 0px rgba(79,78,78,0.75);
  -moz-box-shadow: 5px 5px 2px 0px rgba(79,78,78,0.75);
}

main.ucto section {
  background-color: rgba(124,128,123,0.8);
}

main.it section {
  background-color: rgba(72,106,123,0.8);
}

main.kontakt section {
  background-color: rgba(155,143,117,0.8);
  width: 50%;
  margin: auto 25%;
}



section li {
  margin-top: 0.5rem;
}

img.ikona {
  width: 20%;
  height: auto;
  float: left;
  margin: 2em 1em 1em 4em;
  border: solid 1px #222222;
  border-radius: 20px;
  box-shadow: 5px 5px 2px 0px rgba(79,78,78,0.75);
  -webkit-box-shadow: 5px 5px 2px 0px rgba(79,78,78,0.75);
  -moz-box-shadow: 5px 5px 2px 0px rgba(79,78,78,0.75);
}


.cenik {
  width: 100%;
  border-collapse: collapse;
}

.cenikSekce {
  padding-top: 1em;
  font-weight: bold;
  font-style: italic;
}

.cenikLine {
  border-bottom: dotted 1px #455259;
}

.cenikLine:hover {
  /*background-color: #455259;*/
  border-bottom: dashed 1px gray;
}

footer {
  font-size: 80%;
	background-color: var(--head-color);
	color: white;
	text-align: left;
	padding: 0.5rem 1rem;
	position: fixed;
	width: calc(100% - 2rem);
	bottom: 0;
}

/*footer div {
  margin-top: 0.75rem;
  margin-right: 3rem;
}*/

.logo {
  width: 50px;
  height: 50px;
}

.adresa {
  float: left;
  min-width: 25%;
  margin-right: 2em;
}


.qrPlatba {
  max-width: 100px;
  max-height: 100px;
  float: left;
  margin-right: 1em;
}

@media (max-width: 600px) {

  header h1 {
    text-align: center;
    font-size: 90%;
  }

  footer {
    display: none;
  }

  nav {
    display: none;
    float: none;
    font-size: 100%;
  }

  main {
    width: calc(100%);
  }

  section,
  main.kontakt section,
  main.ucto section,
  main.it section {
    margin: 0;
    padding: 1em;
    width: calc(100% - 1em);
  }

  img.ikona {
    float: none;
    width: 60%;
    height: auto;
  }

  #screen {
    width: calc(100% - 3em);
    min-width: auto;
    max-width: auto;
    margin: 0;
    padding: 1em;
    margin-bottom: 4em;
  }

  p, li {
    text-align: left;
    /*text-align: justify;*/
  }

  nav ul li {
  	display: block;
  	margin: 0.5rem 0;
    color: black;
  }

  #menu-icon {
    display: block;
  }

  #menu-list {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 30px;
    right: 0;
    background-color: white;
    width: 100%;
  }

  .menu-list li {
    margin: 0 0.25em;
    /*border: solid 1px #cccccc;*/
    padding: 0 1em;
  }

  nav ul li,
  nav ul li a,
  nav ul li a:visited,
  nav ul li.selected a,
  .menu-list li a,
  .menu-list li,
  .menu-list li a:visited,
  .menu-list li.selected a {
    color: black;
  }
}

