@media only screen and (min-width: 901px) {

    a[x-apple-data-detectors] {
        color: inherit !important;
        text-decoration: none !important;
        font-size: inherit !important;
        font-family: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        pointer-events: none;
      } 

      .popup-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
        /* Add additional styles as needed */
      }
    
      .popup {
        background-color: #f2f2f2;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        /* Add additional styles as needed */
      }
    
      .popup-close {
        position: absolute;
        top: 5px;
        right: 5px;
        cursor: pointer;
        /* Add additional styles as needed */
      }

    #navbar {
        
        text-align: center;
        font-size: 24px;
        display: flex;
        padding: 10px;
        justify-content: center;
    }
    #services-text {
        font-family: Arial, Helvetica, sans-serif;
        background-color: #E6B17E;
        border-radius: 30px;
        display: flex;
        justify-content: center;
        height: auto;
        text-align: center;
        width: 80%;
        border: 8px solid #4D331F;
        padding: 12px;
        margin: auto;
        align-items: center;
        font-size: 35px;
    }

    #contact-form {
        font-family: Arial, Helvetica, sans-serif;
        background-color: #E6B17E;
        border-radius: 30px;
        display: flex;
        justify-content: center;
        height: auto;
        text-align: left;
        width: 80%;
        border: 8px solid #4D331F;
        padding: 10px;
        margin: 10px;
        align-items: center;
        font-size: 25px;
        flex-direction: column;
    }

    body {
        font-family: "Kelly Slab";
        background-color: #C4641E;
        font-size: 20px;
    }
    
    
    #title {
        display: flex;
        padding: 15px;
        margin: 5px;
        text-align: center;
        font-size: 30px;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center
        
    }

    
    a {
        border: 3px solid #4D331F;
        margin: auto;
        padding: 7px;
        display:flex;
        text-decoration: none;
        background-color: #4D331F;
        border-radius: 15px;
        color: #E6B17E;
    }
    
    #services{
        
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }

    #logo {
        margin: inherit;
        height: 250px;
        width: 250px;
    }
    
    img {
        display: flex;
        height: auto;
        width: 100%;
        align-content: center;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: row;
    }
    
    #services-right-photo {
        background-color: #E6B17E;
        border-radius: 30px;
        display: flex;
        height: auto;
        text-align: center;
        width: 300px;
        border: 8px solid #4D331F;
        padding: 12px;
        margin: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    
    }

    #contact-button, #submit-button {
        border: 3px solid #4D331F;
        margin: auto;
        padding: 7px;
        display:flex;
        text-decoration: none;
        background-color: #4D331F;
        border-radius: 15px;
        color: #E6B17E;
        text-align: center;
        font-size: 24px;
        justify-content: center;


    }
    
/* Footer as 3â€column grid */
.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  background: #333;
  color: #FFF;
}

/* Center cell */
.footer-text {
  justify-self: center;
}

/* Left link styling */
.admin-login-link {
  justify-self: start;
  color: #E6B17E;
  text-decoration: none;
}
.admin-login-link:hover {
  text-decoration: underline;
}

/* Right credit link styling */
.footer-credit {
  justify-self: end;
  color: #E6B17E;
  text-decoration: none;
}
.footer-credit:hover {
  text-decoration: underline;
}

/* Threeâ€item footer using flexbox */
footer.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
  background: #333;
  color: #FFF;
  box-sizing: border-box;
  font-size: 0.9rem;
}

footer.site-footer a {
  color: #E6B17E;
  text-decoration: none;
}

footer.site-footer a:hover {
  text-decoration: underline;
}

footer.site-footer .footer-left {
  /* nothing extraâ€keeps the link at flex-start */
}

footer.site-footer .footer-center {
  /* center text stays centered because of space-between */
  text-align: center;
  flex: 0 1 auto;
}

footer.site-footer .footer-right {
  /* keeps the link at flex-end */
}
    }


@media only screen and (max-width: 900px) {
    a[x-apple-data-detectors] {
        color: inherit !important;
        text-decoration: none !important;
        font-size: inherit !important;
        font-family: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        pointer-events: none;
      } 

      .popup-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
        /* Add additional styles as needed */
      }
    
      .popup {
        background-color: #f2f2f2;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        /* Add additional styles as needed */
      }
    
      .popup-close {
        position: absolute;
        top: 5px;
        right: 5px;
        cursor: pointer;
        /* Add additional styles as needed */
      }

body {
    font-family: "Kelly Slab";
    background-color: #C4641E;
    font-size: 22px;
}

#phone-number {
    font-size: 30px;
}
#title {
    padding: 15px;
    margin: auto;
    text-align: center;
}

#navbar {
   display: none;
}

a {
    border: 3px solid #4D331F;
    margin: auto;
    padding: 7px;
    display:flex;
    text-decoration: none;
    background-color: #4D331F;
    border-radius: 15px;
    color: #E6B17E;
}

#services{
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#services-text {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #E6B17E;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    height: auto;
    text-align: center;
    width: 80%;
    border: 8px solid #4D331F;
    padding: 12px;
    margin: auto;
    align-items: center;
    font-size: 25px;
}

#contact-form {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #E6B17E;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    height: auto;
    text-align: left;
    width: 80%;
    border: 8px solid #4D331F;
    padding: 10px;
    margin: 10px;
    align-items: center;
    font-size: 25px;
    flex-direction: column;
}

/* #contact-form-title {
    font-family: "Kelly Slab";
    font-size: 22px;
}
*/

#logo {

    margin: inherit;
    height: 250px;
    width: 250px;
}

#contact-button, #submit-button {
    border: 3px solid #4D331F;
    margin: auto;
    padding: 7px;
    display:flex;
    text-decoration: none;
    background-color: #4D331F;
    border-radius: 15px;
    color: #E6B17E;
    text-align: center;
    font-size: 24px;
    justify-content: center;


}

img {
    display: flex;
    height: auto;
    width: 100%;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

#services-right-photo {
    background-color: #E6B17E;
    border-radius: 30px;
    display: flex;
    height: auto;
    text-align: center;
    width: 300px;
    border: 8px solid #4D331F;
    padding: 12px;
    margin: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

}

/* Footer as 3‑column grid */
.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  background: #333;
  color: #FFF;
}

/* Center cell */
.footer-text {
  justify-self: center;
}

/* Left link styling */
.admin-login-link {
  justify-self: start;
  color: #E6B17E;
  text-decoration: none;
}
.admin-login-link:hover {
  text-decoration: underline;
}

/* Right credit link styling */
.footer-credit {
  justify-self: end;
  color: #E6B17E;
  text-decoration: none;
}
.footer-credit:hover {
  text-decoration: underline;
}

/* Three‑item footer using flexbox */
footer.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
  background: #333;
  color: #FFF;
  box-sizing: border-box;
  font-size: 0.9rem;
}

footer.site-footer a {
  color: #E6B17E;
  text-decoration: none;
}

footer.site-footer a:hover {
  text-decoration: underline;
}

footer.site-footer .footer-left {
  /* nothing extra—keeps the link at flex-start */
}

footer.site-footer .footer-center {
  /* center text stays centered because of space-between */
  text-align: center;
  flex: 0 1 auto;
}

footer.site-footer .footer-right {
  /* keeps the link at flex-end */
}
