/*Preloader*/
/* Preloader */
.preloaderback {
    position: fixed;
    width: 100%;
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    top: 0;
    left: 0;
    background-color: #00004c;
    z-index: 9999;
  }
  
  .preloaderhomezinner {
    position: absolute;
    top: 0;
    left: 0;
    display: -ms-grid;
    display: grid;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    justify-items: center;
    width: 100%;
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
  }
  
  .longline {
    width: 100px;
    height: 3px;
    background-color: #545454;
    position: absolute;
    bottom: 0;
    left: 50px;
  }
  
  .longline span {
    position: absolute;
    width: 0%;
    height: 100%;
    display: block;
    background-color: #FFF;
  }
  
  .middlebox {
    width: 200px;
    position: relative;
    text-align: center;
    height: 60px;
  }
  
  .middlebox img {
    width: 150px;
    height: auto;
    /* display: inline-block; */
    position: absolute;
    /* margin: 30px auto; */
    left: 30px;
  }
  
  .blueback {
    background-color: #00004c;
    position: absolute;
    width: 100%;
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    z-index: -1;
    top: 0;
    left: 0;
  }
  
  .redbackholder {
    position: absolute;
    width: 100%;
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    top: 0;
    left: 0;
    overflow: hidden;
  }
  
  .redback {
    position: absolute;
    width: 100%;
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    top: 0;
    left: 0;
  }
  
  .redback img {
    position: absolute;
    width: 100%;
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    top: 0;
    left: 0;
    -o-object-fit: cover;
       object-fit: cover;
  }
  
  .letteringouter {
    position: absolute;
    width: 100%;
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    top: 0;
    left: 0;
    overflow: hidden;
  }
  
  .lettering {
    position: absolute;
    width: 60%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    top: 10vh;
  }
  
  .lettering img {
    width: 100%;
  }
  
  .bottomlettering {
    position: absolute;
    width: 20%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    bottom: 7vh;
  }
  
  .bottomlettering img {
    width: 100%;
  }
  
  .headouter {
    position: relative;
    width: 100;
    height: 0;
    padding-bottom: 100%;
  }
  
  .headouter2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
  }
  
  .headone {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  
  .fullimage {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -o-object-fit: contain;
       object-fit: contain;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
  }
  
  #roll1, #roll2, #roll3, #roll4, #roll5, #roll6 {
    opacity: 0;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
  }
  
  #roll2 {
    left: -.5%;
    top: .5%;
  }
  
  .rollone #roll1 {
    opacity: 1;
  }
  
  .rollone .fullimage {
    opacity: .75;
  }
  
  .rollone #roll1 {
    -webkit-animation: pulse .1s infinite;
            animation: pulse .1s infinite;
  }
  
  .rollone2 #roll2 {
    opacity: 1;
  }
  
  .rollone2 .fullimage {
    opacity: .75;
  }
  
  .rollone2 #roll2 {
    -webkit-animation: pulse .1s infinite;
            animation: pulse .1s infinite;
  }
  
  .rollone3 #roll3 {
    opacity: 1;
  }
  
  .rollone3 .fullimage {
    opacity: .75;
  }
  
  .rollone3 #roll3 {
    -webkit-animation: pulse .1s infinite;
            animation: pulse .1s infinite;
  }
  
  .rollone4 #roll4 {
    opacity: 1;
  }
  
  .rollone4 .fullimage {
    opacity: .75;
  }
  
  .rollone4 #roll4 {
    -webkit-animation: pulse .1s infinite;
            animation: pulse .1s infinite;
  }
  
  .rollone5 #roll5 {
    opacity: 1;
  }
  
  .rollone5 .fullimage {
    opacity: .75;
  }
  
  .rollone5 #roll5 {
    -webkit-animation: pulse .1s infinite;
            animation: pulse .1s infinite;
  }
  
  .rollone6 #roll6 {
    opacity: 1;
  }
  
  .rollone6 .fullimage {
    opacity: .75;
  }
  
  .rollone6 #roll6 {
    -webkit-animation: pulse .1s infinite;
            animation: pulse .1s infinite;
  }
  
  @-webkit-keyframes pulse {
    0% {
      -webkit-filter: invert(0%);
              filter: invert(0%);
    }
    50% {
      -webkit-filter: invert(10%);
              filter: invert(10%);
    }
    100% {
      -webkit-filter: invert(0%);
              filter: invert(0%);
    }
  }
  
  @keyframes pulse {
    0% {
      -webkit-filter: invert(0%);
              filter: invert(0%);
    }
    50% {
      -webkit-filter: invert(10%);
              filter: invert(10%);
    }
    100% {
      -webkit-filter: invert(0%);
              filter: invert(0%);
    }
  }
  
  .headouter a {
    font-family: 'Amatic SC', cursive;
    color: black;
    text-decoration: none;
    font-size: 22px;
    position: absolute;
    display: block;
  }
  
  .button1 {
    left: 53%;
    top: 25%;
    rotate: -20deg;
    width: 28%;
    height: 14%;
  }
  
  .button2 {
    left: 62%;
    top: 4%;
    rotate: -24deg;
    width: 16%;
    height: 17%;
  }
  
  .button3 {
    left: 42%;
    top: 14%;
    rotate: -21deg;
    width: 19%;
    height: 13%;
  }
  
  .button4 {
    left: 36%;
    top: 1%;
    rotate: -8deg;
    width: 22%;
    height: 10%;
  }
  
  .button5 {
    left: 15%;
    top: 9%;
    rotate: -40deg;
    width: 22%;
    height: 21%;
  }
  
  .button6 {
    left: 28%;
    top: 30%;
    rotate: 4deg;
    width: 18%;
    height: 21%;
  }

  .page-template-template-special-splash #ajax-content-wrap {
    background-color: #00004c;
  }



  @media (orientation: portrait) {


  .headouter2 {
    width: 90%;
  }

  .lettering {
    width: 90%;
    top: 14vh;
  }

  .bottomlettering {
    width: 50%;
    bottom: 7vh;
  }
  


  }
