/* Custom Health Color Pallete */

/* CSS HEX
--azure-web: #E9F3F2ff;
--persian-green: #04A399ff;
--celestial-blue: #599ACDff;
--platinum: #E3E5E7ff;
--white: #FFFFFFff;
--silver: #B7B7B8ff;
--davys-gray: #545152ff;
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: auto;
  width: 100%;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
  align-items: end;
  position: sticky;
  top: 0;
}

.logo {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  /* justify-content: center; */
  padding: 0 1rem;
}

.logo a {
  text-decoration: none;
}

.navlinks {
  padding-right: 1rem;
}

.navlinks ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.navlinks li {
  padding: 0 1rem;
}

.navlinks a {
  text-decoration: none;
  color: #545152ff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.navlinks a:hover {
  color: #599acdff;
}

.bodoni-moda-text {
  font-family: 'Bodoni Moda', serif;
  font-optical-sizing: auto;
  font-size: 2.6rem;
  font-weight: 700;
  font-style: bold;
}

.dm-sans-text {
  font-family: 'DM Sans', sans-serif;
  font-optical-sizing: auto;
  font-size: 1.6rem;
  font-weight: 500;
  font-style: normal;
}

.custom {
  color: #599acdff;
}

.health {
  color: #04a399ff;
}

.solutions {
  color: #545152ff;
  letter-spacing: 0.9rem;
  padding-left: 1rem;
}

.info-top {
  font-family: 'DM Sans', sans-serif;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2rem 0;
  background: #599acdff;
  color: white;
  margin: 2rem 0;
}

.heading-top {
  width: 25%;
  text-align: center;
}

.paragraph-top {
  width: 50%;
  text-align: center;
  font-size: 18px;
}

.about_dropdown {
  float: left;
  overflow: hidden;
}

.caret_down {
  font-size: 1rem;
  color: #04a399ff;
}

.dropdown_content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  max-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown_content a {
  float: none;
  /* color: black; */
  padding: 12px 10px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 1rem;
}

.dropdown_content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown_content {
  display: block;
}

.main_content {
  width: 100%;
  margin: 2rem 0;
  min-height: calc(100vh - 300px);
  font-size: 1rem;
}

.footer {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* two columns, without the socialmedia and "What we do" links */
  background-color: #3e8ac6;
  color: white;
  padding: 0.5rem;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 1px 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.footer h3 {
  color: rgb(56, 54, 55);
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.footer a {
  color: white;
  text-decoration: none;
  /* display: block; */
  margin-bottom: 5px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

/* .footer .social-icons a {
  color: #545152ff;
} */

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 875px) {
  .custom,
  .health {
    font-size: 2rem;
  }
  .solutions {
    font-size: 1rem;
  }
  .dropdown_content a {
    font-size: 10px;
  }
  .navlinks a {
    font-size: 1rem;
  }
  .heading-top,
  .paragraph-top {
    font-size: 0.7rem;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 776px) {
  .navlinks ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 1200px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }
  .navlinks {
    padding-top: 2rem;
  }
}

@media (max-width: 500px) {
  .footer {
    /* grid-template-columns: 1fr; */
    padding: 5px;
    border: 5px;
  }
}
