@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=Nunito&display=swap");

.container {
  transform-style: preserve-3d;
}

.container .box {
  position: relative;
  width: 370px;
  height: 370px;
  margin: 20px;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
}

.container .box .body {
  position: absolute;
  padding: 10rem;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: 0.9s ease;
}

.container .box .body .imgContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.container .box .body .imgContainer img {
  position: relative;

  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  object-fit: cover;
}

.container .box .body .content {
  position: absolute;
  top: 6;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transform: rotateY(180deg);
}

.container .box:hover .body {
  transform: rotateY(180deg);
}

.container .box .body .content div {
  transform-style: preserve-3d;
  padding: 20px;
  background: linear-gradient(45deg, #cc4b17, rgb(255, 132, 61));
  transform: translateZ(100px);
  font-size: 12px;

  text-align: justify;
  color: rgb(247, 247, 247);
}
.container h3 {
  font-size: 15px;
  font-weight: bold;
}

.container .box .body .content div h3 {
  letter-spacing: 1px;
}
.gallery h1 {
  font-size: 24px;
  text-align: left;
  font-weight: bolder;
  font-family: "Nunito", sans-serif;
  color: rgb(255, 102, 0);
  box-sizing: border-box;
  background-color: rgba(255, 204, 192, 0.63);
}
.gallery {
  box-sizing: border-box;
  padding: 20px;
  background-color: rgba(95, 95, 95, 0.24);
}
.fwh-slide-ab {
  background-color: #fcd096;
  box-sizing: border-box;
  text-align: center;
  font-family: "Nunito", sans-serif !important;
}
.fwh-slide-ab h1 {
  font-weight: bold;
  font-family: "Nunito", sans-serif !important;
  border-radius: 20px;
  margin-left: 20px;
  margin-right: 20px;
  color: rgb(255, 132, 61);
}
.fwh-slide-ab-top {
  background-color: #ff6600;
  box-sizing: border-box;
  text-align: center;
  font-family: "Nunito", sans-serif !important;
}
.fwh-slide-ab-top h1 {
  font-weight: bold;
  font-family: "Nunito", sans-serif !important;

  margin-left: 20px;
  margin-right: 20px;
  color: white;
  background-color: #fdfdfd00;
}

.fwh-slide-ab h1 {
  padding: 20px;
  text-align: center;
  font-weight: bolder;
  font-family: "Nunito", sans-serif;
  color: rgb(205, 140, 242);
  box-sizing: border-box;
  background-color: #9800fd;
}
.column {
  float: left;
  width: 33.33%;
  padding: 5px;
}
.column p {
  text-align: center;
  font-weight: bold;
}

/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: both;
  display: table;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}

img {
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
}
