/* Start custom CSS for html, class: .elementor-element-0bdbefe */@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


.carousel{
    width: 100%;
    background-color: #555;
    height: 720px;
    color: #eee;
    margin-top: 0px;
    position: relative;
}
.carousel .list{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}
.carousel .list .item{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.carousel .list .item::before{
    font-family: Poppins;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    content: var(--title);
    font-size: 23em;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #EEE4;
    z-index: -1;
}


.carousel .list .item .image{
    flex-shrink: 0;
    width: 300px;
    height: 525px;
    --left: -200px;
    background: 
        var(--img-src) var(--left) 0,
        url(https://hedon.weboldalas.hu/wp-content/uploads/2024/05/soda.png) no-repeat;
    background-size: 100% auto;
    background-blend-mode: multiply;
    -webkit-mask-image: url(https://hedon.weboldalas.hu/wp-content/uploads/2024/05/soda.png);
    -webkit-mask-size: 100% auto;
    -webkit-mask-repeat: no-repeat;
    mask-image: url(https://hedon.weboldalas.hu/wp-content/uploads/2024/05/soda.png);
    mask-size: 100% auto;
    mask-repeat: no-repeat;
    transition: background 1s ease-in-out;
}
.carousel .list .item .content{
    font-family: Poppins;
    width: 1140px;
    max-width: 90%;
    margin: auto;
    height: 100%;
    padding-top: 50px;
    box-sizing: border-box;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
}
.carousel .list .item .info .title{
    font-family: Poppins;
    font-size: 5em;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1em;
}
.carousel .des{
    font-family: Poppins;
    font-size: 15px;
    color: white;
}
.carousel .list .item .info .category{
    oopacity: .7;
}
.carousel .list .item .info .des{
    margin: 1em 0;
}
.carousel .list .item .info a{
    font-family: Poppins;
    display: inline-flex;
    gap: 20px;
    text-decoration: none;
    color: #eee;
    font-weight: 500;
}
/* set active item */
.carousel .list .item{
    z-index: 1;
}
.carousel .list .item.active{
    z-index: 2;
}
.carousel .list .item.active .image{
    --left: 0;
}
/* arrows */
.arrows button{
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: monospace;
    background-color: #eee3;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: large;
    cursor: pointer;
    left: 10%;
    transition: background 0.5s,
                color 0.5s;
}
.arrows button#next{
    left: unset;
    right: 10%;
}
.arrows button:hover{
    background-color: #eee;
    color: #000;
}
.dots li{
    width: 15px;
    height: 15px;
    background-color: #eee5;
    border-radius: 50%;
    cursor: pointer;
}
.dots li.active{
    background-color: #eee;
}
.dots{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    position: absolute;
    bottom: 30px;
    z-index: 2;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
    transition: background 0.5s;
}
.carousel{
    overflow: hidden;
}
/* responsive */
@media screen and (max-width: 767px){
    .carousel{
        height: 90vh;
    }
    
    .carousel .list .item .image{
    flex-shrink: 0;
    width: 100px;
    height: 525px;
    --left: -200px;
    background: 
        var(--img-src) var(--left) 0,
        url(https://hedon.weboldalas.hu/wp-content/uploads/2024/05/soda.png) no-repeat;
    background-size: 100% auto;
    background-blend-mode: multiply;
    -webkit-mask-image: url(https://hedon.weboldalas.hu/wp-content/uploads/2024/05/soda.png);
    -webkit-mask-size: 100% auto;
    -webkit-mask-repeat: no-repeat;
    mask-image: url(https://hedon.weboldalas.hu/wp-content/uploads/2024/05/soda.png);
    mask-size: 100% auto;
    mask-repeat: no-repeat;
    transition: background 1s ease-in-out;
}
    
    .carousel .list .item .info{
        font-family: Poppins;
        position: absolute;
        bottom: 10%;
        width: 100%;
        padding: 30px;
        box-sizing: border-box;
        text-align: center;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
    }
    .carousel .list .item .info .title{
        font-family: Poppins;
        font-size: 2em;
    }
    .carousel .list .item .info .des{
        font-family: Poppins;
        font-size: 0.8em;
        text-align: justify;
    }
    .carousel .list .item .content{
        font-family: Poppins;
        justify-content: center;
        align-items: start;
    }
    .arrows button{
        top: unset;
        bottom: 20px;
    }
}

/* effect */
@keyframes transformAnimation{
    from{
        transform: translateX(var(--transform-from));
    }to{
        transform: translateX(var(--transform-to));
    }
}

.carousel.effect .item .image{
    animation: transformAnimation 1s ease-in-out 1 forwards;
}
.carousel.effect .item .info .title,
.carousel.effect .item .info .category,
.carousel.effect .item .info .des,
.carousel.effect .item .info a{
    animation: transformAnimation 1s ease-in-out 1 forwards;
}
.carousel.effect .item .info .category{
    animation-delay: 0.1s;
}
.carousel.effect .item .info .des{
    animation-delay: 0.2s;
}
.carousel.effect .item .info a{
    animation-delay: 0.3s;
}
.carousel.effect .item.active{
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: animationClipPath 0.9s ease-in-out 1 forwards;
}
@keyframes animationClipPath{
    to{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.carousel.effect{
    --transform: 300px;
}
.carousel.effect .item.active{
    --transform-from: calc(var(--transform) * -1);
    --transform-to: 0px;
}
.carousel.effect .item{
    --transform-from: 0;
    --transform-to: var(--transform);
}/* End custom CSS */
/* Start custom CSS */.site-header{
    display: none;
}

.site-info{
    display: none;
}/* End custom CSS */