@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Cormorant Garamond", Georgia, serif;
    background-color: #0e0d0b;
    color: #f2ede3;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #0e0d0b;
}

::-webkit-scrollbar-thumb {
    background: #c9a84c;
}
/***********/

/**********/
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid #2a2520;
    padding-top: 14px;
    padding-right: 40px;
    padding-bottom: 14px;
    padding-left: 40px;
}

.nav:hover {
    border-bottom-color: rgba(201, 168, 76, 0.25);
}

.nav-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.nav-linkovi {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #f2ede3;
    font-family: "Cinzel", serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding-top: 6px;
    padding-right: 12px;
    padding-bottom: 6px;
    padding-left: 12px;
    transition: color 0.2s;
}
.nav a:hover {
    color: #c9a84c;
}
/*********/



/*************/
.naslov {
    position: relative;
    border-bottom: 1px solid #2a2520;
    text-align: right;
    padding-top: 60px;
    padding-right: 80px;
    padding-bottom: 40px;
    padding-left: 80px;
    overflow: hidden;
    background-color: #0e0d0b;
}

.naslov-bg {
    position: absolute;
    inset: 0;
    background-image: url('slike/ostalo/vol15.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.naslov-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(72, 70, 70, 0.365) 45%, rgba(0, 0, 0, 0.582));
}

.naslov h1 {
    position: relative;
    z-index: 2;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 80px;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: #f2ede3;
    line-height: 1;
}
/******/



/******/
.footerban {
    text-align: center;
    padding: 28px;
    background: #1a1814;
    color: rgba(242, 237, 227, 0.874);
    font-size: 13px;
    letter-spacing: 2px;
    border-top: 1px solid #3d3830;
}

/************/
#button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 421;
}

#button img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    rotate: calc(180deg);
}

#button:hover {
    cursor: pointer;
    opacity: 0.7;
}

#button.show {
    opacity: 1;
    visibility: visible;
}
/* */

/**********/
.container {
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  max-width: 70rem;
  width: 100%;
  padding-top: 70px;
  padding-right: 80px;
  padding-bottom: 60px;
  padding-left: 30px;
}
 
.main .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.4rem;
  justify-content: center;
  align-items: center;
}
 
.main .card {
  background: #1a1814;
  color: #f2ede3;
  border-radius: 2px;
}
 
.main .card-image {
  background: #1a1814;
  display: block;
  padding-top: 70%;
  position: relative;
  width: 100%;
}

.main .card-image img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s, transform 0.35s;
  transform: translate3d(0, 0, 300px);
}

.main .card-image a {
  display: block;
}

.main .card-image {
  perspective: 1000px;
}

.main .card-image:hover img {
  opacity: 0.6;
  transform: translate3d(0, 0, 0);
}

.main .card-image a::before,
.main .card-image a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 1px;
  background: #fff;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
  transform: translate3d(-50%, -50%, 0);
}
.main .card-image:hover a::before {
  opacity: 0.5;
  transform: translate3d(-50%, -50%, 0) rotate(45deg);
}
.main .card-image:hover a::after {
  opacity: 0.5;
  transform: translate3d(-50%, -50%, 0) rotate(-45deg);
}
.main hr {
  border: none;
  border-top: 1px solid #2a2520;
  margin-top: 70px;
  margin-bottom: 0;
}
/***********/
@media only screen and (max-width: 900px) {
  .naslov {
    padding-top: 40px;
    padding-right: 30px;
  }

  .naslov h1 {
    font-size: 52px;
  }
}

@media only screen and (max-width: 600px) {
  .naslov h1 {
    font-size: 38px;
  }

  .main .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }
}
/***************/