html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    position: relative;
    overflow-x: hidden;
    background-color: #EBD9D7;
    color: #000;
    margin: 0;
}

:root {
  --bs-primary: #c38588;
  --bs-secondary: #edbbbd;
}


.logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background-color: #c38588; 
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: 0.3s;
}

.logo img { 
  width: 42px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
}

.logo:hover {
  background-color: #edbbbd;
}

.video-desktop {
  display: block;
}

.video-mobile,
.mobile-logo {
  display: none;
}
/* */

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 150px auto 0;
}


/* INTRO*/
p {
    font-family: "Barlow", sans-serif;
}

.intro {
    width: 240px;
    margin: 10px auto 100px auto;
}

.text-sample p {
    color: var(--light-color);
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-weight: 200;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 1px;
}

/* GALLERY **********************************************************/
.gallery {
    position: relative;
    width: 100vw;
    margin: 120px auto 120px auto;
}

.gallery-naslov {
    position: absolute;
    z-index: 101;
    left: 8%;
    top: -16%;
    width: 80vw;
}

.gallery-naslov h2 {
    color: var(--medium-dark-color);
    font-family: serif;
    font-style: normal;
    font-size: 52px;
    line-height: 56px;
    letter-spacing: 1px;
    text-transform: lowercase;
    -webkit-text-stroke: var(--medium-dark-color) 2px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    overflow: hidden;
    transition-duration: 0.2s;
    position: relative; 
}

.gallery-img:hover {
    filter: brightness(70%);
}

.gallery-img img {
    width: 100%;
    height: auto;
}

.gallery-img.video-img video {
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translate(-50%, -58%);
}

.gallery-img.video-img video.mattera {
    top: 60%;
}

.gallery-img.prahir img,
.gallery-img.sinteza img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -49.5%);
}

.gallery-plakati .gallery-img {
    width: 100%;
    height: 394px;
    overflow: hidden;
}

.gallery-plakati .gallery-img img {
    width: 100%;
    height: 100%;
    display: block;
}

.gallery .row {
    row-gap: 30px !important;
}

/* .cta {
    color: #434343;
    font-size: 26px;
    line-height: 30px;
    border: 2.5px solid #434343;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transform: rotate(-45deg);
    position: relative;
    transition-duration: 0.4s;
}

.cta i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta:hover {
    color: #d90429;
    border: 2.5px solid #d90429;
    transform: rotate(360deg);
} */

/* BTT */
#btt {
    color: #a4a4a4;
    border: 2.5px solid #a4a4a4;
    border-radius: 50%;
}

#btt i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#btt:hover {
    color: #d90429;
    border: 2.5px solid #d90429;
    transform: rotate(360deg);
}

.btt-hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.btt-show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}






/* CTA button (only small articles) */
/* .cta {
    color: white;
    font-size: 26px;
    line-height: 30px;
    border: 2.5px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transform: rotate(-45deg);
    position: relative;
    transition-duration: 0.4s;
}

.cta i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta:hover {
    color: var(--primary-color);
    border: 2.5px solid var(--primary-color);
    transform: rotate(360deg);
} */




.row.justify-content-center {
  margin-top: 40px;
}



/* NAVIGATION */
.landing-nav {
    background-color: #EBD9D7;
    padding: 18px 15px;
    z-index: 1000;
}

.landing-nav a {
    color: #000;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease;
}

.landing-nav a:hover {
    opacity: 0.5;
}

.landing-nav span {
    margin: 0 18px;
    color: #000;
}


/* ANNIVERSARY ISSUE */
.anniversary-issue {
    position: relative;
    width: 100%;
    margin: 150px auto;
    padding: 0 20px;
}

.anniversary-header {
    margin-bottom: 60px;
}

.anniversary-header h2 {
    font-family: serif;
    font-size: clamp(55px, 8vw, 120px);
    font-weight: 400;
    line-height: 1;
    color: #000;
    margin: 0;
}

.anniversary-cover {
    width: 100%;
}

.anniversary-cover img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.anniversary-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.anniversary-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ART PROJECT */
.art-project {
    width: 100%;
    margin: 180px auto;
}

.art-project-header {
    margin-bottom: 70px;
}

.art-project-header h2 {
    font-family: serif;
    font-size: clamp(60px, 9vw, 140px);
    line-height: 0.9;
    margin-bottom: 30px;
}

.art-project-header p {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
}

.art-project-header p span {
    font-family: serif;
    font-size: 24px;
}


/* FEATURED ARTICLES */
.art-featured {
    margin-bottom: 140px;
}

.art-card {
    color: #000;
    text-decoration: none;
    display: block;
}

.art-card-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 20px;
}

.art-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.art-card-img.galerija img {
    object-position: center 80%;
}

.art-card:hover .art-card-img img {
    transform: scale(1.03);
}

.art-card-content span,
.artist-card span,
.art-artists-header > div > span {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.art-card-content h3 {
    font-family: serif;
    font-size: 32px;
    margin-bottom: 10px;
}

.art-card-content p {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
}

/* TREĆA KARTICA - PLAKAT */
.art-card-img.art-plakat {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.art-card-img.art-plakat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* ARTISTS */
.art-artists {
    overflow: hidden;
}

.art-artists-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px;
}

.art-artists-header h2 {
    font-family: serif;
    font-size: clamp(38px, 5vw, 70px);
    margin: 0;
}

.artist-card {
    color: #000;
    text-decoration: none;
    display: block;
}

.artist-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 15px;
}

.artist-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.artist-card:hover img {
    transform: scale(1.04);
}

.artist-card h3 {
    font-family: serif;
    font-size: 24px;
}


/* ARROWS */
.art-slider-nav {
    display: flex;
    gap: 10px;
}

.art-slider-nav button {
    width: 45px;
    height: 45px;
    border: 1px solid #000;
    border-radius: 50%;
    background: transparent;
    transition: .3s;
}

.art-slider-nav button:hover {
    background: #000;
    color: #A1A7AE;
}



/* THE NEXT CHAPTER */
.next-chapter {
    position: relative;
    width: 100%;
    margin: 130px auto;
    padding: 0 15px;
}

.next-chapter-header {
    margin-bottom: 65px;
}

.next-chapter-header h2 {
    font-family: serif;
    font-size: clamp(42px, 9vw, 120px);
    font-weight: 400;
    line-height: 1;
    color: #000;
    margin: 0 0 20px;
}

.next-chapter-header p {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    color: #000;
    margin: 0;
}

.next-editorial {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 20px;
    align-items: start;
    width: 100%;
}

.next-editorial-item {
    display: block;
    min-width: 0;
    text-decoration: none;
    color: #000;
}

.next-editorial-img {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.next-editorial-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.next-editorial-item:hover img {
    transform: scale(1.04);
}

.next-editorial-info {
    padding-top: 15px;
}

.next-editorial-info > span:first-child {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.next-editorial-info h3 {
    font-family: serif;
    font-size: clamp(23px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 12px;
    color: #000;
}

.next-view {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    transition: opacity 0.3s;
}

.next-editorial-item:hover .next-view {
    opacity: 0.5;
}



/* SP-ni VIDEI */
.sponsored-gallery {
    width: 100%;
    max-width: 1400px;
    margin: 160px auto 120px;
    padding: 0 20px;
    position: relative;
}

.sponsored-video {
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.sponsored-video a {
    display: block;
    width: 100%;
    height: 100%;
}

.sponsored-video video,
.sponsored-video img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sponsored-video:hover video,
.sponsored-video:hover img {
    transform: scale(1.02);
}

.sponsored-video-main {
    aspect-ratio: 16 / 9;
}

.sponsored-video-row {
    margin-top: 20px;
}

.sponsored-video-small {
    aspect-ratio: 16 / 9;
}

.sponsored-gallery .gallery-naslov {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 35px;
}

.sponsored-gallery .gallery-naslov h2 {
    margin: 0;
}


/* NIVEA - druga slika u galeriji */
.gallery-img.prahir {
    position: relative;
    overflow: hidden;
}

.gallery-img.prahir img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

/* TREĆA SLIKA - JESEN */
.gallery-img img.gall-2 {
    width: 100%;
    height: 100%;
    object-position: center;
    display: block;
}



/* HEADER VIDEO */
.video-header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-header video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* LOGO PREKO HEADER VIDEA */
.video-header .video-caption {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.video-header .hero-logo {
    display: block;
    width: 80%;
    max-width: 800px;
    height: auto;
}



/* HERO VIDEO - DESKTOP */
.video-header {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-header .hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* VIDEO POPUP */

.sponsored-video-small .popup-trigger {
    cursor: pointer;
}

.video-popup {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px;
}

.video-popup[hidden] {
    display: none;
}

.video-popup video {
    width: 100%;
    max-width: 1100px;
    max-height: 85vh;
    max-height: 85dvh;
    height: auto;
    object-fit: contain;
    background: #000;
}

.video-popup-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

/* MEDIA QUERIS */

@media (min-width: 360px) {

    .gallery-img {
        height: 236px;
    }
}

@media (min-width: 375px) {

    header .page-title {
        font-size: 35px;
        -webkit-text-stroke: 4px var(--bs-primary);
    }

    .intro {
        width: 280px;
        margin: 60px auto 100px auto;
    }

    .gallery-naslov {
        width: 70vw;
        top: -7%;
    }
    
    .ikone-podnaslov {
        top: -4%;
    }
    
    .gallery-img {
        height: 268px;
    }

}

@media (min-width: 400px) {
    .intro {
        margin: 60px auto 165px auto;
    }

    .info-gallery.intro {
        margin: 60px auto 105px auto
    }
    .gallery-naslov {
        top: -7%;
    }

    .ikone-podnaslov {
        top: -3%;
    }
    .gallery-img {
        height: 315px;
    }

}


@media (min-width: 480px) {

    .gallery-naslov {
        width: 60vw;
        top: -12%;
    }

    .ikone-podnaslov {
        top: -3%;
    }

    .gallery-img {
        width: 260px;
        height: 380px;
    }

}

@media (min-width: 576px) {
    .gallery-img {
        height: 422px;
    }

    .gallery-img img {
        margin-top: 0;
    }
}

@media (max-width: 767px) {

    .video-desktop {
        display: none;
    }
    .video-mobile {
        display: block;
    }


    .article-row-bottom > .col-6 {
        flex: 0 0 48% !important;
        max-width: 45% !important;
    }




  /* navigation */
   .landing-nav {
        padding: 12px 10px;
    }

    .landing-nav a {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .landing-nav span {
        margin: 0 6px;
    }


    /* */
    .anniversary-issue {
        margin: 100px auto;
        padding: 0 15px;
    }

    .anniversary-header {
        margin-bottom: 35px;
    }

    .anniversary-header h2 {
        font-size: clamp(38px, 10vw, 60px);
    }

    .anniversary-cover {
        max-width: 400px;
        margin: 0 auto;
    }

    .anniversary-video {
        width: 100%;
        aspect-ratio: 16 / 9;
    }



    /*art-project */
    .art-project {
        margin: 100px auto;
    }

    .art-project-header {
        margin-bottom: 45px;
    }

    .art-featured {
        margin-bottom: 90px;
    }

    .art-card {
        margin-bottom: 30px;
    }

    .art-card-content h3 {
        font-size: 27px;
    }

    .art-card-img.art-plakat {
        aspect-ratio: 4 / 5;
    }

    .art-artists-header {
        align-items: center;
    }

    .art-artists-header h2 {
        font-size: 38px;
    }

    .art-slider-nav {
        display: none;
    }

    .sponsored-gallery {
        margin: 100px auto 80px;
        padding: 0 15px;
    }

    .sponsored-gallery .gallery-naslov {
        margin-bottom: 25px;
    }

    .sponsored-gallery .gallery-naslov h2 {
        font-size: 42px;
        line-height: 1.1;
    }

    .sponsored-video-main,
    .sponsored-video-small {
        aspect-ratio: 16 / 9;
    }

    .sponsored-video-row {
        margin-top: 12px;
    }


    .video-header {
        height: 100vh;
        height: 100svh;
    }

    .video-header .video-desktop {
        display: none;
    }

    .video-header .video-mobile {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .video-header .hero-logo {
        width: 90%;
        max-width: 400px;
    }


    .video-popup {
        padding: 15px;
    }

    .video-popup video {
        max-height: 80dvh;
    }

    .video-popup-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }



    .video-header {
        aspect-ratio: auto;
        height: 100svh;
    }

    .video-header .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

}

@media (min-width: 768px) {

    header .page-title {
        font-size: 123px;
    }

    .intro {
        width: 445px;
        margin: 100px auto;
    }
    
    .text-sample p {
        font-size: 18px;
        line-height: 24px;
    }

    .gallery-naslov {
        width: 90vw;
        top: -19%;
        left: 6%;
    }
  
    .ikone-podnaslov {
        top: -8%;
    }

    .gallery-naslov h2 {
        font-size: 66px;
        line-height: 68px;
    }

    .gallery-naslov.align-left {
    text-align: left;
    left: 8%;
    }

    .gallery-naslov.align-right {
        text-align: right;
        right: 8%;
        left: auto;
    }

    .gallery-img {
        width: 25vw;
        height: 280px;
    }

    .gallery-plakati .gallery-img {
        height: 520px;
    }

    .sm-text-prvi {
        margin-top: 170px;
    }

    .sm-text-ostali {
        margin-top: 270px;
    }

    .video-header {
        aspect-ratio: 16 / 9;
    }

    .video-header .video-desktop {
        display: block;
    }

    .video-header .video-mobile {
        display: none;
    }
}

@media (min-width: 991px) {

    .intro {
        width: 580px;
    }

    .gallery-img {
        height: 370px;
    }

    .gallery-naslov {
        top: -14%;
    }
    
    .ikone-podnaslov {
        top: -6%;
    }

}

@media (min-width: 1200px) {

    .video-header {
        aspect-ratio: 16/9;
        height: unset;
    }

    .intro {
        width: 800px;
        margin: 100px auto 200px auto;
    }

    .text-sample p {
        font-size: 20px;
        line-height: 30px;
    }

    .gallery {
        margin: 100px auto 120px auto;
    }

    .gallery-naslov {
        left: 40%;
        top: -14%;
    }

    .ikone-podnaslov {
        top: -7%;
    }

    .gallery-naslov h2 {
        font-size: 90px;
        line-height: 90px;
    }

    .gallery-naslov.naslov-h2{
        left: 9%;
    }

    .gallery-img {
        width: 25vw;
        height: 466px;
    }

    .gallery-plakati .gallery-img {
        height: 660px;
    }

    .sm-text-prvi {
        margin-top: 160px;
    }

}

@media (min-width: 1366px) {
    .gallery-img {
        /* height: 500px; */
        height: 530px;
    }

    .gallery-naslov {
        top: -13%;
        left: 44%;
    }

    .ikone-podnaslov {
        top: -6%;
    }

    .gallery-naslov.naslov-h2{
        left: 9%;
    }

}

@media (min-width: 1650px) {

    .gallery {
        width: 91vw;
        margin: 100px auto 130px auto;
    }

    .gallery-img {
        height: 515px;
        width: 20vw;
    }

    .gallery-naslov {
        top: -11%;
        left: 36%;
    }

    .ikone-podnaslov {
        top: -6%;
    }

    .gallery-naslov.naslov-h2{
        left: 9%;
    }

    .sm-text-prvi {
        margin-top: 200px;
    }

} 

@media (min-width: 1920px) {
    .gallery {
        width:1600px;
        margin: 100px auto 160px auto;
    }

    .gallery-naslov {
        left: 34%;
        top: -16%;
    }

    .ikone-podnaslov {
        top: -7%;
    }

    .gallery-naslov h2 {
        font-size: 100px;
        line-height: 100px;
    }

    .gallery-img {
        width: 324px;
        height: 466px;
    }

    .sm-text-prvi {
        margin-top: 180px;
    }

    .sm-text-ostali {
        margin-top: 280px;
    }

}

@media (min-width: 1921px){
    .gallery {
        width: 1800px;
        margin: 180px auto 150px auto;
    }

    .gallery-img {
        width: 436px;
        height: 650px;
    }

    .gallery-naslov {
        left: 44%;
        top: -11%;
    }

    .ikone-podnaslov {
        top: -5%;
    }

    .gallery-naslov.naslov-h2{
        left: 9%;
    }


}