.multiplication_layout {
  display: inline-grid;
  margin-top: 1rem;
  width: 100%;
}
.btn_section {
  display: flex;
  justify-content: center;
  margin: 1rem 1rem;
  position: relative;
}
.trash_btn {
  width: 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
.trash_btn:hover,
.trash_btn:active {
  transform: scale(1.1);
}
label#labelx {
  font-size: 58px;
  font-weight: bold;
  font-family: cursive;
  text-shadow: 5px 5px 2px hsl(0, 0%, 50%);
  text-align: center;
}
label#labelMas {
  font-size: 70px;
  font-weight: bolder;
  text-shadow: 5px 5px 2px hsl(0, 0%, 50%);
  text-align: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(5, 80px);
}
#carryMultiplicacion {
  display: grid;
  grid-column: 4;
  grid-row: 1;
  padding-left: 1rem;
}
.carryinput {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  border: none;
  outline: none;
  background-color: hsl(0, 0%, 80%);
  box-shadow: 5px 5px 2px hsl(0, 0%, 45%, 0.7);
  cursor: pointer;
}
#carrySuma {
  display: grid;
  grid-column: 2;
  grid-row: 4;
  padding-left: 1rem;
}
.inputsShape {
  height: 75px;
  width: 75px;
  background-color: rgb(208, 242, 255);
  font-size: 2.7rem;
  box-shadow: 2px 2px 0.5px hsl(0, 0%, 45%, 0.7);
  border-radius: 25%;
  align-items: center;
  font-weight: bolder;
  outline: none;
  border: none;
  text-align: center;
  cursor: pointer;
}
#inputsElements {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: repeat(6, 80px) 50px;
  grid-template-rows: 50px repeat(2, 80px) 55px repeat(3, 80px);
  row-gap: 5px;
  margin: 0 auto;
  justify-content: center;
  align-content: center;
  height: fit-content;
}
#divarriba {
  display: grid;
  grid-column: 4;
  grid-row: 2;
}
.arriba::placeholder {
  color: rgb(158, 145, 202);
}
#divabajo {
  display: grid;
  grid-column: 4;
  grid-row: 3;
}
.abajo::placeholder {
  color: rgb(158, 145, 202);
}
#resultado1 {
  display: grid;
  grid-column: 3;
  grid-row: 5;
}
#resultado2 {
  display: grid;
  grid-column: 1;
  grid-row: 6;
}
#segundoresultado5 {
  opacity: 0;
}
.bordertop {
  border-top: 5px solid rgb(7, 7, 7);
  width: 26rem;
}
#resultadofinal {
  display: grid;
  grid-column: 2;
  grid-row: 7;
}
@media all and (max-width: 600px) {
  .multiplication_layout {
    margin-top: 1rem;
  }
  label#labelMas {
    font-size: 42px;
  }
  label#labelx {
    font-size: 2rem;
    text-shadow: 2px 2px 1px hsl(0, 0%, 50%);
  }
  #carryMultiplicacion {
    padding-left: 0.5rem;
  }
  .carryinput {
    width: 29px;
    height: 29px;
    font-size: 1.5rem;
    box-shadow: 2px 2px 1px hsl(0, 0%, 45%, 0.7);
  }
  .inputsShape {
    height: 50px;
    width: 50px;
    font-size: 2rem;
    font-weight: bolder;
    background-color: hsl(0, 0%, 100%);
    align-items: center;
    border-radius: 15px;
    background-color: rgb(208, 242, 255);
    justify-content: center;
    box-shadow: 1px 1px 0.5px hsl(0, 0%, 45%, 0.7);
    text-align: center;
    outline: none;
  }
  .bordertop {
    border-top: 5px solid rgb(7, 7, 7);
    width: 16rem;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(5, 52px);
  }
  .carryinput {
    font-size: 1.5rem;
    box-shadow: 2px 2px 1px hsl(0, 0%, 45%, 0.7);
  }
  #carrySuma {
    padding-left: 0.5rem;
  }
  #inputsElements {
    grid-template-columns: repeat(6, 52px);
    grid-template-rows: 32px repeat(2, 52px) 34px repeat(3, 52px);
    row-gap: 5px;
  }
}
@media all and (max-width: 375px) {
  .custom-box {
    padding: 10px;
  }
  .multiplication_layout {
    overflow: scroll;
  }
}
