/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* video in napisi - oblački */

.scroll-video {
    height: 300vh;
    position: relative;
}

.sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.sticky video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BUBBLES */

.bubble{
    position:absolute;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    overflow:visible;
}

.bubble-bg{
    position:absolute;
    inset:0;
    background:#fff;
    -webkit-mask:url('https://melanoma.si/wp-content/uploads/2026/07/maska-za-sliko-01.svg') center center no-repeat;
    -webkit-mask-size:contain;
    -webkit-mask-position:center;
    mask:url('https://melanoma.si/wp-content/uploads/2026/07/maska-za-sliko-01.svg') center center no-repeat;
    mask-size:100% 100%;
}

.bubble-content{
    position:relative;
    z-index:2;
    padding:10px 60px 10px 100px;
    text-align:left;
}

.bubble-small{
    width:300px;
    min-height:260px;
}

.bubble-medium{
    width:420px;
    min-height:340px;
}

.bubble-large{
    width:560px;
    min-height:420px;
}

/* pozicija */
.bubble.left { left: 12%; }
.bubble.right { right: 12%; }

.naslovOblak {
    margin:0 0 15px;
    font-size:28px;
    color: rgb(79, 20, 11);
    font-family: Rubik, Arial, Helvetica, sans-serif;
    font-weight: 600;
    line-height: 50px;
}

.bubble-content p{
    margin:0;
    font-size:16px;
    line-height:1.5;
}

.scroll-hint {
    position: absolute;
    z-index: 30;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.scroll-hint img {
    display: block;
    width: 120px;
    height: auto;
}

.video-preloader {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #111;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255,255,255,0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: videoLoaderSpin 0.8s linear infinite;
}

.loader-text {
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.5px;
}

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

/* video in napisi - oblački konec */

.awb-menu_dropdown.awb-menu_row .awb-menu__sub-ul_main {
    margin-top: 18px !important;
}

.customButton {
    font-size: 34px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
}

p strong {
    font-weight: 500;
}

body.has-top-bg #main {
    background:
            url('https://melanoma.si/wp-content/uploads/2026/07/podlaga-podstrani.avif')
            top center / 100% auto
            no-repeat
            fixed !important;

    background-color: #fff !important;
}

.blog-shortcode-post-title a {
    color: #4f140b !important;
}

.blog-shortcode-post-title a:hover {
    color: #f58220 !important;
}

.fusion-toggle-heading {
    color: #4f140b;
}

.fusion-toggle-heading:hover {
    color: #f58220;
}

.fusion-theme-sharing-box.fusion-sharing-box {
    margin-top: 30px !important;
}

.alineje {
    list-style: none;
    margin: 0;
    padding: 0 0 0 8px;
}

.alineje li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.alineje li::before {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #f58220;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 16px;
}

.awb-menu.collapse-enabled.mobile-mode-collapse-to-button.expanded .awb-menu__main-ul {
    max-height: 410px !important;
    margin-top: 24px;
}

@media(max-width:1200px){

    .bubble.left {
        left: 5%;
    }

    .bubble.right {
        right: 5%;
    }
}

@media(max-width:850px){

    .bubble.left {
        left: -2%;
    }

    .bubble.right {
        right: -2%;
    }
}

@media(max-width:768px){

    body.has-top-bg #main {
        background:
                url('https://melanoma.si/wp-content/uploads/2026/07/podlaga-postrani-mobi.avif')
                top center / 100% auto
                no-repeat
                fixed !important;
    }

    .bubble-small{
        width:220px;
        min-height:190px;
    }

    .bubble-medium{
        width:286px;
        min-height:230px;
    }

    .bubble-large{
        width:340px;
        min-height:280px;
    }

    .bubble-content{
        padding: 30px 30px 30px 55px;
    }

    .naslovOblak {
        font-size:20px;
        line-height: 36px;
    }

    .bubble-content p{
        font-size:14px;
    }

}
