/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  3. Allow percentage-based heights in the application
*/
html, body {
  height: 100%;
}
/*
  Typographic tweaks!
  4. Add accessible line-height
  5. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
  6. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/*
  7. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}
/*
  8. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/*
 * Global
 */

html {
  background-color: #d4647e;
}

body {
  background-image: url('../img/page-bg.jpg');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 1090px 1000px;
  font-family: 'Open Sans', sans-serif;
}
@media only screen and (max-width: 767px)  {
  body {
    background-size: 545px 500px;
  }
}


.container {
  max-width: 740px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}


/*
  Header
*/
.header {
  text-align: center;
}
.header img {
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
  height: auto;
}

/*
  Intro
*/
.intro {
  background-color: #FFF;
  padding-top: 42px;
  padding-bottom: 40px;
  text-align: center;
}
.intro__text {
  font-size: 20px;
  line-height: 1.42;
  font-weight: 400;
  margin-bottom: 30px;
}
.intro__text:last-child {
    margin-bottom: 0;
}
@media only screen and (max-width: 767px)  {
  .intro__text br {
    display: none;
  }
}

/*
  Websites
*/
.websites {
  background-color: #FFF;
  padding-bottom: 67px;
  text-align: center;
}
.websites__inner {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
@media only screen and (max-width: 767px)  {
  .websites__inner {
    flex-direction: column;
    align-items: center;
  }
}
.websites h1, .websites h2, .websites h3, .websites h4, .websites h5, .websites h6 {
  margin-bottom: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}
.websites__link {
  position: relative;
  width: 100%;
  max-width: 300px;
}
.websites__link-btn {
  display: block;
  text-decoration: none;
}
.websites__link-img {
  display: block;
  margin: 0;
  width: 100%;
  max-width: 300px;
  height: auto;
}
.websites__link-text {
  display: block;
  background-color: #d4647e;
  min-height: 40px;
  width: 100%;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1;
  color: #FFF;
  font-weight: bold;
  padding: 12px 10px 10px;
  transition: background-color 150ms;
}
.websites__link-btn:hover .websites__link-text {
  background-color: #000;
}

/*
  Social
*/
.social {
  background-color: #f6e0e5;
  padding-top: 50px;
  padding-bottom: 15px;
  text-align: center;
}
.social__inner {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
@media only screen and (max-width: 767px)  {
  .social__inner {
    flex-direction: column;
    align-items: center;
  }
}
.social h1, .social h2, .social h3, .social h4, .social h5, .social h6 {
  margin-bottom: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}
.social__link {
  position: relative;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.27;
  color: #000;
  font-weight: bold;
  padding-top: 73px;
  margin-bottom: 40px;
  transition: color 150ms;
}
.social__link:hover {
  color: #d4647e;
}
.social__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 61px;
  height: 61px;
  transform: translate(-50%, 0);
  background-repeat: no-repeat;
  background-size: contain;
}
.social__link.facebook::before {
  background-image: url('../img/facebook.png');
}
.social__link.youtube::before {
  background-image: url('../img/youtube.png');
}
.social__link.email::before {
  background-image: url('../img/email.png');
}

/*
  Text
*/
.text {
  background-color: #d4647e;
  padding-top: 48px;
  padding-bottom: 20px;
  text-align: center;
  font-size: 16px;
  line-height: 1.515151515151515;
  color: #000;
  font-weight: 400;
}
.text__inner {
  max-width: 590px;
  margin: 0 auto;
}
.text h1, .text h2, .text h3, .text h4, .text h5, .text h6 {
  margin-bottom: 27px;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}
.text p {
  margin-bottom: 27px;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}
.deb-and-kym-img {
  max-width: 305px;
  margin: 37px auto 35px auto;
  width: 100%;
  height: auto;
}

/*
  Footer
*/
.footer {
  background-color: #d4647e;
  padding-bottom: 5px;
}
.footer__inner {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
@media only screen and (max-width: 767px)  {
  .footer__inner {
    flex-direction: column;
    align-items: center;
  }
}
.footer__logo {
  position: relative;
  width: 100%;
  max-width: 167px;
  margin-bottom: 40px;
}
.footer__logo-img {
  width: 100%;
  height: auto;
}
.footer__links {
  position: relative;
  width: 100%;
  max-width: 200px;
  margin-bottom: 25px;
}
.footer__links-list {
  position: relative;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.footer__links-list-item {
  position: relative;
  margin: 0 0 7px 0;
  padding: 0 0 0 40px;
  text-align: left;
  color: #FFF;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  min-height: 28px;
}
.footer__links-list-item.phone {
  font-size: 23px;
  line-height: 28px;
}
.footer__links-list-item a {
  color: #FFF;
  text-decoration: none;
  transition: color 150ms;
}
.footer__links-list-item a:hover {
  color: #000;
  text-decoration: none;
}
.footer__links-list-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  background-repeat: no-repeat;
  background-size: contain;
}
.footer__links-list-item.phone::before {
  background-image: url('../img/phone-footer.png');
}
.footer__links-list-item.email::before {
  background-image: url('../img/email-footer.png');
  width: 27px;
  height: 19px;
}