/* FOLD LVL 2 */

/* #region  GLOBAL UTILITY ////////////////////////////////////////////////////////////// */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* border: 1px solid black; */
  /* border: 1px solid white; */
  font-family: 'PT Serif', 'Times New Roman', Times, serif;
}

:root {
  --primary-color: #e50914;
  --secondary-color: #141414;
  --tertiary-color: tomato;
  --light-color: white;
  --dark-color: black;
  --grey: rgb(40,70,82);
  --gradient: radial-gradient(circle, rgba(40,70,82,1) 0%, rgba(48,48,48,1) 91%, rgba(56,56,56,1) 100%);
  --gradient-tp: radial-gradient(circle, rgba(40,70,82,0.9) 0%, rgba(48,48,48,0.9) 91%, rgba(56,56,56,0.9) 100%);
} 

html {
  height: 100%;
}

body {
  width: 100%;
}

nav li {
  list-style: none;
}

/* IMG - pošto je img definisan u html, usled drugačijih dimenzija containera ona može da se deformiše
ovo čini da se fotka izjednači sa dimenzijama container-a
----------------------------------------------------- */
img {
  width: 100%;
  height: 100%;
}

/* TYPOGRAPHY
------------------------------------------------------- */
.italic {
  font-style: italic;
}

.strong {
  font-weight: 900;
}

/* LINKS 
------------------------------------------------------- */
a {
  color: var(--dark-color);
  text-decoration: none;
}

/* BUTTONS 
------------------------------------------------------- */
.btn {
  text-align: center;
}

.btn a {
  color: black;
  border: 1px solid black;
  padding: 10px 30px;
  transition: 1s;
  background: #eee;
}

.btn a:hover {
  background: white;
  color: black;
  transition: 1s;
}
/* #endregion */


/* SMALL SCREEN (smartphone) 
/////////////////////////////////////////////////////// */
@media screen and (max-width: 599px) {
  
  /* #region smallscreen UTILITY _________________________________________________ */
  /* display: none */
  /* .menu-container  */
  #onama .content, 
  #objekti .overlay, 
  .objekti-hidden-wrapper, 
  .digi-tabs h3:nth-child(1), 
  .digi-tabs h3:nth-child(3),
  .tab-1-content, 
  .tab-3-content {
    display: none;
  }

  .btn a {
    /* background: var(--gradient-tp); */
    /* color: white; */
    padding: 10px;
    border-radius: 10px;    
  }

  .button-1 {
    background: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    color: black;
  }
  
  .button-1:hover {
    background: white;
    cursor: pointer;
    transform: scale(1.05);
    transition: transform 0.5s;
  }

  img {
    width: 100%;
    height: 100%;
  }
  
  /* #endregion */

  /* #region smallscreen TYPOGRAPHY _________________________________________________ */
  
  /* NAV typography
  ------------------------- */
  .nav-bar .menu-container ul li {
    font-size: 1.5rem;
    line-height: 2;
  }

  .smallscreen-article figcaption {
    font-size: 0.8rem;
    font-style: italic;
    margin-right: 10px;
  }

  /* OBJEKTI cell typography
  -------------------------- */
  .h2-mobile {
    font-size: 2rem;
    color: var(--light-color);
    text-align: center;
    padding: 50px 0;
  }

  .objects-cell h2 {
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .objects-cell h3 {
    text-align: center;
    font-size: 5vw;
  }

  .objects-cell p {
    font-size: 4vw;
    line-height: 1.3;
    width: 80%;
  }

  /* PREDMETI cell typography
  -------------------------- */
  .predmeti-cell h3 {
    color: white;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: black 1px 1px;
  }

  .predmeti-cell p {
    text-shadow: black 1px 1px;
    color: white;
  }

  /* ARTICLES typography
  ------------------------- */
  .obj-hidden figure figcaption h4 {
    font-size: 0.8rem;
    font-weight: bold;
  }

  .obj-hidden figure figcaption {
    font-size: 0.8rem;
    text-align: center;
  }

  .obj-hidden {
    font-size: 1rem;
  }

  .obj-hidden h2 {
    font-size: 1.4rem;
    margin: 10px 0;
  }


  /* FOOTER typography
  ------------------------- */
  footer .info-container {
    text-align: center;
  }

  footer .legal-container p, .copyright {
    font-size: 0.8rem;
  }
  
  footer .info p {
    line-height: 1.5;
  }

  footer .legal {
    line-height: 1.2;
  }

  /* #endregion */

  /* #region smallscreen FLICKITY _________________________________________________ */
  /* prev/next buttons  */
  .flickity-button {
    display: none;
  }

  /* white circles */
  .flickity-page-dots .dot {
    opacity: 1;
    background: transparent;
    border: 2px solid white;
  }

  /* fill-in selected dot */
  .flickity-page-dots .dot.is-selected {
    background: white;
  } /* #endregion */

  /* #region smallscreen <nav> __________________________________________________ */

  /* NAV BAR
  ------------------------- */
  nav .logo {
    width: 30px;
    height: 30px;
    padding: 5px;
    display: none;
  }

  nav .menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 100;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    height: 100vh;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 4rem;
    transition: transform 0.5s;
  }

  nav .menu-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/img/logos/logo_muzeja.png) center center/contain no-repeat;
    opacity: 0.2;
    z-index: -1;
  }

  nav .menu-container a {
    color: black;
  }

  nav .menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 100;
    color: white;
    filter: drop-shadow(0 0 0.75rem crimson);
  }

  .show-mobile-menu{
    /* display: none !important; */
    transform: translateX(-2400px);
    transition: transform 0.5s;
  }
  /* #endregion */

  /* #region smallscreen SHOWCASE ________________________________________________ */
/* all pages hero image with overlay */
  .showcase {
    height: 100vh;
  }

  /* index page hero image */
  .showcase-home {
    height: 100vh;
    background: url(/img/home_img/glavna_zgrada_01_widescreen.jpg) no-repeat center 10% /cover;
    background-attachment: fixed;
  }
  /* hero image heading position */
  .showcase-content {
    position: relative;
    top: 40%;
  }

  .showcase-content h1 {
    color: rgb(255, 255, 255);
    text-shadow: -2px 2px 10px black;
    text-align: center;
    font-size: 10vw;
    text-transform: uppercase;
    margin: 0 10px;
  }

  /* #endregion */

  /* #region smallscreen ISTORIJAT ________________________________________________ */
  .istorijat-section {
    background: url(/img/home_img/glavna_zgrada_1951_m.jpg) no-repeat 20% / cover;
    box-shadow: inset 0 0 0 400px rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    border: 5px solid white;
    border-radius: 50px;
    text-align: center;
  }

  .istorijat-section p {
    margin: 50px 0;
  }
  /* #endregion */
  
  /* #region smallscreen ARTICLES ________________________________________________ */
  .smallscreen-article {
    background-color: var(--light-color);
    padding: 20px 20px;
  }

  .smallscreen-article h2 {
    padding: 1rem 0;
  }

  .smallscreen-article figure {
    margin: 20px 10px;
    text-align: right;
  }

  .obj-hidden {
    margin: 20px 20px;
  }

  figure {
    margin: 20px 0;
  }
  /* #endregion */

  /* #region smallscreen CAROUSELS _______________________________________________ */

  /* #region carousels GLOBAL ----------------------------- */
  .objects-carousel {
    position: relative;
    z-index: 2;
  }

  .objects-carousel h2 {
    margin: auto;
  }

  .predmeti-carousel {
    height: 50vh;
    box-shadow: inset 10px 10px 200px 10px;
    border: 2px solid white;    
  }

  /* carousel cell containers GLOBAL
  ----------------------------- */
  .objects-cell {
    width: 100vw;
    height: 90vh;
    display: grid;
    grid-template-rows: 10% 75% 10%;
    align-items: center;
    justify-items: center;
    color: white;
    box-shadow: inset 0 0 0 400px rgba(0, 0, 0, 0.5);
    border: 5px solid white;
    border-radius: 50px;
  }

  .predmeti-cell {
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100%;
    height: 50vh;
    /* border: 5px solid white; */
    border-radius: 50px;
  }

  .predmeti-cell h3 {
    position: relative;
    top: 30%;
  }

  .predmeti-cell p {
    padding: 0 5%;
  }
  /* #endregion */
  
  /* #region CAROUSEL individual cells OBJEKTI ___________________________________ */
  .cell-10 {
    background: url(/img/home_img/glavna_zgrada_01_m.jpg) no-repeat 80% / cover;
    display: flex;
  }

  .cell-11 {
    background: url(/img/home_img/glavna_zgrada_02_m.jpg) no-repeat 50% / cover;
  }

  .cell-12 {
    background: url(/img/home_img/lapidarijum_m.jpg) no-repeat 0% / cover;
  }

  .cell-13 {
    background: url(/img/home_img/legat_interior_2.jpg) no-repeat 45% / cover;
  }

  .cell-14 {
    background: url(/img/home_img/sator_pozarevackog_mira_wide_m.jpg) no-repeat 55% / cover;
  }

  .cell-15 {
    background: url(/img/home_img/tulba_zimi_m.jpg) no-repeat 20% / cover;
  }

  .cell-16 {
    background: url(/img/home_img/gsu_nocu_m.jpg) no-repeat 50% / cover;
  }

  .cell-17 {
    background: url(/img/home_img/kuca_dobrnjcevih_wide_m.jpg) no-repeat 50% / cover;
  } /* #endregion */

  /* #region CAROUSEL individual cells PREDMETI _______________________________________________ */
  .cell-20 {
    background: url(/img/home_img/vim_26.webp) no-repeat 50% /contain;
  }

  .cell-21 {
    background: url(/img/home_img/primenjena_trpezarija.webp) no-repeat 50% /contain;
  }
  .cell-22 {
    background: url(/img/home_img/sator_medalja01.webp) no-repeat 50% /contain;
  }
  /* #endregion */
 
  /* #endregion of smallscreen CAROUSELS */

  /* #region smallscreen DIGITALNI SADRŽAJ ______________________________________________________ */
  .digi-tabs h3:nth-child(2) {
    text-align: center;
    padding-top: 30px;
  }

  .tab-2-content {
    display: flex;
    overflow: scroll;
    gap: 20px;
    text-align: center;
    height: 250px;
    padding: 0 20px;
  }

  .tab-2-content figure img {
    height: 100px;
    width: 100px;
  }



  /* #endregion */

  /* #region JN smallscreen ______________________________________________________ */
  #jn {
    text-align: center;
    background: url(/img/stock/markus-spiske-7PMGUqYQpYc-unsplash_darken.jpg) no-repeat center center/cover;
    background-attachment: fixed;
    padding: 20px;
  }

  #jn .btn {
    margin-top: 25px;
}

  /* #jn .widescreen-h2 {
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 1px black;
  } */

  #jn h2, #jn h3 {
    color: white;
    text-shadow: 1px 1px 1px black;
  }

  #jn h3 {
    padding: 20px 30px;
  }
  
  .accordion-container {
    width: 90vw;
    height: 100%;
    margin: 1rem auto;
  }

  .accordion-container section {
    margin: 3vh 0;
  }

  .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    margin: 0.1rem 0;
  }

  .active, .accordion:hover {
    background-color: #ccc;
  }

  .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  .panel p {
    color: red;
    font-weight: 800;
    margin-bottom: 1rem;
  }

  .panel ul {
    margin: 1rem 0;
  }

  .panel ul li {
    line-height: 2rem;
    list-style: none;
  }

  .accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
  }
  
  .active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
  }

  .accordion-container a {
    color: blue;
    text-decoration: underline;
  }

  /* #endregion */ 
  
  /* #region KONTAKT ______________________________________________________ */
  #kontakt {
    text-align: center;
    background: url(/img/stock/global-communication-background-business-network-design._darkenjpg.jpg) no-repeat 50% / cover;
  }

  .vodic {
    margin: auto;
    padding: 30px 0;
  }

  #kontakt h2 {
    margin: 20px 0;
  }

  .kontakt-container div:nth-child(n+2), .vodic {
    margin-top: 30px;
    margin-left: 15px;
    margin-right: 15px;
    border: 2px solid rgb(28, 63, 80);
    border-radius: 2rem;
    background: #ffffffbe;   
  }

  .kontakt-container div:nth-child(n+2) p, .vodic p {
    color: rgb(0, 0, 0); 
    font-weight: 400;
  }

  /* hide widescreen locations */
  .kontakt-container iframe {
    display: none;
  }

  #kontakt .lokacija {
    margin: 20px;
  }  

  #kontakt .lokacija a {
    background: var(--gradient-tp);
    color: white;
    padding: 10px;
    border-radius: 10px;
  }

  /* #endregion */  

  /* #region smallscreen <footer> ______________________________________________________ */
  footer {
    width: 100%;
    background: var(--gradient-tp);
    color: white;
  }

  footer iframe {
    padding: 1px;
    border: 5px solid white;
    height: 30vh;
    width: 90vw;
    margin-top: 70px
  }

  footer .info {
    margin: 40px 0;
  }

  footer .info img {
    width: 40px;
  }

  footer .info h4 {
    margin-top: 40px;
  }

  .footer-social-icons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 80%;
  }

  .footer-social-icons-container .fab {
    color: rgb(255, 255, 255);
  }

  footer .legal-container {
    background: var(--gradient);
    padding: 20px;
    border-top: 1px solid white;
  }

  footer .copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }

  footer .copyright img {
    width: 20px;
  } /* #endregion */
} 

/* #region LARGE SCREEN (tablet landscape and widescreen)
/////////////////////////////////////////////////////// */
@media screen and (min-width: 600px) {

  /* #region -UTILITY- ____________________________________________________ */
 
    /* display:none
  -----------------*/
  .menu-btn, .home-showcase, .istorijat-section, .lead, #objekti-m, #kontakt .lokacija {
    display: none;
  }

  /* buttons
  -----------------*/
  .button-1 {
    padding: 10px 5px;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
  }

  .button-1:hover {
    background: var(--gradient-tp);
    cursor: pointer;
    font-weight: bold;
  }

  /* horisontal rule
  -----------------*/
  hr {
    height: 5px;
  }

  /* scrollbar
  -----------------*/
  /* width */
  ::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #888; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #f1f1f1; 
  }

  body {
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    overflow-y: scroll; 
  }

  body::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
  }
  /* #endregion */

  /* #region - COLORS - ____________________________________________________ */
  
  /* nav colors
  ----------------- */
  nav {
    background: var(--gradient-tp);
  }

  nav a {
    color: rgb(220, 220, 220);
  }

  .menu-container ul li:hover {
    color: var(--light-color);
    transition: ease-in 0.1s;
  }

  /* istorijat colors
  ----------------- */
  .widescreen-istorijat .content {
    background: var(--gradient-tp);  
  }

  /* objekti colors
  ----------------- */
  .objekti-flex .overlay {
    background: var(--gradient-tp);
  }

  .objekti-flex h2 {
    color: var(--light-color);
  }

  .objekti-cell h2 {
    color: var(--light-color);
    text-shadow: black 2px 2px;
  }

  /* objekti hidden colors
  ----------------- */
  .article-heading {
    color: var(--light-color);
  }

  .article-subheading {
    color: var(--light-color);
  }

  .obj-hidden {
    background: rgba(216, 216, 216, 0.9);
  }

  .obj-hidden figure {
    background: rgba(0, 0, 0, 0.6);
    /* background: rgba(255, 255, 255, 0.9); */
  }

  .obj-hidden figcaption {
    color: var(--light-color);
  }

  /* virtuelna tura colors
  ----------------- */
  .virtur {
    background: var(--light-color);
    color: var(--dark-color);
  }

  /* predmeti colors
  ----------------- */
  .predmeti h2 {
    background: var(--gradient-tp);
    color: var(--light-color);
  }

  .predmeti-container {
    background: var(--gradient-tp);
    color: var(--light-color);
  }

  .predmeti-container img {
    background: var(--gradient);
  }

  /* footer colors
  ----------------- */
  footer {
    background: var(--gradient);
    color: var(--light-color);
  }

  /* #endregion */

  /* #region -TYPOGRAPHY- ___________________________________________________ */
  .widescreen-h2 {
    font-size: 2rem;
    margin: 20px 0;
    text-align: center;
  }

  .article-heading {
    font-size: 3rem;
  }

  .article-subheading {
    font-size: 2rem;
  }

  /* figure typography
  ------------------------- */
  figcaption {
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
  }

  figure figcaption h4 {
    font-size: 1rem;
  }

  /* nav typography
  ------------------------- */
  nav ul li {
    font-size: 1.2rem;
  }

  /* showcase typography
  ------------------------- */
  .showcase-home .showcase-content h1 {
    font-size: 5rem;
    text-align: center;
  }

  /* istorijat typography
  ------------------------- */
  .widescreen-istorijat p {
    font-size: 1.1rem;
  }

  .widescreen-istorijat h2 {
    font-size: 2rem;
  }

  /* objekti typography
  ------------------------- */
  .objekti-cell h2 {
    font-size: 2.5vh;
    font-weight: 400;
  }
  .objekti-cell h2:hover {
    font-size: 0vh;
  }

  /* objekti hidden typography
  ------------------------- */
  .obj-hidden p {
    color: var(--light-color);
    font-size: 1.1rem;
    text-shadow: black 1px 1px;
  }

  .predmeti .obj-hidden figure h4 {
    font-size: 1rem;
  }
  
  .predmeti .obj-hidden figure figcaption {
    font-size: 0.9rem;
  }

  /* digitalni typography
  ------------------------- */
  #tab-2-content a {
    color: var(--dark-color);
    text-decoration: none;
  }

  #tab-2-content .publikacije-container div {
    font-size: 0.8rem;
    text-align: center;
  }

  #tab-2-content .publikacije-container div:nth-child(3) {
    font-style: italic;
  }

  .tab-item h3 {
    font-size: 1rem;
    text-align: center;
  }

  #tab-3-content h2 {
    font-size: 1.2rem;
    font-weight: 100;
  }

  /* predmeti typography
  ------------------------- */
  /* naslov sekcije */
  .predmeti h2{
    font-size: 3rem;
    padding-left: 15%;
    border-bottom: 5px solid white;
  }

  /* naslov predmeta */
  .predmeti div h3 {
    font-size: 1.5rem;
    margin: 10px 0;
  }

  .predmeti .predmeti-container p {
    font-size: 1.1rem;
  }

  /* predmeti hidden typography
  ------------------------- */
  .predmeti-hidden .obj-hidden p {
    font-size: 1.1rem;
  }

  /* footer typography
  ------------------------- */
  footer .info p, 
  footer .footer-social-icons-container,
  footer .info h4 {
    font-size: 0.8rem;
  }

  footer .legal-container p, footer .copyright {
    font-size: 0.8rem;
  }

  footer .info {
    line-height: 1.5;
    text-align: center;
  }
  /* #endregion */

  /* #region <NAV> (large screen navigation)___________________________________________________ */
  header {
    position: sticky;
    top: 0;
    z-index: 999;
  }

  nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 50px;
    padding: 5px 0;
  }

  nav .logo {
    height: 40px;
  }

  nav a {
    text-decoration: none;
    margin: auto;
  }

  .menu-container ul {
    display: flex;
    gap: 0.5vw;
  }

  .menu-container ul li {
    padding: 10px;
    text-align: center;
  }

  .menu-container ul li i {
    margin-right: 5px;
    font-size: 1.3rem;
  }

  /* #endregion */

  /* #region SHOWCASE _____________________________________________________ */
  .showcase-content{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 95vh;
    width: 100%;
  }

  .showcase-home {
    background: url(/img/home_img/glavna_zgrada_01_widescreen.jpg) no-repeat center 10% /cover;
    background-attachment: fixed;
  }

  .showcase-home h1 {
    color: white;
    text-shadow: black 2px 2px;
    font-size: 4rem;
    -webkit-animation: fadein 6s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 6s; /* Firefox < 16 */
     -ms-animation: fadein 6s; /* Internet Explorer */
      -o-animation: fadein 6s; /* Opera < 12.1 */
         animation: fadein 6s;
  }

  .showcase-lapidarijum {
    background: url(/img/home_img/lapidarijum_grid_exterior.jpg) no-repeat center center/cover;
    background-attachment: fixed;
  }

  .showcase-gsu {
    background: url(/img/home_img/gsu_nocu_m.jpg) no-repeat center center/cover;
    background-attachment: fixed;
  }

  /* popup */
  .popup {
    position: relative;
    border: 1px solid white;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
  }

  .popup figure {
    position: absolute;
    width: calc(632px / 1.1);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .popup figure .popup-close {
    position: absolute;
    right: -30px;
    top: 10px;
    font-weight: 800;
    font-size: 25px;
    cursor: pointer;
  }

  /* #endregion */

  /* #region ISTORIJAT _____________________________________________________ */
  .widescreen-istorijat {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: url(/img/home_img/krstina_kuca_1974_widescreen.jpg) no-repeat center/cover;
    background-attachment: fixed;
    color: white;
    height: 200vh;
    padding-bottom: 10vh;
  }

  .widescreen-istorijat h2 {
    border-right: 2px solid white;
    padding: 0 20px;
    text-align: right;
  }

  .widescreen-istorijat .content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 0px;
    min-width: 1024px;
    max-width: 70vw;
    border: 2px solid rgb(255, 255, 255);
  }

  .widescreen-istorijat .content div {
    width: 60%;
    max-height: 70vh;
    overflow-y: scroll;
    margin-left: 50px;
    padding-right: 50px;
  }

  .widescreen-istorijat .content div figure {
    margin: 5vh 0;
    text-align: center;
  }

  .widescreen-istorijat img {
    width: 70%;
  }

  .widescreen-istorijat a {
    color: lightblue;
    text-decoration: underline;
  }

  /* //////////////////////// */
  /*  600px - 1000px screen  */
  /* ////////////////////// */
  /*
    h2 and content, merge into a single column
  */

  @media screen and (min-width: 600px) and (max-width: 1000px) {
    .widescreen-istorijat {
      height: 150vh;
    }

    .widescreen-istorijat .content {
      display: grid;
      padding: 30px 0px;
      min-width: 600px;
      max-width: 100vw;
      border: 2px solid rgb(255, 255, 255);
    }    

    .widescreen-istorijat h2 {
      border-right: 2px solid white;
      margin-bottom: 20px;
      padding: 0 20px;
      text-align: center;  
    }    

    .widescreen-istorijat .content div {
      width: 90%;
      max-height: 70vh;
      overflow-y: scroll;
      margin-left: 50px;
      padding-right: 50px;
    }   
    
    .widescreen-istorijat img {
      min-width: 500px;
    }
  }

  /* #endregion */
  
  /* #region OBJEKTI - grid layout ___________________________________________________ */

  .objekti-flex a {
    text-decoration: none;
  }

  .objekti-flex {
    height: 100vh; /* both! */
    background: url(/img/objekti/glavna_zgrada/gz_enterijer_03.jpg) no-repeat center center/cover;
    background-attachment: fixed;
  }

  .objekti-flex .overlay {
    height: 100vh; /* both! */
    display: grid;
    align-items: center;
  }

  /* container for cells */
  .objekti-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(300px, 23vw));
    gap: 10px;
    margin: auto;
    padding: 0 10px;
    text-align: center;
  }

  /* individual cells */
  .objekti-cell {
    height: 300px;
    width: 100%;
    cursor: pointer;
    position: relative;
  }

  .o-1, .o-7, .o-8 {
    cursor: not-allowed;
  }

  /* first background position */
  .objekti-cell::before {
    position: absolute;
    z-index: 1;
    content: "";
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 1;
    transition: opacity 1s;
    border-radius: 10px;
    border: 5px solid white;
  }

  /* second background position */
  .objekti-cell::after {
    position: absolute;
    content: "";
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 1;
    border-radius: 10px;
  }

  .objekti-cell:hover:before {
    opacity: 0;
  }

  /* cell heading */
  .objekti-cell h2 {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    box-shadow: inset 0 0 0 400px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: ease-in 0.4s;
    border-radius: 10px;
    padding: 0 10px;
  }

  .objekti-cell h2:hover {
    box-shadow: inset 0 0 0 400px rgba(0, 0, 0, 0.2);
    transition: ease-in 0.1s;
    border: 5px solid white;
  }

  /* //////////////////////// */
  /*  600px - 1000px screen  */
  /* ////////////////////// */
  /*
    h2 and content, merge into a single column
  */
  @media screen and (min-width: 600px) and (max-width: 1500px) {
    .objekti-flex {
      height: 1500px; /* both containers together! */
      background: url(/img/objekti/glavna_zgrada/gz_enterijer_03.jpg) no-repeat center center/cover;
      background-attachment: fixed;
    }    

    .objekti-flex .overlay {
      height: 1500px; /* both! */
      display: grid;
      align-items: center;
    }    

    .objekti-container {
      grid-template-columns: repeat(2, minmax(300px, 500px));
    }
  }

  
  /* #endregion */
 
  /* #region OBJEKTI - individual cell backgounds  ___________________________________________________ */
  .o-1::before {
    background: url(/img/home_img/glavna_zgrada_grid_exterior.jpg ) no-repeat 10%/cover;
  }

  .o-1::after {
    background: url(/img/home_img/glavna_zgrada_grid_interior.jpg) no-repeat 70%/cover;
  }
  .o-2::before {
    background: url(/img/home_img/lapidarijum_grid_interior.jpg) no-repeat 100%/cover;
  }
  .o-2::after {
    background: url(/img/home_img/lapidarijum_grid_exterior.jpg) no-repeat 30%/cover;
  }
  .o-3::before {
    background: url(/img/home_img/legat_exterior_2.jpg) no-repeat left/cover;
  }
  .o-3::after {
    background: url(/img/home_img/legat_grid_interior.webp) no-repeat center/cover;
  }
  .o-4::before {
    background: url(/img/home_img/sator_ulaz.jpg) no-repeat center/cover;
  }
  .o-4::after {
    background: url(/img/home_img/sator_grid_interior.jpg) no-repeat center/cover;
  }
  .o-5::before {
    background: url(/img/home_img/tulba_grid_exterior.jpg) no-repeat center/cover;
    }
  .o-5::after {
    background: url(/img/home_img/tulba_grid_interior.webp) no-repeat 0%/cover;
    }
  .o-6::before {
    background: url(/img/home_img/gsu_grid_exterior.jpg) no-repeat center/cover;
  }
  .o-6::after {
    background: url(/img/home_img/gsu_grid_interior.jpg) no-repeat center/cover;
  }
  .o-7::before {
    background: url(/img/home_img/dobrnjac_grid_exterior.jpg) no-repeat center/cover;
  }
  .o-7::after {
    background: url(/img/home_img/dobrnjac_grid_exterior.jpg) no-repeat 35%/cover;
  }
  .o-8::before {
    background: url(/img/home_img/mki-ex.webp) no-repeat center/cover;
  }
  .o-8::after {
    background: url(/img/home_img/mki-ex.webp) no-repeat center/cover;
  }
  /* #endregion */

  /* #region OBJEKTI - hidden articles  ___________________________________________________ */
  .obj-hidden {
    position: fixed;
    bottom: 0;
    z-index: 5; 
    width: 100%;
    height: 100vh;
    transform: translateX(-10000px);
    transition: transform 2s;
    display: grid;
    justify-content: center;
    align-items: center;
  }

  .obj-hidden figure {
    padding: 0.2vw 0;
    margin: 3vh 0;
  }

  /* btn positioning and opacity */
  .obj-hidden .fa-x {
    position: absolute;
    right: 8vw;
    top: 13vh;
    color: white;
    opacity: 0.7;
  }

  .obj-hidden .fa-x:hover {
    opacity: 1;
    cursor: pointer;
  }

  .obj-hidden .article-wrapper {
    height: 80vh;
    min-width: 1024px;
    max-width: 70vw;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5%;
    padding: 0 10%;
    padding-bottom: 5%;
  }

  .obj-hidden .article-wrapper figure {
    width: 90%;
  }

  .obj-hidden .article-heading {
    position: relative;
    height: 80vh;
    top: 40%;
  }

  /* OBJEKTI - hidden utility
  ------------------------- */ 
  .show-o {
    transform: translateX(0px);
    transition: transform 1s;
    overflow: hidden;
  }

  /* //////////////////////// */
  /*  600px - 1024px screen  */
  /* ////////////////////// */
  /* articles take fullscreen and full width*/
  @media screen and (min-width: 600px) and (max-width: 1024px) {
  /* btn positioning and opacity */
  .obj-hidden .fa-x {
    position: absolute;
    right: 100px;
    top: 100px;
    color: white;
    opacity: 0.7;
  }    
    
    .obj-hidden .article-wrapper {
      height: 100vh;
      min-width: 100%;
      max-width: 1024px;
      grid-template-columns: 1fr;
    }    

    .obj-hidden .article-wrapper figure {
      width: 80%;
    }    

    .obj-hidden .article-heading {
      position: relative;
      height: 20vh;
      top: 40%;
    } 
  }  
  /* #endregion */  

  /* #region OBJEKTI HIDDEN - individual article backgounds  ___________________________________________________ */
  .article-lapidarijum-background {
    background: url(/img/home_img/lapidarijum_exterior.jpg) no-repeat center center/cover;
    background-attachment: fixed;
    text-shadow: black 1px 1px;
  }

  .article-legat-background {
    background: url(/img/home_img/legat_interior_2.jpg) no-repeat center center/cover;
    text-shadow: black 1px 1px;
  }

  .article-pomir-background {
    background: url(/img/home_img/sator_exterior_2.jpg) no-repeat center center/cover;
    text-shadow: black 1px 1px;
  }

  .article-tulba-background {
    background: url(/img/home_img/tulba_exterior.jpg) no-repeat center center/cover;
    text-shadow: black 1px 1px;
  }

  .article-gsu-background {
    background: url(/img/home_img/gsu_interior.jpg) no-repeat center center/cover;
    text-shadow: black 1px 1px;
  }

  .article-dobrnjac-background {
    background: url(/img/home_img/dobrnjac_exterior.jpg) no-repeat center center/cover;
    text-shadow: black 1px 1px;
  } */
  /* #endregion */

  /* #region DIGITALNI SADRZAJ ______________________________________________________ */
#digi {
  padding-bottom: 50px;
}

/* //////////////////////////////////////////////////
DIGITALNI SADRZAJ *TABS*
////////////////////////////////////////////////// */

#digi .digi-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px;
}

#digi .digi-tabs h3 {
  padding-bottom: 5px;
  height: 60px;
}

#digi .digi-tabs h3:hover {
  cursor: pointer;
  border-bottom: 5px solid red;
}

#digi .digi-tabs h3:nth-child(1) {
  margin-right: 20px;
}

#digi .digi-tabs h3:nth-child(2) {
  margin-right: 20px;
}

/* //////////////////////////////////////////////////
DIGITALNI SADRZAJ *CONTENT*
////////////////////////////////////////////////// */

/* 
CONTAINER
****************************************************** */
#digi .digi-content {
  padding-bottom: 50px;
}

/* TAB 1 content 
****************************************************** */

#digi .digi-content .tab-1-content {
  display: none;
  justify-content: center;
  padding-bottom: 50px;
  margin: 0 20px;
}

#digi .digi-content .tab-1-content iframe {
  height: 600px;
  width: 950px;
  margin-bottom: 70px;
}

/* TAB 2 content ******************************************************* */

#digi .digi-content .tab-2-content {
  display: none;
  grid-template-columns: repeat(6, 150px);
  justify-content: center;
}

#digi .digi-content .tab-2-content figure {
  width: 100%;
  height: 70%;  
}

/* TAB 3 content ******************************************************* */

#digi .digi-content .tab-3-content {
  display: none;
  height: 400px;
}

#digi .digi-content .tab-3-content .content-container {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 300px;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* animation
****************************************************** */
#digi 
.digi-content 
.tab-3-content 
.content-container 
figure 
img {
  transition: 1s;
}

#digi 
.digi-content 
.tab-3-content 
.content-container 
figure 
img:hover {
  cursor: pointer;
  scale: 1.05;
  transition: 1s;
}

.visible {
  display: grid!important;
}

.red-border {
  border-bottom: 5px solid red;
}
/* #endregion*/

  /* #region JN __________________________________________________ */  
  #jn {
    display: grid;
    justify-items: center;
    background: url(/img/stock/markus-spiske-7PMGUqYQpYc-unsplash.jpg) no-repeat center center/cover;
    background-attachment: fixed;
    padding-bottom: 50px;
  }

  #jn h3 {
    padding-top: 30px;
  }

  #jn h2, #jn h3 {
    text-align: center;
    padding-bottom: 20px;
  }

  #jn li {
    padding-bottom: 10px;
  }
  
  #jn .accordion-container {
    width: 600px;
    height: 100%;
    margin: 3rem auto;
  }

  .accordion-container section {
    margin: 3vh 0;
  }

  .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    margin: 0.1rem 0;
  }

  .active, .accordion:hover {
    background-color: #ccc;
  }

  .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  .panel p {
    color: red;
    font-weight: 800;
    margin-bottom: 1rem;
  }

  .panel ul {
    margin: 1rem 0;
  }

  .panel ul li {
    list-style: none;
  }

  .panel ul li a:hover {
    font-size: 1.05rem;
  }

  .accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
  }
  
  .active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
  }

  .accordion-container a {
    color: blue;
    text-decoration: underline;
  }
/* #endregion */

  /* #region KONTAKT ___________________________________________________ */
  #kontakt {
    display: grid;
    justify-content: center;
    background: url(/img/stock/global-communication-background-business-network-design_darken.jpg) no-repeat center center/cover;
    /* background-attachment: fixed; */
    margin: 10px 10px;
  }

  /* vodič 
  -----------------------------------------------*/
  .vodic {
    margin: auto;
    padding: 20px;
    background: #ffffffbe;
    border-radius: 10px;
  }

  /* kontakt grid 
  -----------------------------------------------*/  
  #kontakt .kontakt-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 400px) 300px);
    gap: 10px;
    padding: 10px;
    row-gap: 1rem;
  }

  #kontakt .kontakt-container div {
    background: #ffffffbe;   
    height: 300px;
    padding: 10px;
  }

  @media screen and (min-width: 600px) and (max-width: 1200px) {
    #kontakt .kontakt-container {
      grid-template-columns: 1fr 1fr;
    }    
  }  

  /* ulaznice div
  -----------------------------------------------*/
  .ulaznice {
    background-color: rgba(255, 255, 255, 0.8);
    width: 800px;
    margin: auto;
    padding: 20px 100px;
    border-radius: 100px;
    margin-bottom: 20px;
  }

  .ulaznice h3{
    text-align: center;
  }

  .ulaznice p {
    margin: 10px 0;
  }

  /* list style and type*/
  .ulaznice ul li::before {
    content: "-";
    padding-right: 10px;
    color: blue;
  }

  .ulaznice ul li {
    list-style-type: none;    
  }


  /* #endregion */

  /* #region FOOTER __________________________________________________  */
  footer .footer-container {
    width: 100%;
    display: grid;
    justify-content: center;
  }

  /* info container
  ----------------- */
  footer .info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 10px;
    width: 100%;

  }

  footer .info-container iframe {
    min-height: 300px;
    height: 30vh;
    min-width: 400px;
    width: 20vw;
  }

  /* info
  ----------------- */
  footer .info img {
    width: 2vw;
    margin: 5px 50%;  
    transform: translateX(-50%);
  }

  footer .info h4 {
    margin-top: 20px;
    margin-bottom: -20px;
  }

  footer .info .footer-social-icons-container .fab {
    margin: 10px;
    color: white;
  }

  /* legal container
  ----------------- */
  footer .legal-container {
    max-width: 70vw;
    padding: 20px;
    margin: auto;
  }

  footer .legal-container .copyright {
    display: flex;
    align-items: center;
    margin-top: 10px;
  }

  footer .legal-container .copyright img {
    width: 20px;
  }
  /* #endregion */

}