/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    font-family: "Arial Narrow";
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* Global reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
    color: #333;
}
header .header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
}
/*--- START of a new style------*/
.body {
    margin: 0px;
    padding: 0;
    text-align: center;
    font-family: "Arial Narrow", Arial, sans-serif;
    color: #333333;
    font-decoration: none;
}
.a {
    color: #333333;
    font-family: "Arial Narrow";
    text-decoration: none;
    font-decoration: none;
    padding-left: 20px;
    padding-right: 20px;
}
.header {
    font: 20px, "Arial Narrow";
    background-color: #FFFFFF;
    font-color: #333333;
    /* box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .1); */
    box-shadow: 0px 0px 0px 0 rgba(0, 0, 0, .1);
    position: fixed;
    width: 100%;
    max-height: auto;
    z-index: 3;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 20px;
    margin-top: 0px;
    margin-bottom: 20px;
}
.header .menu-item a { /*----novo---*/
    display: block; /* Set it as a block element */
    padding: 14px 14px;
    text-decoration: none;
    color: #333333;
    text-align: right; /* Align text to the right */
}
.header .menu.menu-item .dropdown-content a {
    /*--- padding: 16px 16px;  ---*/
    text-align: right; /* Align text to the right */
    color: #333333;
    text-decoration: none;
}
.header .menu .menu-item a {
    text-align: right;
    padding-right: 30px;
    padding-bottom: 20px;
}
.header .menu .menu-item .dropdown-content ol a {
    padding-left: 20px;
    padding-right: 25px;
    text-align: right; /* Align text to the right */
    color: #333333;
    font-size: 15px;
    text-decoration: none;
    padding-bottom: 10px;
    padding-top: 10px;
}
.header .logo {
    display: block;
    padding: 20px 20px;
}
.header .logo img {
    width: auto;
    height: auto;
}
.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    text-decoration: none;
    color: #333333;
}
.header ul a {
    display: block;
    padding: 16px;
    text-decoration: none;
    border-right: 0px solid #FFFFFF; /* remove the border when going public */
    color: #333333;
}
.header ul a:hover {
    background-color: #DFDFDF;
}
.header .logo {
    font: 20px, "Arial Narrow";
    color: #000000;
    float: left;
    display: block;
    font-size: 24px;
    padding-top: 15px;
    padding-right: 20px;
    padding-bottom: 0px;
    text-decoration: none;
}
.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
    text-decoration: none;
    color: #333333;
}
.header .menu-item:hover .dropdown-content {
    display: block;
    padding-right: 10px;
    margin-right: 15px;
}
.header .menu-item .dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 160px;
    padding-right: 15px;
    padding-right: 20px;
    margin-top: 0px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    right: 0;
}
.header .menu-item .dropdown-content a {
    padding: 8px 8px; /* it was 5 and 8 px... padding . */
    text-align: right; /* center or right */
    color: #333333;
    text-decoration: none;
}
.header .menu-item .dropdown-content a:hover {
    background-color: #DFDFDF;
}
.header .menu-icon {
    /*  outline: 1px solid; --*/
    padding: 16px 16px;
    position: relative;
    float: right;
    cursor: pointer;
    text-decoration: none;
    color: #333333;
}
.header .menu-icon .nav-icon {
    background: #333333; /* BURGER MENü colour ;D----*/
    display: block;
    height: 2px;
    width: 18px;
    position: relative;
    transition: background .2s ease-out;
}
.header .menu-icon .nav-icon:before {
    background: #333333;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: .2s ease-out;
    top: 5px;
}
.header .menu-icon .nav-icon:after {
    background: #333333;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: .2s ease-out;
    top: -5px;
}
/*----- dropdown list menu -----*/
.menu li:hover .dropdown-menu {
    position: relative;
    display: inline-block;
    background-color: #ffffff;
}
.menu .dropdown-menu li {
    margin: 0;
    padding: 0;
    list-style: decimal;
    text-decoration: none;
}
.menu .dropdown-menu ol {
    margin: 0;
    padding-right: 0px;
    list-style: decimal-leading-zero;
    text-decoration: none;
}
.menu .dropdown-menu a {
    float: right;
    padding: 12px 16px;
    display: block;
    text-align: right;
}
.navbar {
    overflow: hidden;
    background-color: #333333;
}
.navbar a {
    float: left;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
.menu .dropdown-menu {
    display: none;
    position: relative; /* relative or absolute?? --*/
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.menu-item .dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 160px;
    padding-right: 10px;
    box-shadow: 8px 8px 16px 0px rgba(0, 0, 0, 1);
    z-index: 1;
}
.menu-item:hover .dropdown-content {
    display: block;
    background-color: #FFFFFF;
}
.dropdown-content a {
    padding: 10px 8px;
    display: block;
    text-align: right;
    color: #252525;
    text-decoration: none;
    background-color: #ffffff;
}
.dropdown-content a:hover {
    background-color: #FFFFFF;
}
.menu .dropdown:hover {
    background-color: #DFDFDF;
}
.menu .dropdown:hover a {
    color: #333333;
}
.header .menu .dropdown:hover .dropdown-menu {
    display: block;
    position: absolute;
    right: 8px;
    top: 100%;
}
.header .menu-btn {
    display: none;
}
.header .menu-btn:checked ~ .menu {
    max-height: 240px;
}
.header .menu-btn:checked ~ .menu-icon .nav {
    background: transparent;
}
.header .menu-btn:checked ~ .menu-icon .nav:before {
    transform: rotate(-45deg);
    top: 0;
}
.header .menu-btn:checked ~ .menu-icon .nav:after {
    transform: rotate(45deg);
    top: 0;
}
.header .menu .dropdown:hover {
    display: none;
}
.container {
    border: 20px solid #FFFFFF; /* 10px border around container */
    display: grid;
    grid-gap: 12px;
    grid-auto-flow: dense;
    /*  padding-top: 20px; --- visina fotke u 1. redu odgovara svim ostalim redovima ----*/
}
/*-- Gallery position right---*/
.gallery-item {
    overflow: hidden;
    position: relative;
}
/*-- Gallery POSITION: CENTER----*/
.gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
}
/*
.gallery-item-03 {
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery-item-04 {
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery-item-05 {
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery-item-06 {
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery-item-07 {
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery-item-08 {
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery-item-09 {
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery-item-10 {
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery-item-11 {
    width: 100%;
    height: 100%;
    position: relative;  --- */
/*-- bil je relative-
.slideshow-container {
    position: relative;
    display: flex;
    justify-content: center; /* Centers the slides horizontally ---
    align-items: center; /* Centers the slides vertically (if needed) ?---- 
    max-width: 100%; /* Ensures it takes up the full width
    height: auto; /* Adjusts the height based on content
    margin-right: 20px;
    margin-left: 20px;
    /*Optional: Adds padding inside the container 
    overflow: hidden; /* Ensure arrows and images are contained within 
}
--*/
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease-in-out;
}
.gallery-item:hover img {
    transform: scale(1.5);
}

.slideshow-container {
    position: relative;
    max-width: 1000px; /*--- 1000px ---*/
    margin: 100px auto; /* Space for fixed header */
}
.mySlides {
    display: none;
   /* max-width: 100%;
    margin: 10px auto;-----*/
}
.mySlides img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/*---
/*----
.mySlides {
    /*display: none;
    max-width: 100%; /* Ensure the--- Images don't overflow
    height: auto; /* Adjust height based on the width-- 
    margin-left: 25px;
    margin-right: 25px; /* 20% - Centers the slides with equal margins
    margin-top: 10px;
    display: block; /* Ensures images are displayed as block element
}

-*/
.mySlides img {
    width: 100%; /* Image takes the full width of its container */
    margin-top: 35px;
    margin-right: 25px;
    margin-left: 25px;
    height: auto; /* Image aspect ratio intact -auto */
}
/* ---Navigation Arrows--- */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    margin-top: -22px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 15px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(111, 109, 109, 0.36); /* Dark background for better visibility */
    z-index: 100; /* Make sure arrows stay above the slides */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px; /* - bilo je width & height 40px---*/
    border-radius: 30%;
}
.next {
    right: 20px; /* Ensure it's inside the container */
    border-radius: 50%;
}
.prev {
    left: 20px; /* Ensure it's inside the container */
    border-radius: 50%;
}
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
/* Dots */
.dots {
    text-align: center;
    padding: 3px;
    background: #fff;
}
.dot {
    cursor: pointer;
    height: 5px;
    width: 5px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 25%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active {
    background-color: #717171;
}
.active {
    background-color: #AEAEAE;
}
.gallery-item .image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.gallery-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    cursor: pointer;
    transition: .5s ease-in-out;
}
.gallery-item:hover .image img {
    transform: scale(1.5);
}
.gallery-item-01 .text {
    opacity: 1;
    position: absolute;
    text-decoration: none;
    text-align: center;
    text-color: #ffffff;
    font-family: "Arial Narrow";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #F4F4F4;
    font-size: 25px;
    z-index: 4;
    transition: .3s ease-in-out;
    -webkit-backdrop-filter: blur(5%) saturate(1.8);
    backdrop-filter: blur(5%) saturate(1.8);
}
.gallery-item:hover .text {
    opacity: 0;
    animation: move-down .3s linear;
    padding: 1em;
    width: 100%;
    outline: 2px solid #A4A4A4;
}
.w-1 {
    grid-column: span 1;
}
.w-2 {
    grid-column: span 2;
}
.w-3 {
    grid-column: span 3;
}
.w-4 {
    grid-column: span 3;
}
.w-5 {
    grid-column: span 3;
}
.w-6 {
    grid-column: span 3;
}
.h-1 {
    grid-row: span 1;
}
.h-2 {
    grid-row: span 2;
}
.h-3 {
    grid-row: span 3;
}
.h-4 {
    grid-row: span 4;
}
.h-5 {
    grid-row: span 5;
}
.h-6 {
    grid-row: span 6;
}
@media (min-width: 960px) { /*--max width--*/
    .header li {
        float: left;
        font-family: "Arial Narrow";
        text-decoration: none;
        color: #333333;
    }
    .header li a {
        padding: 20px 30px;
        font-family: "Arial Narrow";
        text-decoration: none;
        color: #333333;
    }
    .header .menu {
        clear: none;
        float: right;
        max-height: 50px;
        text-decoration: none;
        color: #333333;
    }
    .header .menu-icon {
        display: none;
        font-family: "Arial Narrow";
        text-decoration: none;
        color: #333333;
    }
}
@media (min-width: 960px) {
    .mySlides {
        display: none;
        max-width: 100%;
        height: auto;
        /* padding-top: 35px; */
        padding-right: 45px;
        padding-left: 25px;
        padding-top: 25px;
        /*  display: block;  */
    }
}
@media (min-width: 1536px) {
    .mySlides {
        display: none;
        max-width: 100%;
        height: auto;
        padding-right: 10%;
        /*---    margin-right: 10%;  ---*/
        padding-left: 10%;
        padding-top: 25px;
        /* display: block;   */
    }
}
@media (min-width: 1920px) {
    .mySlides {
        display: none;
        min-width: 100%; /*min-wdth: 100%; */
        height: auto;
        /* padding-top: 35px; */
        padding-right: 15%;
        padding-left: 15%;
        padding-top: 25px;
        /* display: block;  */
    }
}
@media (min-width: 2560px) {
    .mySlides {
        display: none;
        /*---padding-top: 20px;  --*/
        min-width: 100%; /* --- Images don't overflow */
        height: auto; /* Adjust height based on the width-- */
        padding-right: 20%; /* 20% - Centers the slides with equal margins */
        padding-left: 20%;
        margin-top: 25px;
        /* display: block;  Ensures images are displayed as block elements */
    }
}
@media (min-width:768px) {
    .container {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (min-width: 1200px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1900px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 2560px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*-- ako ima 4x4 grid projekata onda */
@media (min-width: 2560px) {
    .container {
        grid-template-columns: repeat(3, 4fr);
    }
    @keyframes animation-move-down {
        0% {
            top: 10%;
        }
        50% {
            top: 35%;
        }
        100% {
            top: 50%;
        }
    }
    /*----Miss Marinchy™ ---*/