@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&family=Open+Sans&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem; /* Base font size */
    color: #333333; /* Dark gray text */
    background-color: #ffffff; /* White background */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
}

p {
    line-height: 1.6; /* Optimal for body text */
}

h1 {
    font-size: 2.5rem; /* Larger for headings */
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.practice-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.practice-info h1,
.practice-info p {
    margin: 0;
}

.practice-info a {
    color: inherit; /* This makes the link color the same as the surrounding text */
    text-decoration: none; /* Removes the underline from the link */
}

header {
    background-color: #333333;
    color: white; /* Ensuring text is readable on the dark background */
    padding: 20px;
    text-align: center;
}



nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    padding: 8px;
    margin: 5px;
}

nav ul li a {
    text-decoration: none;
    color: white; 
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333333;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #4d4d4d;}


.dropdown:hover .dropdown-content {display: block;}


main {
    margin: 10px 15px 20px 45px;
}


.slideshow-container {
    max-width: 70%; /* Adjust width as needed */
    margin: auto;
    border: 3px solid #f2f2f2; /* Add border */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Optional: Add shadow for effect */
  }
  
  /* Slideshow images */
  .mySlides img {
    width: 100%;
    height: auto;
    border: 2px solid #ddd; /* Add border to each image */
  }

/* Buttons */

.header-buttons button {
    width: 175px;  /* Set this to the width of the widest button */
    height: 35px;
    margin: 5px;   /* Optional: Adds space between buttons */
    /* Add other styles like padding, border, background-color as needed */
}

button {
    background-color: #007bff;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.services-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Add these styles to your styles.css file */

.provider-section {
    width: 70%;
    display: flex;
    align-items: center;
    margin: 10px auto;
}

.pcmh-section {
    width: 70%;
    display: flex;
    align-items: flex-start; 
    margin-top: 50px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;  
}

.provider-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pcmh-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.provider-image-container {
    flex: 1; 
    margin-right: 20px;
}

.provider-description-container {
    flex: 5; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-container {
    width: 70%;
    margin: 10px auto;
    padding: 20px;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.office-hours{
    margin: 10px;
    padding: 10px;
    flex: 1;
}

.address {
    margin: 10px;
    padding: 10px;
    flex: 1;
}

.after-hours {
    margin: 10px 10px 10px 10px;
    padding: 10px;
    
}


footer {
    background-color: #333333;
    color: white; /* Ensuring text is readable on the dark background */
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #ddd; /* Add a border on top */
}

.footer-content p {
    margin: 5px 0; /* Spacing between lines */
}


@media screen and (max-width: 600px) {

    .slideshow-container {
        max-width: 100%; /* Adjust width as needed */
       
      }

    nav ul {
        flex-direction: column;
    }

    .header-top {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        max-width: 80%; /* Adjust logo size */
        height: auto;
    }

    .practice-info h1, .practice-info h2 {
        font-size: smaller; /* Adjust text size */
        text-align: center;
    }

    .contact-container {
        width: 100%;
        padding: 0px;
        
    }

    .contact-section {
        flex-direction: column;
    }

    .office-hours{
        margin: 0px;
        padding: 0px;
       
    }
    
    .address {
        margin: 0px;
        padding: 0px;        
    }
    
    .after-hours {
        margin: 0px;
        padding: 0px;
        
    }

    .provider-section {
        flex-direction: column;
        width: 100%;
    }

    .pcmh-section {
        flex-direction: column;
        width: 100%;
        margin: 10px auto;
    }

    .provider-image-container, .provider-description-container {
        width: 100%;
        text-align: center;
    }

    .provider-image {
        width: auto; /* Adjust if necessary */
        max-width: 100%;
        height: auto;
    }

    ul, li {
        font-size: 16px; /* Adjust as necessary for readability */
        text-align: left; /* Aligns text to the left */
    }

    ul {
        padding-left: 20px; /* Adjust left padding for nested lists */
        margin: 5px 0;
    }

    li ul {
        margin-top: 5px;
        margin-bottom: 5px;
        padding-left: 10px;
        font-size: 14px; /* Adjust as necessary for readability */
    }

    main {
        margin: 10px 15px 10px 15px;
    }

    .provider-image-container {
        margin-right: 0px;
    }

    
}



