/* 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;
}
/*--- 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-bottom: 0px;
}
.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;
    border-right: 0px solid #FFFFFF;
    text-decoration: none;
    color: #333333; /* remove the border when going public */
}
.header ul a:hover {
    background-color: #CAC9C9;
}
.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: 10px 10px; /* it was 5 and 8 px .... debating on padding . */
    text-align: right; /* debating wth me, myself & I shall it be center or rigt */
    color: #333333;
    text-decoration: none;
}
.header .menu-item .dropdown-content a:hover {
    background-color: #CAC9C9;
}
.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; /*color of a BURGER MENU :P----*/
    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;
}
/* chunk in the my stylish dropdown menu below-----
------This is stylish dropdown list -----*/
.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; /* absolute... debating: 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: #CAC9C9;
}
.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-auto-rows: 400px, 1fr;
    grid-auto-columns: 600px, 1fr;
    grid-gap: 10px;
    grid-auto-flow: dense;
    padding-top: 20px; /* --- da visina fotke u 1. redu odgovara svim ostalim redovima ----*/
}
.gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
}
.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 .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:hoover .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;
}
/*---- THIS IS 4 SCREEN SIZES... actually WIDTHs and TERRIBLY IMPORTANT... I'm going for - 4 sizes, if inspiration strucks :P-----*/
@media (min-width : 768px) { /*definetelly 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 : 768px) {
    .container {
        grid-template-columns: repeat(1, 1fr);
    }
    /*  @media screen and (min-width: 768px) {
        .container {
            grid-template-columns: repeat(1, 1fr);
        }    -----*/
}
@media (min-width: 1000px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1400px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 2000px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*-- ako ima 4x4 grid projekata onda */
@media (min-width: 3000px) {
    .container {
        grid-template-columns: repeat(3, 4fr);
    }
}
@keyframes animation-move-down {
    0% {
        top: 10%;
    }
    50% {
        top: 35%;
    }
    100% {
        top: 50%;
    }
}
/*----Miss Marinchy is The CoolCat From Bahamas -----*/
