html,body{
    margin: 0 auto;
    scroll-behavior: smooth;
    font-family: acumin-pro, sans-serif;
}

body{
    background-image: url(https://dnykrestanskerodiny.cz/fotky/img/papir.jpg);
}

h1,h3{
  font-weight: 300;
}

  .container {
    z-index: 1;
    perspective:3000px;
    height: 90vh;
  }

  .book{cursor: pointer;}
  
  .container .book {
    position: relative;
    display: block;
    width: 400px;
    height: 550px;
    margin: 10% auto;
    border-radius: 2px 4px 4px 2px;
    background: linear-gradient(45deg,  #DAD5DC 0%, #f2ebf4 100%);
    font-family: acumin-pro, sans-serif;
    -webkit-box-shadow: 13px 13px 8px 0px rgba(151, 146, 153,0.6);
  -moz-box-shadow: 13px 13px 8px 0px rgba(151, 146, 153,0.6);
  box-shadow: 13px 13px 8px 0px rgba(151, 146, 153,0.6);
    font-weight: 400;
    color: #2b2b2b;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    transition: transform .5s;
  }
  
  .container .book {
    transition: transform 1s;
  }
  
  .container .book > div,
  .container .front > div {
    display: block;
    position: absolute;
    color: #fff;
  }
  
  
  .container .front {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 0% 50%;
    -moz-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    transition: transform .5s;
    -webkit-transform: translate3d(0,0,20px);
    -moz-transform: translate3d(0,0,20px);
    transform: translate3d(0,0,20px);
    z-index: 10;
  }
  
  .container .front > div {
    width: 400px;
    height: 550px;
  }
  
  .container .left-side{
    width: 40px;
    left: -20px;
    height: 550px;
    background: linear-gradient(180deg, #6ca9fd 40%, rgba(255,255,255,1) 25%, rgba(255,243,72,1) 95%); 
    -webkit-transform: rotate3d(0,1,0,-90deg);
    -moz-transform: rotate3d(0,1,0,-90deg);
    transform: rotate3d(0,1,0,-90deg);
  }
  
  .cover{
      background-image: url('../img/kniha2.jpg');
      background-size: cover;
      width: 100%;
      display: block;
  }
  
  .container .front > div {
    border-radius: 0 3px 3px 0;
    box-shadow: 
      inset 4px 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .container .front:after {
    content: '';
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: -1px;
    width: 1px;
  }
  
  .container .cover:after {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    bottom: 0;
    width: 3px;
    box-shadow: 1px 0 3px rgba(255, 255, 255, 0.1);
  }
  
  
  .container h2 {
    width: 500px;
    height: 40px;
    color: #2b2b2b;
    font-size: 15px;
    line-height: 40px;
    padding-right: 10px;
    text-align: right;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotate(90deg) translateY(-40px);
    -moz-transform: rotate(90deg) translateY(-40px);
    transform: rotate(90deg) translateY(-40px);
  }
  
  .left-side h2 span:first-child {
    font-weight: 400;
    font-size: 13px;
    padding-right: 20px;
    color: #202020;
  }
  
  .left-side h2 span:last-child{
    font-family: acumin-pro, sans-serif;
    color: #202020;
  } 
  
  .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    }
    
    .animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    }

    @-webkit-keyframes slideInUp {
        from {
          -webkit-transform: translate3d(0, 100%, 0);
          transform: translate3d(0, 100%, 0);
          visibility: visible;
        }
      
        to {
          -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
        }
      }
      @keyframes slideInUp {
        from {
          -webkit-transform: translate3d(0, 100%, 0);
          transform: translate3d(0, 100%, 0);
          visibility: visible;
        }
      
        to {
          -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
        }
      }
      .slideInUp {
        -webkit-animation-name: slideInUp;
        animation-name: slideInUp;
      }

      @keyframes zoomIn {
        from {
          opacity: 0;
          -webkit-transform: scale3d(0.3, 0.3, 0.3);
          transform: scale3d(0.3, 0.3, 0.3);
        }
      
        50% {
          opacity: 1;
        }
      }
      .zoomIn {
        -webkit-animation-name: zoomIn;
        animation-name: zoomIn;
      }      

.login{
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    margin: 0 auto;
    width: 80%;
}

.box{
    display: none;
    margin: 5% auto;
    justify-content: center;
    width: 50vw;
    -webkit-box-shadow: 13px 13px 8px 0px rgba(151, 146, 153,0.6);
    -moz-box-shadow: 13px 13px 8px 0px rgba(151, 146, 153,0.6);
    box-shadow: 13px 13px 8px 0px rgba(151, 146, 153,0.6);
}

.kniha{
    width: 52%;
    height: 70vh;
    background-image: url('../img/kniha.jpg');
    background-size: cover;
}

.form{
    padding: 10px;
    width: 48%;
    background-color: #fff;
}

.form>div{
    width: 20vw;
    margin: 0 auto;
}

input, select{
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  input[type=submit] {
    width: 100%;
    background-color: #231f1e;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    -webkit-appearance: none;

  }
  
  input[type=submit]:hover {
    background-color: #202020;
  }

  @media only screen and (max-width: 750px) {
    .box{
        width: 95vw;
        margin: 10% auto;
    }

    .kniha{display: none;}

    .form{width: 100%;}

    .form>div{
        width: 90% !important;
    }

    .success{
      margin: 45% auto !important;
      width: 90vw !important;
    }

  }

  @media screen and (min-width:751px) and (max-width:1200px){
    .box{
      width: 98%;
      height: auto;
    }
    .form>div{
      width: 90%;
    }

    .kniha{
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      background-color: #231f1e;
      width: 40%;
    }

    .form{
      width: 60%;
    }

    .success{
      width: 75vw !important;
    }
  }


  .success{
    display: none;
    width: 30vw;
    text-align: center;
    background-color: #fff;
    padding: 10px;
    margin: 15% auto;
    box-shadow: 13px 13px 8px 0px rgba(151, 146, 153,0.6);
  }

  .success-animation { margin:20px auto;}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position:relative;
    top: 5px;
    right: 5px;
   margin: 0 auto;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: #fff;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
 
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}