html, body {
    height: 100%;
    font-family: sans-serif;
    color: #fff;
    overflow: hidden;
}
 
h1, h2, h3, h4, h5, h6 {
  font-family: serif;
}

h1 {
  font-weight: 700;
  font-size: 4em;
}

.left, .right {
  height: 100%;
  transition: all .7s;
}

.left{
  background: url('../images/index/rys.webp') no-repeat;
  background-position: bottom;
  filter: grayscale(100%);
  height: 100%;
  text-transform: uppercase;
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
  background-size: 100%;
}

.right{
  background: url('../images/index/kocka.webp') no-repeat;
  background-position: bottom;
  filter: grayscale(100%);
  height: 100%;
  text-transform: uppercase;
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
  background-size: 100%;
}

.left:hover, .right:hover {
  filter: none;
  animation: zoomin 1s linear forwards;
  -webkit-animation: zoomin 1s linear forwards;
  animation-iteration-count: 1
}


@keyframes zoomin {
  from {
    background-size: 100%; 
 }
 to {
    background-size: 120%; 
 } 
}

@-webkit-keyframes zoomin {
  from {
     background-size: 100%; 
  }
  to {
     background-size: 120%; 
  }
}

.indexBtn {
    font-size: 3em;
    display: inline-block;
    background: rgba(0, 0, 0, 0.62);
    text-align: center;
    position: relative;
    text-decoration: none;
    color: #fff;
    letter-spacing: 2px;
    border-radius: 0px;
    box-sizing:border-box;
    outline:none;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 50px; 
    padding-left: 50px;
    cursor: pointer;
}

.indexBtn:hover {
  text-decoration: none;
  color: white;
}


.indexBtn:before, .indexBtn:after {
  position: absolute;
  content: "";
  transition: all .25s;
}

.indexBtn:before{
  border-top: 5px solid #fff;
  border-left: 5px solid #fff;
  width: 30%;
  height: 70%;
  left: -10px;
  top: -10px;
}

.indexBtn:after{
  border-bottom: 5px solid #fff;
  border-right: 5px solid #fff;
  width: 30%;
  height: 70%;
  bottom: -10px;
  right: -10px;
}

.indexBtnFull:before {
  width: 105%;
  height: 120%;
}

.indexBtnFull:after {
  width: 105%;
  height: 120%;
}

.indexBtn:hover:before{
  width: 105%;
  height: 120%;
}

.indexBtn:hover:after{
  width: 105%;
  height: 120%;
}

.nav-link {
  font-family: 'serif';
  font-style: normal!important;
  font-weight: normal!important;
  font-size: 24px!important;
  line-height: 34px!important;
  color: #000!important;
}

.bigspacing {
  line-height: 32px;
}

.customContainer {
  max-width: 45%;
}

@media only screen and (max-width: 990px) {
  .left, .right {
    height: 50%;
    background-size: 100%;
  }


  .customContainer {
    max-width: 100%;
  }

  h1 {
    font-size: 2em;
    font-weight: normal;
  }

  .indexBtn {
    font-size: 1.5em;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 25px; 
    padding-left: 25px;
  }

  .indexBtn:before{
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
  }
  
  .indexBtn:after{
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
  }

  .indexBtnFull:before{
    width: 109%;
    height: 144%;
  }
  
  .indexBtnFull:after{
    width: 109%;
    height: 140%;
  }

  .nav-link {
    font-family: 'serif';
    font-style: normal!important;
    font-weight: normal!important;
    font-size: 20px!important;
    line-height: 22px!important;
    color: #000!important;
  }
  

}