* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial;
  background-color: #202125;
  background-image: url("/images/discBG.jpg");
}

#linkback {
  padding: 0 5%;
}
#linkback ul {
  display: inline;
  list-style-type: none;
  padding: 0;
}
#linkback li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 0.2em;
  margin-bottom: 0.8em;
  margin-top: 0.8em;
}
#linkback li a {
  color: #443;
  background-color: #b6b59e;
  border-width: 0.3em;
  border-style: outset;
  border-color: #86866d;
  padding: 0.3em 1.5em 0.2em 0.5em;
  text-decoration: none;
  font-weight: bold;
}
#linkback li a:hover {
  background-color: #ceccaa;
  border-color: #98987d;
}
#linkback li a:active {
  background-color: #8e8d74;
  border-color: #71715c;
  color: black;
}

.heading {
    text-align: center;
    font-size: 1.5em;
    letter-spacing: 1px;
    padding: 40px;
    margin: auto;
    width: 50%;
    background: black;
    color: #a3bdc4;
    display: block;
}

.gallery-image {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-image img {
  height: 400px;
  width: 400px;
  transform: scale(1.0);
  transition: transform 0.4s ease;
}

.img-box {
  box-sizing: content-box;
  margin: 10px;
  height: 400px;
  width: 400px;
  overflow: hidden;
  display: inline-block;
  color: #F490C3;
  position: relative;
  background-color: white;
}

.caption {
  position: absolute;
  bottom: 5px;
  left: 20px;
  opacity: 0.0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.transparent-box {
  height: 400px;
  width: 400px;
  background-color:rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease;
}

.img-box:hover img { 
  transform: scale(1.1);
}

.img-box:hover .transparent-box {
  background-color:rgba(0, 0, 0, 0.7);
}

.img-box:hover .caption {
  transform: translateY(-20px);
  opacity: 1.0;
}

.img-box:hover {
  cursor: pointer;
}

.caption > p:nth-child(2) {
  text-align: justify;
  text-justify: inter-word;
  padding-right: 15px;
  font-size: 1em;
}

.opacity-low {
  padding-right: 15px;
  opacity: 0.7;
}