:root {
  --zakladniBarva: #54a728;
  --barvaTextu1: #000;
  --barvaTextu2: #004858;
  --pozadi1: #fff;
  --pozadi2: #f9f9f9;
  --pozadi3: #eff6ff;
  --pozadi4: #004858;
  --icony: #1fe0cb;
}

html {
  scroll-behavior: smooth;
}

* {
  font-family: 'Josefin Sans', sanXs-serif;
}

body {
  margin: 0px;
}

a {
  text-decoration: none;
  color: #000;
}

h2 {
  font-size: 2em;
}

button {
  padding: 10px 15px;
  transition: 0.2s;
  cursor: pointer;
  color: #fff;
  background-color: var(--zakladniBarva);
  border: 0px;
  border-radius: 5px;
}

button:hover {
  color: #000;
}

/*
------------
---Header---
------------
*/

header {
  background-color: var(--pozadi1);
  padding: 0px 10px;
  position: sticky;
  top: 0;
  z-index: 10;
}

header #mobileMenu,
header #menuIcon {
  display: none;
}

header .wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

header div a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

header img {
  width: 45px;
}

header span {
  font-size: 1.5em;
}

header ul {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  font-size: 1.25em;
}

header li a {
  margin-left: 15px;
  padding: 10px 15px;
  transition: 0.2s;
}

header li a {
  color: var(--barvaTextu1);
}

header li a:hover {
  color: var(--zakladniBarva);
}

header li:last-of-type a {
  border: 1px solid var(--zakladniBarva);
  background-color: #54a728;
  border-radius: 5px;
}

header li:last-of-type a {
  color: var(--pozadi1);
}

header li:last-of-type:hover a {
  color: var(--barvaTextu1);
}

header i {
  color: var(--zakladniBarva);
  font-size: 1.5em;
}

@media only screen and (max-width: 768px) {
  header {
    padding: 10px 10px;
  }
  header nav {
    display: none;
  }

  header ul {
    flex-wrap: wrap;
    padding: 0px;
  }

  header #menuIcon {
    display: block;
  }

  header #mobileMenu {
    border-bottom: 1px solid var(--zakladniBarva);
    justify-content: center;
  }

  header #mobileMenu ul {
    justify-content: space-around;
  }
}

/*-----|||-----*/

/*
------------
---Footer---
------------
*/

footer {
  padding: 10px 10px;
  background-color: var(--pozadi4);
  color: #fff;
}

footer .wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer img {
  width: 45px;
}

footer p {
  color: #fff;
}

footer .footerBox p {
  font-size: 15px;
}

footer .footerBox i {
  font-size: 25px;
  color: #fff;
  margin: 0px 10px;
  cursor: pointer;
  transition: 0.2s;
}

footer .footerBox i:hover {
  color: var(--zakladniBarva);
}

@media only screen and (max-width: 1000px) {
  footer .wrapper {
    flex-direction: column;
    text-align: center;
  }
}

/*-----|||-----*/
