* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-size: 62.5%;
  background: rgb(255, 255, 255);
}

h1 {
  font-size: 2rem;
  color: #191919;
  margin: 0.5rem;
  font-family: "poppis", sans-serif;
  font-weight: normal;
  text-align: center;
  padding: 1rem 0;
}

h2 {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  color: #000000;
  background: #e4e4e4;
  width: 100%;
  padding: 2rem;
}

h3 {
  font-size: 1rem;
  font-weight: lighter;
  color: #333333;
}

p {
  font-size: 1.2rem;
}

a {
  font-size: 1.4rem;
  font-family: "Poppins", sans-serif;
  font-weight: normal;
  text-decoration: none;
  color: #000000;
  margin: 0 1rem;
}

/*HEADER*/

.main-head {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-starts;
  justify-content: center;
  margin: 0% 5%;
  padding: 1rem;
  min-height: 15vh;
}

#logo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;

  padding: 1rem;
}

.logo_img {
  width: 20pt;
  height: auto;
  margin-right: 0.5rem;
}

.nav-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  list-style: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0% 5%;
  min-height: 5vh;

  background: #fdfdfd;
}
.soc-list {
  display: flex;
  flex: 1 1 30rem;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
}
/*CSS GRID*/

.boxes {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  min-height: 85vh;
  background: rgb(255, 255, 255);
  margin: 5% 5%;
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin: 10px;
  width: 300px;
  height: 300px;
}

.box1 {
  background: url(./img/janek_666.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.box2 {
  background: url("./img/radim.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.box3 {
  background: url("./img/kaja.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.box4 {
  background: url("./img/vojta_3.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.box5 {
  background: url("./img/venda2.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.box6 {
  background: url("./img/lukas_3.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.box7 {
  background: url("./img/honza_4.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.box8 {
  background: url("./img/david_2.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.box9 {
  background: url("./img/jarda_0.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.box10 {
  background: url("./img/zdenda_1.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.box11 {
  background: url("./img/dzegr_1.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.hidden {
  visibility: hidden;
}

#gallery {
  min-height: 90vh;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0% 5%;
}

.image-wrapper {
  margin: 10px;
  width: 200px;
  height: 200px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#about-us {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0% 5%;
  min-height: 95vh;
}

.contact-info {
  margin: 2rem;
}

#lottie {
  background-color: #ffffff;
  width: 36px;
  height: auto;
  display: block;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  text-align: center;
  opacity: 1;
}

/* MEDIA QUERY 

@media screen and (min-width: 880px) {
  .boxes {
    max-width: 80%;
    //margin: auto;
  }
  body {
    background: rgb(255, 255, 255)55);
  }
}

@media screen and (max-width: 738px) {
  nav h1 {
    text-align: center;
  }
  h2 {
    font-size: 2.8rem;
  }
}
@media screen and (max-width: 372px) {
  nav a {
    text-align: center;
    font-size: 1.2rem;
  }
  nav h1 {
    text-align: center;
    font-size: 1.4rem;
    padding: 1rem;
  }
  h2 {
    font-size: 1.8rem;
  }
}
*/
