/* Global styles */
body {
    font-family: cursive;
    font-size: 16px;
    line-height: 1.5;
    color: white;
    background-image: url('eric-terrade-eQs-KUxW-uU-unsplash.jpg');
    background-size: cover;
    background-position: center;
  }


  body p {
    font-family: Arial, sans-serif;
    font-size: large;
    font-weight: bold;
    color: white;
  }
  
  a {
    color: green;
    text-decoration:wavy;
  }
  
  h1 {
    margin: 0 auto;
  }

  h2 {
    margin: 0 auto;
    text-align: center;
    color: white;
  }

  h3 {
    margin: 0 auto;
    text-align: center;
    color: green;
}
  
  header {
    background-color: #333;
    color: white;
    padding: 1rem;
    background-size:auto;
    justify-content: space-between;
    align-items: center;
  }
  
  header h1 {
    font-size: 2rem;
    font-style: italic;
    font-family: cursive;
    color: green;
  }
  nav {
    font-size: 24px auto;
    font-weight: bold;
    color: #333;
  }

  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  nav li {
    margin-right: 0.5rem;
  }
  
  nav a {
    display: block;
    padding: 0.2rem;
    transition: background-color 0.2s ease-in-out;
  }
  
  nav a:hover {
    background-color: gray;
  }

  .social-icons {
    display: flex;
    justify-content: flex-end;
    position: relative;
    }

  .transparent-container {
    margin: 2rem auto;
    width: auto;
    max-width: 1000px;
    justify-content: center;
  }
  
  .transparent-container h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bolder;
  }
  
#services .row {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

#services .col-md-6 {
  width: 50%;
  align-items: center;

}

.service-box {
    background-size: cover;
    background-position: center;
    height: 200px;
    margin: 1rem;
    position: relative;
  }

@media screen and (min-width: 768px) {
  .service-box {
    margin: 1%;
    flex-basis: 30%;
  }
}

@media screen and (min-width: 992px) {
  .service-box {
    margin: 1%;
    flex-basis: 33%;
  }
}

@media screen and (min-width: 1000px) {
  .service-box {
    margin: 1%;
    flex-basis: 45%;
  }
}

.service-title {
  background-color: rgba(255, 255, 255, 0.8);
  bottom: 0;
  left: 0;
  padding: 1rem;
  position: absolute;
  right: 0;
  text-align: center;
}

.service-title h3 {
  margin: 0;
}

.service-description {
  background-color: rgba(0, 0, 0, 0.8);
  bottom: -100%;
  color: #fff;
  left: 0;
  opacity: 0;
  padding: 1rem;
  position: absolute;
  right: 0;
  transition: bottom 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.service-box:hover .service-description {
  bottom: 0;
  opacity: 1;
}

.service-description p {
  margin: 0;
  padding: 0;
  color: azure;
}
  
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;
}

.slide-wrapper {
position: relative;
top: 0;
left: 0;
right: 0;
width: 100%;
height: 400px;
}

.slide-wrapper img {
position: absolute;
border-radius: 25%;
width: 100%; /* add this to make the images fit the container */
height: 400px; /* add this to maintain the aspect ratio */
object-fit: cover;
opacity: 0;
transition: opacity 1s ease-in-out;
}

.slide-wrapper img.active {
opacity: 1;
}  

/* Media queries */
@media screen and (min-width: 768px) {
.transparent-container h2 {
    flex-basis: 100%;
}
/* 
.service-box {
} */

.service-box:nth-child(odd) {
clear: left;
}
}

@media screen and (min-width: 992px) {
/* .service-box {
} */

.service-box:nth-child(odd) {
clear: none;
}

.service-box:nth-child(3n+1) {
clear: left;
}
}

@media screen and (min-width: 1200px) {
/* .service-box {
} */

.service-box:nth-child(odd) {
clear: left;
}

.service-box:nth-child(4n+1) {
clear: none;
}
}
/* Contact Us */
.contact {
  justify-content:  center;
  text-align: center;
  color: azure;
}

.contact p {
  color: azure;
}

.contact a {
  color: azure;
  text-decoration: underline;
  text-decoration-color: azure;
}
.contact a:hover {
  color: green;
}

#contact-us-btn {
    background-color:  #333;
    border: none;
    border-radius: 45%;
    color: green;
    padding: 24px 48px; /* increased padding to make the button larger */
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 20px; /* increased font size to match larger button */
    font-style: italic;
    font-family: cursive;
    font-weight: bold;
    margin: 0 auto; /* center the button horizontally */
    cursor: pointer;
  }
  
  #contact-us-btn:active {
    background-color: #3e8e41;
  }
  
  #contact-us-btn:focus {
    outline: none;
  }
      

    /* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
  }

footer p {
    font-size: 1.2rem;
    color: green;
}
      
      /* Media Queries 
      
      @media (max-width: 768px) {
        header h1 {
          font-size: 2.5rem;
        }
      
        .service {
          width: 100%;
        }
      }
      
      @media (max-width: 500px) {
        .services-container {
          display: block;
        }
      
        .service {
          width: 100%;
        }
    }
*/