@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#canvas {
  width: 50%;
  height: 50%;
  position: center;
  top: 1;
}

.text {
  font-size: 20px;
  font-weight: bold;
  color: #d24e4e;
  margin-bottom: 20px;
}
button {
  background: #333;
  color: #fff;
  border: 0;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.card {
  background: #f4f4f4;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 7px 20px;
  width: 300px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.form-input {
  margin-bottom: 20px;
}

label {
  margin-right: 10px;
  font-weight: bold;
}

/* Media queries */

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column-reverse;
  }
  #canvas {
    width: 100%;
    height: 100%;
  }
  .card {
    position: relative;
    width: 100%;
  }
}
