.main-title {
  height: 100px;
}
.mytext {
  color: white;
  font-size: 35px;
  font-weight: normal;
}
.hex-container {
  float: left;
  height: 350px;
  width: 250px;
}
.hex-title {
  position: relative;
  text-align: center;
  margin: 0 auto;
  width: 180px;
  padding-top: 55px;
  color: #195451;
  font-style: italic;
  font-size: 16px;
  font-weight: bold;
}
.hex-subtitle {
  position: relative;
  text-align: center;
  margin: 0 auto;
  width: 180px;
  padding-top: 30px;
  color: #195451;
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
}
.hexagon {
  background: none;
  color: #195451;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  height: 150px;
  margin: 0 auto;
  position: relative;
  width: 86px;
  z-index: 1;
}
.hexagon:before,
.hexagon:after {
  background: inherit;
  content: "";
  height: inherit;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  z-index: -1;
}
.hexagon:before {
  transform: rotate(-60deg);
}
.hexagon:after {
  transform: rotate(60deg);
}

.hexagon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  width: 150px;
  height: 86px;
  background-color: transparent;
  transition: 0.25s;
  background: #195451;
  color: #195451;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hexagon:before,
.hexagon:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  transition: background-color 0.25s;
}

.hexagon:before,
.hexagon-inside:before {
  transform: rotate(120deg);
}

.hexagon:after,
.hexagon-inside:after {
  transform: rotate(60deg);
}

.rotate {
  rotate: 30deg;
}

.noRotate {
  rotate: -30deg;
}

/***** PRINCIPAL CÓDIGO CSS ADICIONADO/ALTERADO POR MIM ********/

.hidden1 {
  animation: show-off 0.7s ease forwards;
}

.show1 {
  animation: show-on 0.7s ease backwards;
}

@keyframes show-on {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

@keyframes show-off {
  0% {
    opacity: 1;
    transform: translateY(0%);
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}

/* Add a delay to each .hex-container element */
.hex-container:nth-child(1) {
  animation-delay: 0s;
}
.hex-container:nth-child(2) {
  animation-delay: 0.1s;
}
.hex-container:nth-child(3) {
  animation-delay: 0.2s;
}
.hex-container:nth-child(4) {
  animation-delay: 0.3s;
}
