body {
  padding: 0;
  margin: 0;
  background-color: black !important;
  color:  #ffffff !important;
  font-family:'Oswald',serif !important;

  }
  
  a{
    text-decoration: none !important; 
  }
  h2{
    text-align: center;
  }
  h3{
    text-align: center;
  }
  h4{
    text-align: center;
  }

   /* Header alter. */
  .sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 1;
  }
  
  .sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
  }
  
  .sidebar a:hover {
    color: #e40202;
    text-decoration: none;
  }
  
  .sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  .openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 28px;
    position: fixed;
    z-index: 1;
  }
  
  .openbtn:hover {
    background-color: #e40202;
  }
  
  #main {
    transition: margin-left .5s;
    padding: 16px;
  }
  
  @media screen and (max-height: 450px) {
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}
  }
  .wallp{
    position: relative;
    text-align: center;
    z-index: -1;
 }
 .wallp img{
  width: 100%;
}



 /* Kurzy */

 body section .row {
  align-items: center;
  margin: 8px 0;
}

.course {
  position: relative;
  height: 400px;
  width: 100%;
  margin: 10px 0;
  transition: ease all 2.3s;
  perspective: 1200px;
}
.course:hover .cover {
  transform: rotateX(0deg) rotateY(-180deg);
}
.course:hover .cover:before {
  transform: translateZ(30px);
}
.course:hover .cover:after {
  background-color: black;
}
.course:hover .cover h1 {
  transform: translateZ(100px);
}
.course:hover .cover .price {
  transform: translateZ(60px);
}
.course:hover .cover a {
  transform: translateZ(-60px) rotatey(-180deg);
}
.course .cover {
  position: absolute;
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  transition: ease all 2.3s;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.course .cover:before {
  content: "";
  position: absolute;
  border: 5px solid #e40202;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  transition: ease all 2.3s;
  transform-style: preserve-3d;
  transform: translateZ(0px);
}
.course .cover:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 2;
  transition: ease all 1.3s;
  background: rgba(0, 0, 0, 0.4);
}
.course .cover.item-a {
  background-image: url("Obrázky/Testing.jpg");
}
.course .cover.item-b {
  background-image: url("Obrázky/shooting.jpg");
}
.course .cover.item-c {
  background-image: url("Obrázky/gun\ care.jpg");
}
.course .cover h1 {
  font-weight: 600;
  position: absolute;
  bottom: 55px;
  left: 50px;
  color: white;
  transform-style: preserve-3d;
  transition: ease all 2.3s;
  z-index: 3;
  font-size: 3em;
  transform: translateZ(0px);
}
.course .cover .price {
  font-weight: 200;
  position: absolute;
  top: 55px;
  right: 50px;
  color: white;
  transform-style: preserve-3d;
  transition: ease all 2.3s;
  z-index: 4;
  font-size: 2em;
  transform: translateZ(0px);
}
.course .course-back {
  position: absolute;
  height: 100%;
  width: 100%;
  background: black;
  transform-style: preserve-3d;
  transition: ease all 2.3s;
  transform: translateZ(-1px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.course .course-back a {
  transform-style: preserve-3d;
  transition: ease transform 2.3s, ease background 0.5s;
  transform: translateZ(-1px) rotatey(-180deg);
  background: transparent;
  border: 1px solid #e40202;
  font-weight: 200;
  font-size: 1.3em;
  color: white;
  padding: 14px 32px;
  outline: none;
  text-decoration: none;
}
.course .course-back a:hover {
  background-color: #e40202;
  color: #0b0f08;
}


 
 /* Recenze */
 @media only screen and (max-width:768px) {

  .container{
  margin-top: 66px;
 }

   }

 .height{
  height: 100vh;
 }

 .card{

  border: none;
  cursor: pointer;
  background-color: transparent !important;
  box-shadow: 0 0 40px rgba(51, 51, 51, .1)
 }

 .card:hover{

  background-color: #e40202 !important;

 }

 .testimonial-list{

  list-style: none;
 }

 .testimonial-list li{

  margin-bottom: 20px;
 }

 .testimonials-margin{

  margin-top: -19px;
 }
 
 
 /* Galerie */
 .container-1 {
  display: flex;
  width: 100%;
  margin-top: 20px;
  padding: 4% 2%;
  box-sizing: border-box;
  height: 100vh;
}

.box {
  flex: 1;
  overflow: hidden;
  transition: .5s;
  margin: 0 2%;
  line-height: 0;
}

.box > img {
  width: 200%;
  height: calc(100% - 10vh);
  object-fit: cover; 
  transition: .5s;
}


.box:hover { flex: 1 1 50%; }
.box:hover > img {
  width: 100%;
  height: 100%;
}


 /* Footer */
 .footer-main{
  padding-top: 90px;
  background-color: black;
  left: 0;
  bottom: 0;
  width: 100%;
}

.address-box {
  padding: 10px 0;
  margin-bottom: 30px;
}
.add-icon{
  float: left;
  width: 60px;
  display: inline-block;
  padding: 0px 5px;
}
.address-box .add-icon {
  height: 75px;
  line-height: 75px;
  width: 75px;
  margin-right: 20px;
  text-align: center;
}
.add-icon img{
  width: 100%;
}
.address-box .add-icon img {
  max-width: 40px;
}
.add-content{
  padding-left: 70px;
}
.add-content h5 {
  font-size: 17px;
  color: #ffffff;
  padding: 0;
  font-weight: 500;
  margin-bottom: 10px;
}
.add-content p {
  font-size: 13px;
  color: #999999;
  font-weight: 300;
}
.add-content p a{
  font-size: 14px;
  color: #999999;
  font-weight: 300;
  word-wrap: break-word;
}
.footer-main{
  padding-top: 90px;
}
.address-box {
  padding: 10px 0;
  margin-bottom: 30px;
}
.add-icon{
  float: left;
  width: 60px;
  display: inline-block;
  padding: 0px 5px;
}
.address-box .add-icon {
  height: 75px;
  line-height: 75px;
  width: 75px;
  margin-right: 20px;
  text-align: center;
}
.add-icon img{
  width: 100%;
}
.address-box .add-icon img {
  max-width: 40px;
}
.add-content{
  padding-left: 70px;
}
.add-content h5 {
  font-size: 17px;
  color: #ffffff;
  padding: 0;
  font-weight: 500;
  margin-bottom: 10px;
}
.add-content p {
  font-size: 13px;
  color: #999999;
  font-weight: 300;
}
.add-content p a{
  font-size: 14px;
  color: #999999;
  font-weight: 300;
  word-wrap: break-word;
}
.add-content p a:hover{
  color: #ffb32d;
}
.second{
  background-color: #e40202;
  text-align: center;
  color: white;
}
      
       /* O nás */
      .aboutAuthor {
        padding: 60px 0 20px 0;
        margin-top: 40px;
      }
      .aboutAuthor .K2_bio {
        justify-content: center;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        align-items: center;
        max-width: 70%;
        margin: auto;
        padding: 80px 15px 65px 15px;

      }
      .aboutAuthor .K2_bio img {
        background-image: linear-gradient(to top right,#ffffff,#ffa24d);
        box-shadow: 0 5px 20px rgba(0,0,0,.2);
        padding: 0;
        border: 7px solid #e40202;
        width: 120px;
        height: 120px;
        position: absolute;
        border-radius: 50%;
        top: -60px;
        pointer-events: none;
        
      }
       .aboutAuthor .K2_bio h2{
      margin:0px!important;
        padding: 0;
      }
      .aboutAuthor .K2_bio p {
        margin: 1em 0!important;
        text-align: center;
      }
      .aboutAuthor .K2_bio .k2About-bt {
        text-align: center;
        position: absolute;
        bottom: 10px;
      }
      .k2About-bt   {
        width: 100px;
        height: 30px;
        background:#C8102E;
        text-align: center;
        padding: 0 10px ;
        line-height:1.8em;
        border-radius: 5px ;
        }
      .k2About-bt :link  {
        text-decoration: none;
      }  
      .h-divider {
      margin: auto;
      margin-top: 15px;
      width: 80%;
      position: relative;
      }
      .h-divider .shadow {
      overflow: hidden;
      height: 20px;
      }
      
      .h-divider .shadow:after {
      content: '';
      display: block;
      margin: -25px auto 0;
      width: 100%;
      height: 25px;
      border-radius: 125px/12px;
      box-shadow: 0 0 8px #e40202;
      }
      .h-divider .text2 {
      width: 20px;
      height: 20px;
      position: absolute;
      bottom: 100%;
      margin-bottom: -10px;
      left: 50%;
      margin-left: -10px;
      border-radius: 100%;
      }
      .darkmoade .aboutAuthor .K2_bio {
      background-color: var(--dark-bgAlt);
      }
#inside {
  color: #e40202;
  z-index: 1;
  float: right;
  font-size: 40px;
  padding-right: 2%;
  padding-top: 0,8%;
  text-shadow: 4px 4px 10px rgba(210, 65, 36, 0.4), 
               4px 4px 20px rgba(210, 45, 26, 0.4), 
               4px 4px 30px rgba(210, 25, 16, 0.4), 
               4px 4px 40px rgba(210, 15, 06, 0.4);
}