html {
  position: relative;
  min-height: 100%;
}

body {
  padding-top: 100px; 
  /* Margin bottom by footer height */
  margin-bottom: 100px;
  background-image: url("../kuvia/tausta.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

footer{
  position: absolute;
  bottom: 0;
  width: 100%;
}


/* IMAGE GALLERY */

.image {
  float: left;
  width: 20%;
}

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1;
  margin-top: 50px;
  padding-top: 70px;
  padding-bottom: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

.gallery-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 900px;
}

.slide-index {
  color: white;
  position: absolute;
  top: 5px;
  left: 10px;
  font-size: 14px;
}

.close-button {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.slide {
  display: none;
}

.cursor {
  cursor: pointer;
}

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

.next-button {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev-button:hover,
.next-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.bg-black {
  background-color: black;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.transparent-0 {
  background-color: transparent;
}