body {
  font: 400 .7rem arial;
  background: linear-gradient(to bottom,rgb(0, 26, 255),rgb(0, 119, 255))10%;
}

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

main {
  background-color: rgb(0, 132, 255);
  padding: 10rem 1rem;
  width: 15.6rem;
  margin: auto;
  border-inline: 1px solid rgb(0, 89, 255);

  & section {
    width: 100%;
  }

  & h1 {
    text-align: center;
  }
  
  & .speedCar {
    display: grid;
    gap: 0.5rem;
    justify-content: center;

    & >div:nth-child(2) {
        display: flex;  
        gap: 0.5rem;
        align-items: center;

        & #txtvel {
          width: 10rem;
        }
      }
  
    & input {
      height: 30px;
      display: grid;
      align-self: center;
      font: 400 1rem arial;
      text-align: start;
      padding-left: 0.7rem;
      border-radius: 0.5rem;
      outline: 1px solid rgb(0, 110, 255);
      transition: outline 450ms,background-color 450ms;
    }

    & input,input:focus,input:hover{
      border: none;
    }

    & input:hover{
      background-color:  rgb(179, 224, 228);
    }

    & input:nth-child(2):focus{
      outline: 0.8px solid red;
    }

    & #buttonVerify {
      cursor: pointer;
    }
  }
}

@media (width >=30rem){
  main{
    width: 31rem;
    margin: auto;
    height: 30rem;

    & .speedCar  {
      margin-top: 2rem;
      display: flex;
      align-items: center;
      & p {
        font: 500 1rem arial;
      }

      & input {
        font: 400 1rem arial;
        width: 7rem;
      }
    }
  }
}


