:root {
  --hBorder: 50px;
  --wFrame: 19.1vw;
  --wCenter: 70vw;
  --wLF: 40vw;
    --pR: 19;
    --pG: 50;
    --pB: 74;
    --sR: 69;
    --sG: 115;
    --sB: 150;
  }
}

body {
  display: grid;
  background-image: url(../images/workout-background.png);
  background-size: 100vw 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.under-body {
  display: table;
  position: relative;
}

.frame {
  display: flexbox;
  position: absolute;
  justify-content: space-between;
}

.top-frame {
  width: 100vw;
  height: 10vh;
}

.left-frame {
  z-index: 1100;
  width: 10vw;
  height: 325vh;
  float: left;
}

.right-frame {
  display: grid;
  position: fixed;
  width: var(--wFrame);
  height: 90vh;
  right: 0%;
  background-color: rgb(var(--pR), var(--pG), var(--pB));
}

.exercise-section {
  display: block;
  position: relative;
  width: 80vw;
  height: auto;
}

.top-exe-frame {
  display: table;
  position: fixed;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  width: 100vw;
  height: 10vh;
  background-color: rgb(var(--pR), var(--pG), var(--pB));
}
.nav_container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 10vh;
}

.clock-panel {
  display: flex;
  font-size: 35px;
  justify-content: center;
  align-items: center;
  background-color: aqua;
  position: absolute;
  right: 0;
  top: 0;
  height: 100px;
  width: 20vw;
}

.exercise-graphs {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  width: 250px;
  height: 50px;
  font-size: 20px;
  margin: 5px;
  text-align: center;
  background-color: rgb(255, 255, 0);
}
.on-off {
  display: flex;
  width: 250px;
  margin-left: 60px;
  justify-content: center;
}

.exercise-metric {
  display: grid;
  width: 250px;
  height: 50px;
}

.total-rr-metric {
  display: flex;
  width: 150px;
  align-items: center;
  text-align: right;
  height: 50px;
  font-size: 20px;
  color: rgb(255, 255, 255);
  float: right;
}
.total-metric {
  width: 100px;
  height: 40px;
  font-size: 20px;
  text-align: center;
  float: left;
}

.back-link {
  font-size: 40px;
  color: white;
}

.back-top {
  display: flex;
  height: 100px;
  align-items: center;
  justify-content: right;
}

.rest-value-panel {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 100px;
  width: 90%;
}

.rest-value {
  width: 250px;
  height: 50px;
  margin-right: 50px;
  text-align: center;
  font-size: 50px;
  color: rgb(255, 0, 0);
}

.test-frame {
  display: flex;
  align-items: center;
  height: 100px;
  width: 200px;
}

.test-frame-one {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 600px;
}

.interval-label {
  width: 250px;
}

.test {
  width: 50px;
  height: 100px;
}
.test-label {
  margin-left: 10px;
  width: 50px;
  font-size: 35px;
}

.exercise-number {
  display: flex;
  position: relative;
  width: 10vw;
  height: auto;
  margin-top: 50px;
  text-align: center;
  align-items: center;
  border: 2px solid black;
}

.e-one-image {
  width: 10vw;
  height: auto;
}

.excersise-parent-block {
  margin-top: 25px;
}

.number {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 10vw;
}

.exercise-units {
  display: flex;
  position: relative;
  width: 79.5vw;
  height: auto;
  top: 50px;
}

.unit-one{
  margin-top: 75px !important;
}

.unit-child{
  height: 25vh;
  width: 79.5vw;
}

.exercise-block {
  display: flex;
  position: relative;
  justify-content: space-around;
  width: 69vw;
  height: 20vh;;
  background-color: rgb(var(--sR), var(--sG), var(--sB));
}
.exercise-row {
  display: grid;
  align-items: center;
  justify-content: space-around;
  position: relative;
  width: 10vw;
  height: auto;
  padding: 5px;
  background-color: rgb(var(--pR), var(--pG), var(--pB));
}

.execise-info {
  display: grid;
  justify-content: center;
  position: relative;
  width: 10vw;
  height: 50px;
  padding: 5px;
}

.label-name {
  display: flex;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.twxtbox {
  display: flex;
  width: 8vw;
  height: 25px;
  justify-content: center;
  font-size: 100%;
}

/* START STOP BUTTONS */

.start-stop {
  display: grid;
  justify-content: center;
}

.button-label {
  margin: 10px;
  width: 250px;
  font-size: 30px;
  text-align: center;
}

.button-ss {
  width: 250px;
  height: 100px;
  margin: 10px;
}

/* TOTLAL TIME OUTPUT */

.tt-time {
  display: grid;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.total-times-label {
  width: 250px;
  height: 20px;
  font-size: 20px;
  margin: 5px;
  text-align: center;
}

.total-rr-label {
  width: 250px;
  height: 20px;
  font-size: 20px;
  margin: 5px;
  color: white;
  display: flex;
  justify-content: center;
}

.total-time {
  width: 250px;
  height: 50px;

  text-align: center;
  background-color: aqua;
  font-size: 25px;
  color: black;
}

.button-rr {
  width: 255px;
  height: 50px;
}

.rep-top {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* REST AND REP TIME OUTPUT */

.reps-rest {
  display: grid;
  justify-content: center;
}

.rr-time {
  width: 250px;
  height: 100px;
  margin: 10px;
  text-align: center;
  background-color: aqua;
}

.twxtbox {
  font-size: 25px;
  text-align: center;
  color: black;
}

.undertime {
  font-size: 25px;
  text-align: center;
  color: black;
}

.overtime {
  color: red;
}
