/* Default styling for desktop*/

/* High level styling used on all pages */
h1, h2, h3, h4, h5, h6 {
    font-family: "Quattrocento", serif;
    color: #141414;
    font-weight: bold;
}

h1 {
    font-size: 20pt;
}

:where(h1) {
  margin-block: 0.67em;
  font-size: 2em;
}


h2 {
    font-size: 18pt;
}

p, li, dl, dt, dd, :placeholder-shown, label, aside {
    font-family: "Quattrocento Sans", sans-serif;
    color: #141414;
}

a {
  color: #8387C3;
}

a:hover {
    color: #FFBE98;
}

.italics {
    font-style: italic;
}

/* Styling for header on all pages */

#siteHeader {
    background-color: #1A0089;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 15px;
    padding-right: 15px;
}

#menu {
  z-index: 7;
}

#menuBar {
  width: 45px;
  height: 40px;
  margin: 30px 0 20px 20px;
  cursor: pointer;
}

.bar {
  height: 5px;
  width: 100%;
  background-color: #CCD6DF;
  display: block;
  border-radius: 5px;
  transition: 0.3s ease;
}

#bar1 {
  transform: translateY(-4px);
}

#bar3 {
  transform: translateY(4px);
}

.nav {
  transition: 0.3s ease;
  display: none;
}

.nav ul {
  padding: 0 22px;
}

.nav li {
  list-style: none;
  padding: 12px 0;
}

.nav li a {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

.nav li a:hover {
  font-weight: bold;
  color: #FFBE98;
}

.menu-bg, #menu {
  top: 0;
  left: 0;
  position: absolute;
}

.menu-bg {
  z-index: 5;
  width: 0;
  height: 0;
  margin: 30px 0 20px 20px;
  background: radial-gradient(circle, #1A0089, #1A0089);
  border-radius: 50%;
  transition: 0.3s ease;
}

.change {
  display: block;
}

.change .bar {
  background-color: white;
}

.change #bar1 {
  transform: translateY(4px) rotateZ(-45deg);
}

.change #bar2 {
  opacity: 0;
}

.change #bar3 {
  transform: translateY(-6px) rotateZ(45deg);
}

.change-bg {
  width: 520px;
  height: 460px;
  transform: translate(-60%,-30%);
}

#siteHeader img {
  position: relative;
}

/* Styling for footer*/

footer {
    background-color: #1A0089;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 25px;
    padding-left: 15px;
    padding-right: 15px;
    max-height: 345px;
    min-width: 250px;
    overflow: hidden;
}

footer p, dt, dd, dl {
    color: #ccd6df;
    margin-left: 0px;
}


footer p {
  font-size: 15pt;
}

.dtColor {
  color: #ccd6df;
  font-weight: bold;
  font-size: 15pt;
}

@media only screen and (min-width: 990px) {
  footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    justify-items: baseline;
    justify-content: baseline;
    align-items: center;
    gap: 25px;
  }

  .footerImg {
    grid-column-start: 1;
  }

  .footerCopy {
    grid-row-start: 2;
  }
}

.footerAddress {
  grid-column-start: 3;
}

.footerSocials {
  grid-column-start: 5;
}

/* Styling for main content on all pages */

main {
    background-color: #E8EBED;
    max-width: 1200px;
    margin: auto;
}

/* Styling for home page */

#homeHero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 10px 20px 10px 20px;
    overflow: hidden;
}

@media only screen and (max-width: 750px) {
  .heroImg {
    display: none;
  }

  #homeHero {
    background-image: url(./images/office_waiting_room_1.jpeg);
    justify-content: center;
  }
}

.heroText {
    background-color: #CCD6DF;
    width: 350px;
    min-height: 325px;
    min-width: 325px;
    padding: 15px;
    border: 5px, double, #FBD271;
    border-radius: 30px;
}

.heroImg > img {
    border: 5px double #FBD271;
    object-fit: cover;
    flex-shrink: 1;
    border-radius: 30px;
    padding: 15px;
}

#additionalCards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    border-top: 5px double #FBD271;
    border-bottom: 5px double #FBD271;
    min-width: 300px;
}

#additionalCards  img {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

/* From Uiverse.io by Yaya12085 */ 

.card {
    max-width: 350px;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
  }
  
  .card a {
    text-decoration: none
  }
  
  .content {
    padding: 1.1rem;
  }
  
  .image {
    object-fit: contain;
    width: 350;
    height: 200px;
    background-color: #E8EBED;
  }
  
  .title {
    color: #141414;
    line-height: 1.75rem;
    font-weight: bold;
  }
  
  .desc {
    margin-top: 0.5rem;
    color: #141414;
    line-height: 1.25rem;
  }
  
  /* This is the styling for all buttons */
  .action {
    display: inline-flex;
    font-family: "Quattrocento Sans", sans-serif;
    margin-top: 1rem;
    color: #141414;
    line-height: 1.25rem;
    align-items: center;
    gap: 0.25rem;
    background-color: #8387C3;
    padding: 10px 14px;
    border-radius: 4px;
  }
  
  .action span {
    transition: .3s ease;
  }
  
  .action:hover span {
    transform: translateX(4px);
  }

  /* Styling for services page */

  #servicesH1 {
    text-align: center;
  }

  .servicesTab {
    display: flex;
    flex-direction: column;
    padding: 15px;
    justify-content: baseline;
    align-items: center;
    align-self: center;
    align-content: center;
    min-width: 250px;
  }

  .servicesTab > img {
    border: 5px double #FBD271;
    border-radius: 30px;
  }

  .servicesTab > p {
    border: 5px double #FBD271;
    border-radius: 30px;
    padding: 10px;
  }

  /* Styling for about page */

  #aboutTextOutline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #aboutTextOutline > img {
    border: 5px double #FBD271;
    border-radius: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
    overflow: hidden;

  }

  #aboutText {
    border: 5px double #FBD271;
    border-radius: 30px;
    padding: 10px 15px;
    min-width: 250px;
    background-color: #CCD6DF;
  }

  #aboutTabs {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .aboutTab {
    background-color: #CCD6DF;
    border: 5px double #FBD271;
    border-radius: 30px;
    padding-left: 15px;
    margin-top: 15px;
    min-width: 250px;
    text-align: center;
    min-width: 300px;
    max-width: 500px;
    min-height: 150px;
  }

  /* Styling for contact page */

  #formPage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  #contactForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 15px;
  }


  #contactForm > form {
    width: 70%;
    min-width: 250px;
    max-width: 600px;
    border: 5px double #FBD271;
    border-radius: 30px;
    padding: 15px;
    overflow: hidden;
  }

  label {
    font-size: 18px;
    font-weight: bold;
  }

  input[type=text], input[type=email] {
    height: 35px;
  }

  textarea {
    height: 65px;
  }

  input[type=text], input[type=email], textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    margin-bottom: 12px;
    resize: vertical;
  }

  form > .formSubmit {
    font-family: Quattrocento Sans, sans-serif;
    font-size: 12pt;
    border-radius: 4px;
    padding: 20px 45px 20px 45px;
    background-color: #8387C3;
    color: #E8EBED;
    width: 100%;
    margin: 0;

  }

  @media only screen and (min-width: 992px) {
    
   form > .formSubmit:hover {
    background-color: #CCD6DF;
    color: #141414;
    border: 5px double #FFBE98;
    cursor: pointer;
    transition: background-color 0.5s;
    transition: border 0.3s;
  } 

  }

  #contactAlt {
    display: flex;
    width: 70%;
    max-width: 600px;
    margin-left: 15px;
    border: 5px double #FBD271;
    border-radius: 30px;
    padding: 15px;
    overflow: hidden;
    margin-top: 20px;
  }
  
  #contactAlt  dd, dl, dt {
    color: #141414;
    margin-left: 0px;
    margin-top: 10px;
  }
  










