/*
 * Globals
 */


/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */

body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .25);
}

.cover-container {
  max-width: 90%;
}


/*
 * Header
 */

.nav-masthead .nav-link {
  color: rgba(0, 0, 0, .75);
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: rgba(0, 0, 0, .75);
  border-bottom-color: rgba(0, 0, 0, .75);
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }

  .cover-container {
    max-width: 65%;
  }
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.mainbg {
  background: url(../img/potpis-neu-op.png); 
  background-repeat:no-repeat;
  /* background-size:contain; */
  background-size:100% auto;
  background-position:center;
  background-attachment: fixed;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.divider {
  border-top: 2px solid #000;
  width: 15%;
}

.aboutme .avatar{
  border-radius: 50%;
  height: 150px;
  width: 150px;
  background: url(../img/milena-closeup.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.aboutme .heading {
  font-size: 20px;
  font-weight: normal;
  line-height: 1px;
}

.card {
  transition: transform 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: none;
  border-radius: 10px;
  overflow: hidden;
}
.card-img-container {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.card-img-collection-container {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.card-img-collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.3s ease-in-out;
}
.card:hover .card-img-overlay {
  opacity: 1;
}
.card:hover .card-img-top {
  transform: scale(1.2);
}
.card-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
}
.back-btn {
  cursor: pointer;
}
.collection-title {
  font-size: 2.5rem;
  color: #000000;
}
/* Modal styles */
.modal-fullscreen {
  padding: 0 !important;
}
.modal-fullscreen .modal-content {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background-color: rgba(0, 0, 0, 0.9);
}
.modal-fullscreen .modal-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.modal-img-container {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-height: 100%;
}
.modal-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.artwork-details {
  text-align: center;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
}
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1060;
}