@import url("https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.css");

.item-slide {
  box-sizing: border-box;
}

img:hover {
  cursor: pointer;
}

nav {
  z-index: 1 !important;
}

.button {
  padding-bottom: 1.25em !important;
  padding-left: 1em !important;
  padding-right: 1em !important;
  padding-top: 1.25em !important;
}

/* The Modal (background) */
.modal-gallery {
  display: none;
  position: fixed;
  z-index: 9;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: rgba(0, 0, 0, 0);
  width: 90%;
  max-width: 1200px;
  max-height: 700px;
  overflow: hidden;
  text-align: center;
}

.modal img {
  height: 100vh;
}

.item-slide {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  right: 0;
  top: 0;
}

.item-slide img {
  max-width: 1200px;
}

.caption-container {
  color: white;
}

.column img {
  margin-top: 20px;
}

.dark-card {
  background: black;
}

.transform-transparent {
  opacity: 0;
}

.hide {
  display: none;
}

.img-card {
  position: relative;
}

.img-card img {
  display: block;
  width: 100%;
}

.image-title {
  font-size: 2em;
}

.image-description {
  font-size: 1.25em;
  margin-top: 0.25em;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.image-overlay > * {
  transform: translateY(20px);
  transition: transform 0.25s;
}

.image-overlay:hover > * {
  transform: translateY(0);
}

.image-overlay:hover {
  opacity: 1;
}

.caption-txt {
  background: black;
  padding: 10px;
  color: white;
  display: none;
}

.item-slide {
  margin-top: 5%;
}

@media only screen and (max-width: 760px) {
  .item-slide img {
    max-width: 100%;
  }
  .modal img {
    height: auto;
  }
  .caption-txt {
    display: block;
  }
  .item-slide {
    margin-left: 10%;
    margin-top: 50%;
  }
}
