/*
Theme Name: thegreatleslieband
Author: Ionuț Staicu
Description: Custom theme for The Great Leslie Band
Template: hello-elementor
Version: 1.0.1
Requires PHP: 7.1
License: GNU General Public License v2 or later
Text Domain: thegreatleslieband
*/


* {
    margin: 0;
    padding: 0;
}


html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

img {
    max-width: 100%;
    height: auto;
}


body {
    /*background: url('assets/images/page-bg.jpg') no-repeat center center fixed;*/
    background-size: cover;
}

h1, h2, h3, h4, h5, p:not(:last-child), ul:not(:last-child), ol:not(:last-child), li:not(:last-child) {
    margin-bottom: .5em;
}


.wp-block-quote:not(:last-child),
.blocks-gallery-grid:not(:last-child),
.wp-block-cover:not(:last-child) {
    margin-bottom: 1.5em;
}


@keyframes scale-out-dark {
    0% {
        top: 100%;
        bottom: -45vh;
        opacity: 1;
        height: 45vh;
    }
    100% {
        top: -45vh;
        bottom: auto;
        opacity: 1;
        height: 45vh;
    }
}

@keyframes scale-out-light {
    0% {
        top: 100%;
        bottom: 0;
        opacity: 1;
        height: 0;
    }
    100% {
        top: 0;
        bottom: 0;
        opacity: 1;
        height: 100%;
    }
}

@keyframes scale-in-dark {
    0% {
        top: 100%;
        bottom: -45vh;
        opacity: 1;
        height: 45vh;
    }
    100% {
        top: -45vh;
        bottom: auto;
        opacity: 1;
        height: 45vh;
    }
}

@keyframes scale-in-light {
    0% {
        top: 0;
        bottom: 0;
        opacity: 1;
        height: 100%;
    }
    100% {
        top: 0;
        bottom: 100%;
        opacity: 1;
        height: 0;
    }
}

@keyframes scale-in-light-loader {
    0% {
        top: 0;
        bottom: 0;
        opacity: 1;
        height: 100%;
    }
    100% {
        top: -100%;
        bottom: 100%;
        opacity: 1;
        height: 0;
    }
}

@keyframes scale-out-content {
    0% {
        margin-top: 0;
    }
    100% {
        margin-top: -50px;
    }
}

@keyframes scale-in-content {
    0% {
        margin-top: 50px;
    }
    100% {
        margin-top: 0;
    }
}

@keyframes logo-animation {
    0% {
        background-size: 265px;
    }
    20% {
        background-size: 250px;
    }
    40% {
        background-size: 265px;
    }
    60% {
        background-size: 250px;
    }
    80% {
        background-size: 265px;
    }
    100% {
        background-size: 265px;
    }
}


.the-great-loader,
#the-great-wrap:after,
#the-great-wrap:before {
    content: '';
    position: absolute;
    display: block;
    height: 0;
    bottom: 0;
    left: 0;
    right: 0;
    top: 100%;
    transition: all .2s linear 0s;
    width: 100%;
}

#the-great-wrap:before {
    z-index: 10;
    background: #b69e70;
}

#the-great-wrap:after {
    z-index: 8;
    background: #0d103e;
}

.the-great-loader {
    display: flex;
    z-index: 9;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 0;
    overflow: hidden;
}

.the-great-loader > * > span {
    background: no-repeat center center;
    background-size: cover;
    display: inline-block;
    width: 250px;
    height: 250px;
    margin: 20px;
}

.the-great-loader strong {
    display: block;
    text-align: center;
    font-family: "retro sans", Lora, serif;
    font-size: 30px;
    font-weight: 900;
    text-transform: lowercase;
    letter-spacing: 5px;
}

#the-great-wrap.scale-out {
    animation: scale-out-content .5s forwards;
}

#the-great-wrap.scale-out:before {
    animation: scale-out-dark 1s forwards;
}


#the-great-wrap.scale-out .the-great-loader,
#the-great-wrap.scale-out:after {
    animation: scale-out-light 1s forwards, logo-animation .7s linear infinite;
}

#the-great-wrap.scale-out .the-great-loader > * > span {
    animation: var(--tgl-time, .8s) logo-animation var(--tgl-delay, 0s) linear infinite;
}


#the-great-wrap.scale-in {
    animation: scale-in-content .5s forwards;
}

#the-great-wrap.scale-in:before {
    animation: scale-in-dark 1s forwards;
}

#the-great-wrap.scale-in .the-great-loader {
    animation: scale-in-light-loader 1s forwards;
}

#the-great-wrap.scale-in:after {
    animation: scale-in-light 1s forwards, logo-animation 1s linear infinite;
}


:root {
    --the-great-scene-padding: 20px;
}


@media all and (min-width: 1200px) {
    :root {
        --the-great-scene-padding: 40px;
    }
}


.the-great-scene {
    position: relative;
    background: #fff;
    margin: 20px;
    border-radius: 10px;
    padding: var(--the-great-scene-padding);
}


.elementor-section-wrap.has-carousel-sections {
    min-height: 60vh;
    position: relative;
}

.elementor-section-wrap.has-carousel-sections > .elementor-top-section:not(.is-active) {
    display: none !important;
}

@keyframes circle-zoom-in {
    0% {
        clip-path: circle(0px at center);
    }

    100% {
        clip-path: circle(200vw at center);
    }
}


.elementor-section-wrap.has-carousel-sections > .elementor-top-section.is-pre-active {
    display: block !important;
    position: absolute;
    background: #fff;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    animation: circle-zoom-in 0.5s forwards;
    transition: all 0.5s ease-in-out;
}

.elementor-section-wrap.has-carousel-sections > .elementor-top-section.is-active {
}


.section-carousel-navigation {
    position: absolute;
    top: 30vh;
    z-index: 999;
    cursor: pointer;
    line-height: 1;
}

.section-carousel-navigation > span {
    position: relative;
    z-index: 10;
    font-size: 30px;
    color: #fff;
    display: block;
    text-align: center;
}

.section-carousel-navigation svg {
    content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    fill: #0d103e;
}

.section-carousel-navigation[data-direction="prev"] svg {
    left: 0;
    transform: translateY(-50%);
}

.section-carousel-navigation[data-direction="next"] svg {
    right: 0;
    transform: rotate(180deg) translateY(50%);
}

.section-carousel-navigation[data-direction="prev"] {
    left: calc(-1 * var(--the-great-scene-padding));
}

.section-carousel-navigation[data-direction="next"] {
    right: calc(-1 * var(--the-great-scene-padding));;
}


.section-carousel-pagination {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.section-carousel-pagination > span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #0d103e;
    margin: 0 5px;
    transition: all 0.3s ease-in-out;
}

.section-carousel-pagination > span.is-active {
    background: #0d103e;
}


.product.type-product {
    padding: 1rem !important;
}

.product.type-product .attachment-woocommerce_thumbnail {
    display: block;
    margin: -1rem -1rem 1rem !important;
    width: calc(100% + 2rem) !important;
    max-width: calc(100% + 2rem) !important;
}