body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: auto; /* Show scrollbars */
    background-color: #f6f6f6;
    color: #f6f6f6;
}

header {
    background-color: #dcd1c7;
    color: #F8F6F5;
    padding: 10px;
    text-align: center;
}

nav {
    background-color: #438797;
    color: #f2f2f2;
    padding: 10px;
    display: flex;
    align-items: center; /* Align items vertically at the center */
    height: 70px;
}

nav a {
  color: #f2f2f2;
  text-decoration: none;
}

nav a:visited{
  color: #f2f2f2;
  text-decoration: none; 
}

.logo {
    position: absolute;
    margin-top: 5px;
    margin-left: -200px;
    max-height: 300px; /* Adjust the max-height as needed */
}

nav div {
    margin-left: auto; /* Push the navigation links to the right */
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

nav a {
    margin-left: 30px; /* Adjust the margin as needed for spacing */
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
section {
    padding: 20px;
    text-align: center;
}

#image-slider {
    background-color: #F8F6F5;
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.about-us {
    background-color: #438797;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: 40vh;
}
.about-us-title {
    width: auto;
    margin-left: 150px;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;

}
.about-us-info {
    margin-left: 150px;
    margin-right: 350px;

}
/* .about-us-info p {
    text-align: justify;
} */

.projects{
    align-items: center;
}
.project-images {
    margin-top: 50px;
    margin-left: 80px;
    display: grid;
  grid-template-rows: 30% 30% 30%;
  grid-template-columns: 30% 30% 30%;
  row-gap: 20px;
}

.project-card {
    /* max-width: 10%; */
    /* display: inline-block; */
    margin: 10px;
    cursor: pointer;
    transition: transform 0.3s;


        display: flex;
        align-items: center;
        justify-content: center;
}

.project-card:hover {
    transform: scale(1.1);
}

.contact {
    background-color: #438797;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  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) {
  .text {font-size: 11px}
}



/* ------- */

.mySlides {
    display: flex; /* Enable flexbox layout */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    /* Other styles for the image container... */
  }
  
  .mySlides img {
    display: block;
    width: 100%; /* Ensures image fills container */
    height: auto;  /* Maintains image aspect ratio */
  }
  
  .overlay-text {
    font-size: 50px;
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    
    transform: translate(-50%, -80%);  /* Adjust positioning as needed */
    color: white; /* Example text color for contrast */
    /* Other styles for the text... */
  }

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
  #projects h2{
    color: #438797;
  }


  /* On smaller screens, decrease text size */
  @media only screen and (max-width: 900px) {
    .text {font-size: 11px}
    .about-us {
        background-color: #438797;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        height: 40vh;
    }
    .about-us-title {
        width: auto;
        margin-left: 10px;
        font-size: 20px;
        font-weight: bold;
        white-space: nowrap;
    
    }
    .about-us-info {
        margin-left: 10px;
        margin-right: 10px;
    
    }
    .overlay-text {
        font-size: 20px;

    }

    .project-images {
        margin-top: 15px;
        margin-left: 15px;
        display: grid;
    grid-template-rows: 30% 30% 30%;
    grid-template-columns: 30% 30% 30%;
    row-gap: 10px;
    }
    .project-card {

        margin: 5px;
        cursor: pointer;
        transition: transform 0.3s;
    
    
            display: flex;
            align-items: center;
            justify-content: center;
    }
  }

  /* On smaller screens, decrease text size */
@media only screen and (max-width: 600px) {
    .text {font-size: 11px}
    .logo {
        position: absolute;
        margin-top: 5px;
        margin-left: -120px;
        max-height: 200px;
    }
    .about-us {
        width: 100%;
        height: 45vh;
    }
    .project-images {
        margin-top: 5px;
        margin-left: 5px;
        display: grid;
    grid-template-rows: 30% 30% 30%;
    grid-template-columns: 30% 30% 30%;
    row-gap: 5px;
    }
    .project-card {

        margin: 5px;
        cursor: pointer;
        transition: transform 0.3s;
    
    
            display: flex;
            align-items: center;
            justify-content: center;
    }
  }

/* On smaller screens, decrease text size */
@media only screen and (max-width: 400px) {
    .text {font-size: 11px}
    .about-us {
        width: 100%;
        height: 60vh;
    }
  }
