/* Header styling */
#sp-header {
    position: absolute;
    height: 70px;
    background: #ffffff1c;
    backdrop-filter: blur(15px);
}

.logo-image {
    margin-top: 14px;
}
.sp-page-title {
    margin-top: 70px;
    height: 250px;
    background-size: cover;
    backdrop-filter: blur(15px);
}
/* title header effect */
        .sp-page-title {
            text-align: center;
           
            
        }

        .sp-page-title .sp-page-title-heading {
            display: flex;
            justify-content: end;
            color: #ffffff82;
            font-size: 8em;
        }

        .sp-page-title .sp-page-title-heading span {
            display: inline-block;
            opacity: 0;
            animation: appear 0.5s forwards;
        }

        @keyframes appear-from-top {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes appear-from-bottom {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes appear-from-left {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes appear-from-right {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
/* title header effect end */
header.header-sticky .logo img {
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
    margin-top: 10px;
}

/* Top menu multicolor */
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li {
    margin: 5px;
}

#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li > a {
    text-decoration: none;
    font-size: 14px;
    color: #ffffff;
    padding: 0 6px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

/* Individual colors for each menu item */
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(1) > a { background-color: rgba(244, 67, 54, 0.6); }
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(2) > a { background-color: rgba(233, 30, 99, 0.6); }
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(3) > a { background-color: rgba(156, 39, 176, 0.6); }
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(4) > a { background-color: rgba(103, 58, 183, 0.6); }
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(5) > a { background-color: rgba(63, 81, 181, 0.6); }
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(6) > a { background-color: rgba(33, 150, 243, 0.6); }
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(7) > a { background-color: rgba(3, 169, 244, 0.6); }
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(8) > a { background-color: rgba(0, 188, 212, 0.6); }
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(9) > a { background-color: rgba(0, 150, 136, 0.6); }
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(10) > a { background-color: rgba(76, 175, 80, 0.6); }
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(11) > a { background-color: rgba(139, 195, 74, 0.6); }

/* Hover effects for menu items */
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(1) > a:hover {background-color: rgba(255, 235, 59, 0.8);}
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(2) > a:hover {background-color: rgba(255, 87, 34, 0.8);}
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(3) > a:hover {background-color: rgba(76, 175, 80, 0.8);}
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(4) > a:hover {background-color: rgba(33, 150, 243, 0.8);}
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(5) > a:hover {background-color: rgba(156, 39, 176, 0.8);}
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(6) > a:hover {background-color: rgba(63, 81, 181, 0.8);}
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(7) > a:hover {background-color: rgba(0, 150, 136, 0.8);}
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(8) > a:hover {background-color: rgba(255, 193, 7, 0.8);}
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(9) > a:hover {background-color: rgba(139, 195, 74, 0.8);}
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(10) > a:hover {background-color: rgba(233, 30, 99, 0.8);}
#sp-menu .sp-megamenu-wrapper .sp-megamenu-parent > li:nth-child(11) > a:hover {background-color: rgba(3, 169, 244, 0.8);}


.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    position: relative;
    background: #fff;
    border-radius: 5px;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}



/* Background and button animations */
.bg {
    background-image: radial-gradient(circle at 20% 100%, rgba(184, 184, 184, 0.1) 0%, rgba(96, 96, 96, 0.1) 66%, rgba(7, 7, 7, 0.1) 99%),
                      linear-gradient(40deg, #d7ddff, #ffffff, #d8e9ff, #dee4ff);
    background-repeat: no-repeat;
    background-size: cover;
}

.btn-4, .btn-5 {
    border: 2px dashed;
    overflow: hidden;
    position: relative;
    animation: shake 0.5s;
}

.btn-4:hover::after, .btn-5:hover::after {
    left: 120%;
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}

.flashu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3));
    transform: skewX(-25deg);
}

.flashu:hover::before {
    animation: shine 0.75s;
}

@keyframes shine {
    to { left: 125%; }
}

@keyframes shake {
    25%, 75% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
}

/* Additional animations and effects */
.rotate {
    animation: slow-rotate 60s linear infinite;
}

@keyframes slow-rotate {
    to { transform: rotate(360deg); }
}

.rotate-1 {
    animation: rotate-with-sway 20s linear infinite;
}

@keyframes rotate-with-sway {
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
    to { transform: rotate(0deg); }
}

/* Levitation effect */
.lev {
    animation: fadeInDown 5s 1, levitate 3s infinite;
}

@keyframes fadeInDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(10px); opacity: 1; }
}

@keyframes levitate {
    0%, 100% { transform: translateY(-15px); }
    50% { transform: translateY(0px); }
}
/* combo animation */
.levc {
  display: inline-block;
  animation: moveAndShake 8s ease-in-out infinite;
}

@keyframes moveAndShake {
  0% {
    transform: translate(0, 0);
  }
  12.5% {
    transform: translateY(-50px);
  }
  25% {
    transform: translateY(0);
  }
  37.5% {
    transform: translateX(-100px);
  }
  43.75% {
    transform: translateX(-80px);
  }
  50% {
    transform: translateX(-100px);
  }
  56.25% {
    transform: translateX(-80px);
  }
  62.5% {
    transform: translateX(-100px);
  }
  75% {
    transform: translateX(0);
  }
  87.5% {
    transform: translateX(100px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* left to right animation */
.levp {
  display: inline-block;
  animation: moveLeftAndBack 4s ease-in-out infinite;
}

@keyframes moveLeftAndBack {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-100px);
  }
  100% {
    transform: translateX(0);
  }
}
/* shake animation */
.levs{
  display: inline-block;
  animation: moveLeftShakeAndBack 4s ease-in-out infinite;
}

@keyframes moveLeftShakeAndBack {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-100px);
  }
  30% {
    transform: translateX(-80px);
  }
  35% {
    transform: translateX(-100px);
  }
  40% {
    transform: translateX(-80px);
  }
  45% {
    transform: translateX(-100px);
  }
  50% {
    transform: translateX(0);
  }
  75% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}


/* Article styling and effects */
.article-intro-image img {
    position: relative;
}

.article-intro-image img::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3));
    transform: skewX(-25deg);
}

.article-intro-image img:hover::before {
    animation: shine 0.75s;
}

/* Articles list layout */
.article-list .articleBody, .article-list .article-body {
    display: contents;
}

.article-list .article {
    display: flex;
    flex-direction: column;
    max-height: 450px;
    border: 1px solid #86b7fe;
    background-color: #ffffff66;
    box-shadow: rgb(49 43 154 / 45%) 0px 25px 20px -20px;
}

.article-list .article-header {
    order: -1;
    margin-bottom: 20px;
}
.article-list .article .article-header h2 a{
    color:#019fd5;
}
.article-header h1{
    color:#019fd5;
}
/* for single article */
.view-article .article-details {
    display: flex;
    flex-direction: column;
}
.view-article .article-header {
    order: -1;
    margin-bottom: 20px;
}

/* Home article details */
.sppb-meta-category {
    position: absolute;
    display: inline-block;
    top: 20px;
    left: -7px;
    background-color: #0dcaf0e3;
    padding: 2px;
    margin: 5px;
    font-size: 12px !important;
    width: 140px;
    padding-left: 5px;
    border: 1px dashed #fff;
}

.sppb-addon-articles .sppb-article-meta > span a {
    color: white;
}

.sppb-article-introtext {
    font-size: 14px;
}

/* Date display on articles */
.sppb-meta-date {
    position: absolute;
    top: 18px;
    left: -7px;
    text-align: center;
    background-color: #0dcaf0e3;
    padding-top: 17px;
    margin: 5px;
    width: 80px;
    height: 80px;
    padding-left: 5px;
    box-shadow: rgba(0, 0, 0, 0.45) 2px 5px 7px 0px;
    border: 1px dashed white;
   
    border-radius: 50%;
}

.article-info {
    margin-bottom: 4px;
    order: -1;
    margin-left: 10px;
}

/* Font sizing and formatting for article headers */
.article-list .article .article-header h1,
.article-list .article .article-header h2 {
    font-size: 1.375rem;
    margin: 0;
}

.sppb-article-info-wrap h3 a {
    font-size: 18px;
    color: #186297;
    padding-top: 5px;
}

.sppb-article-info-wrap h3 {
    line-height: 0.5 !important;
}

.sppb-article-info-wrap h3 a:hover {
    color: green;
}

.template img {
    display: block;
    width: 100%;
    height: auto;
    min-width: 150px;
    min-height: 260px;
    object-fit: cover;
    margin: auto;
    margin-bottom: 10px;
}

/* Ellipsis for overflowing text in titles */
 .sppb-article-info-wrap h3 {
    width: 350px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sppb-addon-article {
    margin-bottom: 30px;
    padding: 10px;
    border: 1px dashed #0dcaf0;
    background-color: #ffffffb5;
    border-radius: 5px;
    min-height: 350px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}
.sppb-carousel-extended-item {
	height: 100%;
	margin-right: 15px;
	border: 2px dashed;
	border-image: linear-gradient(to right, violet, blue) 1;
}

.sppb-addon-article {
  width: 100%;
  transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */
}

.sppb-addon-article:hover{
  transform: scale(1.1); /* Adjust scale to desired zoom level */
}
.article-intro-image img{
    padding: 15px;
    margin-top: 5px;
   
}
/* menu animacja podkreślenia */
sp-menu-item {
            display: inline-block;
            position: relative;
            padding: 10px 20px;
            font-size: 1.5em;
            text-decoration: none;
            color: #FFF;
            overflow: hidden;
        }

        .sp-menu-item::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 0;
            height: 2px;
            background-color: #FFF;
            transition: width 0.3s ease, left 0.3s ease;
        }

        .sp-menu-item:hover::after {
            width: 100%;
            left: 0;
        }
/* header setction tabs   */
.tabs:hover .sppb-blocknumber-number {
    transform: rotate(15deg) scale(1.1);
    transition: transform 0.3s ease-in-out;
}

/* zoom hover */
.zoom {
  transition: transform 0.3s ease-in-out;
}

.zoom:hover {
  transform: scale(1.1);
}


/* color gradient animation */
.cg {
	position: relative;
	background: linear-gradient(0deg, #000, #272727);
}

.cg:before, .cg:after {
	content: '';
	position: absolute;
	left: -2px;
	top: -2px;
	background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000, #fb0094, 
		#0000ff, #00ff00,#ffff00, #ff0000);
	background-size: 400%;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	z-index: -1;
	animation: steam 20s linear infinite;
}

@keyframes steam {
	0% {
		background-position: 0 0;
	}
	50% {
		background-position: 400% 0;
	}
	100% {
		background-position: 0 0;
	}
}

.cg:after {
	filter: blur(50px);
}

/* test */
.footermenu {
    text-align: center;
}

.footermenu {
    text-align: center;
}

.footermenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footermenu ul li {
    display: inline;
    margin: 0 10px;
    position: relative;
}

.footermenu ul li a {
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 5px;
    position: relative;
    overflow: hidden;
    transition: color 0.3s;
}

.footermenu ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s, left 0.3s;
}

.footermenu ul li a:hover::after {
    left: 0;
    width: 100%;
}

/* Individual colors for each menu item */
.footermenu ul li:nth-child(1) a {
    color: #e74c3c; /* Red */
}

.footermenu ul li:nth-child(2) a {
    color: #f39c12; /* Orange */
}

.footermenu ul li:nth-child(3) a {
    color: #2ecc71; /* Green */
}

.footermenu ul li:nth-child(4) a {
    color: #3498db; /* Blue */
}

.footermenu ul li:nth-child(5) a {
    color: yellowgreen; /* Yellow-Green */
}

.footermenu ul li:nth-child(6) a {
    color: purple; /* Purple */
}

.footermenu ul li:nth-child(7) a {
    color: pink; /* Pink */
}

/* Hover effects with respective colors */
.footermenu ul li:nth-child(1) a:hover {
    color: #c0392b; /* Darker Red */
}

.footermenu ul li:nth-child(2) a:hover {
    color: #e67e22; /* Darker Orange */
}

.footermenu ul li:nth-child(3) a:hover {
    color: #27ae60; /* Darker Green */
}

.footermenu ul li:nth-child(4) a:hover {
    color: #2980b9; /* Darker Blue */
}

.footermenu ul li:nth-child(5) a:hover {
    color: green; /* Darker Yellow-Green */
}

.footermenu ul li:nth-child(6) a:hover {
    color: darkmagenta; /* Darker Purple */
}

.footermenu ul li:nth-child(7) a:hover {
    color: deeppink; /* Darker Pink */
}
/* car effect animation*/

@keyframes shake {
	0% {
		transform: translateY(2px);
	}
	50% {
		transform: translateY(-2px);
	}
	100% {
		transform: translateY(0);
	}
}

.car {
	animation: shake 0.5s ease-in-out infinite;
}
/* up effect */
.up {
            transition: transform 0.3s ease-in-out;
        }

        .up:hover {
            transform: translateY(-40px);
        }
/* color leater */
.kolor  {
font-size: 40px;
  transform: rotate(3deg);
  font-family: 'Delicious Handrawn', cursive;
  font-weight: bold;
  padding-bottom:15px;
  
 }
 .kolor span {
            display: inline-block;
            opacity: 0;
            animation: fadeIn 0.5s forwards;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }
.kolor1  {
font-size: 40px;
  transform: rotate(-3deg);
  font-family: 'Delicious Handrawn', cursive;
  font-weight: bold;
  padding-bottom:15px;
  color: turquoise;
  
 }
 .kolor2  {
font-size: 40px;
  transform: rotate(3deg);
  font-family: 'Delicious Handrawn', cursive;
  font-weight: bold;
  padding-bottom:15px;
  color:yellowgreen;
  
 }
  .kolor3  {
font-size: 40px;
  transform: rotate(-3deg);
  font-family: 'Delicious Handrawn', cursive;
  font-weight: bold;
  padding-bottom:15px;
  color:skyblue;
  
 }
/* left right module */
#sp-left .sp-module, #sp-right .sp-module {
    margin-top: 10px;
    padding: 30px;
    border-radius: 3px;
    background: #ffffff8f;
    border: 1px solid #7fd8ff;

}
#sp-left .sp-module ul>li>a, #sp-right .sp-module ul>li>a {
    font-size: 20px;
    display: block;
    padding: 5px 0;
    line-height: 25px;
    padding: 2px 0;
    color: #ec430f;
    border-bottom: 1px solid #63e5ff;
}
sp-left .sp-module .sp-module-title, #sp-right .sp-module .sp-module-title {
    margin: 0 0 10px;
   padding-bottom: 5px;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 0px solid #f3f3f3;
}