@font-face {
    font-family: 'Bebas Neue Thin';
    src: url('https://pienostudio.com/wp-content/uploads/2026/03/Bebas-Neue-Thin.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Bebas Neue Thin', sans-serif;
}
div#page {
    margin-left: 15% !important;
}

@media (max-width: 767px) {
	div#page {
    margin-left: 0% !important;
}
	
}


.video-box{ position:relative;width:100%;height:450px;overflow:hidden; }
.video-box video{ position:absolute;top:50%;left:50%;width:100%;height:100%;object-fit:cover;transform:translate(-50%,-50%); }
.play-button{ position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:80px;height:80px;background:rgba(0,0,0,0.6);color:white;font-size:35px;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;z-index:2; }





/* ============================= */
/* Disable iframe click */
/* ============================= */
/* Make wrapper hold background image */
.page-id-474 .video-box .elementor-wrapper {
    position: relative;
    overflow: hidden;
}

/* Use Elementor overlay image as background */
.page-id-474 .video-box .elementor-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Hide iframe visually but keep layout */
.page-id-474 .video-box iframe {
    opacity: 0;
    position: relative;
    z-index: 0;
}

/* ============================= */
/* Make video container clickable */
/* ============================= */
.page-id-474 .video-box {
    position: relative;
    cursor: pointer;
}
/* ============================= */
/* Custom Play Button (Fixed) */
/* ============================= */
/* Base state (add transition) */
.page-id-474 .video-box::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    
    width: 110px;
    height: 110px;
    border: 4px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    
    background: rgba(0,0,0,0.25);

    z-index: 2;
    pointer-events: none;

    transition: transform 0.3s ease;
}

.page-id-474 .video-box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%) scale(1);
    
    width: 0;
    height: 0;
    border-left: 26px solid #fff;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;

    z-index: 3;
    pointer-events: none;

    transition: transform 0.3s ease;
}

.page-id-474 .video-box:hover::after {
    transform: translate(-50%, -50%) scale(1.08);
}

.page-id-474 .video-box:hover::before {
    transform: translate(-40%, -50%) scale(1.08);
}

/* Ensure iframe stays below */
.page-id-474 .video-box iframe {
    pointer-events: none;
    position: relative;
    z-index: 1;
}



/* Hide iframe visually (but keep it for JS) */
.page-id-474 .video-box iframe {
    opacity: 0;
}

/* Make container show thumbnail clearly */
.page-id-474 .video-box {
    background-size: cover;
    background-position: center;
}

/* ============================= */
/* Popup wrapper */
/* ============================= */
.page-id-474 .global-video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 99999;
}

/* ============================= */
/* Dark overlay */
/* ============================= */
.page-id-474 .global-video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

/* ============================= */
/* Centered video */
/* ============================= */
.page-id-474 .global-video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    aspect-ratio: 16/9;
}

/* ============================= */
/* Popup iframe */
/* ============================= */
.page-id-474 .global-video-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* ============================= */
/* Close button (X) */
/* ============================= */
.page-id-474 .global-video-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 100000;
    background: rgba(0,0,0,0.6);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.page-id-474 .global-video-close:hover {
    background: rgba(0,0,0,0.9);
}

.global-video-popup {
    display: none;
}



.pienostudioeheder span.elementor-icon-list-text {
    font-size: 58px;
    line-height: 55px;
}