@font-face {
  src:
    url("../fonts/SuisseIntl-Book.woff2"),
    url("../fonts/SuisseIntl-Book.woff");
  font-family: Suisse;
  font-weight: normal;
}

@font-face {
  src:
    url("../fonts/SuisseIntl-Bold.woff2"),
    url("../fonts/SuisseIntl-Bold.woff");
  font-family: Suisse;
  font-weight: bold;
}

html {
  margin: 0;
  height: 100%;
  -webkit-font-smoothing: antialiased;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  position: relative;
  margin: 0 auto;
  padding: 36px;
  min-height: 100%;
  max-width: 540px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: Suisse, sans-serif;
  color: white;
  background-color: #323131;
}

.header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.logo {
  margin: 0;
  font-weight: bold;
  font-size: 24px;
}

.button {
  border: 1px solid white;
  padding: 10px 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  -webkit-transition: opacity .3s;
  -o-transition: opacity .3s;
  -moz-transition: opacity .3s;
  transition: opacity .3s;
  cursor: pointer;
}

body.has-hover .button:hover {
  opacity: .5;
}

.image {
  display: block;
  margin: 60px auto 50px;
  width: 80%;
}

.advice {
  margin-bottom: 70px;
  font-weight: bold;
  font-size: 42px;
  line-height: 1.1;
}

.title {
  display: inline;
  margin: 0;
  font-weight: bold;
  font-size: 1em;
  -webkit-transition: all .5s ease-in-out 0s;
  -o-transition: all .5s ease-in-out 0s;
  -moz-transition: all .5s ease-in-out 0s;
  transition: all .5s ease-in-out 0s;
}

.phrase {
  display: inline;
  margin: 0;
  font-size: 1em;
}

.footer {
  position: absolute;
  bottom: 36px;
  margin: 0;
  font-size: 16px;
}

@media screen and (max-width: 380px) {
  body {
    padding: 36px 20px;
  }

  .header {
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -moz-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }

  .button {
    margin-top: 10px;
  }

  .image {
    width: 90%;
  }
}