:root {
  --phonecolor: #111;
  --primary: rgb(4, 118, 248);
  --lighterprimary: rgb(180, 207, 238);
}

html {
  height: 100%;
}

body {
  background-color: white;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial,
    sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  font-size: 16px;
  margin: 0;
  padding: 0;
  color: black;
  text-align: center;
}

h1 {
	font-weight: 400;
  font-size: 24px;
  margin: 32px;
}

.phone {
  display: inline-block;
  position: relative;
  margin-bottom: 24px;
  width: 27.69vh;
  height: 60vh;
}

#wallpaper {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border: var(--phonecolor) solid 0.6vh;
  border-radius: 2vh;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#overlay {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  position: absolute;
  top: 0;
}

#btphone {
  z-index: -2;
  display: block;
  position: absolute;
  width: 1vh;
  height: 10vh;
  top: 8vh;
  right: -0.4vh;

  border-radius: 1vh;
  background-color: var(--phonecolor);
}

#btphone::after {
  content: '';
  z-index: -2;
  display: block;
  position: absolute;
  width: 1vh;
  height: 5vh;
  top: 12vh;
  right: 0px;

  border-radius: 1vh;
  background-color: var(--phonecolor);
}

.btn {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);

  width: 60%;
  max-width: 300px;
  height: 50px;
  border: darkgray solid 1px;
  border-radius: 6px;
  background-color: transparent;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

#upload {
  border: rgb(9, 112, 230) solid 1px;
  background-color: rgb(4, 118, 248);
  color: white;
}

#download {
  border: rgb(172, 172, 172) solid 1px;
  color: rgb(80, 80, 80);
}

.info {
  color: gray;
  margin-top: 16px;
}

.info p {
  margin: 8px;
}


.progressbar {
  position: absolute;
  top: 0;
  height: 6px;
  display: block;
  width: 100%;
  background-color: var(--primary);
  border-radius: 2px;
  overflow: hidden;
}

.indeterminate {
  background-color: var(--lighterprimary);
}
.indeterminate:before{
  content:          '';
  position:         absolute;
  background-color: inherit;
  top:              0;
  left:             0;
  bottom:           0;
  will-change:      left, right;
  animation:        indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}
.indeterminate:after {
  content:          '';
  position:         absolute;
  background-color: inherit;
  top:              0;
  left:             0;
  bottom:           0;
  will-change:      left, right;
  animation:        indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  animation-delay: 1.15s;
}
@keyframes indeterminate {
  0% {
    left: -35%;
    right: 100%;
  }
  60% {
    left: 100%;
    right: -90%;
  }
  100% {
    left: 100%;
    right: -90%;
  }
}

@keyframes indeterminate-short {
  0% {
    left: -200%;
    right: 100%;
  }
  60% {
    left: 107%;
    right: -8%;
  }
  100% {
    left: 107%;
    right: -8%;
  }
}