/* Gallery ===================================== */

.square {
  aspect-ratio: 1 / 1;
}

.square figure,
.cholbiz a {
  position: relative;
  text-align: center;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.col:not(.cholbiz) .square figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.col:not(.cholbiz) .square figure .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.col:not(.cholbiz) .square figure:hover .img-hover {
  display: block;
}

.cholbiz .square figure img {
  width: 80%;
}

.square figcaption {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
  opacity: 0;
}
.square figure:hover figcaption {
  opacity: 1;
  transition: opacity 0.45s;
  cursor: default;
}

.square figcaption > * {
  transform: translateY(30px);
  transition: transform 0.3s;
}

.square figure:hover figcaption > * {
  transform: translateY(0);
}

.square figcaption h2 {
  font-family: "Oswald", sans-serif;
}

.square figcaption h2 a {
  color: white;
  text-decoration: none;
}

/* Text ===================================== */

@media (min-width: 1200px) {
  #info {
    width: 80%;
  }
}

#info h2 {
  font-family: "Oswald", sans-serif;
  margin-top: 5rem;
}

#info p,
#info ul {
  font-family: "PT Sans", sans-serif;
}

#info .contact img,
#scrollTopBtn img {
  width: 30px;
}
@media (max-width: 767px) {
  #info .contact img {
    margin: 0.5rem 0;
  }
}
#info .contact a {
  text-decoration: none;
}

#info .legal {
  list-style: none;
}

#scrollTopBtn {
  display: none;
  width: 40px;
  height: 40px;
}
#scrollTopBtn .up-arrow {
  border: solid white;
  border-width: 0 4px 4px 0;
  display: inline-block;
  padding: 4px;
  margin-top: 4px;
  transform: rotate(-135deg);
}
