/*
---------------
---site---
---------------
*/

#hero {
  padding: 50px 10px;
  background-color: var(--barva2);
}

#hero .wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

#hero h1,
#hero p {
  color: #fff;
}

#hero .text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  height: 70px;
}

#hero .text p:nth-of-type(1) {
  color: var(--barva1);
  font-size: 2em;
  font-weight: bold;
}

#hero img {
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
}

/*-----|||-----*/

/*
---------------
---section-1---
---------------
*/

#section-1 {
  padding: 50px 10px;
  background-color: #eaf8ff;
}

#section-1 .wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

#section-1 .boxes {
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: space-evenly;
  width: 100%;
  margin-bottom: 50px;
}

#section-1 .box {
  max-width: 500px;
}

#section-1 h2 {
  text-align: center;
}

#section-1 .box .text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  height: 70px;
}

#section-1 .box .text p,
#section-1 .box .text h3 {
  margin-bottom: 10px;
}

#section-1 .text p:nth-of-type(1) {
  color: var(--barva1);
  font-size: 2.25em;
  font-weight: bold;
}

#section-1 .box .obal {
  margin-left: 20px;
  padding-left: 25px;
  border-left: 2px solid var(--barva1);
}

#section-1 .box .obal h4 {
  margin-bottom: 10px;
  color: var(--barva1);
}

#section-1 .box .obal p {
  font-weight: bold;
}

#section-1 .boxes img {
  max-width: 350px;
  border-radius: 15px;
  object-fit: cover;
}

#section-1 .obalTlacitko {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

#section-1 .obalTlacitko,
#section-1 .obalTlacitko a {
  color: var(--barva1);
}

/*-----|||-----*/

/*
---------------
---section-2---
---------------
*/

#section-2 {
  padding: 50px 10px;
  background-color: var(--barva2);
}

#section-2 .wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

#section-2 h2 {
  color: #fff;
}

#section-2 .boxes {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#section-2 .box {
  text-align: center;
  max-width: 300px;
}

#section-2 .box i {
  font-size: 2em;
}

#section-2 table {
  width: 100%;
  margin-top: 20px;
}

#section-2 table tr:nth-of-type(odd) {
  background-color: #174468;
}

#section-2 td {
  width: 25%;
  padding: 15px;
}

#section-2 table tr td:nth-of-type(1) {
  color: var(--barva1);
}

#section-2 table i {
  color: var(--barva1);
  margin-right: 10px;
}

/*-----|||-----*/

/*
---------------
---section-3---
---------------
*/

#section-3 {
  padding: 50px 10px;
  background-color: #fafbfb;
}

#section-3 .wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#section-3 .boxes {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  text-align: center;
  flex-wrap: wrap;

  gap: 35px;
}

#section-3 .boxes a {
  color: #fff;
  font-size: 1em;
}

#section-3 .box {
  background-color: var(--barva2);
  padding: 30px 15px;
  border-radius: 10px;
  max-width: 300px;
  cursor: pointer;
  transition: 0.4s;
  position: relative;
}

#section-3 .box i {
  font-size: 2em;
}

#section-3 .box:hover {
  background-color: var(--barva1);
}

#section-3 .clickMe {
  display: none;
  transition: 0.4s;
}

#section-3 .box:hover .clickMe {
  display: block;
}

#section-3 .clickMe {
  position: absolute;
  background-color: var(--barva3);
  color: #163d5d;
  padding: 20px 5px;
  border-radius: 50%;
  top: -20px;
  left: -20px;
  border: 1px solid var(--barva2);
}
/*-----|||-----*/

/*
---------------
---section-3---
---------------
*/

#section-4 {
  padding: 50px 10px;
  background-color: #fafbfb;
}

#section-4 .wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#section-4 .boxes {
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  gap: 30px;
  flex-wrap: wrap;
  animation: fadein 1s ease-in;
}

#section-4 .boxes:nth-of-type(1) {
  display: flex;
}

#section-4 .box {
  background-color: #fff;
  max-width: 300px;
  border-radius: 10px;
}

#section-4 img {
  max-width: 270px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  object-fit: cover;
  background-color: var(--barva3);
  padding: 15px;
}

#section-4 h4,
#section-4 p {
  margin: 10px 0px;
  padding: 0px 15px;
}

#section-4 p {
  font-size: 1em;
  opacity: 0.8;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*-----|||-----*/

@media only screen and (max-width: 768px) {
  #hero .wrapper {
    flex-direction: column;
  }

  #hero .wrapper h1 {
    text-align: center;
  }

  #hero .wrapper img {
    max-width: 100%;
    margin-top: 35px;
  }

  #section-1 .boxes {
    flex-direction: column;
    align-items: center;
  }

  #section-1 .boxes img {
    order: 2;
  }

  #section-2 td {
    text-align: center;
  }
}
