@font-face {
  font-family: 'EBGaramond-Regular';
  src: url('fonts/EBGaramond-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Alegreya-Regular';
  src: url('fonts/Alegreya-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-Regular';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  background-color: #FFFDF9;
}


/* navbar */

.navbar {
  background-color: #5B8D9A;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-content {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.navbar-content a {
  color: white;
  text-decoration: none;
  text-shadow: 1px 1px 1px black;
}


/* header */

.header {
  position: relative;
  height: 320px;
  width: 100%;
  overflow: hidden;
}

video {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  background-color: rgba(0, 0, 0, 0.33);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-overlay img {
  max-width: 100%;
  max-height: 100%;
}


/* signboard */

@media only screen and (max-width: 560px) {
  .signboard {
    font-family: 'EBGaramond-Regular', serif;
    font-size: 16px;
    font-variant: small-caps;
    line-height: 1.2em;
    margin: 0 auto;
    margin-top: 40px;
    max-width: 480px;
    text-align: center;
    color: #777777;
  }
}

@media only screen and (min-width: 561px) {
  .signboard {
    font-family: 'EBGaramond-Regular', serif;
    font-size: 18px;
    font-variant: small-caps;
    line-height: 1.2em;
    margin: 0 auto;
    margin-top: 40px;
    max-width: 480px;
    text-align: center;
    color: #777777;
  }
}

.signboard h2 {
  font-size: 24px;
  line-height: 0;
}

.divider_bottom::after {
  content: "";
  display: block;
  height: 20px;
  background-image: url(media/BorderBottom.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}

.content {
  font-family: 'Roboto-Regular', sans-serif;
  font-size: 12pt;
  line-height: 1.5em;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
  color: #444444;
}

@media only screen and (max-width: 560px) {
  .content h2 {
    font-family: 'Alegreya-Regular', serif;
    font-size: 32px;
    font-weight: normal;
    line-height: 1.2em;
    padding-top: 10px;
    text-align: center;
  }
}

@media only screen and (min-width: 561px) {
  .content h2 {
    font-family: 'Alegreya-Regular', serif;
    font-size: 36px;
    font-weight: normal;
    line-height: 1.2em;
    padding-top: 10px;
    text-align: center;
  }
}

.content h3 {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 18px;
/*  font-variant: small-caps;*/
  font-weight: bold;
}

.content p {
  padding-bottom: 10px;
}

.content a {
  color: #5B8D9A;
}

.content img {
  margin: auto;
  margin-top: 30px;
  display: block;
}

.float_left {
  background-image: url('media/steven.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10%;
/*  box-shadow: 0 0 2px 2px #FFFDF9 inset;*/
  float: left;
  margin: 5px 20px 20px 0;
  width: 141px;
  height: 160px;
}

#services, #therapy, #sessions, #contact, #aboutme {
  scroll-margin-top: 50px;
}

#more_anxiety, #more_children, #more_relationship, #more_selfesteem, #more_ndis, #more_anger {
  display: none;
}

.readmore {
  font-size: 14px;
  color: #5B8D9A;
  cursor: pointer;
}

.footer {
  position: relative;
  height: 460px;
  width: 100%;
  overflow: hidden;
  background-image: url(media/footer.jpg);
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 100px;
}

.footer-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.33);
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote {
  font-family: 'EBGaramond-Regular', serif;
  font-size: 26px;
  line-height: 1.2em;
  margin: 0 auto;
  margin-top: 40px;
  max-width: 480px;
  text-align: left;
  text-shadow: 1px 1px 1px black;
  color: white;
}
