
body {
  background-repeat: no-repeat;
  margin: 0;


}
* {
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}

.Aktuality {
  margin-top: 2rem;
  padding: 1rem;
  border: solid white 1px;
  width: 70%;
  margin-left: 15%;
  margin-right: 15%;
  transition: transform .5s ease;
}

/*-----------nav----------*/


header {
  text-align: center;
  position: fixed;
  z-index: 999;
  width: 100%;
  background: white;


}

.logo {
text-decoration: none;
font-family: 'Bangers', cursive;
color: #7FDBFF;
font-size:  1.5rem;
width: 50%;
}

.logo img {
  width: 50%;
  margin-top: 0.5rem;
}

nav {
  position: absolute;
  text-align: left;
  top: 100%;
  left: 0;
  width: 100%;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 400ms ease-in-out;

}

nav ul {
  background: white;
  padding: 0;
  list-style: none;

}

nav li {
  margin-bottom: 1em;
  margin-left: 1em;

}

nav a {
  left: 0;
  color: black;
  padding: 0.5rem 0.5rem;
  font-family: Lato,sans-serif;
  text-decoration: none;
  opacity: 0;
  transition: opacity 150ms ease-in-out;

}

nav a:hover {
  color: #acd1ff;
}


.nav-toggle:checked ~ nav {
  transform: scale(1,1);
}

.nav-toggle:checked ~ nav a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 1.5em;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: black;
  height: 2px;
  width: 2em;
  border-radius: 2px;
  position: relative;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 7px;
}
.nav-toggle-label span::after {
  top:7px;

}


  footer{
    position: relative;
    bottom: 0px;
  }
.box{
  width: 100%;
  text-align: center;
}
  .container{
    flex-wrap: wrap;
    flex-direction: column;
  }
.container .box{
    margin: 5px 0;
  }
}
.bbb{
  margin-bottom: 5%;
}
iframe{
width: 100%;
}

footer{
  background:  #80acd3 ;

}
footer h2{
  color: white;
}

.box h2{
  font-family: 'RocknRoll One', sans-serif;
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.box{
  font-family: 'RocknRoll One', sans-serif;
  color: white;
}

.levý{
text-align: center;
padding-top: 1rem;

}
.center{
text-align: center;
}
.pravý{
  padding-bottom: 3rem;
  text-decoration: none;

}
.pravý a{
  color: white;
}
.social{
  color: white;
  margin-top: 1rem;
}
.place{
  padding-bottom: 1rem;
  font-size: 25px;
}
.phone{
  padding-bottom: 1rem;
  font-size: 25px;
}
.email{
  padding-bottom: 1rem;
  font-size: 25px;
}
.sikon{
  color: white;
}
.ikon{
  font-size: 1.5rem;
}
.text{
  font-size: 1.5rem;
}

.levý  .social a span{
  height: 40px;
  width: 40px;
  background:  #001f3f ;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  border-radius: 5px;
  transition: 0.3s;

}
.levý .social a span:hover{
  background:  white  ;
}

.btn button{

    text-align: center;
    height: 2rem;
    width: 80%;
    background: #001f3f;
    color: white;
    margin-top: 1rem;
    font-size: 1.2rem;
  	font-family: 'RocknRoll One', sans-serif;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    transition-duration: 0.5s;
}
.bbb:hover{
  background: #FF851B;
}


.Aktuality:hover{
  transform: scale(1.1);
  }
  .nav-box2 {
    display: none;
    position: absolute;
    background: #80acd3;
    width: 100%;
    color: white;
  }

  .pojistovna {
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
    width: 80%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .pojistovna p {
    font-family: 'RocknRoll One', sans-serif;
    font-weight: 600;
    font-size: 20px;
  }

  .title {
    color: #80acd3;
    margin-top: 4rem;
    text-align: center;
    font-family: 'RocknRoll One', sans-serif;

  }


/*-----------Big Screen-------------------*/
@media screen and (min-width: 1100px) {
  .nav-toggle-label {
    display: none
  }

    nav {
      all: unset;
      text-decoration: none;
      display: flex;
      font-size: 18px;
      margin-top: 1.6rem;
      flex-direction: row;
      justify-content: space-evenly;
      position: absolute;
      left: 36%;


    }
    header {
      height: 123px;
      background-color: white;
    }

    nav li {
      all: unset;
      display: inline-block;
    }

    nav ul {

      margin-top: 3.3rem;
    }

    nav a {
      all: unset;
      opacity: 1;
      text-decoration: none;
      color: black;
      padding: 0.5rem 0.5rem;
      font-family: Lato,sans-serif;
    }
    nav a:hover {
      color: #acd1ff;
    }

    .logo {
      text-decoration: none;
      text-align: center;
      display: flex;
      width: 30%;
      flex-direction: row;
      align-items: center;
      justify-content: space-evenly;
      position: absolute;
      padding: 1.4rem;
      margin-top: 1.9rem;

    }

    .logo img {
      width: 100%;
      margin-top: 0.5rem;
    }
  .fa {

  border-radius: 5px;
  font-size: 30px;
  width: 1rem;
  text-align: center;
  text-decoration: none;

}
  .fa-facebook:hover {
  color: black;
  }

  .fa-facebook {
  color: white;
  position: relative;

}

.nav-box2 {
  display: flex;
  background: #80acd3;
  width: 100%;
  padding: 0.5rem;
  color: white;
}

.nav-box2 p {
  font-size: 1.2rem;
  font-weight: bold;
  font-family: sans-serif;
}
.nav-box2 ul {
  list-style: none;
  margin-left: 60%;
}
.nav-box2 li {
  display: inline-block;
  margin-left: 1rem;
  margin-top: 0;
}
.nav-box2 p:hover {
  color: black;

}
.pojistovna {
  text-align: center;
  margin-top: 5rem;
  width: 80%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.pojistovna p {
  font-family: 'RocknRoll One', sans-serif;
  font-weight: 600;
  font-size: 20px;
}

.title {
  color: #80acd3;
  margin-top: 10rem;
  text-align: center;
  font-family: 'RocknRoll One', sans-serif;

}

footer{
  margin-top: 6%;
  background:  #80acd3 ;

}
footer h2{
  color: white;
}

.box h2{
  font-family: 'RocknRoll One', sans-serif;
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.box{
  font-family: 'RocknRoll One', sans-serif;
  color: white;
  width: 33%;
  margin-bottom: 5%;
}
.Footercontainer{
  display: flex;
}
.levý{
text-align: center;
}
.center{
text-align: center;
}
.pravý{
text-align: center;
}
.social{
  color: white;
  margin-top: 1rem;
}
.place{
  padding-bottom: 1rem;
  font-size: 25px;
}
.phone{
  padding-bottom: 1rem;
  font-size: 25px;
}
.email{
  padding-bottom: 1rem;
  font-size: 25px;
}
.sikon{
  color: white;
}
.ikon{
  font-size: 1.5rem;
}
.text{
  font-size: 1.5rem;
}

.levý  .social a span{
  height: 40px;
  width: 40px;
  background:  #001f3f ;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  border-radius: 5px;
  transition: 0.3s;

}
.levý .social a span:hover{
  background:  white  ;
}

.btn button{

    text-align: center;
    height: 2rem;
    width: 80%;
    background: #001f3f;
    color: white;
    margin-top: 1rem;
    font-size: 1.2rem;
  	font-family: 'RocknRoll One', sans-serif;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    transition-duration: 0.5s;
}
.bbb:hover{
  background: #FF851B;
}

.Aktuality {
  margin-left: 15%;
  margin-top: 2rem;
  padding: 1rem;
  border: solid white 1px;
  width: 70%;
  transition: transform .5s ease;
}

.Aktuality:hover{
  transform: scale(1.1);
  }

}
