@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");

body {
  font-family: "Lato", sans-serif;
  text-align: center;
  box-sizing: border-box;
  color: #323232;
  font-weight: 400;
  margin: 0;
}

input {
  margin: 0;
  text-align: center;
  border: 1px solid #ddd;
}
.container {
  margin-top: 0px;
  margin-bottom: 50px;
}
.matrices {
  align-items: center;
  display: none;
  justify-content: center;
}

.matrixAOut {
  border-spacing: 0;
}

.matrixBOut {
  border-spacing: 0;
}

.matrixA {
  position: relative;
}

.matrix {
  padding: 2px;
  position: relative;
}

.leftBracket {
  background-color: #323232;
  bottom: 0;
  left: 0;
  position: absolute;
  top: 0;
  width: 2px;
}

.rightBracket {
  background-color: #323232;
  bottom: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
}
.leftBracket::before {
  background-color: #323232;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: 0;
  width: 9px;
}

.leftBracket::after {
  background-color: #323232;
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 9px;
}

.rightBracket::before {
  background-color: #323232;
  content: "";
  height: 2px;
  position: absolute;
  right: 0;
  top: 0;
  width: 9px;
}

.rightBracket::after {
  background-color: #323232;
  bottom: 0;
  content: "";
  height: 2px;
  position: absolute;
  right: 0;
  width: 9px;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}
.cell {
  background-color: rgba(255, 255, 255, 0);
  border: none;
  color: #323232;
  display: block;
  font-family: "Source Sans Pro", sans-serif;
  height: 48px;
  line-height: 49px;
  padding: 0;
  text-align: center;
  text-indent: 0;
  width: 48px;
}

.tempEqualsSign {
  color: #686868;
  font-size: 24px;
  margin: 1em;
}

input:hover {
  box-shadow: -2px 2px 3px #323232 inset;
}
.controlPanel {
  align-items: center;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.8) 92px,
    rgba(255, 255, 255, 0.8) 126px,
    rgba(255, 255, 255, 0) 100%
  );
  display: flex;
  justify-content: center;
  padding-bottom: 40px;
  padding-top: 86px;
  position: relative;
  z-index: 2;
}
#multiply-1 {
  background-color: #33cc33;
  border: none;
  box-shadow: 0 1px 1px 0 #c5c5c5;
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  padding: 8px 16px;
}

.rowResizer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 10px;
  z-index: 3;
}

.decreaseRowA,
.decreaseRowB,
.decreaseColA,
.decreaseColB {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  box-shadow: 0 1px 1px 0 #c5c5c5;
  color: #686868;
  cursor: pointer;
  font-size: 20px;
  height: 30px;
  line-height: 30px;
  margin: 4px;
  text-align: center;
  width: 30px;
}

.increaseRowA,
.increaseRowB,
.increaseColA,
.increaseColB {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  box-shadow: 0 1px 1px 0 #c5c5c5;
  color: #686868;
  cursor: pointer;
  font-size: 20px;
  height: 30px;
  line-height: 30px;
  margin: 4px;
  text-align: center;
  width: 30px;
}

.colResizerContainer {
  position: relative;
}

.colsResizer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  left: -20px;
  margin: 10px 0;
  min-width: 76px;
  position: absolute;
  right: -20px;
  z-index: 3;
}

/* Inputs CSS*/

.input {
  display: flex;
  justify-content: center;
  text-align: left;
}

.input-form {
  margin-left: 10px;
  margin-right: 10px;
}
.input-form > section {
  margin-left: 15px;
  margin-right: 15px;
}
.input-form > section > h2 {
  text-align: center;
}
.input-breaker > h1 {
  margin: 0;
}

label {
  display: inline-block;
  width: 290px;
}

/* Create Button */
#multiply-2 {
  background-color: #318dfe;
  display: none;
  border: none;
  box-shadow: 0 1px 1px 0 #c5c5c5;
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  padding: 8px 16px;
}

/* Arrows */
.arrows {
  display: flex;
  flex-direction: column;
  width: 40px;
  margin-left: 150px;
  margin-top: 40px;
}

.hid {
  display: none;
}

#multiply-3 {
  background-color: #318dfe;
  display: none;
  border: none;
  box-shadow: 0 1px 1px 0 #c5c5c5;
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  padding: 8px 16px;
}

#multiply-4 {
  background-color: #318dfe;
  display: none;
  border: none;
  box-shadow: 0 1px 1px 0 #c5c5c5;
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  padding: 8px 16px;
}

.container-inside {
  display: flex;
}

.lineMat1,
.lineMat2,
.lineMat3,
.lineMat4,
.lineMat5,
.lineMat6,
.lineMat7,
.lineMat11,
.lineMat12,
.lineMat21,
.lineMat22,
.mat-final-1,
.mat-final-2 {
  display: none;
  margin: 20px;
}

#multiply-5 {
  background-color: #318dfe;
  display: none;
  border: none;
  box-shadow: 0 1px 1px 0 #c5c5c5;
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  padding: 8px 16px;
}

.valued {
  width: 50px;
}

.output-matrices {
  display: none;
}

#multiply-6 {
  background-color: #318dfe;
  display: none;
  border: none;
  box-shadow: 0 1px 1px 0 #c5c5c5;
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  padding: 8px 16px;
}

#multiply-7 {
  background-color: #318dfe;
  display: none;
  border: none;
  box-shadow: 0 1px 1px 0 #c5c5c5;
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  padding: 8px 16px;
}
