html {
  /*background-image: url("/img/main_page.jpg");*/
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background: linear-gradient(315deg, rgba(101,0,94,1) 3%, rgba(60,132,206,1) 38%, rgba(48,238,226,1) 68%, rgba(255,25,25,1) 98%);
  color: black;
  font-family: 'Michroma', Helvetica, sans-serif;
  font-size: 1em;
  line-height: 1.4;
}

.main-nav {
  background-color: #ebd91d;
  color: rgb(23, 135, 19);
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: hidden;
}

.main-nav ul li {
  text-decoration: none;
  color: rgb(197, 26, 26);
  float: left;
  padding: 16px;
  text-align: center;
  font-size: 1.2rem;
  border-bottom: 1px solid black;
  transition: background-color 0.2s;
}

.main-nav ul li a:link {
  color: rgb(26, 37, 197);
  text-decoration: none;
}

.main-nav ul li a:visited {
  color: rgb(130, 105, 221);
  text-decoration: none;
}

.main-nav ul li:hover {
  background-color: aqua;
}

.page-title {
  text-align: center;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(400px, 1fr)); /* Two columns when there's space */
  gap: 10px; /* Space between the two grids */
}

.single-services {
  text-align: center;
  margin: 50px auto;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  align-items: center;
  justify-content: left;
  border: 1px solid #c1c6ce;
}

.div1 {
  grid-area: 1 / 1 / 2 / 2;
}

.div2 {
  grid-area: 2 / 1 / 3 / 2;
}

.div3 {
  grid-area: 1 / 2 / 2 / 3;
  text-align: left;
}

.div4 {
  grid-area: 2 / 2 / 3 / 3;
  text-align: left;
}

.div5 {
  grid-area: 1 / 3 / 2 / 4;
}

.div6 {
  grid-area: 2 / 3 / 3 / 4;
}


.single-services p {
  padding: 0 20px;
}

.single-services img {
  width: 40%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.social-border {
  padding: 20px 20px 40px;
  font-size: 50px;
  text-decoration: none;
  color: #333;
  text-align: left;
  margin: 5px 2px;
  border-radius: 50%;
}

.contact-info {
  font-size: 20px;
  margin-bottom: 10px;
  text-decoration: none;
}

.contact-info a:link {
  text-decoration: underline;
  color: #ffffff;
}

.contact-info a:hover {
  text-decoration: none;
}

.contact-info a :visited {
  text-decoration: underline;
  color: blueviolet;
}

.item-tag-container {
  margin-top: 10px;
}

.item-span {
  border: 1px solid #525253;
  background-color: #98fff2;
}

.fa-brands {
  color: #0594c3;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.wave {
  background: rgb(255 255 255 / 25%);
  border-radius: 1000% 1000% 0 0;
  position: fixed;
  width: 200%;
  height: 12em;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.wave:nth-of-type(2) {
  bottom: -1.25em;
  animation: wave 18s linear reverse infinite;
  opacity: 0.8;
}

.wave:nth-of-type(3) {
  bottom: -2.5em;
  animation: wave 20s -1s reverse infinite;
  opacity: 0.9;
}

@keyframes wave {
  2% {
    transform: translateX(1);
  }

  25% {
    transform: translateX(-25%);
  }

  50% {
    transform: translateX(-50%);
  }

  75% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(1);
  }
}
