/*!
Theme Name: Apla plus
Theme URI: 
Template: kadence
Author: lukedi.pl
Author URI: https://lukedi.pl/
Description: 
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

#anime {
  text-align:center;
  font-size: var(--global-kb-font-size-lg, 2rem);
  line-height: 1.4;
  letter-spacing: 2px;
  color: #0027c2;
  overflow:hidden;
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  -webkit-transform: translate3d(0,0,0);
font-style: italic;
  font-weight: 700;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: -3px;
}
#anime .color {
  color: #ff0000;
}
#anime .color2 {
  color: #0027c2;
}
#anime div {
  display:inline-block;
  overflow:hidden;
  white-space:nowrap;
  font-size: 84px;
}

#anime div:first-of-type {  
  animation: showup 7s infinite;
}

#anime div:last-of-type {
  width:0px;
  animation: reveal 7s infinite;
  margin: 0 auto;
}

#anime div:last-of-type span {
  margin-left:-485px;
  animation: slidein 7s infinite;
}

@keyframes showup {
    0% {opacity:0;}
    20% {opacity:1;}
    80% {opacity:1;}
    100% {opacity:0;}
}

@keyframes slidein {
    0% { margin-left:-800px; }
    20% { margin-left:-800px; }
    35% { margin-left:0px; }
    100% { margin-left:0px; }
}

@keyframes reveal {
    0% {opacity:0;width:0px;}
    20% {opacity:1;width:0px;}
    30% {width:485px;}
    80% {opacity:1;}
    100% {opacity:0;width:485px;}
}
@media (min-width: 1200px) {
	#anime {
	  font-size: 3.5rem;
	}
	#anime div:last-of-type {
	  display: block;
	}
	@keyframes showup {
	    0% {opacity:0;}
	    20% {opacity:1;}
	    80% {opacity:1;}
	    100% {opacity:0;}
	}
	@keyframes slidein {
	    0% { margin-left:-1900px; }
	    20% { margin-left:-1900px; }
	    35% { margin-left:0px; }
	    100% { margin-left:0px; }
	}
	@keyframes reveal {
	    0% {opacity:0;width:0px;}
	    20% {opacity:1;width:0px;}
	    30% {width:985px;}
	    80% {opacity:1;}
	    100% {opacity:0;width:985px;}
	}
}

#anime .color,
#anime .color2 span {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.6), 0 0 6px rgba(0, 0, 0, 0.6)
}
#cegla-title h1 {
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.6), 0 0 6px rgba(0, 0, 0, 0.6);
}

.bg-in-blue .kt-inside-inner-col {
  background-color: #0027C2 !important;
  border-radius: 30px;
}
.bg-in-blue .kt-inside-inner-col .kb-is-ratio-image {
  border-radius: 20px;
  overflow: hidden;
}
.bg-in-blue .kt-inside-inner-col .wp-block-kadence-advancedheading {
  color: #fff;
  text-align: center;
  justify-content: center;
}

.slbImageWrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 9;
}
.slbImageWrap .slbImage {
  padding: 1.5rem 0;
}
.slbCloseBtn {
  z-index: 10;
}

/* -------------------------------------------------------------- */

@media (min-width: 992px) {
	.site-top-header-wrap {
	  position: absolute;
	  width: 100%;
	  background: linear-gradient(to bottom, rgb(161, 161, 160) 0%, rgba(161, 161, 160, .8) 65%, transparent 100%);
	}
	.brand.has-logo-image {
	  z-index: 1;
	  position: relative;
	}
}

@media (max-width: 560px) {
  .mobile-html-inner .menu li {
    font-size: 16px;
  }

  #anime div {
    display: block;
    overflow: hidden;
    white-space: wrap;
    font-size: 52px;
    line-height: 1.2;
  }
  @keyframes reveal {
      0% {opacity:0;width:0px;}
      20% {opacity:1;width:0px;}
      30% {width:385px;}
      80% {opacity:1;}
      100% {opacity:0;width:385px;}
  }
}