h1,
h2,
p {
  margin: 0;
}

  body {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
  }

  .container {
    width: 350px;
    color: #fff;
    background-color: #1f2937;
  }

  .top {
    background-color: #6943ff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .title {
    font-size: 24px;
    line-height: 26px;
    margin-top: 15px;
  }

  .unit-input {
    width: 100px;
    height: 74px;
    color: #fff;

    font-family: inherit;
    font-weight: 500;
    font-size: 50px;
    text-align: center;
  
    background-color: #6943ff;
    border-radius: 5px;
    border: 2px solid #b295ff;
    margin: 15px 0 15px;
  }

  .unit-input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }

  .unit-input::placeholder {
    font-family: inherit;
    font-weight: 500;
    font-size: 54px;
    text-align: center;
    color: #fff;
  }

  .btn {
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    border-radius: 5px;
    border: none;
    color: #3d3d3d;
  
    padding: 9px 27px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .units-container {
    padding-inline: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
  }

  .unit-block {
    background-color: #273549;
    padding: 15px 40px;
  }

  .unit-title {
    font-size: 16px;
    color: #ccc1ff;
    margin-bottom: 9px;
  }

  .unit-descripton {
    font-weight: 400;
    font-size: 14px;
  }

@media (min-width: 600px) {
  body {
    margin: 126px 0;
  }

  .container {
    width: 550px;
  }

  .title {
    font-size: 28px;
    line-height: 38px;
    margin-top: 33px;
  }

  .unit-input {
    width: 117px;
    height: 83px;

    font-weight: 800;
    font-size: 58px;

    margin: 30px 0 25px;
  }

  .unit-input::placeholder {
    font-weight: 800;
    font-size: 58px;
  }

  .btn {
    margin-bottom: 34px;
  }

  .units-container {
    padding-inline: 25px;
    gap: 24px;
    margin: 36px 0;
  }

  .unit-block {
    padding: 31px 77px;
  }

  .unit-title {
    font-size: 20px;
  }

  .unit-descripton {
    font-weight: 400;
    font-size: 14px;
  }
}