/***** Global Styles ******/

/***** 

Objects in the Room

#door
#screenglitch
#computer
#desk
#servers
#poster
#radiator
#mirror
#plant
#noteWrap
#box
#abacus
#phone
#tiles
#open-door

******/

/* Start global colors */

h1{
  text-align: center;
  font: 700 2.5rem/3.125rem "Open Sans", sans-serif;

}
p{
  font: 700 2.5rem/3.125rem "Open Sans", sans-serif;
  font-size: 30px;
  text-align: center;
}

:root {
  --white: #e6e6e6; /* white alt */
  --darkest-blue-color: #7b1346; /*  black alt */
  --greyish-blue-color: #7b1346;
  --bright-blue-color: #7b1346; /*Recursion*/
  --turquoise-blue-color: #7b1346; /* Tiles */
  --palest-blue-color: #7b1346; /* Mirror */
  --magenta-color: #7b1346; /* Math */
  --pink-color: #7b1346; /* Box */
}

/* End global color variables */

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  display: grid;
  align-items: center;
  justify-items: center;
  background-color: #010101;
  background-image: radial-gradient(circle, #5f4dee, #5845e7);
  font-family: "Cutive Mono", monospace;
}

svg {
  width: 100%;
  height: 100vh;
  margin: 0 auto;
}

/* Room scene */
.st0 {
  fill: var(--white);
  transition: 0.4s ease-in-out;
}
#solidfill {
  fill: var(--white);
}
#poster {
  transition: 0.4s ease-in-out;
  opacity: 1;
}

#flexboxPuzzleBtn:hover,
#mathPuzzleBtn:hover,
#puzzlerBtn:hover,
#recursionPuzzleBtn:hover,
#mirrorPuzzleBtn:hover,
#noteBtn:hover {
  cursor: pointer;
}

/* End room scene */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}



#mirrorPuzzleModal .modal-content {
  background-color: #f3f7fd;
  box-shadow: 0px 0px 30px 10px #f3f7fd;
  width: 80%;
}

#recursionPuzzleModal .modal-content {
  background-color: #f3f7fd;
  box-shadow: 0px 0px 30px 10px #f3f7fd;
  width: 500px;
}

#puzzlerModal .modal-content {
  background-color: #f3f7fd;
  box-shadow: 0px 0px 30px 10px #f3f7fd;
  width: 400px;
}

#flexboxPuzzleModal .modal-content {
  background-color: #f3f7fd;
  box-shadow: 0px 0px 30px 10px #f3f7fd;
  width: 900px;
  height: 900px;
}

#mathPuzzleModal .modal-content {
  background-color: #f3f7fd;
  box-shadow: 0px 0px 30px 10px #f3f7fd;
  width: 90%;
}

#pipePuzzleModal .modal-content {
  background-color: #f3f7fd;
  box-shadow: 0px 0px 30px 10px #f3f7fd;
  width: 450px;
  height: 500px;
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  box-shadow: 0px 0px 30px 10px #f3f7fd;
  margin: auto;
  padding: 20px;
  width: 80%;
}

/* The Close Button */
.close {
  color: var(--white);
  float: right;
  font-size: 28px;
  font-weight: bold;
  z-index: 100;
  position: relative;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/****** End Global Styles ******/

/* Cheryl Velez - Puzzler  */

#puzzler-container {
  margin: 0;
  display: flex;
  flex-direction: column;
}
#puzzler-container button {
  font-size: 19px;
  padding: 10px;
  color: var(--white);
  background: #d70000;
  margin-bottom: 8px;
  border: 5px solid #295a63f2;
  outline: 2px dashed var(--greyish-blue-color);
  transition: 0.3s ease-in-out;
}

#alert {
  position: relative;
  color: var(--dark-magenta-color);
  font-size: 32px;
  text-align: center;
}

.quote {
  position: relative;
  color: var(--white);
  font-size: 25px;
  margin-top: 10px;
  text-align: center;
  cursor: auto;
  width: 72%;
  margin: 0 auto;
  text-align: center;
}
.quote:last-of-type {
  text-align: justify;
  font-size: 18px;
  margin-bottom: 35px;
}
#puzzler-container button:hover {
  transform: scale(1.3);
}
.content {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  flex: 0 0 30%;
}
#btn-container {
  text-align: center;
}

.topContainer {
  margin-top: 20px;
  justify-content: space-evenly;
  display: flex;
}

.bottomContainer {
  margin-top: 20px;
  justify-content: space-evenly;
  display: flex;
}

.outerflex {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1;
  height: 66vh;
}
#puzzler-container button {
  cursor: pointer;
}

.outerBorder {
  border: 2px dashed var(--greyish-blue-color);
  padding: 5px;
  height: fit-content;
  width: fit-content;
  margin: 10px;
}

.tile {
  width: 100px;
  height: 100px;
  z-index: 1000;
  box-sizing: border-box;
  cursor: move;
  border: 5px solid var(--darkest-blue-color);
}
.tile img {
  filter: invert(100%);
}
.blank {
  min-width: 116px;
  min-height: 116px;
  z-index: 100;
  box-sizing: border-box;
  border: 2px dashed var(--greyish-blue-color);
  top: 200px;
  padding: 5px;
  margin: 10px;
}

.ui-state-highlight {
  border-color: var(--dark-magenta-color);
}

@media all and (max-width: 1200px) {
  .outerflex {
    flex-direction: row;
    justify-content: space-around;
    height: auto;
  }
  .topContainer,
  .bottomContainer {
    flex-direction: column;
  }
}

.revealtext {
  background-color: var(--white);
  transition: 0.3s ease;
}

.revealtext:hover {
  cursor: pointer;
}

/* End Cheryl Velez - Puzzler  */

/* Dominic Duffin - Math Puzzle */

:root {
  --text-color: #ffffff;
}

#math-puzzle-container div {
  color: #5f4dee;
  font: 700 2.5rem/3.125rem "Open Sans", sans-serif;
    font-size: 30px;
}

#math-puzzle-container button {
  line-height: 100px;
  width: 100px;
  border-radius: 40%;
  border: 4px solid #5f4dee;
  font-size: 2em;
  font-weight: bold;
  color: #5f4dee;
  margin: 2px 0 0 2px;
}

#math-puzzle-main {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 50% 50%;
}

#math-puzzle-keypad {
  grid-column: 1;
  width: 50%;
  margin-left: 10%;
  margin-top: 110px;
}

#math-puzzle-sum {
  grid-column: 2;
  margin-right: 10%;
}

.math-puzzle-numberButton {
  background-color: transparent;
}

.math-puzzle-zeroButton {
  background-color: transparent;
}

.math-puzzle-signButton {
  background-color: transparent;
}

.math-puzzle-position {
  text-align: center;
  line-height: 65px;
  font-size: 2em;
  padding: 10px;
  font-weight: bold;
  border-bottom: 1px solid var(--white);
}

#math-puzzle-message {
  line-height: normal;
  font-size: 1.5em;
}

/* End  Dominic Duffin - Math Puzzle */

/* Paul - Flexbox Puzzle  */
#flexbox-puzzle-container {
  height: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.heading {
  margin: 8px;
  color: var(--white);
}

.heading__rules {
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

.heading__subtitle {
  display: block;
  margin: 10px auto;
  width: 80%;
  height: 50px;
  text-align: center;
}

.notification {
  display: block;
  width: 100%;
  height: 35px;
  font-size: 25px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--white);
  transition: all 0.5s ease-in;
}

.flex-menu {
  width: 100%;
  height: 25%;
  padding: 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  color: var(--white);
}

.flex-menu div {
  display: flex;
  flex-direction: column;
}

.flex-menu label {
  display: inline-block;
  padding-bottom: 0.5rem;
}

.flex-menu button {
  margin: 10px;
  margin-bottom: 50px;
  border: 0;
  padding: 10px 0;
  width: 140px;
  font-size: 0.75rem;
  white-space: nowrap;
  text-decoration: none;
  outline: none;
  box-shadow: 5px 6px 4px 2px rgba(12, 67, 131, 0.45);
}

.flex-menu__items {
  background-color: var(--bright-blue-color);
  padding: 4px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

 screen

@media only screen and (max-width: 1500px) {
 #flexboxPuzzleModal .modal-content {
  width: 90%;
}

  .flexPuzzle-container {
    left: 0;
  }
}

/* End  Paul - Flexbox Puzzle  */

/* Kristopher Van Sant - Mirror Puzzle  */

#mirror-puzzle-container {
  text-align: center;
}

#mirror-clue,
#mirror-puzzle-container > p:first-of-type {
  color: var(--white);
  font-size: 1.7em;
  margin-bottom: 50px;
}

#mirror-puzzle-container #note {
  color:var(--dark-magenta-color);
  width: 285px;
  padding: 2%;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
  background: var(--white);
  background-size: contain;
  text-align: left;
  font-size: 19px;
}
#mirror-puzzle-container #note:hover {
  cursor: grab;
}
#mirror-puzzle-container #note:active {
  cursor: grabbing;
}

#mirror-puzzle-container #mmirror {
  width: 500px;
  height: 500px;
  padding: 5%;
  display: inline-block;
  vertical-align: middle;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/108463/mirror.svg)
    center center no-repeat;
  background-size: contain;
}
#note-text {
  margin: 0;
  padding: 9%;
  border: 2px dashed var(--magenta-color);
}

#mirror-puzzle-container .mirror-text {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

/* Antoine Guillien - Recursion Puzzle   */

#recursion-puzzle-container #app {
  padding: 0.5rem;
  font-size: 2rem;
}
#recursion-puzzle-container .fa-ice-cream {
  font-size: 2rem;
  color: var(--pink-color);
}
#recursion-puzzle-container h1 {
  font-weight: normal;
  font-size: 1.7rem;
  text-align: center;
  margin: 1rem 0 3.5rem 0;
  color: var(--white);
}


/* End  Antoine Guillien - Recursion Puzzle   */

.locked {
  fill: var(--white);
}

/* padlock unlocked colors */
#padlock0 .unlocked {
  fill: var(--turquoise-blue-color);
}

#padlock1 .unlocked {
  fill: var(--magenta-color);
}

#padlock2 .unlocked {
  fill: var(--pink-color);
}

#padlock4 .unlocked {
  fill: var(--palest-blue-color);
}

#padlock3 .unlocked {
  fill: var(--dark-magenta-color);
}

#padlock5 .unlocked {
  fill: var(--bright-blue-color);
}

.unlocked {
  opacity: 0;
}

#escaped {
  visibility: hidden;
  display: grid;
  position: absolute;
  z-index: 100;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  text-align: center;
  margin: 0;
  font-family: "Bangers", cursive;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

#escaped h1 {
  font-size: 300px;
  justify-self: center;
  align-self: center;
}


.container a {
  background-color: #5f4dee;
    color: white;
    padding: 14px 25px;
    text-decoration: none;
    display: inline-block;
    border-radius: 15px;
}
.container{
  text-align: center;
}

.e{
text-align:center;
}

.e a
{
  text-align: center;
  font: 500 2.5rem/3.125rem "Open Sans", sans-serif;
  color:white;
  text-decoration: none;
}