
body {
  background-color: rgb(246, 247, 247);
  width: 100%;
  margin: 0;
  padding: 0;
}

.overlay {
  background-color: rgb(246, 247, 247);

  }

.odstavec {
 align-items: center;
 justify-content: center;
   
 /*margin-left: 5%;
 margin-right: 5%;
 */
}

.header{
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* margin-bottom: 30px; */
}

.infocar-logo {
  width: 25%;
  margin-top: 3%;
  margin-bottom: 4%;
}

.picture-row {
  width: 100%;
  object-fit: cover;
}

 /* .kupit {
  background-color: blue;
  border-radius: 5px;
  color: white;
  vertical-align: bottom;
}
  */

.grid1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 3%; 
  margin-left: 5%;
  margin-right: 5%;

}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 3%;    
  margin-left: 5%;
  margin-right: 5%;
}

.grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 3%;    
  margin-left: 5%;
  margin-right: 5%;
}

.odstavec {
  align-items: center;
  column-gap: 3%px;    
  margin-left: 5%;
  margin-right: 5%;
}

.nadpis-header {
  display: flex;
  flex-direction: row;
  justify-content:center;
  text-align: center;
  margin-top: 3.5%;
  margin-bottom: none;
  padding-bottom: none;
}

.nadpis-header-text {
  align-items: center;
  font-weight: 700;
  font-size: 32px;
  color: rgb(57, 57, 57);
}

.texty-o-produkte {
  text-align: center;
  align-items: center;
}


.text-block {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  width: 100%;
  
  color: rgb(76, 76, 76);
}

.text-block-body {
  display: flex;
  justify-content: center;
  font-weight: 500;
  font-size: 18px;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  color: rgb(76, 76, 76);
}


.obsah-popis {
  display: block;
  justify-content: center;
  text-align: center;
}

  .texty-obsah{
  display: block;
  justify-content: center;
  font-size: 18px;
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  }


.ukazka-obsah {
  justify-content: center;
  margin-left: none;
  margin-right: none;   
}



.video {
  display: block;
  margin-left: none;
  margin-right: none; 
  padding-top: 3%;
  padding-bottom: 0px;
}

.text-video {
  display: flex;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 3%;
  margin-top: none;
  color: rgb(76, 76, 76);

  
}
/*.kapitoly {
  margin-left: auto;
  margin-right: auto; 
}
  */

.kapitoly-obrazok {
  display: block;
  width: 100%;
  margin-left: none;
  margin-right: none; 
  padding-top: 2%;
  padding-bottom: 3%;
}

.text-block-bold {
  display: flex;
  justify-content: center;
  margin-left: 5%;
  margin-right: 5%;
  font-weight: 600;
  font-size: 22px;
  color: rgb(76, 76, 76);
}

.button {
  display: block;
  text-align: center;
  margin-top: 3%;
}

.footer { 
  
 
    text-align: center;
    background-color: rgb(81, 84, 84);
    left: 0;
    bottom: 0;
    right: 0;
    height: 140px;
    color: white;
    margin-top: 4%;
}

.footer-text {
  font-size: 25px;
  margin-bottom: none;
  padding-top: 10px;
}

.footer-text-mail {

  font-size: 30px;
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 10px;
  padding-top: 10px;
}

body a {
  display: inline-block;
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  background: #168210;
  width: 280px;
  padding: 20px 0;
  text-align: center;
  border-radius: 10px;
  padding-left: 5%;
  padding-right: 5%;
}

a span {
  position: relative;
  width: 1.5rem;
  visibility: hidden;
}

a span:after {
  content: '\21D3';
  font-size: 1.5rem;
  position: absolute;
  animation: down 1s linear infinite;
}

@keyframes down {
  from {
      top: -10px;
      opacity: 0;
  }
  to { 
      top: 10px;
      opacity: 1;

  }
}

@media only screen and (max-width: 600px) {

body {
  width: 100%;
}

.grid1 {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  column-gap: 10px; 
  margin-left: 5%;
  margin-right: 5%;
    
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  column-gap: 10px; 
  margin-left: 5%;
  margin-right: 5%;
     
}

.grid3 {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  column-gap: 10px; 
  margin-left: 5%;
  margin-right: 5%;
     
}

body a {
  display: inline-block;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  background: #168210;
  width: 150px;
  padding: 20px 0;
  text-align: center;
  border-radius: 10px;
  padding-left: 5%;
  padding-right: 5%;
}

}


/* <600px, 601px, 768px, 992px, 1200px */

/*
@media only screen and (max-width: 601px) {

body {
  width: 100%;
  background-color: blue;
}
}

@media only screen and (max-width: 768px) {

  body {
    width: 100%;
    background-color: rgb(0, 255, 94);
  }
  }

  @media only screen and (max-width: 992px) {

    body {
      width: 100%;
      background-color: rgb(255, 0, 234);
    }
    }
    */
    