* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 25%;
}

.logo img {
  width: 75%;
  object-fit: contain;
}

nav {
  width: 75%;
  display: flex;
  justify-content: space-around;
}

nav a {
  width: 100%;
  color: #c29cc1;
  text-decoration: none;
  font-size: 1.7em;
  font-weight: bold;
  text-align: center;
}

.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  position: fixed;
  border-radius: 8px;
  background-color: white;
}

.dropdown-content a {
  color: #c29cc1;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  flex-flow: column wrap;
  align-items: start;
  font-size: 1.2em;
}

.dropdown-content a:hover {
  background-color: whitesmoke;
  border-radius: 8px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.bio-container {
  width: 100vw;
  /* height: 25%; */
  background-color: whitesmoke;
  position: relative;
  padding: 2% 10%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.heading {
  width: 100%;
  text-align: center;
}

.heading h1 {
  font-size: 2em;
}

.heading h2 {
  font-size: 1.5em;
}

.bio-text {
  width: 50%;
  align-self: left;
  font-size: 1.4em;
  padding: 0 2% 0 2%;
}

.biopic-hopesText {
  width: 100%;
  display: flex;
  flex-flow: column wrap;
  flex: 2;
  margin: auto;
  padding: 2% 2% 0 2%;
  justify-content: center;
  font-size: 1.3em;
}

.biopic-hopesText img {
  width: 55%;
  object-fit: cover;
  align-self: auto;
}

h2 {
  text-align: center;
  font-size: 1.8em;
}

.biopic-hopesText p {
  padding: 0 2% 0 2%;
}

.office {
  width: 100vw;
  display: flex;
  flex-flow: column wrap;
  padding: 0 10%;
}

.office-text {
  width: 100%;
  padding: 2%;
  font-size: 1.4em;
}

.office-images {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.office-images img {
  width: 45%;
  object-fit: contain;
  padding: 2%;
}

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.emdria-container {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.emdria {
  width: 100%;
  padding: 30%;
  /* height: 30%; */
  /* object-fit: contain; */
}

.jtsn-container {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jtsn {
  width: 100%;
  padding: 10%;

  /* height: 50%; */
  /* object-fit: contain; */
}

.psyche-today-container {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2%;
}

.psyche-today {
  width: 100%;
  padding: 10%;
  /* height: 100%; */
  /* object-fit: contain; */
}

.therapyden-container {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.therapyden {
  width: 100%;
  padding: 10%;
  /* height: 50%; */
  /* object-fit: contain; */
}

.ifs-container {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ifs {
  width: 100%;
  padding: 10%;
  /* height: 50%; */
  /* object-fit: contain; */
}

@media screen and (max-width: 768px) {
  header,
  nav {
    width: 100%;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    font-size: small;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .dropdown-content {
    font-size: smaller;
  }
}

@media screen and (max-width: 768px) {
  .logo {
    width: 50%;
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .bio-container {
    width: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .heading h1 {
    font-size: x-large;
  }
}

@media screen and (max-width: 768px) {
  .heading h2 {
    font-size: large;
    padding: 0 1%;
  }
}

@media screen and (max-width: 768px) {
  .bio-text,
  .biopic-hopesText {
    width: 100%;
    font-size: medium;
  }
}

@media screen and (max-width: 768px) {
  .biopic-hopesText img {
    width: 100%;
    align-self: center;
  }
}

@media screen and (max-width: 768px) {
  .office-text {
    font-size: medium;
  }
}

@media screen and (max-width: 768px) {
  .badge-info {
    font-size: medium;
    padding: 5%, 5%, 0;
  }
}

@media screen and (max-width: 768px) {
  .emdria {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    padding: 25%;
    /* padding: 10% 10% 10% 40%; */
  }
}

@media screen and (max-width: 768px) {
  .jtsn {
    width: 115%;
    /* height: 100%; */
    /* object-fit: contain; */
    /* padding: 1%; */
  }
}

@media screen and (max-width: 768px) {
  .therapyden {
    width: 100%;
    /* height: 100%; */
    padding: 25%;
  }
}

@media screen and (max-width: 768px) {
  .psyche-today {
    width: 135%;
    /* height: 100%; */
    /* padding: 1%; */
  }
}

@media screen and (max-width: 768px) {
  .ifs {
    width: 100%;
    /* height: 100%; */
    padding: 2%;
  }
}
