/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Maintenance Page custom styles
   ========================================================================== */
@font-face {
  font-family: "DinBold";
  font-style: normal;
  font-weight: 700;
  src: url("../webfonts/dinwebbold.woff") format("woff"),
    url("../webfonts/dinwebbold.ttf") format("truetype");
}
@font-face {
  font-family: "DinotRegular";
  font-style: normal;
  font-weight: 400;
  src: url("../webfonts/dinot-regular.ttf") format("truetype");
}
* {
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
html,
body {
  height: 100vh;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1.2;
  webkit-font-smoothing: antialiased;
}
body {
  font-family: DinotRegular, "Open Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, Noto Sans, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background: #fff;
  color: #333333;
  margin: 0;
}
a {
  color: #c73391;
  cursor: pointer;
  text-decoration: underline;
}
.heading-wrapper {
  display: flex;
  flex-direction: column;
}
.heading {
  font-family: DinBold, sans-serif;
  font-size: 3rem;
  line-height: 4rem;
  min-width: 550px;
}
.subheading {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 100;
}

.container {
  height: 90vh;
  position: relative;
  display: flex;
  background-color: #dcf8fd;
}
.left {
  padding: 40px 0 0 5%;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 60%;
  height: 100%;
  z-index: 100;
}
.right {
  height: 100%;
  width: 40%;
  position: relative;
}
.piggy {
  height: 100%;
  position: absolute;
  right: 0;
  bottom: 0;
}
.header {
  display: flex;
  align-items: center;
  padding: 20px 5%;
  position: relative;
  width: 100%;
  box-shadow: 3px 1px 6px 0 rgba(0, 0, 0, 0.05);
  z-index: 10;
}
.footer {
  border-top: 1px solid #dad9d6;
  background-color: #f8f8f8;
  color: #515151;
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 5%;
  text-align: center;
}
.button{font-family:DinBold, sans-serif;font-size:16px;font-size:1rem;text-decoration:none;background-color:#cb3694;border:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;letter-spacing:.025em;padding:18px 38px 16px 38px;text-align:center;width:100%;line-height:1;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;border:1px solid #cb3694}.button:focus,.button:hover{background:#6c1646;border-color:#6c1646;text-decoration:none}
.button-small{font-size:14px;font-size:.875rem;padding:10px 20px 9px; font-size: 1rem;}
.widget-header-button-join {font-family: DinBold, sans-serif; font-weight: 400;}
.widget-header-button-signin {background:0 0;color:#666;font-family:DinBold, sans-serif;font-weight:400;border:1px solid #666}
.button-filled:focus,.button-filled:hover{background-color:#666;color:#fff}
.widget-header-button-signin:hover{background-color: #ffcd33}
@media (max-width: 992px) {
  .container {
    height: 85vh;
  }
  .heading-wrapper {
    position: absolute;
    left: 40px;
  }
  .right {
    overflow: hidden;
  }
  .piggy {
    left: 15%;
    right: auto;
  }
}
@media (max-width: 768px) {
  .heading-wrapper {
    position: relative;
    left: 0;
    display: block;
  }
  .heading {
    font-size: 6.7vw;
    line-height: 9vw;
    min-width: auto;
  }
  .subheading {
    font-size: 4vw;
    line-height: 5vw;
  }
  .container {
    max-height: 175vw;
  }
  .left {
    width: 100%;
    padding: 40px 5% 0 5%;
    align-items: flex-start;
    background-image: url("../images/piggy-mobile.png");
    background-size: 100%;
    background-position: bottom right;
    background-repeat: no-repeat;
  }
  .right {
    display: none;
  }
  .desktop-only {
    display: none;
  }
}
/* Improved image position, should not be hit by any device normally */
@media (max-width: 472px) {
  .left {
    background-position: top right;
  }
}