/* ZÁKLAD */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #e0e0e0;
  font-family: Nunito;
  color: #0F253F;
}

::selection {
  background: #235896;
  color: white;
}

.oddil {
  padding: 7rem 1.5rem;
}

.oddil-table {
  padding: 7rem 0.2rem;
}

.o1 {
  /* background-color: #E8CC00; */
  background-color: #FFFFFF;
}

.obtect-zprava {
  float: right;
}

.cistic {
  clear: both;
}

.obraz {
  border-radius: 5px;
  border: 1px solid #0F253F;
  margin-left: 1.5rem;
}

@media (max-width: 768px) {
  .obraz {
    width: 100%;
    margin: 1.5rem 0rem;
  }
}

.center {
  text-align: center;
}

.d-obrazek {
  width: 50%;
}

@media (max-width: 768px) {
  .d-obrazek {
    width: 100%;
  }
}

footer {
  text-align: center;
  padding: 1.5rem 0rem 0.5rem 0em;
  background-color: #0F253F;
  color: white;
}

p, li, a {
    font-size: 1.35rem;
}

@media (max-width: 768px) {
    p, li, a {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    p, li, a {
        font-size: 1.30rem;
    }
}

@media (min-width: 992px) {
    p, li, a {
        font-size: 1.35rem;
    }
}

h1 {
    font-size: 7rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.6rem;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 5rem;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 7rem;
    }
}

h2, h3 {
  margin-bottom: 20px;
}

h2 {
  font-size: 3.5rem;
}

@media (max-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    h2 {
        font-size: 3.5rem;
    }
}

h3 {
  font-size: 2.5rem;
}

@media (max-width: 768px) {
    h3 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    h3 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    h3 {
        font-size: 2.5rem;
    }
}

.upozorneni {
    color: #960000;
}


.mapa {
  width: 100%;
  height: 20rem;
  border: 2px solid #e0e0e0;
  border-radius: 3px;
}

.card {
  background-color: #0F253F;
  color: #e0e0e0;
  min-height: 27rem;
}

.card:hover {
  box-shadow: 0px 0px 10px #0F253F;
}

.spacing {
  margin: 1rem 0rem;
}

.odkaz {
    color: #224e82;
    text-decoration: none;
}

.odkaz:hover {
    color: #0F253F;
    text-decoration: underline;
}

.tlacitko{
  background-color: #224e82;
  color: white;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
}

.tlacitko:hover {
  background-color: #0F253F;
  text-decoration:none;
  color: white;
}

.tlacitko2{
  background-color: #e0e0e0;
  color: #0F253F;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
}

.tlacitko2:hover {
  background-color: #999999;
  text-decoration:none;
  color: #0F253F;
}

/* ÚVOD */

#uvod {
  height: 100vh;
  position: relative;
}

.o1 {
  background-color: #FFFFFF;
}

#mainHeading {
  font-size: 3rem; /* Adjust this size as per your preference */
  margin-bottom: 20px;
}

.responsive-image {
  width: calc(5 * 3rem); /* Image width is 1.2x the size of the main heading */
  height: auto; /* Maintain aspect ratio */
  margin: 0 auto; /* Center the image */
}

@media (min-width: 768px) {
  #mainHeading {
    font-size: 5rem; /* Increase heading size on larger screens */
  }

  .responsive-image {
    width: calc(5 * 5rem); /* Image is 1.2x the size of the larger heading */
  }
}

/* NAVIGACE */

.nav-link {
  color: #000000;
  transition: all 0.2s;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-item {
  padding: 0rem 0.5rem;
  height: 4.25rem;
  margin-top: -0.5rem;
  transition: all 0.2s;
  line-height: 3.5rem;
}

.nav-item:hover {
  background-color: rgb(15,37,63);
}

#navigace {
  height: 4.25rem;
  text-align: center;
  display: block;
  z-index: 2;
  position: fixed;
  left: 18.5rem;
  top: 0.5rem;
  line-height: 2.125rem;
  background-color: rgb(15,37,63, 0.5);
  border-radius: 0px 5px 5px 0px;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -ms-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  transform: translateX(-70rem);
  width: min-content;
}

@media (max-width: 768px) { /*nestaci, ale sem linej*/
  #navigace {
    height: auto;
    min-height: 4.6rem;
    left: 9rem;
    max-width: 10rem;
    border-radius: 0px 5px 5px 5px;
  }
}

.logo-img {
  margin-right: 5px;
  width: 3rem;
  height: 3rem;
}

@media (max-width: 768px) {
  .hidden {
    margin-right: 0px;
  }
}

#logo {
  padding: 10px 20px;
  position: fixed;
  z-index: 3;
  top: 0.5rem;
  left: 0.5rem;
  display: block;
  background-color: rgb(15,37,63, 0.5);
  border-radius: 5px 0px 0px 5px;
  font-size: 1.2rem;
  color: #000000;
  text-decoration: none;
  width: 13.75rem;
  height: 4.25rem;
  transition: all 0.2s;
}

#logo:hover {
  background-color: rgb(15,37,63);
  color: #FFFFFF;
  text-decoration: none;
}

@media (max-width: 768px) {
  #logo {
    padding: 10px;
    width: 4.25rem;
  }
}

@media (max-width: 768px) {
  .hidden-s {
    display: none;
  }
}

.navigacni-tlacitko {
  position: fixed;
  left: 14.25rem;
  top: 0.5rem;
  width: 4.25rem;
  height: 4.25rem;
  text-align: center;
  line-height: 4.25rem;
  background-color: rgb(15,37,63, 0.5);
  z-index: 3;
  color: #000000;
  transition: all 0.2s;
  border-radius: 0px 5px 5px 0px;
}

.navigacni-tlacitko:hover {
  background-color: rgb(15,37,63);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .navigacni-tlacitko {
    left: 4.75rem;
  }
}

.navigacni-tlacitko.aktivni-tlacitko {
  border-radius: 0px;
}

#navigace.aktivni-navigace {
    right: 4.5rem;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    transform: translateX(0px);
}

footer > p, a, li {
  font-size: 1rem;
}

.btn-prihlas {
  background-color: rgb(120,153,192,1);
  font-size: 2rem; 
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: bold;
}

@media (max-width: 992px) {
  .btn-prihlas {
      margin: 0rem 0.5rem 0.5rem 0.5rem;
  }
}

@media (max-width: 576px) {
  .btn-prihlas {
      margin: 4px 0px 4px 0px;
  }
}

#mainImage {
  max-height: 50vh;
  width: auto;
}

@media (max-width: 768px) {
  #mainImage {
    max-height: 30vh; /* Na menších zařízeních bude obrázek zabírat pouze 30 % výšky obrazovky */
  }
}

body {
  overflow-x: hidden; /* Skryje horizontální posuvník */
}

td {
  font-size: 1.35rem;
}

@media (max-width: 1200px) {
  td {
      font-size: 1.35rem;
  }
}

@media (max-width: 992px) {
  td {
      font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  td {
      font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  td {
      font-size: 1rem;
  }
}
