* {
  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;
}

h1 {
  padding: 0 2%;
}

section {
  width: 100%;
  background-color: whitesmoke;
  font-size: 1.3em;
  padding: 1% 10%;
  display: flex;
  justify-content: space-around;
}

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) {
  h1 {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  section {
    font-size: medium;
    flex-flow: column wrap;
    align-items: center;
  }
}

@media screen and (max-width: 768px) {
  iframe {
    width: 400px;
    height: 300px;
  }
}

@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%;
  }
}