@charset "UTF-8";

/* Default */
:focus {
  outline: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  text-shadow: none;
}

 @media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
} 

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.15;
    scroll-behavior: smooth; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-shadow: none;
}

@media (min-width: 2048px) {
  html {
    font-size: calc(1rem + 0.0875vw);
  }
}

@font-face {
  font-family: "GolosText";
  src: url("GolosText-VariableFont_wght.woff2") format("woff2");
  font-weight: 400 700;
  font-optical-sizing: auto;
  font-display: block;
  font-style: normal;
}


body {
  margin: 0;
  color: #252525;
  background-color: #fff;
  font-family: "GolosText", sans-serif;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
  word-spacing: -0.05rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.as-h1,
.as-h2,
.as-h3,
.as-h4,
.as-h5,
.as-h6 {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.15;
  font-weight: 400;
}

.container,
.container-fluid {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 1);
  padding-left: calc(var(--bs-gutter-x) * 1);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 992px) {
  .container {
    --bs-gutter-x: 2.5rem;
    padding-right: calc(var(--bs-gutter-x) * 1.5);
    padding-left: calc(var(--bs-gutter-x) * 1.5);
  }
}

@media (min-width: 1600px) {
  .container {
    --bs-gutter-x: 5rem;
    padding-right: calc(var(--bs-gutter-x) * 1.5);
    padding-left: calc(var(--bs-gutter-x) * 1.5);
  }
}

img {
    width: 100%;
    height: auto;
}

.pad-0{
  padding: 0;
}

.mar-0{
  margin: 0;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

p, a, li {
  font-size: clamp(1rem, 2vw, 1.25rem);
}



/* navigacija */ 

nav {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    justify-content: center;
    align-items: flex-start;
    left: 0;
    z-index: 9999
}

nav img {
    width: 7rem;
    height: 100%;
}

nav ul{
    list-style-type: none;
    margin-top: 15rem;
    
}

nav ul hr{
  display: none;
}

nav ul li{
  padding-bottom: 0.5rem;
}

nav ul a{
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

nav ul a:hover{
  color: gray;
}
/*
nav ul a:hover::before{
  content: "— ";
} 

a.active::before {
    content: "— ";
}
*/
.menu-toggle{
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  height: fit-content;
}

/* main */

main{
  padding-top: 5rem;
  padding-left: 5rem;
}

main .container {
    display: flex;
    justify-content: center;
}

main .wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* portfolio */

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 20rem;
    padding-right: 1.5rem;
    width: 100%;
}

.image-wrapper{
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.image-grid img {
  transition: transform 0.4s ease;
  display: block;
}

.image-grid img:hover{
  transform: scale(1.05);
}

.hover-title {
  position: absolute;
  pointer-events: none;
  padding: 0.3rem 0.6rem;
  background-color: white;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  z-index: 2;
  display: none;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

/* slika */

.artwork-detail {
    display: flex;
    flex-direction: column;
}

#artwork-description{
    padding-top: 2rem;
    padding-left: 2rem;
    width: 100%;
        position: sticky;
    top: 2rem;
    height: 100%;
}

.next-div{
    padding-top: 10rem;
    padding-bottom: 10rem;
    padding-right: 10rem;
    display: flex;
    align-items: center;
    justify-content: flex-end !important;
    flex-wrap: wrap;
}

.next-div img{
    width: 20%;
    height: auto;
    padding-left: 2rem;
}

#next-thumb{
  width: 80% !important;
  max-width: 10rem !important;
  height: auto !important;
}

.artwork-div{
    display: flex;
    flex-direction: row;
    padding-left: 25rem;
    padding-right: 5rem;
    padding-top: 5rem;
}

/* contact */

.wrapper .left {
    width: 100%;
}
.wrapper .right {
    width: 100%;
}

.right img {
    width: 3.125rem;
    height: 3.125rem;
}

h1,
.as-h1 {
  font-size: clamp(1.95rem, 3vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.0625rem;
  padding: 1rem 0;
}

a {
  color: #252525;
  text-decoration: none;
}

@media (min-width: 768px) {
    main .wrapper {
        flex-direction: row;
        width: 80%;
    }.wrapper .right {
        width: 50%;
        padding-left: 6rem;
    }
    .wrapper .left {
        width: 50%;
    }
}

@media (max-width: 1200px) {
  
  .windowNext{
    padding-right: 5rem !important;
  }
}

@media (max-width: 992px) {
  .image-grid {
        grid-template-columns: repeat(3, 1fr);
        padding-left: 1rem;
        padding-right: 1rem;
  }

  nav ul hr{
    display: block;
  }

  .artwork-div{
    padding-left: 1rem;
    padding-right: 1rem;
    flex-direction: column;
  }

  #artwork-description{
    padding-left: 0;
  }

  .next-div-img{
    display: flex;
    justify-content: flex-end;
  }

  nav{
    position: relative;
    width: 100%;
    border-bottom: 1px solid black;
    margin-top: 0;

    
  }

  nav ul{
    margin: 0;
    padding: 0 1rem;
    /*display: none;*/
    flex-direction: column;
    width: 100%;

    position: fixed;
    top: 30vh;
    left: 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    pointer-events: none; 
    opacity: 0;
 
  }

  .navShow{
    height: 100vh;
    width: 100vw;  
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .navContainer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

  }

  .menu-toggle {
    display: block;
    color: black;
  }

  nav ul.show {
    display: flex;
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
  }

  main{
    padding: 0;
  }

  main .wrapper{
    width: 100%;
  }

  #hamburger-icon{
    display: block !important;
  }

}

@media(max-width: 768px){

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artwork-div{
    padding-right: 1rem;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
  }

  .windowNext{
    display: none !important;
  }

  .next-div a{
    padding-bottom: 2rem;
  }

  .next-div{
    padding-right: 1rem;
  }

}

@media(max-width: 576px){
  .image-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .artwork-div{
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .next-div{
    padding-right: 1rem;
  }

  #next-link{
    display: flex;
    justify-content: flex-end;
  }
}

#next-link {
  text-decoration: none;
}

/* icon */

.windowNext{
  display: flex;
  flex-direction: column;
  padding-right: 10rem;
}

.line{
  width: 3rem !important;
  height: 6rem !important;
}

.window{
  width: 3rem !important;
  height: 2rem !important;
}

#eltdf-back-to-top {
    bottom: 25px;
    box-sizing: border-box;
    display: block;
    margin: 0;
    opacity: 0;
    position: fixed;
    right: 25px;
    visibility: hidden;
    width: 40px;
    z-index: 10000
}

#eltdf-back-to-top.off {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .15s ease,visibility 0s .15s;
    -moz-transition: opacity .15s ease,visibility 0s .15s;
    transition: opacity .15s ease,visibility 0s .15s
}

#eltdf-back-to-top.on {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    transition: opacity .3s ease
}

#eltdf-back-to-top>i {
    background: #000;
    border: 1px solid #000;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-size: 21px;
    height: 40px;
    line-height: calc(40px - 2px);
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 40px;
    -webkit-transition: color .2s ease-in-out,background-color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out,background-color .2s ease-in-out;
    transition: color .2s ease-in-out,background-color .2s ease-in-out
}

#eltdf-back-to-top:hover>i {
    background: #fff;
    color: #000
}

#eltdf-back-to-top img{
    width: 15px !important;
    height: 15px !important;
    transition: filter 0.3s ease;
}

#eltdf-back-to-top:hover img {
    content: url("arrow-black.svg");
}

#artwork-description h3 {
  font-weight: 400;
}

.images-container {
  width: 100%;
}

/* navigacija 2 */

.no-scroll {
    overflow-y: hidden !important;
    height: 100vh;
    margin: 0;
}

/* hamburger */

button#hamburger-icon {
    display: none;
    position: relative;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    border: none;
    background: transparent;
    align-self: center;
    text-transform: none;
    outline: none;
    margin: 0;
    margin-left: 2rem;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: initial;
    border-radius: initial;
}
#hamburger-icon span {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    width: 1.7rem;
    height: 0.125rem;
    background-color: #212529;
    transition: all 0.3s ease-in-out;
}
#hamburger-icon span:nth-child(1) {
    top: 30%;
}
#hamburger-icon span:nth-child(2) {
    bottom: 30%;
}
nav.navShow #hamburger-icon span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}
  
nav.navShow #hamburger-icon span:nth-child(2) {
    transform: rotate(-45deg);
    bottom: 45%;
}





