@font-face {
  font-family: 'Avenir Next';
  src: url(../fonts/avenir_next_regular.woff2);
}

html,
body { height: 100%; }

body {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: url(../images/earth-landing-page-background.jpg) center no-repeat;
  background-size: cover;
  font-family: 'Avenir Next', 'Roboto', sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

main {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #FFF;
  border-radius: 6px;
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2), 0px 1px 18px rgba(0, 0, 0, 0.12), 0px 6px 10px rgba(0, 0, 0, 0.14);
          box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2), 0px 1px 18px rgba(0, 0, 0, 0.12), 0px 6px 10px rgba(0, 0, 0, 0.14);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  margin: 16px;
  overflow: hidden;
  padding: 40px 24px;
  text-align: center;
  width: 100%;
}

h1 {
  color: rgba(0, 0, 0, 0.87);
  font-family: 'Avenir Next', sans-serif;
  font-size: 1.5rem;
  font-weight: normal;
  font-size: 1.5rem;
}

p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 1rem;
  letter-spacing: 0.15px;
  line-height: 24px;
}

.container_logo { margin-bottom: 24px; }

.container__text { margin-bottom: 32px; }

.container__badges {
  display:flex;
  flex-direction: column;
}

.container__badges a {
  display: block;
  margin-bottom: 16px;
}

.container__badges a img{
  height:40px;
  width:135px; 
  object-fit: cover;
}

.container__badges a.google img{
  height:60px;
  width:155px; 
}

.container__badges a:last-of-type { margin-bottom: 0; }

ms-store-badge::part(img) {
  max-width: 135px;
  height:60px;
}

.container__button {
  margin-top:20px; 
  display:none;
}

.container__button button{
  background-color:#007AC2;
  color:#ffffff;
  padding:10px; 
  border-radius:5px;
  border:0px;
}

.container__button button:hover{
  background-color:#3FA6FF;
  cursor: pointer;
}

.container__button button a {
  color:#ffffff;
  text-decoration: none;
}

/******************/
/* MEDIA QUERIES */
/*****************/

@media (min-width: 768px) {
  main { width: 764px; }

  h1 { font-size: 2.125rem; }

  p { font-size: 1.125rem; }

  .container__badges {
    flex-direction: row;
  }

  .container__badges a {
      display: -webkit-inline-box;
      display: -ms-inline-flexbox;
      display: inline-flex;
      margin-bottom: 0;
      margin:0px 20px; 
  }

  .container__badges a.google {
    margin-top:-10px;
    margin-left:10px;  
  }

  .container__badges a:last-of-type { margin-right: 0; }

  ms-store-badge::part(img) {
    max-height:40px;
  }
}