* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  text-rendering: optimizeLegibility;
}

/* Basic elements defined */

html {
  height:100%;
  width:100%;
  line-height: 2;
  color: #333;
  overflow: visible;
  background-color: #f0f0f0;
}

@media only screen and (max-width: 768px) {
  html {
    font-size: 10pt;
  }
}

@media only screen and (min-width: 769px) {
  html {
    font-size: 12pt;
  }
}

body {
  position: relative;
}

#body {
  position: relative;
  background-color: white;
  margin: 2rem 1rem 0 1rem;
}

#logo {
  width: 12rem;
  height: 6rem;
  font-weight: lighter;
  font-size: 1.5rem;
  line-height: 6rem;
  color: white;
  text-align: center;
  background-color: #616161;
  position: relative;
  left: 7rem;
  top: -1rem;
}

#logo a {
  color: white;
  text-decoration: none;
}

#mobile-graphics {
  display: none;
}

#page-subtitle-mobile {
  display: none;
}

#content {
    background-color: white;
    margin-left: 7rem;
}

@media only screen and (max-width: 768px) {
  #body {
    margin: 0;
    background: url("/img/mobile-2.jpeg") top no-repeat;
  }

  #logo {
    width: 100%;
    height: 5rem;
    line-height: 5rem;
    left: 0;
    top: 0;
  }

  #page-title {
    width: 100%;
    text-align: center;
    text-shadow:
      -1px -1px 3px #FFF,
      1px -1px 3px #FFF,
      -1px 1px 3px #FFF,
      1px 1px 3px #FFF;
  }

  #page-subtitle {
    display: none;
  }

  #page-subtitle-mobile {
    display: inline-block;
    text-align: center;
    width: 100%;
    text-shadow:
      -1px -1px 2px #FFF,
      1px -1px 2px #FFF,
      -1px 1px 2px #FFF,
      1px 1px 2px #FFF;
  }

  #content {
    margin-left: 1rem;
    margin-right: 1rem;
    background: transparent;
  }

  .bg-solid {
    padding: 1rem;
    background-color: white;
  }
}

h1 {
  font-weight: 400;
  color: #333;
  font-size: 3rem;
  line-height: 1;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

h2 {
  color: #333;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: lighter;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

h4 {
  margin-top: 1em;
  font-size: 1.2rem;
  font-weight: lighter;
}

@media only screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h4 {
    font-size: 1.1rem;
  }
}

.signup {
  position: relative;
  background-color: #f8f8f9;
  border-top: 0.8rem solid #eee;
  padding: 2rem;
  margin-top: 3rem;
  margin-right: 10%;
  text-align: left;
}

#signup {
  float: right;
  width: 20rem;
  z-index: 10;
}

#signup-standalone {
  width: 30rem;
}

#login-standalone {
  width: 20rem;
}

.signup h3 {
  font-size: 2rem;
  line-height: 1.3;
  font-weight: lighter;
  margin-bottom: 1rem;
}

#login {
  margin-top: 1rem;
}

@media only screen and (max-width: 768px) {
  #page-subtitle {
    display: none;
  }

  .signup {
    padding: 2rem;
    margin-top: 1rem;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  #signup {
    float: none;
    width: auto;
  }

  #signup-standalone {
    width: auto;
  }

  #login-standalone {
    width: auto;
  }
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
  display: inline-block;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  font-weight: lighter;
  border: 1px solid #E5E5E4;
  border-collapse: collapse;
  background-color: white;
  outline: none;
  margin: 0;
  width: 100%;
}

#handle, #email, #password, #country {
  margin-bottom: 0.5rem;
}

#names {
  width: 100%;
}

#first_name {
  width: 50%;
  float:left;
}
#last_name {
  width: 50%;
}

button.main {
  font-size: 1.1rem;
  line-height: 2.4rem;
  font-weight: normal;
  text-align: left;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  border-radius: 2px;
  text-transform: uppercase;
  background-color: #00838F;
  padding: 0 2rem;
  color: white;
  width: 100%;
  height: 2.4rem;
}

.main .material-icons {
  font-size: 1.2rem;
  line-height: 2.4rem;
  float: right;
  padding: 0;
  margin: 0;
}

.disclaimer {
  font-size: 0.7rem;
  font-weight: lighter;
  line-height: 1.2;
}

#graphics {
  position: absolute;
  margin-top: 2rem;
  margin-left: -7rem;
  width: 100%;
  display: block;
  overflow: hidden;
  background: url("/img/grey_variations.png") center repeat;
  z-index: 0;
}

#inner-graphics {
  width: 80%;
  height: 32rem;
  display: block;
  overflow: hidden;
  vertical-align: middle;
  background: url("/img/desktop.jpeg") no-repeat center;
}

@media only screen and (max-width: 768px) {
  #graphics {
    display: none;
  }

  #inner-graphics {
    display: none;
  }
}

#pitch {
  margin-top: 20rem;
  position: relative;
  background: rgba(255, 255, 255, 1);
  padding: 2rem 0 4rem 6rem;
}

#pitch > div {
  vertical-align: top;
  display: inline-block;
  width: 32%;
  padding-right: 8rem;
}

#pitch h2 {
  font-size: 2.2rem;
}

#pitch h3 {
  font-size: 1.6rem;
  font-weight: normal;
}

#pitch h4 {
  color: #000;
  font-size: 1.4rem;
  padding-bottom: 0.75rem;
}

#pitch .clipart {
  margin-top: 1rem;
}

#pitch .clipart img {
  color: #607D8B;
  height: 4rem;
}

#footer {
  width: 100%;
  padding: 2rem 12rem;
}

@media only screen and (max-width: 768px) {
  #pitch {
    margin-top: auto;
    padding: 1rem;
  }

  #pitch > div {
    vertical-align: top;
    display: inline-block;
    width: auto;
    padding: 0;
  }

  #pitch .clipart {
    display: inline-block;
    margin-top: 2rem;
    height: auto;
  }

  #pitch .clipart img {
    height: 2.5rem;
  }

  #pitch h3 {
    display: inline-block;
    color: #000;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 0.75rem;
    vertical-align: text-bottom;
    line-height: 2.5rem;
  }

  #footer {
    padding: 2rem;
  }
}

a {
  color: #2196f3;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #0a6ebd;
  text-decoration: underline;
}
a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.error {
  display: inline-block;
  padding-bottom: 1rem;
  color: #d50000;
  font-weight: bolder;
  font-size: 1.3rem;
}
