html, body {
  padding: 0;
  margin: 0;
  font-family: Comfortaa, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
  Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  background: lightcoral;
}

.elephant-clock {
  position: absolute;
  width: 260px;
  height: 450px;
  background: url('../images/elephant_clock_jazari.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0 0;
  top: 20;
  left: calc(50vw - 530px);

  cursor: hand;
}

a {
  color: inherit;
}

.container {
  background: transparent;
  min-width: 600px;
  max-width: 600px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
  width: 100%;
  margin-top: 0.5rem;
}

.verticalline {
  margin: 1rem 0;
  border-right: 1px dashed lightcoral;
}

.horizontalline {
  border-top: 1px dashed lightcoral;
  height: 3px;
  margin: 0 1rem;
}

.main {
  width: 90%;
  flex: 1; /* to stretch the content to fill the rest of the space */
  align-items: center;
  padding-bottom: 5rem;
}


.footer {
  background: whitesmoke;
  width: 100vw;
  padding: 1rem;
  
  display: flex;
  justify-content: center;
  border-top: 1px solid #CD5C5C;
}

.grid {
  margin-top: 2rem;
  border: 1.5px solid #efefef;
  border-radius: 35px;
  background: rgb(241,197,196);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px 2px #CD5C5C;
}

.grid > :first-of-type {
  margin-top: 0px;
  border-top: 0px;
}
.grid > *:not(:first-of-type) {
  margin-top:  2px;
  border-top: 1.5px solid #efefef;
}

.card {
  display: flex;
  height: 220px;
  flex-direction: column;
  justify-content: center;
}

.card .row {
  display: flex;
  align-items:center;
  justify-content: center;
}

.card .row-top {
  display: flex;
  font-size: 2rem;
  align-items: center;
  padding: 1rem 0.7rem;
  padding-bottom: 0.5rem;
}

.card .row-bottom {
  flex: 1;
  display: flex;
  font-size: 2rem;
}

.card input[type=text] {
  text-align: center;
  background: transparent;
  color: #efefef;
  border: none;
  padding: 0.3rem;
  margin: 0;
  margin-left: 0.5rem;
}

.card input[type=text]:focus {
  background: white;
  color: lightcoral;
  outline: none !important;
  border-color: lightcoral;
  box-shadow: 0 0 10px lightcoral;
}

::selection { background: rgb(237,182,181, 0.4); }

input[type=number] {
  font-family: Montserrat;
  margin-top: -10px;
  padding: 0;
  background: transparent;
  text-align: center;
  font-size: 1.3rem;
  border: none;
  width: 53px; /* for Firefox not to stretch the input box to infinity */
}

input[type=number]:disabled {
  opacity: 0.5;
}

input[type=number]:focus {
  background: white;
  color: black;
  outline: none !important;
  border-color: lightcoral;
  box-shadow: 0 0 10px lightcoral;
}

/* for Chrome to show always show the arrows, otherwise they only show when mouse is over */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  
   opacity: 1;
}

.card-flex {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #e94c4c;
}

.card-fix {
  width: 12%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  padding: 0.5rem 1rem;
}

.card .pseudo-column {
  width: 10px;
  text-align: center;
}

.card .column {
  width: 80px;
  text-align: center;
}

.form-row {
  color: darkslategray;
  padding: 0.8rem;
  font-size: 1rem;
}

.form-row button {
  all: unset;
  font-size: 1rem;
  text-align: center;
  color: #efefef;
  padding: 0.7rem 0;
  background: #eb5a5a;
  border-radius: 5px;
  width: 100%;
  cursor: hand;
}

.sign-up-form {
  padding: 0 0 2rem 0;
  margin: 0;
}



.title a {
  color: #0070f3;
  text-decoration: none;
}

.title a:hover,
.title a:focus,
.title a:active {
  text-decoration: underline;
}

.title {
  margin: 0;
  line-height: 1.15;
  font-size: 4rem;
}

.title,
.description {
  text-align: center;
}


.plus_button_row {
  padding: 1em 0;
  display: flex;
  justify-content: center;
}

.plus_button {
  width: 40px;
  height: 40px;
  background: url("../images/plus_button.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0px;
  opacity: 0.7;
  cursor: pointer;
}

.plus_button:hover {
  opacity: 0.9;
}

.plus_button:active {
  transform: scaleX(0.96) scaleY(0.96);
}

.play-button {
  width: 60px;
  height: 20px;
  background: url("../images/start_button.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0px;
  cursor: pointer;
}

.play-button:disabled {
  opacity: 0.5;
}


.stop-button {
  width: 60px;
  height: 20px;
  background: url("../images/stop_button.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0px;
  cursor: pointer;
}

.stop-button:disabled {
  opacity: 0.7;
}

.delete-button {
  all: unset;
  width: 20px;
  height: 20px;
  margin: 10px;
  background: url("../images/delete_button.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  opacity: 0.7;
  cursor: pointer;
}

.refresh-button {
  margin-right: 5px;
  width: 20px;
  height: 20px;
  background: url("../images/refresh_button.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0px;
  opacity: 0.7;
  cursor: pointer;
}

.done-button {
  margin-right: 5px;
  width: 20px;
  height: 20px;
  background: url("../images/done_button.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0px;
  opacity: 0.7;
  cursor: pointer;
}

.report-button {
  width: 28px;
  height: 31px;
  background: url("../images/report_button.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0px;
  opacity: 0.7;
  cursor: pointer;
}

.chronometer {
  width: 31px;
  height: 33px;
  margin-top: -2px;
  background: url("../images/chronometer.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  opacity: 0.7;
}

.eggtimer {
  width: 30px;
  height: 30px;
  background: url("../images/eggtimer.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  opacity: 0.7;
}

/* ************ */
/* form styling */
/* ************ */


input[type=text],input[type=password] {
  font-family: inherit;
  font-size: inherit;
  padding: 0.5rem;
  margin-top: 0.5rem;
  width: 100%;
}

input[type=password]:hover {
  background: white;
}

input[type=password]:focus {
  background: white;
  outline: none;
}

input[type=checkbox] {
  transform: scale(1.5);
}

input[type=submit], input[type=reset] {
  font-size: inherit;
  padding: 1rem;
}


/* ********************** */
/* navigation bar styling */
/* ********************** */
.navbar {
  padding: 1rem 0;
  color: #efefef;
  display: flex;
}

.navbar .logo {
  all: unset;
  color: #efefef;
  padding: 0;
  margin: 0;
  font-family: Comfortaa;
  font-size: 3rem;
  font-weight: 900;
  border: none;
}

.navbar .logo:hover {
  background: transparent;
}

.navbar .right {
  flex: 1;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.navbar a {
  /*all: unset; /* to clear the regular styling for a href elements */
  border-radius: 5px;
  display: block;
  text-align: center;
  margin-left: 0.5rem;
  padding: 0.5rem;
}

.navbar a:hover {  
  background: rgb(255, 255, 255, 0.5);
}

/* *************** */
/* tab bar styling */
/* *************** */

.tabs {
  width: 45%;
  background: rgb(241,197,196);
  /*background:  rgb(255, 255, 255, 0.2);*/
  color: #e94c4c;
  border-radius: 30px;
  margin: 2rem auto; /* space from top and bottom, center horizontally */
  display: flex;
}

.left-tab {
  all: unset;
  border-radius: 30px 0 0 30px;
  padding: 0.5rem 0;
  flex: 1;
  text-align: center;
  cursor: pointer;
}

.right-tab {
  all: unset;
  border-radius: 0 30px 30px 0;
  padding: 0.5rem 0;
  flex: 1;
  text-align: center;
  cursor: pointer;
}



/* modal window for signup and login */
.modal {
  display: none; 
  position: fixed;
  z-index: 1; /* Sit on top */
  left: auto;
 /* background-color: rgba(0,0,0,0.2); */
  background-color: lightcoral;
  justify-content: center;
  height: 100%;
}

.modal-container {
  min-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

