/* =========================================================
   CROARTIS ROOM 6
   JEDAN ZID / TROJA VRATA
   ========================================================= */


/* =========================================================
   RESET
========================================================= */

*{
    margin:0;
    padding:0;

    box-sizing:border-box;
}


/* =========================================================
   HTML / BODY
========================================================= */

html,
body{

    width:100%;
    height:100%;

    overflow:hidden;

    background:#222;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   ROOM 6 SCENA
========================================================= */

.room6-scene{

    position:relative;

    width:100vw;
    height:100vh;

    overflow:hidden;

    display:flex;

    flex-direction:column;

    background:#222;

}


/* =========================================================
   STROP
   10%
========================================================= */

.room6-ceiling{

    position:relative;

    flex:0 0 10%;

    width:100%;
    height:10%;

    background:
        linear-gradient(
            to bottom,
            #ffffff 0%,
            #f5f5f3 55%,
            #e6e6e3 100%
        );

    box-shadow:
        inset 0 -10px 20px
        rgba(0,0,0,.06);

    z-index:50;

}


/* =========================================================
   ZID
   80%
========================================================= */

.room6-wall{

    position:relative;

    flex:0 0 80%;

    width:100%;
    height:80%;

    overflow:hidden;

    background:
        linear-gradient(
            to bottom,
            #fafafa 0%,
            #f5f5f4 48%,
            #eeeeed 100%
        );

    z-index:10;

}


/* =========================================================
   DISKRETNA ZIDNA ATMOSFERA
========================================================= */

.room6-wall-light{

    position:absolute;

    inset:0;

    pointer-events:none;

    background:

        radial-gradient(
            ellipse 75% 90% at 50% 30%,
            rgba(255,255,255,.80),
            transparent 72%
        ),

        linear-gradient(
            to bottom,
            transparent,
            rgba(80,80,80,.035)
        );

    z-index:1;

}


/* =========================================================
   POD
   10%
========================================================= */

.room6-floor{

    position:relative;

    flex:0 0 10%;

    width:100%;
    height:10%;

    overflow:hidden;

    background:
        linear-gradient(
            to bottom,
            #eeeeec 0%,
            #e2e2df 50%,
            #d7d7d4 100%
        );

    box-shadow:

        inset 0 12px 25px
        rgba(255,255,255,.45),

        inset 0 -40px 70px
        rgba(0,0,0,.10);

    z-index:50;

}


/* =========================================================
   POD — SUPTILNE PLOČE
========================================================= */

.room6-floor::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 28px,
            rgba(90,90,90,.055) 29px,
            rgba(90,90,90,.055) 30px
        );

    opacity:.7;

}


/* =========================================================
   POD — PERSPEKTIVA
========================================================= */

.room6-floor-perspective{

    position:absolute;

    inset:0;

    pointer-events:none;

    z-index:10;

}


.room6-floor-perspective span{

    position:absolute;

    bottom:-35%;

    width:2px;
    height:170%;

    background:
        rgba(75,75,75,.10);

    transform-origin:
        bottom center;

    box-shadow:
        1px 0 3px
        rgba(255,255,255,.35);

}


.room6-floor-perspective span:nth-child(1){

    left:18%;

    transform:
        rotate(30deg);

}


.room6-floor-perspective span:nth-child(2){

    left:34%;

    transform:
        rotate(18deg);

}


.room6-floor-perspective span:nth-child(3){

    left:46%;

    transform:
        rotate(8deg);

}


.room6-floor-perspective span:nth-child(4){

    left:54%;

    transform:
        rotate(-8deg);

}


.room6-floor-perspective span:nth-child(5){

    left:66%;

    transform:
        rotate(-18deg);

}


.room6-floor-perspective span:nth-child(6){

    left:82%;

    transform:
        rotate(-30deg);

}


/* =========================================================
   TROJA VRATA — KONTEJNER
========================================================= */

.room6-doors{

    position:absolute;

    inset:0;

    z-index:20;

    display:flex;

    align-items:flex-end;

    justify-content:center;

    gap:clamp(
        45px,
        8vw,
        150px
    );

    padding:
        0
        clamp(25px,6vw,100px);

}


/* =========================================================
   WRAPPER VRATA
========================================================= */

.room6-door-wrapper{

    position:relative;

    flex:0 0
        clamp(
            150px,
            17vw,
            245px
        );

    height:100%;

    display:flex;

    align-items:flex-end;

    justify-content:center;

}


/* =========================================================
   VRATA
========================================================= */

.room6-door{

    position:relative;

    width:100%;

    height:78%;

    margin:0;

    padding:0;

    border:0;

    appearance:none;

    background:none;

    cursor:pointer;

    outline:none;

    z-index:30;

}


/* =========================================================
   POVRŠINA VRATA
========================================================= */

.room6-door-surface{

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:100%;

    background:

        linear-gradient(
            90deg,

            #c8c9c7 0%,

            #eeeeec 10%,

            #fafaf9 28%,

            #f2f2f0 53%,

            #ffffff 70%,

            #dedfdd 91%,

            #b8b9b7 100%
        );

    border:

        5px solid #d5d6d4;

    box-shadow:

        0 24px 50px
        rgba(0,0,0,.22),

        0 8px 20px
        rgba(0,0,0,.12),

        inset
        8px 0 18px
        rgba(255,255,255,.60),

        inset
        -10px 0 18px
        rgba(0,0,0,.09);

    transition:

        transform .28s ease,

        box-shadow .28s ease,

        filter .28s ease;

}


/* =========================================================
   MINIMALNI PANEL NA VRATIMA
========================================================= */

.room6-door-surface::before{

    content:"";

    position:absolute;

    left:50%;

    top:9%;

    transform:
        translateX(-50%);

    width:2px;

    height:82%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(70,70,70,.14) 20%,
            rgba(70,70,70,.10) 80%,
            transparent
        );

    opacity:.65;

}


/* =========================================================
   RUB VRATA
========================================================= */

.room6-door-surface::after{

    content:"";

    position:absolute;

    left:8px;
    right:8px;
    top:8px;
    bottom:8px;

    border:
        1px solid
        rgba(70,70,70,.12);

    pointer-events:none;

}


/* =========================================================
   SJENA ISPOD VRATA
========================================================= */

.room6-door-shadow{

    position:absolute;

    left:-18%;

    width:136%;

    bottom:-4px;

    height:22px;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0,0,0,.27),
            transparent 70%
        );

    filter:blur(7px);

    pointer-events:none;

}

/* =========================================================
   NATPISI NA VRATIMA
========================================================= */

/* =========================================================
   NATPISI NA VRATIMA
   BESKONAČNA PROMJENA BOJA

   CRNA
   ↓
   BIJELA
   ↓
   CRVENA
   ↓
   BIJELA
   ↓
   PLAVA
   ↓
   BIJELA
   ↓
   CRNA
   ↓
   PONOVO...
========================================================= */

.room6-door-label{

    position:absolute;

    left:50%;
    top:30%;

    transform:
        translate(-50%, -50%);

    width:90%;

    text-align:center;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        clamp(14px, 1.35vw, 20px);

    font-weight:600;

    letter-spacing:.12em;

    line-height:1.2;

    color:#000000;

    pointer-events:none;

    user-select:none;

    z-index:100;

    white-space:nowrap;

    animation:
        room6LabelColors
        6s
        linear
        infinite;

}


/* =========================================================
   ANIMACIJA BOJA
========================================================= */

@keyframes room6LabelColors{

    /* CRNA */
    0%,
    14.28%{

        color:#000000;

        text-shadow:
            0 1px 1px
            rgba(255,255,255,.9),

            0 2px 5px
            rgba(0,0,0,.12);

    }


    /* BIJELA */
    14.29%,
    28.56%{

        color:#ffffff;

        text-shadow:
            0 0 4px
            rgba(255,255,255,.95),

            0 0 10px
            rgba(255,255,255,.65),

            0 2px 5px
            rgba(0,0,0,.30);

    }


    /* CRVENA */
    28.57%,
    42.84%{

        color:#ff0000;

       text-shadow:
            0 0 4px
            rgba(255,255,255,.95),

            0 0 10px
            rgba(255,255,255,.65),

            0 2px 5px
            rgba(0,0,0,.30);

    }


    /* BIJELA */
    42.85%,
    57.12%{

        color:#000000;

        text-shadow:
            0 0 4px
            rgba(255,255,255,.95),

            0 0 10px
            rgba(255,255,255,.65),

            0 2px 5px
            rgba(0,0,0,.30);

    }


    /* CRNA */
    57.13%,
    71.40%{
          
          color:#ffffff;
        text-shadow:
            0 0 4px
            rgba(255,255,255,.95),

            0 0 10px
            rgba(255,255,255,.65),

            0 2px 5px
            rgba(0,0,0,.30);

    }


    /* BIJELA */
    71.41%,
    85.68%{

        color:#ff0000;

        text-shadow:
            0 0 4px
            rgba(255,255,255,.95),

            0 0 10px
            rgba(255,255,255,.65),

            0 2px 5px
            rgba(0,0,0,.30);

    }


    /* CRVENA — POVRATAK NA POČETAK */
    85.69%,
    100%{

        color:#a0a5a6;

       text-shadow:
            0 0 4px
            rgba(255,255,255,.95),

            0 0 10px
            rgba(255,255,255,.65),

            0 2px 5px
            rgba(0,0,0,.30);
    }

}


/* =========================================================
   HOVER
========================================================= */

.room6-door:hover
.room6-door-surface{

    transform:
        translateY(-3px);

    filter:
        brightness(1.025);

    box-shadow:

        0 30px 60px
        rgba(0,0,0,.26),

        0 10px 25px
        rgba(0,0,0,.13),

        inset
        8px 0 20px
        rgba(255,255,255,.72),

        inset
        -10px 0 18px
        rgba(0,0,0,.07);

}


/* =========================================================
   FOCUS
========================================================= */

.room6-door:focus-visible
.room6-door-surface{

    box-shadow:

        0 0 0 3px
        rgba(90,90,90,.35),

        0 30px 60px
        rgba(0,0,0,.24);

}


/* =========================================================
   TOUCH
========================================================= */

.room6-door.is-touching
.room6-door-surface{

    transform:
        translateY(-2px);

}



/* =========================================================
   ROOM 6
   STROPNI REFLEKTORI + SNOP SVJETLA
   ========================================================= */


/* =========================================================
   STROP
   ========================================================= */

.room6-ceiling{

    position:relative;

    flex:0 0 10%;

    width:100%;
    height:10%;

    background:
        linear-gradient(
            to bottom,
            #ffffff 0%,
            #f2f2f2 55%,
            #dddddd 100%
        );

    overflow:visible;

    z-index:20;
}


/* =========================================================
   REFLEKTOR — OSNOVNO TIJELO
   ========================================================= */

.room6-ceiling-spot{

    position:absolute;

    top:58%;

    width:34px;
    height:13px;

    transform:translateX(-50%);

    border-radius:
        4px 4px 12px 12px;

    background:
        linear-gradient(
            to bottom,
            #70716f 0%,
            #454644 45%,
            #222321 75%,
            #111211 100%
        );

    border:
        1px solid #202120;

    box-shadow:

        inset
        2px 2px 4px
        rgba(255,255,255,.28),

        inset
        -2px -2px 4px
        rgba(0,0,0,.30),

        0 5px 12px
        rgba(0,0,0,.25);

    z-index:80;

    pointer-events:none;
}


/* =========================================================
   DONJI OTVOR REFLEKTORA
   ========================================================= */

.room6-ceiling-spot::after{

    content:"";

    position:absolute;

    left:50%;
    bottom:-5px;

    width:23px;
    height:10px;

    transform:translateX(-50%);

    border-radius:
        0 0 50% 50%;

    background:
        radial-gradient(
            ellipse at center,

            #ffffff 0%,
            #f4f4f2 25%,
            #d4d4d1 48%,
            #777874 72%,
            #252624 100%
        );

    box-shadow:
        0 0 5px
        rgba(255,255,255,.85),

        0 0 12px
        rgba(255,255,255,.40);

    z-index:82;
}


/* =========================================================
   POZICIJE 3 REFLEKTORA — LIJEVO / DESNO
   ========================================================= */

.room6-spot-1{
    left:calc(50% - 340px);
}

.room6-spot-2{
    left:50%;
}

.room6-spot-3{
    left:calc(50% + 340px);
}



/* =========================================================
   SNOP SVJETLA
   IZLAZI DIREKTNO IZ REFLEKTORA
   ========================================================= */

.room6-light-beam{

    position:absolute;

    top:7px;
    left:50%;

    width:115px;
    height:270px;

    transform:
        translateX(-50%);

    pointer-events:none;

    z-index:-1;

    background:

        linear-gradient(
            to bottom,

            rgba(255,255,255,.58) 0%,

            rgba(255,255,255,.48) 12%,

            rgba(255,255,255,.34) 30%,

            rgba(255,255,255,.22) 52%,

            rgba(255,255,255,.11) 72%,

            rgba(255,255,255,.035) 88%,

            transparent 100%
        );

    clip-path:

        polygon(
            40% 0%,
            60% 0%,
            100% 100%,
            0% 100%
        );

    filter:
        blur(8px);

    opacity:.82;

    mix-blend-mode:screen;
}


/* =========================================================
   SREDIŠNJI, NAJJAČI DIO SNOPA
   ========================================================= */

.room6-light-beam::after{

    content:"";

    position:absolute;

    top:0;
    left:50%;

    width:28px;
    height:100%;

    transform:translateX(-50%);

    background:

        linear-gradient(
            to bottom,

            rgba(255,255,255,.28),
            rgba(255,255,255,.10) 55%,
            transparent 100%
        );

    filter:blur(10px);

    opacity:.65;
}


/* =========================================================
   DODATNI MEKI GLOW NA POČETKU SNOPA
   ========================================================= */

.room6-light-beam::before{

    content:"";

    position:absolute;

    top:-3px;
    left:50%;

    width:48px;
    height:35px;

    transform:translateX(-50%);

    background:
        radial-gradient(
            ellipse at center,
            rgba(255,255,255,.72) 0%,
            rgba(255,255,255,.32) 35%,
            transparent 75%
        );

    filter:blur(7px);

    opacity:.85;
}


/* =========================================================
   ODJESAK SVJETLA NA VRATIMA
   ========================================================= */

.room6-door-wrapper::after{

    content:"";

    position:absolute;

    left:50%;
    bottom:8%;

    width:72%;
    height:62%;

    transform:
        translateX(-50%);

    background:

        radial-gradient(
            ellipse 55% 70% at 50% 0%,

            rgba(255,255,255,.20) 0%,
            rgba(255,255,255,.12) 30%,
            rgba(255,255,255,.055) 55%,
            transparent 78%
        );

    filter:
        blur(18px);

    pointer-events:none;

    z-index:25;
}


/* =========================================================
   LAGANI ODBLESK NA PODU ISPOD VRATA
   ========================================================= */

.room6-door-wrapper::before{

    content:"";

    position:absolute;

    left:50%;
    bottom:-1%;

    width:70%;
    height:28%;

    transform:
        translateX(-50%);

    background:

        radial-gradient(
            ellipse at center,

            rgba(255,255,255,.15) 0%,
            rgba(255,255,255,.07) 38%,
            transparent 75%
        );

    filter:
        blur(15px);

    pointer-events:none;

    z-index:15;
}


/* =========================================================
   AKO JE ZID IZNAD VRATA BIJEL
   SNOP NE SMIJE POSTATI PRETAMN
   ========================================================= */

.room6-wall{

    position:relative;

    overflow:hidden;

}


/* =========================================================
   RESPONSIVE — MANJI EKRANI
   ========================================================= */

@media (max-width:900px){

    .room6-ceiling-spot{

        width:28px;
        height:11px;

    }

    .room6-light-beam{

        width:90px;
        height:220px;

    }

    .room6-spot-1{

        left:30%;

    }

    .room6-spot-2{

        left:50%;

    }

    .room6-spot-3{

        left:70%;

    }

}


@media (max-width:600px){

    .room6-ceiling-spot{

        width:24px;
        height:10px;

    }

    .room6-ceiling-spot::after{

        width:17px;
        height:8px;

    }

    .room6-light-beam{

        width:72px;
        height:170px;

        filter:blur(6px);

        opacity:.72;

    }

    .room6-spot-1{

        left:25%;

    }

    .room6-spot-2{

        left:50%;

    }

    .room6-spot-3{

        left:75%;

    }

}


/* =========================================================
   RAZLIKA U TONU TROJA VRATA
   I dalje ostajemo unutar bijelo/sivo/antracit palete.
========================================================= */

.room6-door-cafe
.room6-door-surface{

    background:
        linear-gradient(
            90deg,
            #c7c8c6,
            #f8f8f7 24%,
            #ffffff 52%,
            #e5e6e4 78%,
            #babbb9
        );

}


.room6-door-shop
.room6-door-surface{

    background:
        linear-gradient(
            90deg,
            #c4c5c3,
            #f3f3f2 25%,
            #fafaf9 52%,
            #e1e2e0 78%,
            #b7b8b6
        );

}


.room6-door-exit
.room6-door-surface{

    background:
        linear-gradient(
            90deg,
            #c9cac8,
            #f6f6f5 24%,
            #ffffff 50%,
            #e4e5e3 77%,
            #bcbdbb
        );

}


/* =========================================================
   PRIJELAZ
========================================================= */

.room6-transition{

    position:fixed;

    inset:0;

    background:#ffffff;

    opacity:0;

    pointer-events:none;

    z-index:9999;

    transition:
        opacity .42s ease;

}


.room6-transition.active{

    opacity:1;

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width:900px){

    .room6-doors{

        gap:clamp(
            25px,
            5vw,
            70px
        );

        padding:
            0 30px;

    }


    .room6-door-wrapper{

        flex-basis:
            clamp(
                125px,
                19vw,
                190px
            );

    }


    .room6-door{

        height:75%;

    }


    .room6-ceiling-spot{

        width:29px;
        height:11px;

    }


    .room6-light-beam{

        width:150px;

    }


    .room6-spot-1{

        left:28%;

    }


    .room6-spot-2{

        left:50%;

    }


    .room6-spot-3{

        left:72%;

    }

}


/* =========================================================
   RESPONSIVE — MOBITEL
========================================================= */

@media (max-width:600px){

    .room6-doors{

        gap:10px;

        padding:
            0 10px;

    }


    .room6-door-wrapper{

        flex:1 1 0;

        min-width:0;

    }


    .room6-door{

        height:65%;

    }


    .room6-door-surface{

        border-width:3px;

    }


    .room6-door-surface::before{

        height:78%;

        top:11%;

    }


    .room6-ceiling-spot{

        top:40%;

        width:23px;
        height:9px;

    }


    .room6-ceiling-spot::after{

        width:16px;
        height:7px;

        bottom:-4px;

    }


    .room6-light-beam{

        width:105px;

        opacity:.5;

        filter:
            blur(10px);

    }


    .room6-spot-1{

        left:20%;

    }


    .room6-spot-2{

        left:50%;

    }


    .room6-spot-3{

        left:80%;

    }


    .room6-door-shadow{

        height:15px;

        filter:
            blur(5px);

    }

}


/* =========================================================
   VRLO USKI MOBITEL
========================================================= */

@media (max-width:380px){

    .room6-doors{

        gap:6px;

        padding:
            0 6px;

    }


    .room6-door{

        height:60%;

    }


    .room6-door-surface{

        border-width:2px;

    }


    .room6-light-beam{

        width:80px;

    }

}


/* =====================================================
   ROOM 6 — BACK TO ROOM 5
   CLEAN SINGLE DOOR
===================================================== */

.room6-room5-link {
    position: fixed;
    right: 30px;
    bottom: 28px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 14px;

    background: rgba(255,255,255,.85);

    border: 1px solid #222;
    border-radius: 8px;

    text-decoration: none;

    color: #444;

    z-index: 999999;

    transition:
        transform .3s ease,
        color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}


/* =====================================================
   IKONA — JEDNA VRATA
===================================================== */

.room6-room5-icon {
    position: relative;

    display: block;

    width: 18px;
    height: 28px;

    flex-shrink: 0;
}


/* OKVIR + VRATA SU JEDAN ELEMENT */

.room6-room5-door {
    position: absolute;

    left: 2px;
    top: 1px;

    width: 15px;
    height: 26px;

    box-sizing: border-box;

    background: #fff;

    border: 1px solid #444;

    border-radius: 3px;
}


/* KVAKA */

.room6-room5-door::after {
    content: "";

    position: absolute;

    right: 2px;
    top: 12px;

    width: 3px;
    height: 3px;

    background: #444;

    border-radius: 50%;
}


/* =====================================================
   TEKST
===================================================== */

.room6-room5-label {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;

    letter-spacing: 3px;

    white-space: nowrap;
}


/* =====================================================
   HOVER
===================================================== */

.room6-room5-link:hover {
    color: #111;

    background: #fff;

    transform: translateY(-3px);

    box-shadow:
        0 8px 22px rgba(0,0,0,.15);
}


.room6-room5-link:hover
.room6-room5-door {
    border-color: #111;
}


.room6-room5-link:hover
.room6-room5-door::after {
    background: #111;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .room6-room5-link {
        right: 16px;
        bottom: 16px;

        padding: 8px 11px;

        gap: 9px;
    }

    .room6-room5-icon {
        width: 16px;
        height: 24px;
    }

    .room6-room5-door {
        width: 14px;
        height: 23px;
    }

    .room6-room5-label {
        font-size: 8px;
        letter-spacing: 2px;
    }

}


/* =====================================================
   ROOM 6 — BACK TO ROOM 5
   FORCE CLICKABLE
===================================================== */

#room6BackToRoom5 {

    position: fixed !important;

    right: 30px !important;
    bottom: 28px !important;

    width: auto !important;
    height: auto !important;

    display: flex !important;

    align-items: center !important;

    gap: 12px !important;

    padding: 10px 15px !important;

    background: #ffffff !important;

    border: 1px solid #222 !important;

    border-radius: 8px !important;

    text-decoration: none !important;

    color: #444 !important;

    cursor: pointer !important;

    z-index: 2147483647 !important;

    pointer-events: auto !important;

    opacity: 1 !important;

    visibility: visible !important;

    box-sizing: border-box !important;

}


/* =====================================================
   JEDNA VRATA
===================================================== */

#room6BackToRoom5 .room6-room5-icon {

    position: relative;

    width: 18px;
    height: 28px;

    display: block;

    flex-shrink: 0;

}


#room6BackToRoom5 .room6-room5-door {

    position: absolute;

    left: 1px;
    top: 1px;

    width: 16px;
    height: 26px;

    background: #fff;

    border: 1px solid #444;

    border-radius: 3px;

    box-sizing: border-box;

}


#room6BackToRoom5 .room6-room5-door::after {

    content: "";

    position: absolute;

    right: 2px;
    top: 12px;

    width: 3px;
    height: 3px;

    background: #444;

    border-radius: 50%;

}


/* =====================================================
   TEKST
===================================================== */

#room6BackToRoom5 .room6-room5-label {

    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;

    letter-spacing: 3px;

    white-space: nowrap;

}


/* =====================================================
   HOVER
===================================================== */

#room6BackToRoom5:hover {

    color: #111 !important;

    transform: translateY(-3px);

    box-shadow:
        0 8px 22px rgba(0,0,0,.15);

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width:700px) {

    #room6BackToRoom5 {

        right: 16px !important;
        bottom: 16px !important;

        padding: 8px 11px !important;

    }

    #room6BackToRoom5 .room6-room5-label {

        font-size: 8px;

        letter-spacing: 2px;

    }

}


/* =====================================================
   FRIENDS OF THE ONLINE GALLERY
===================================================== */

.room6-friends {

    position: absolute;

    top:68px;
    left: 50%;

    transform: translateX(-50%);

    width: 62%;
    max-width: 1100px;

    padding: 6px 24px 7px;

    background: rgba(255,255,255,.92);

    border: 1px solid #222;

    border-radius: 10px;

    box-sizing: border-box;

    text-align: center;

    z-index: 8000;

    box-shadow:
        0 8px 25px rgba(0,0,0,.08);

}


/* =====================================================
   NASLOV
===================================================== */

.room6-friends-heading {

    display: flex;

    flex-direction: column;

    align-items: center;

    margin-bottom: 10px;

}


.room6-friends-heading span {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 11px;

    letter-spacing: 4px;

    color: #444;

}


.room6-friends-heading small {

    margin-top: 4px;

    font-size: 9px;

    letter-spacing: 1.5px;

    color: #999;

}


/* =====================================================
   DISPLAY
===================================================== */

.room6-friends-stage {

    position: relative;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =====================================================
   GRUPE
===================================================== */

.room6-friends-group {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 24px;

    opacity: 0;

    transform: translateY(7px);

    pointer-events: none;

}


.room6-friends-group.active {

    animation:
        room6FriendsFade
        5s
        ease
        forwards;

}


/* =====================================================
   LOGO LINK
===================================================== */

.room6-friend {

    width: 180px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    border-radius: 6px;

    transition:
        transform .35s ease,
        opacity .35s ease;

}


.room6-friend img {

    display: block;

    max-width: 150px;

    max-height: 62px;

    width: auto;

    height: auto;

    object-fit: contain;

    opacity: 1;

    transition:
        transform .35s ease;

}


/* HOVER EFEKT */

.room6-friend:hover img {

    transform: scale(1.05);

}



/* =====================================================
   HOVER
===================================================== */

.room6-friend:hover {

    transform: translateY(-2px);

}


.room6-friend:hover img {

    opacity: 1;

    filter: grayscale(0%);

    transform: scale(1.05);

}


/* =====================================================
   SEPARATOR
===================================================== */

.room6-friend-separator {

    font-family: Georgia, serif;

    color: #aaa;

    font-size: 18px;

    line-height: 1;

}


/* =====================================================
   ANIMACIJA
===================================================== */

@keyframes room6FriendsFade {

    0% {

        opacity: 0;

        transform: translateY(7px);

    }

    12% {

        opacity: 1;

        transform: translateY(0);

    }

    78% {

        opacity: 1;

        transform: translateY(0);

    }

    100% {

        opacity: 0;

        transform: translateY(-7px);

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .room6-friends {

        top: 120px;

        width: 92%;

        padding: 10px 10px 12px;

    }


    .room6-friends-heading span {

        font-size: 9px;

        letter-spacing: 2.5px;

    }


    .room6-friends-heading small {

        font-size: 8px;

        letter-spacing: 1px;

    }


    .room6-friends-stage {

        height: 42px;

    }


    .room6-friends-group {

        gap: 8px;

    }


    .room6-friend {

        width: 105px;

        height: 38px;

    }


    .room6-friend img {

        max-width: 90px;

        max-height: 32px;

    }


    .room6-friend-separator {

        font-size: 13px;

    }

}



/* ROOM 6 — MOBILE LANDSCAPE */

@media screen and (max-width: 900px)
and (orientation: landscape) {

    .room6-friends {
        top: 5px !important;
    }

}




