/* SQUARES */

.squares {
  box-sizing: border-box;
  height: 2.5vmin;
  width: 2.5vmin;
  background-color: white;
  box-sizing: border-box;
  border: 0.1vmin solid black;
}

.squares-init {
  height: 0;
  width: 0;
}

.large-hundreds-square {
  background-color: green !important;
  width: 10vmin !important;
  height: 10vmin !important;
}

.small-square-c {
  height: 1vmin;
  width: 1vmin;
  background-color: green !important;
}

.squareC {
  box-sizing: border-box;
  background-color: green;
}

/* NUMBERS */

.num {
  display: flex;
  /* line-height: 9vmin; */
  line-height: 12vmin;
  text-align: center;
  font-size: 6vmin;
  font-family: 'Unica One', cursive;
  font-weight: bold;
  opacity: 1;
  justify-content: center;
  align-items: center;
}

.square-container-num {
  line-height: 4vmin;
  font-size: 3vmin;
  font-weight: bold;
  font-family: 'Unica One', cursive;
  color: red;
}

.zero-box-num {
  grid-area: 1 / 2 / 2 / 3;
  display: grid;
  justify-self: start;
  grid-template-columns: 1fr;
  margin-left: 1vmin;
}

/* PARENT/GRANDPARENT CONTAINERS */

#master-num-container {
  width: 98%;
  height: 12vmin;
  margin: auto;
  background-color: black;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  border-radius: 0.15rem;
  box-shadow: 1px 1px 20px 1px #800080;
}

#master-square-container {
  margin: auto;
  width: 98%;
  height: 60vmin;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  background-color: black;
  border-radius: 0.15rem;
  box-shadow: 1px 1px 20px 1px #800080;
}

.num-container {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  width: 100%;
  /* line-height: 9vmin; */
  line-height: 12vmin;
  font-size: 6vmin;
  font-family: 'Unica One', cursive;
  color: white;
  font-weight: bold;
  opacity: 1;
}

#num-container-C {
  width: 0%;
  display: flex;
  justify-content: center;
}

.square-container {
  display: grid;
  place-items: center;
  place-content: center;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  max-height: 100%;
}

#square-container-1 {
  width: 50%;
  grid-template-rows: repeat(10, 1fr);
  grid-auto-columns: 1fr;
}

#square-container-2 {
  width: 50%;
  grid-template-rows: repeat(10, 1fr);
  grid-auto-columns: 1fr;
}

#square-container-C {
  width: 0%;
  grid-template-columns: repeat(10, 2.5vmin);
  grid-template-rows: repeat(10, 2.5vmin);
}

.square-container-c-small {
  grid-template-columns: repeat(10, 1vmin);
  grid-template-rows: repeat(10, 1vmin);
}

/* SVG */

.operator-svg-container {
  display: flex;
  line-height: 11.5vmin;
  justify-content: center;
  align-items: center;
}

.multiplication-operator-svg {
  height: 2vmin;
}

.division-operator-svg {
  height: 5vmin;
  width: 12vmin;
}

.addition-operator-svg {
  height: 2vmin;
}

.subtraction-operator-svg {
  width: 2vmin;
  height: 5vmin;
}

.parenthesis-svg-container {
  display: flex;
  line-height: 9vmin;
  justify-content: center;
  align-items: center;
}

.parenthesis-svg {
  width: 6vmin;
  height: 6vmin;
}

.zero-box-svg-container {
  display: flex;
  grid-area: 1 / 2 / 2 / 3;
  line-height: 9vmin;
  justify-content: center;
  justify-self: start;
  align-items: center;
  z-index: 1;
  width: 6vmin;
}

.zero-box-num {
  grid-area: 1 / 2 / 2 / 3;
  display: grid;
  justify-self: start;
  /* width: 6vmin; */
}

.zero-box-svg {
  width: 6vmin;
  height: 7vmin;
}

/* BUTTONS */

.auth-btn {
  border-style: groove;
  background-color: #ffffff;
  border-radius: 0.25rem;
  width: 12rem;
  margin: 1rem;
  font-weight: bold;
  font-size: large;
  color: grey;
  font-size: 1rem;
}

.auth-btn:hover {
  background-color: #800080;
  color: black;
}

#btn-container {
  display: flex;
  flex-direction: column;
}

#timeline-controls-container {
  display: flex;
  width: 100%;
  margin: auto;
  justify-content: center;
}

.timeline-btn {
  width: 3rem;
  margin: 0.3rem;
  border-radius: 0.25rem;
  background-color: black;
  font-weight: bolder;
  font-size: 1rem;
  color: white;
  border: 1vmin solid black;
}

#submit-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0.2rem;
}

#submit-btn {
  width: 10rem;
  border-radius: 0.25rem;
  background-color: black;
  font-weight: bold;
  color: white;
  border: 1vmin solid black;
  justify-self: center;
}

.btn:hover {
  background-color: #800080;
  box-shadow: 2px 2px 20px 10px #800080;
}

/* USER INPUT FIELDS */

#input-container {
  width: 50%;
  margin: 1vmin auto;
  margin-bottom: 1vmin;
  display: flex;
  justify-content: space-evenly;
}

#operator-input-div {
  font-size: 4vmin;
  font-family: 'Courier New', Courier, monospace;
  width: 25%;
  display: grid;
  justify-content: center;
  justify-items: center;
  text-align: center;
  font-weight: bold;
  color: white;
  margin: auto;
  background-color: black;
  border-radius: 1rem;
  box-shadow: 1px 1px 10px #800080;
}

.number-input-box {
  width: 35%;
  text-align: center;
  margin: auto;
  font-size: 4vmin;
  font-weight: bold;
  background-color: black;
  color: white;
  border-radius: 1rem;
  box-shadow: 1px 1px 4px #800080;
}

/* MODAL */

.modal-body {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
}

#myModal {
  text-align: center;
  color: #800080;
}

/* LEGACY OPERATOR SIGNS */

#operator-sign-num-div {
  line-height: 11.5vmin;
  text-align: center;
}

#plus-sign-num-div-1 {
  display: grid;
  place-items: center;
  font-size: 0vmin;
  font-family: cursive, fantasy, serif;
  font-weight: bold;
  color: red;
}

#plus-sign-num-div-2 {
  display: grid;
  place-items: center;
  font-size: 0vmin;
  font-family: cursive, fantasy, serif;
  font-weight: bold;
  color: yellow;
}

/* ABOUT PAGE */

#selfie {
  border-radius: 5rem;
  width: 300px;
  height: 420px;
  align-self: center;
  box-shadow: 2px 2px 20px 2px black;
  visibility: hidden;
}

#selfie-container {
  display: flex;
  flex-direction: column;
  background: white;
  font-family: 'Lobster', cursive;
  margin: 1rem;
  font-size: 2rem;
  color: #800080;
  text-align: center;
  font-weight: bold;
}

.card {
  background: white;
  font-family: 'Open Sans', sans-serif;
  padding: 1rem;
  margin: 0.5rem;
  border: 1px solid black;
  border-radius: 0.25rem;
  font-size: 0.59rem;
  box-shadow: 2px 2px 2px #800080;
  text-align: center;
  height: 4rem;
  visibility: hidden;
}

#selfie-text {
  visibility: hidden;
}

/* LOGO */
.logo-svg {
  visibility: hidden;
}

/* very small mobile devices */
@media only screen and (max-width: 319px) {
  #timeline-controls-container {
    display: flex;
    width: 100%;
    margin: auto;
    justify-content: center;
  }

  .timeline-btn {
    width: 3.5rem;
    font-size: 1rem;
  }

  #submit-btn {
    width: 8rem;
  }

  .num {
    line-height: 9vmin;
    font-size: 5vmin;
  }

  #operator-sign-num-div {
    line-height: 9vmin;
    text-align: center;
    font-size: 0vmin;
    font-family: cursive, Arial;
    font-weight: bold;
  }

  #selfie {
    width: 200px;
    height: 281px;
  }

  #selfie-container {
    font-size: 1.2rem;
  }

  .card {
    padding: 1rem;
    margin: 0.2rem;
    font-size: 0.5rem;
    height: 3rem;
  }

  .num-container {
    font-size: 5vmin;
  }

  .parenthesis-svg {
    width: 3vmin;
  }

  .zero-box-svg {
    width: 5vmin;
    height: 5vmin;
  }

  #input-container {
    width: 50%;
    margin: 1vmin auto;
    margin-bottom: 1vmin;
    display: flex;
    justify-content: space-evenly;
  }

  #operator-input-div {
    width: 30%;
  }
}

/* ipads, tablets, laptops */
@media only screen and (min-width: 481px) and (max-width: 1024px) {
  .timeline-btn {
    width: 4.5rem;
    margin: 0.3rem;
  }

  #submit-btn {
    width: 15rem;
  }

  .zero-box-num {
    margin-left: 1.3vmin;
  }

  #selfie-container {
    margin: 1rem;
    font-size: 3rem;
  }

  .card {
    margin: 1rem;
    font-size: 1rem;
  }
}

/* desktops, large screens, extra large screens, TV  */
@media only screen and (min-width: 1025px) {
  .timeline-btn {
    width: 5rem;
    margin: 1rem;
  }

  #submit-btn {
    width: 20rem;
  }

  .zero-box-num {
    margin-left: 1.3vmin;
  }

  .card {
    padding: 1rem;
    margin: 0.5rem;
    font-size: 1rem;
  }

  #master-square-container {
    height: 60vmin;
  }
}

.nav-link {
  border-color: black;
  border-width: 3vmin;
}
