@font-face {
  font-family: "Cutive";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cutive-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-latin-700.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

a {
  color: #0092bb;
}

a:focus-visible {
  outline: 2px solid #191970;
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  overflow-wrap: normal;
}

.skip-link:focus {
  top: 5px;
  left: 5px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 15px 23px 14px;
  background: #ddd;
  color: #444;
  font-size: 1em;
  line-height: normal;
  text-decoration: none;
  clip-path: none;
}

.topbackground {
  display: block;
  min-height: 40vh;
  height: 520px;
  padding-top: 40px;
  background: #47b7d5 url("assets/header.jpg") repeat-x center bottom;
  text-align: center;
}

.header-spacer {
  height: 20px;
}

#masthead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 340px;
  max-width: 100vw;
  margin: auto;
  border-radius: 18px;
  padding: 10px;
  background: linear-gradient(white 60%, #e6e6e6);
  box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.48);
  font-family: "Cutive", serif;
  text-align: center;
}

.site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-top: 5px;
}

.custom-logo-link {
  display: block;
}

.homeheader-1 {
  max-width: 750px;
  margin: auto;
  padding-bottom: 200px;
}

.header-black-title,
.header-white-title {
  font-family: "Cutive", serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
}

.header-black-title {
  margin: 50px 0 0;
  color: #231f20;
}

.header-white-title {
  display: block;
  color: #fff;
}

.text-1-header,
.text-2-header,
.text-3-header,
.text-4-header {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #231f20;
}

.text-1-header {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 18px;
}

.text-2-header {
  margin-bottom: 120px;
  font-size: 16px;
}

.site-main-alt {
  display: block;
}

.text-3-header {
  padding: 20px;
  font-size: 15px;
}

.text-4-header {
  font-size: 17px;
  font-weight: 400;
  color: #7b4e91;
}

strong {
  font-weight: 700;
}

.learn-more-button {
  margin-top: 40px;
}

#ihi-learnmore-button {
  border: none;
  border-radius: 20px;
  padding: 10px 40px;
  background: #c069c8;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}

@media (max-width: 990px) {
  .topbackground,
  .homeheader-1 {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .topbackground {
    overflow-x: clip;
  }

  .site-main-alt {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    padding: 30px 20px;
    background: #fff;
  }

  .text-2-header {
    margin-bottom: 80px;
  }
}

@media (max-width: 900px) {
  .topbackground {
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    background-size: auto 750px;
    background-position: center top;
  }

  .header-spacer {
    display: none;
  }

  #masthead {
    position: relative;
    margin-top: 30px;
  }

  .custom-logo {
    margin: 10px 0;
  }

  .homeheader-1 {
    padding: 20px 20px 0;
  }
}
