.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  margin: auto;
}

.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
body {
  margin: 0;
}

.all-background {
  background-color: black;
  height: 100vh;
  width: 100vw;
}

.master {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
  background-color: black;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: fixed;
}

.header {
  height: 27vh;
  margin-top: 3vh;
  display: flex;
}

.logo {
  height: 100%;
  margin: auto;
}

.content {
  height: 70vh;
  position: relative;
}

.page {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.button, .input, .loading, .brick {
  margin: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.button {
  height: 60px;
  width: 220px;
  background-color: #d40f14;
  display: flex;
  border-radius: 15px;
}
.button span {
  margin: auto;
  color: white;
  font-family: "Trebuchet MS";
  font-size: large;
}

.opacity {
  opacity: 0;
  display: none;
}

.input {
  width: 220px;
  height: 60px;
}
.input input {
  width: 100%;
  height: 100%;
  border: 0;
  border-bottom: 1px solid white;
  background-color: black;
  color: white;
  font-family: "Trebuchet MS";
  font-size: large;
  text-align: center;
}

.brick {
  width: 90%;
  height: 80px;
  min-height: 80px;
  max-width: 400px;
  background-color: #d40f14;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  top: 0;
  margin-bottom: 10px;
}
.brick .text {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: white;
  font-family: "Trebuchet MS";
  justify-content: space-evenly;
}
.brick .text .name {
  font-size: large;
}
.brick .text .place {
  font-size: small;
}
.brick .point {
  background-color: black;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  margin: auto;
}
.brick .left {
  margin-left: 20px;
}
.brick .right {
  margin-right: 20px;
}

#content4 {
  height: unset;
  padding-top: 10px;
  padding-bottom: 20px;
}

.hint {
  text-align: center;
  color: white;
  margin-bottom: 20px;
  margin-top: 20px;
  font-family: "Trebuchet MS";
}

.video {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.camera-button {
  position: absolute;
  z-index: 3;
  bottom: 15%;
  left: 50%;
  margin-left: -110px;
}

#canvas-video {
  height: 100vw;
}

.canvas, #canvas-video {
  position: absolute;
  height: 100vw;
  width: 100vw;
  top: 0;
  left: 0;
}

.content-send {
  display: none;
  position: absolute;
  background-color: black;
  height: 30%;
  margin-bottom: 100vh-calc(var(--vh, 1vh) * 100);
  width: 100%;
  bottom: 0;
  left: 0;
  flex-direction: column;
  justify-content: space-between;
}

.mds {
  position: absolute;
  width: 100vw;
  height: 100vw;
  top: 0;
  left: 0;
}

.plan {
  width: 100%;
}

.plan-holder {
  height: 40%;
}

#content8 {
  padding-top: 2rem;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  background-color: black;
  z-index: -1;
}