.welcome {
  padding-bottom: 5em;
}
.main-content > div {
  padding: 5em 0;
}
.welcome p,
.pillar-heading p {
  padding: 2em;
}
.content-img {
  width: 90%;
  aspect-ratio: 1/1;
  margin: 0 auto;
  border-radius: 10px;
}
.content-img img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.content-img ul {
  top: -5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
  width: 80%;
  left: 10%;
  right: 10%;
}
.content-img ul li > div {
  text-align: center;
  background: white;
  box-shadow: 0 0 3px #b38600;
  padding: 1em;
  width: 100%;
  border-radius: 10px;
}
.content-img ul li > div h1 {
  color: #b38600;
}
.content-img ul li > div p {
  padding: 1em;
}

/*==Pillars==*/

.honeycomb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 835px;
  margin: 0 auto;
  padding: 0;
  transform: translateY(80px);
  padding: 5em 0;
}
.honeycomb-cell {
  flex: 0 1 250px;
  max-width: 250px;
  height: 137.5px;
  margin: 65.4px 12.5px 25px;
  position: relative;
  padding: 0.5em;
  text-align: center;
  z-index: 1;
  box-shadow: 0px 0px 15px 0 rgba(0, 0, 0, 0.1);
  transition: transform 1s;
}
.honeycomb a {
  text-decoration: none;
  display: block;
}
.honeycomb-cell_img {
  object-fit: cover;
  object-position: center;
}
.honeycomb-cell_title {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  hyphens: auto;
  word-break: break-word;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  font-size: 1.75em;
  transition: opacity 350ms;
}
.honeycomb-cell_title > small {
  font-weight: 300;
  margin-top: 0.25em;
}
.honeycomb-cell::before,
.honeycomb-cell::after {
  content: "";
}
.honeycomb-cell::before,
.honeycomb-cell::after,
.honeycomb-cell_img {
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  display: block;
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
}
.honeycomb-cell::before {
  background: #0d261a;
  transform: scale(1.055);
}
.honeycomb-cell::after {
  background: #111111;
  opacity: 0.7;
  transition: opacity 350ms;
}
.honeycomb-cell:hover .honeycomb-cell_title {
  opacity: 0.5;
}
.honeycomb-cell:hover .honeycomb-cell_img {
  filter: grayscale(0%);
}
.honeycomb-cell:hover::before {
  background: #b38600;
  box-shadow: 0 0 5px #b38600;
}
.honeycomb-cell:hover::after {
  opacity: 0;
}
.honeycomb-cell:hover {
  transform: scale(0.9);
}
.honeycomb_Hidden {
  display: none;
  opacity: 0;
  width: 250px;
  margin: 0 12.5px;
}

/****** Responsive *******/

@media (max-width: 600px) {
  .honeycomb-cell {
    margin: 81.25px 25px;
  }
  .project-flex-container {
    height: 150em;
  }
}
@media (min-width: 600px) and (max-width: 1100px) {
  .honeycomb-cell:nth-child(3n) {
    margin-right: calc(50% - 125px);
    margin-left: calc(50% - 125px);
  }

  .honeycomb_Hidden:nth-child(3n + 5) {
    display: block;
  }
  .project-flex-container {
    height: 95em;
  }
}
@media (min-width: 1100px) and (max-width: 1310px) {
  .honeycomb-cell:nth-child(5n + 4) {
    margin-left: calc(50% - 275px);
  }

  .honeycomb-cell:nth-child(5n + 5) {
    margin-right: calc(50% - 275px);
  }

  .honeycomb_Hidden:nth-child(5n),
  .honeycomb_Hidden:nth-child(5n + 3) {
    display: block;
  }
  .project-flex-container {
    height: 65em;
  }
}
@media (min-width: 1310px) {
  .honeycomb-cell:nth-child(7n + 5) {
    margin-left: calc(50% - 400px);
  }

  .honeycomb-cell:nth-child(7n + 7),
  .honeycomb-cell:nth-child(7n + 5):nth-last-child(2) {
    margin-right: calc(50% - 400px);
  }

  .honeycomb_Hidden:nth-child(7n + 7),
  .honeycomb_Hidden:nth-child(7n + 9),
  .honeycomb_Hidden:nth-child(7n + 11) {
    display: block;
  }
  .project-flex-container {
    height: 50em;
  }
}

/*===ToolTip Start===*/
/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  min-width: 120px;
  background-color: #0d261a;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  box-shadow: 0 0 5px #b38600;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 110%;
  left: 50%;
  margin-left: -100px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #0d261a transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
/*===ToolTip End===*/

/* ==== Slideshow container ==== */

.ayahs {
  padding-top: 5em;
}
/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
  padding: 2em 0.5em;
  text-align: center;
  background-color: #ffebcc;
}
/* The dot/bullet/indicator container */
.dot-container {
  text-align: center;
  padding: 0.5em;
}
/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 3px;
  width: 20px;
  margin: 0 2px;
  background-color: #3bab75;
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.6s ease;
}
/* Add a background color to the active dot/circle */
.active > .dot,
.dot:hover {
  background-color: #0d261a;
}
/* Add an italic font style to all quotes */
q {
  font-style: italic;
}

/* Add a color to the verse */
.verse {
  color: #0d261a;
  font-weight: 600;
}
/* ==== Slideshow container End ==== */

/* For mobile phones: */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .content-img {
    width: 100%;
  }
  .content-img ul li h1 {
    font-size: 5vw;
  }
  .content-img ul li p {
    font-size: 3vw;
  }
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  /* For tablets: */
  .content-img {
    aspect-ratio: 3/2;
  }
  .content-img ul {
    flex-direction: row;
    justify-content: space-around;
    width: 95%;
    left: 2.5%;
    right: 2.5%;
  }
  .content-img ul li {
    width: 50%;
  }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .content-img ul li {
    min-width: 20em;
  }

  .content-img ul li > div p {
    font-size: 15px;
  }
  .pillar-heading p {
    font-size: 18px;
  }
  .text {
    font-size: 14px;
  }
  .slideshow-container {
    width: 90%;
  }
  .mySlides {
    padding: 5em;
  }
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .content-img {
    width: 80%;
  }
  .content-img ul li {
    width: 23em;
  }
  .text {
    font-size: 16px;
  }
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .mySlides {
    padding: 10em 5em;
  }
}
