@import url('fonts/stylesheet.css');

@media (max-width: 50em), (max-aspect-ratio: 3/2) {
  #container {
    flex-direction: column;
  }

  #preview {
    margin: 50px;
    text-align: center;
  }

  #preview-frame {
    width: 50vw;
    max-width: 15em;
  }
}

@media (min-width: 50em) and (min-aspect-ratio: 3/2) {
  #container {
    flex-direction: row;
  }

  #right-placeholder {
    width: 33vw;
    min-width: 52vh;
  }

  #badge-top {
    display: none;
  }

  #preview {
    margin: initial;
    text-align: initial;
    position: absolute;
    right: 0;
    top: 0;
    width: 33vw;
    min-width: 52vh;
    height: 100%;
    overflow: hidden;
  }

  #preview > div {
    top: 10vh;
  }

  #preview-frame {
    width: initial;
    max-width: initial;
    height: 99vh;
    min-height: 30em;
  }
}

body {
  margin: 0;
  font-family: 'Jost';
  font-size: 1.1em;
  background-color: #181818;
  color: #f8f5ff;
  position: relative;
}

#container {
  display: flex;
  position: relative;
  flex: 1;
  min-height: 100vh;
}

#text-container {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 4vh 8vw 4vh;
}

#main-text {
  flex: 1;
}

#preview > div {
  position: relative;
  display: inline-block;
}

#preview-screen {
  width: 90%;
  height: 96.5%;
  top: 1.7%;
  left: 5.4%;
  position: absolute;
          mask-image: url(img/mask.png);
  -webkit-mask-image: url(img/mask.png);
          mask-size: 100%;
  -webkit-mask-size: 100%;
}

#logo {
  font-size: 3em;
  margin: 0.5em auto;
  color: #50d4b1;
}

#privacy {
  font-size: 1rem;
}

a {
  color: #50d4b1;
  display: block;
}

.badge-container {
  display: flex;
  flex-direction: row;
  margin: 1em 0;
  align-items: center;
}

.app-badge-apple {
  width: 8em;
}

.app-badge-google {
  width: 10em;
}

img {
  display: block;
}

#screens {
  display: none;
}
