.multiplication_layout {
  display: inline-grid;
  margin-top: 2rem;
  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 Signo POR "X"*/
label#labelx {
  font-size: 2.99rem;
  display: flex;
  justify-content: center;
  font-weight: bold;
  font-family: cursive;
  text-shadow: 5px 5px 2px hsl(0, 0%, 50%);
}

/*Llevadas Inputs*/
#carryMultiplicacion {
  grid-column: 2;
  grid-row: 1;
  padding-left: 10px;
  grid-template-columns: repeat(2, 80px);
}
.carryinput {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 1.5rem;
  outline: none;
  border: none;
  font-weight: bold;
  background-color: hsl(0, 0%, 80%);
  box-shadow: 5px 5px 2px hsl(0, 0%, 45%, 0.7);
  cursor: pointer;
}

.inputsShape {
  height: 75px;
  width: 75px;
  font-size: 2.5rem;
  font-weight: bolder;
  background-color: hsl(0, 0%, 100%);
  align-items: center;
  border-radius: 18%;
  background-color: rgb(208, 242, 255);
  justify-content: center;
  box-shadow: 2px 2px 0.5px hsl(0, 0%, 45%, 0.7);
  text-align: center;
  outline: none;
  cursor: pointer;
}
/*Llevadas inputs*/
#inputsElements {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  justify-content: center;
  grid-template-columns: repeat(4, 80px);
  grid-template-rows: 58px repeat(3, 80px);
  align-content: center;
  padding: 10px;
  row-gap: 7px;
  position: relative;
  align-items: center;
  max-width: 100%;
}
.bordertop {
  border-top: 7px solid rgb(7, 7, 7);
  width: 19.8rem;
}
.grid {
  display: grid;
}
#divarriba {
  grid-column: 2;
  grid-row: 2;
  grid-template-columns: repeat(4, 80px);
}
.arriba::placeholder {
  color: rgb(158, 145, 202);
}
/*Contenedor Abajo*/
#divabajo {
  grid-column: 3;
  grid-row: 3;
  grid-template-columns: repeat(2, 80px);
}
.abajo::placeholder {
  color: rgb(158, 145, 202);
}
/*Contenedor Resultado1*/
#resultado1 {
  grid-column: 1;
  grid-row: 4;
  grid-template-columns: repeat(4, 80px);
  /* display: flex; */
}
@media all and (max-width: 475px) {
  .multiplication_layout {
    margin-top: 1rem;
  }
  #carryMultiplicacion {
    padding-left: 10px;
    grid-template-columns: repeat(2, 55px);
  }
  label#labelx {
    font-size: 2rem;
    text-shadow: 2px 2px 1px hsl(0, 0%, 50%);
  }
  .carryinput {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
    box-shadow: 2px 2px 1px hsl(0, 0%, 45%, 0.7);
  }
  .inputsShape {
    height: 55px;
    width: 55px;
    font-size: 2rem;
    font-weight: bolder;
    background-color: hsl(0, 0%, 100%);
    align-items: center;
    border-radius: 18%;
    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;
  }
  #inputsElements {
    display: grid;
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    grid-template-columns: repeat(4, 55px);
    grid-template-rows: 42px repeat(3, 55px);
    align-content: center;
    padding: 5px;
    margin: 1rem 0;
    row-gap: 7px;
    position: relative;
    align-items: center;
    max-width: 100%;
  }
  .bordertop {
    border-top: 5px solid rgb(7, 7, 7);
    width: 14.5rem;
  }
  .grid {
    display: grid;
  }
  #divarriba {
    grid-template-columns: repeat(5, 58px);
  }
  #divabajo {
    grid-template-columns: repeat(5, 58px);
  }
  #resultado1 {
    grid-template-columns: repeat(5, 58px);
  }
}
@media all and (max-width: 375px) {
  .custom-box {
    padding: 10px;
  }
  .multiplication_layout {
    overflow: scroll;
  }
}
