body {
  font-family: Cambria, Cochin, Georgia, Times, serif;
  margin: 0;
  transition: background-color 1.8s;
}

.pagina {
  background: url('bloquinho-min.jpg') repeat-y;
  background-size: 100%;
  box-shadow: 4vw 4vh 30px rgba(0, 0, 0, 0.7);
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10%;
  padding-top: 2px;
  width: 53%;
}

.catavento {
  animation: gira-flow 2s linear infinite;
  background: url('https://cdn.pixabay.com/photo/2017/07/05/02/04/pinwheel-2473218_960_720.png') no-repeat;
  background-position: 21.5% 25%;
  background-size: 250px 250px;
  border-radius: 50%;
  height: 70px;
  margin-left: 88%;
  position: absolute;
  top: 0%;
  width: 70px;
}

h1 , p {
  background-color: white;
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px;
  width: 60%;
}

h1 {
  position: relative;
}

input {
  background-color: rgba(236 , 230 , 172 , 0.842);
  border-radius: 5px;
  color: rgb(31 , 31 , 192);
  display: block;
  font-weight: 600;
  height: 20px;
  margin-bottom: 5px;
  text-indent: 6px;
  transition: width 1s ease-in-out;
  width: 20%;
}

input:hover {
  width: 60%;
}

.botoes {
  background: rgba(119, 128, 122, 0.411);
  border-radius: 15px;
  margin-top: 5px;
  width: 55%;
}

button {
  background-color: rgba(19, 74, 177, 0.801);
  border-radius: 10px;
  color: white;
  font-weight: 900;
  height: 30px;
}

button , li {
  cursor: pointer;
}

input:hover , button:hover {
  border: 2px solid blue;
  box-shadow: 1px 1px 3px black;
}

.selected {
  background-color: rgb(128, 128, 128);
}

.completed {
  text-decoration: line-through;
}

ol {
  border: 4px solid rgb(107 , 141 , 252);
  margin-left: 5px;
  margin-top: 5px;
  padding: 0;
  width: 60%;
}

li {
  background-color: white;
  border-bottom: 1px solid black;
  font-weight: 700;
  list-style-position: inside;
  padding: 2px;
  word-wrap: break-word;
}

li:hover {
  animation: boom-fx 1s ;
}

@keyframes gira-flow {

  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes boom-fx {

  0% {
    background: purple;
    border-left: 2px solid orange;
  }

  50% {
    border-top: 2px solid orange;
  }

  100% {
    background: aqua;
    border-right: 2px solid orange;
  }
}

.msgAlert {
  background-color: lightblue;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
  color: rgb(70, 70, 70);
  display: none;
  font-size: 2.3vh;
  font-weight: 600;
  padding: 5px;
  text-align: center;
  text-shadow: 1px 1px 4px yellow;
  width: 15vw;
}

.pelicula {
  background: transparent;
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.modal {
  align-items: center;
  background: rgb(49, 47, 47);
  border: 4px inset white;
  border-radius: 22px;
  box-shadow: 5px 5px 15px black;
  color: white;
  display: flex;
  flex-direction: column;
  font-size: 4vh;
  font-weight: 700;
  height: 200px;
  justify-content: center;
  margin-top: -220px;
  text-align: center;
  transition: margin-top 1000ms;
  width: 20%;
}

@media screen and ( max-width : 460px ) {

  .pagina {
    width: 75%;
  }

  header {
    width: 100vw;
  }

  header h1 , header p {
    margin: 13px 0;
  }

  .pagina header {
    text-align: center;
  }

  input {
    animation: entrada-item 2s;
    transition: width 1s ease-in-out;
    width: 60%;
  }

  @keyframes entrada-item {

    0% {
      width: 10%;
    }

    25% {
      width: 60%;
    }

    50% {
      width: 25%;
    }

    100% {
      width: 60%;
    }
  }

  .botoes {
    background: rgba(128, 128, 128, 0.438);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    padding: 1px;
    width: 85%;
  }

  .botoes button {
    width: 100%;
  }

  ol {
    width: 85%;
  }

  .msgAlert {
    width: 80%;
  }

  .modal {
    width: 100%;
  }
}

@media screen and ( min-width : 461px ) and ( max-width : 1050px ) {

  .pagina {
    width: 70%;
  }

  header {
    text-align: center;
    width: 90vw;
  }

  input {
    width: 65%;
  }

  .botoes {
    background: rgba(128, 128, 128, 0.438);
    border-radius: 8px;
    margin-top: 10px;
    padding: 1px;
    width: 82%;
  }

  ol {
    width: 80%;
  }

  .msgAlert {
    width: 50%;
  }

  .modal {
    width: 90%;
  }
}
