@font-face {
  font-family: 'Bossa';
  src: url('../fonts/Bossa-Regular.woff2') format('woff2'),
    url('../fonts/Bossa-Regular.woff') format('woff'),
    url('../fonts/Bossa-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Bossa';
  src: url('../fonts/Bossa-Bold.woff2') format('woff2'),
    url('../fonts/Bossa-Bold.woff') format('woff'),
    url('../fonts/Bossa-Bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
html,
body {
  height: 100%;
}
html {
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  background: #f7f7f7;
  color: #000;
}
body.settings,
body.landing {
  background: #fff;
}
button,
input,
textarea {
  font-family: 'Roboto', sans-serif;
  outline: none;
}
img {
  display: block;
}
input::-webkit-input-placeholder {
  color: #666;
}
input::-moz-placeholder {
  color: #666;
}
input:-ms-input-placeholder {
  color: #666;
}
input:-moz-placeholder {
  color: #666;
}
.shadow {
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}
.disabled {
  pointer-events: none;
  opacity: 0.5;
}
header {
  width: 100%;
  height: 60px;
  border-bottom: 1px solid #ddd;
}
body.settings header {
  background: #4e56ff;
  height: 144px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
body.landing header {
  background: #f7f7f7;
  height: 245px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: 0;
}
header .user {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  padding: 16px;
}
header .user a.log {
  height: 28px;
  font-size: 14px;
  line-height: 28px;
  display: inline-block;
  color: #fff;
  padding: 0 11px;
  background: #4e56ff;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
}
body.landing header .user a.log {
  display: none;
}
main {
  width: 100%;
  height: 100%;
}
header + main {
  height: calc(100% - 60px);
}
main .error {
  border-radius: 3px;
  background-color: #830122;
  font-size: 12px;
  line-height: 16px;
  padding: 8px 32px 8px 12px;
  color: #fff;
  margin: 5px;
}
main .error a {
  color: #fff;
}
body.log main {
  height: 100%;
}
body.settings main {
  height: calc(100% - 158px);
  padding: 0;
}
body.landing main {
  height: auto;
  padding: 0;
}
h1 {
  position: absolute;
  font-size: 16px;
  width: 100%;
  height: 60px;
  line-height: 60px;
  font-weight: 500;
  text-align: center;
}
body.settings h1 {
  position: static;
  margin: 0 auto;
  font-size: 48px;
  line-height: 80px;
  font-weight: 100;
  text-align: left;
  max-width: 900px;
  padding: 64px 20px 0;
  width: 100%;
  height: 144px;
}
#nav-open-button {
  width: 60px;
  height: 60px;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  padding: 15px;
}
#nav-open-button img {
  width: 20px;
  height: 30px;
  display: block;
  margin: 0 auto;
}
#headway {
  position: absolute;
  right: 230px;
  top: 0;
  width: 32px;
  height: 60px;
  padding-top: 14px;
}
#dashboard {
  background: #27252a;
  border-radius: 5px;
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
#signup,
#login,
#password,
#unpublished {
  height: 100%;
  overflow: auto;
  display: flex;
}

.connect {
  width: 250px;
  margin: auto;
}
.connect form {
  background: #fff;
  border-radius: 5px;
  margin-bottom: 15px;
}
.connect .field {
  padding: 15px 15px 0;
}
.connect input {
  width: 100%;
  height: 38px;
  background: #eff0ff;
  border: 0;
  border-radius: 2px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}
.connect button {
  margin-top: 15px;
  width: 100%;
  height: 55px;
  background: #4e56ff;
  border: 0;
  border-radius: 0 0 5px 5px;
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}
.connect .actions {
  display: flex;
  justify-content: space-between;
}
.connect p {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}
.connect p:last-child {
  margin: 0;
}
.connect p.light {
  font-weight: 300;
}
.connect p a {
  color: #000;
  text-decoration: none;
}
.connect p a.under {
  border-bottom: 1px solid #666;
}
.connect p a.under:hover {
  border-bottom: 1px solid #fff;
}

div.log {
  margin: 0 auto;
  display: flex;
  width: 100%;
  background: url('../img/shapes.svg') right center no-repeat;
}
div.log .content {
  width: 40%;
  padding: 90px 120px;
  overflow: auto;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
div.log .content h2 {
  font-family: 'Bossa', sans-serif;
  font-size: 26px;
  max-width: 400px;
  line-height: 1.2em;
  color: #333;
  margin-bottom: 15px;
  font-weight: 700;
}
div.log .content p.more {
  font-family: 'Bossa', sans-serif;
  font-size: 14px;
  line-height: 1.4em;
  color: #666;
  font-weight: 400;
  margin-bottom: 30px;
}
div.log .content p.more a {
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  color: #ff6562;
}
div.log .content p.more a:hover {
  color: #4e56ff;
}
div.log .content p.error {
  font-size: 14px;
  line-height: 1.4em;
  color: #fff;
  font-weight: bold;
  margin-bottom: 30px;
  max-width: 350px;
}
div.log .visual {
  width: 60%;
  background: url('../img/device.svg') left center no-repeat;
}
div.log .visual .inner {
  width: 100%;
  height: 100%;
  background: url('../img/screen-wrap.png') 125px calc(50% - 30px) no-repeat;
  background-size: 801px;
}
.tabs {
  display: flex;
  max-width: 350px;
  z-index: 50;
  margin-bottom: -1px;
}
.tabs a,
.tabs div {
  width: 50%;
  line-height: 50px;
  text-align: center;
  border: 1px solid #ddd;
  font-weight: 500;
  background: #f7f7f7;
}
.tabs div {
  border-radius: 5px 5px 0 0;
  border-bottom: 0;
  background: #fff;
  color: #333;
  height: 56px;
}
.tabs a {
  margin-bottom: 6px;
  border-radius: 5px;
  text-decoration: none;
  color: #666;
  height: 50px;
}
.tabs a:first-child {
  margin-right: 5px;
}
.tabs a:last-child {
  margin-left: 5px;
}
.form-container {
  background: #fff;
  min-width: 320px;
  max-width: 350px;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 0 0 5px 5px;
  min-height: 449px;
}
.form-container .field {
  margin-bottom: 10px;
}
.form-container input {
  width: 100%;
  height: 33px;
  border: 1px solid #ddd;
  padding: 0 8px;
  color: #333;
  font-size: 15px;
  border-radius: 5px;
}
.form-container button {
  display: block;
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  background: #4e56ff;
  background-size: 50px 50px;
  border-radius: 5px;
  color: #fff;
  border: 0;
  cursor: pointer;
}
.form-container .actions {
  padding-top: 30px;
  font-size: 14px;
  line-height: 1.4em;
  color: #666;
  font-weight: bold;
}
.form-container .actions a {
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  color: #ff6562;
}
.form-container .actions a:hover {
  color: #4e56ff;
}
.form-container div.or {
  height: 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-container div.or hr {
  width: 100%;
  height: 1px;
  border: none;
  color: #ddd;
  background-color: #ddd;
}
.form-container div.or span {
  position: absolute;
  left: 50%;
  margin-left: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  line-height: 30px;
  text-align: center;
  color: #999;
  font-size: 16px;
  font-weight: 500;
}

.message {
  max-width: 800px;
  margin: auto;
}
.message p {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}
.message p:last-child {
  margin: 0;
}
.message p.light {
  font-weight: 300;
}
.message p a {
  color: #000;
  text-decoration: none;
}
#settings-nav {
  height: 66px;
  background: #4e56ff;
}
#settings-nav .inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 0;
  display: flex;
}
#settings-nav a {
  display: block;
  height: 40px;
  line-height: 40px;
  padding: 0px 25px;
  color: #fff;
  background: #272b80;
  margin-right: 6px;
  text-decoration: none;
  border: 0px;
  font-size: 15px;
  outline: none;
  cursor: pointer;
  border-radius: 5px;
}
#settings-nav a.selected {
  height: 46px;
  color: #000;
  background: #fff;
  border-radius: 5px 5px 0 0;
}
#settings-main {
  height: calc(100% - 66px);
}
#settings-main .inner {
  padding: 0 20px;
  margin: 0 auto;
}
#settings-main .ok,
#settings-main .error {
  font-size: 15px;
  color: #000;
  line-height: 40px;
  margin-bottom: 30px;
  padding: 0 15px;
  border-radius: 5px;
  background: #eee;
}
#settings-main .ok {
  background: #d0f0c0;
}
#settings-main .error {
  background: #ffcccb;
}
#settings-main button,
#settings-main a.button {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #4e56ff;
  height: 33px;
  padding: 0 10px;
  line-height: 33px;
  background: transparent;
  border-radius: 5px;
  color: #4e56ff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
#settings-main button:hover,
#settings-main a.button:hover {
  border-color: #272b80;
  color: #272b80;
}
#settings-main form .field {
  margin-bottom: 30px;
}
#settings-main form .field label {
  display: block;
  font-size: 18px;
  line-height: 1em;
  font-weight: 500;
  color: #4e56ff;
  margin-bottom: 10px;
}
#settings-main form .field input {
  width: 360px;
  height: 33px;
  border: 1px solid #ddd;
  padding: 0 8px;
  color: #333;
  font-size: 15px;
}
#settings-main form .field input[readonly] {
  cursor: not-allowed;
  background: #fafafa;
}
#settings-main form .field textarea {
  width: 360px;
  height: 100px;
  border: 1px solid #ddd;
  padding: 8px;
  color: #333;
  font-size: 15px;
  resize: none;
}
#settings-main form .field:last-child {
  margin: 0;
}
#settings-main form .content {
  padding: 80px 0;
}
#settings-main .picture {
  width: 200px;
  height: 200px;
  border: 1px solid #ddd;
  position: relative;
  cursor: pointer;
}
#settings-main .picture .preview {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
}
#settings-main .picture .edit {
  display: flex;
  position: absolute;
  opacity: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease-in-out;
}
#settings-main .picture:hover .edit {
  opacity: 1;
}
#settings-main .picture .edit > img {
  width: 50px;
  height: 50px;
  margin-bottom: 5px;
}
#settings-main .picture .edit > p {
  font-weight: 500;
}
#settings-main form .field input.upload {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1000px;
  outline: none;
  cursor: pointer;
  opacity: 0;
  padding: 0;
  overflow: hidden;
}
#members {
  padding: 80px 0;
  color: #000;
}
#members ul {
  list-style: none;
  margin-bottom: 40px;
}
#members li {
  height: 70px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
}
#members li:last-child {
  border: 0;
}
#members li strong,
#members li span {
  line-height: 70px;
  font-size: 18px;
}
#members li strong {
  font-weight: 500;
  flex: 1;
}
#members li span {
  color: #999;
}
#members li span:first-letter {
  text-transform: uppercase;
}
#members li input {
  width: 360px;
  height: 33px;
  border: 1px solid #ddd;
  padding: 0 8px;
  color: #333;
  font-size: 15px;
  margin: 18.5px 0;
}
#members li button,
#members li a.button {
  margin: 18.5px 0 18.5px 18.5px;
}
#members li.invite form {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
#members .more {
  height: 70px;
  background: #4e56ff;
  color: white;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  padding: 0 18.5px;
  margin: 0 -18.5px;
}
#members .more strong {
  font-size: 18px;
  font-weight: 500;
  line-height: 70px;
}
#members .more a.button {
  color: #fff;
  border-color: #fff;
  margin: 18.5px 0;
}
#members .more a.button:hover {
  background: #272b80;
}
#billing {
  padding: 80px 0;
  color: #000;
}
#billing .info {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1em;
  margin: 20px 0;
}
#billing .past-due {
  color: #c40233;
}
.landing {
  color: #000;
}
.landing .content {
  padding: 60px 0 60px;
}
.landing img.logo {
  -webkit-box-shadow: 0px 25px 40px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 25px 40px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 25px 40px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  width: 200px;
  height: 200px;
  background: #000;
  position: absolute;
  top: 75px;
  left: 50%;
  margin-left: -100px;
}
.landing .title {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4em;
  max-width: 480px;
  margin: 0 auto 30px;
}
.landing .title strong {
  font-weight: 500;
  color: #4e56ff;
}
.landing .actions {
  margin-bottom: 45px;
}
.landing .actions a {
  display: block;
  width: 250px;
  padding: 8px;
  line-height: 1.4em;
  font-size: 12px;
  margin: 0 auto;
  border: 1px solid #666;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  color: #666;
  margin-bottom: 15px;
}
.landing .actions a.main {
  border-color: #4e56ff;
  color: #4e56ff;
  font-weight: bold;
  width: 320px;
  font-size: 15px;
  padding: 12.5px;
}
.landing .actions .loading {
  max-width: 480px;
  color: #333;
  font-size: 16px;
  text-align: center;
  margin: 0 auto 15px;
  line-height: 48px;
}
.landing .description {
  max-width: 480px;
  color: #666;
  font-size: 15px;
  text-align: center;
  margin: 0 auto;
}
.landing a {
  color: #4e56ff;
}
.landing .more {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: #f7f7f7;
}
.landing .more .inner {
  width: 640px;
  height: 80px;
  margin: 0 auto;
  display: flex;
}
.landing .more a.preview {
  display: block;
  position: relative;
  top: -75px;
  width: 287px;
  height: 155px;
}
.landing .more a.preview img {
  width: 287px;
  height: 155px;
}
.landing .more span {
  font-size: 15px;
  padding-left: 8px;
  line-height: 20px;
  margin-top: 30px;
}
.landing .more span a {
  color: #4e56ff;
  font-weight: 500;
  text-decoration: none;
}

#billing section {
  margin-bottom: 40px;
}
#billing h2 {
  font-size: 18px;
  line-height: 1em;
  font-weight: 500;
  color: #4e56ff;
  margin-bottom: 10px;
}
#subscription div {
  display: flex;
  width: 100%;
  justify-content: space-between;
  line-height: 70px;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
}
#subscription div:last-child {
  border: 0;
}
#subscription div > * {
  margin-left: 15px;
}
#subscription div span.label {
  flex: 1;
  color: #999;
  margin: 0;
}
#subscription div a.button {
  margin: 18.5px 0 18.5px 15px;
}
#subscription .content {
  display: flex;
}
#subscription .content.edit {
  display: none;
}
#subscription .content > * {
  margin-left: 15px;
}
#subscription #card-element {
  width: 400px;
  height: 44px;
  margin: 13px 0;
  border: 0;
}
#invoices ul {
  list-style: none;
}
#invoices li {
  display: flex;
  width: 100%;
  justify-content: space-between;
  line-height: 70px;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
}
#invoices li:last-child {
  border: 0;
}
#invoices li > * {
  margin-left: 30px;
}
#invoices li span.id {
  flex: 1;
  margin: 0;
}
#invoices li span.date,
#subscription span.date {
  color: #999;
}
#invoices li a.button {
  margin: 18.5px 0 18.5px 30px;
}

.social-connect {
  border-radius: 5px;
  margin-bottom: 10px;
}
.social-connect:last-of-type {
  margin-bottom: 0;
}
.social-connect a {
  display: block;
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  color: #fff;
}
#fb a {
  background: #3b5998 url('../img/facebook-logo.png') left no-repeat;
  background-size: 50px 50px;
}
#gg a {
  background: #de5246 url('../img/google-logo.png') left no-repeat;
  background-size: 50px 50px;
}

@media screen and (max-height: 880px) {
  div.log .content {
    display: block;
  }
}

@media screen and (max-width: 1400px) {
  div.log .content {
    width: 50%;
  }
  div.log .visual {
    width: 50%;
  }
}

@media screen and (max-width: 1200px) {
  div.log {
    background: url('../img/shapes.svg') 210px center no-repeat;
  }
}

@media screen and (max-width: 1120px) {
  div.log .content {
    width: 60%;
  }
  div.log .visual {
    width: 40%;
  }
}

@media screen and (max-width: 933px) {
  div.log .content {
    width: 70%;
  }
  div.log .visual {
    width: 30%;
  }
}

@media screen and (max-width: 800px) {
  div.log .content {
    width: 80%;
  }
  div.log .visual {
    width: 20%;
  }
}

@media screen and (max-width: 700px) {
  div.log .content {
    width: 100%;
    padding: 90px 60px;
  }
  div.log .visual {
    display: none;
  }
}

@media screen and (max-width: 937px) {
  #members .more {
    margin: 0;
  }
}

@media screen and (max-width: 750px) {
  h1 {
    display: none;
  }
  body.settings h1 {
    display: block;
  }
  header .user p {
    display: none;
  }
  #storage .progress {
    display: none;
  }
  #members .more strong {
    font-size: 16px;
  }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.25),
  only screen and (min--moz-device-pixel-ratio: 1.25),
  only screen and (-o-min-device-pixel-ratio: 1.25/1),
  only screen and (min-device-pixel-ratio: 1.25),
  only screen and (min-resolution: 200dpi),
  only screen and (min-resolution: 1.25dppx) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
