.grid-container {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: auto auto auto;
    gap: 20px;
    background-color: transparent;
    padding: 10px;
  }
  
  .grid-container > div {
    background-color: transparent;
    text-align: center;
    padding: 20px 0;
    font-size: 30px;
    border-style: solid;
    border-width: 1px;
    border-color: white;
    color: white;
    transition: background-color 0.5s ease-out 50ms
  }

  .grid-paragraph {
    padding-bottom: 10%;
  }

  .grid-icon {
    padding-top: 30%;
  }
  
  .grid-container > div:hover {
    background-color: #2784ba;
    cursor: pointer;
    
  }

  .scrolling-box {
    scroll-behavior: smooth;
  }

  @media only screen and (max-width: 500px) {
    .item1 { grid-area: 1 / span 3 / 2 / 4; }
    .item2 { grid-area: 3 / 3 / 4 / 4; }
    .item3 { grid-area: 2 / 1 / 3 / 2; }
  }

  /* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(43, 43, 43, 0.8);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  background-color: rgba(43, 43, 43, 0.8);
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}