@import url(https://fonts.googleapis.com/css?family=Aref+Ruqaa);
@import url(https://fonts.googleapis.com/css?family=Fondamento);
@import url(https://fonts.googleapis.com/css?family=Rochester);
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background-color: black;
  color: skyblue;
  font-size: 2.4rem;
  font-family: "Rochester", helvetica;
}

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

#display, #end {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 10rem;
  width: 20rem;
  background-color: #000;
  -webkit-box-shadow: 0 0 2rem #555 inset, 0 0 1.5rem cyan;
  -moz-box-shadow: 0 0 2rem #555 inset, 0 0 1.5rem cyan;
  box-shadow: 0 0 2rem #555 inset, 0 0 1.5rem cyan;
  border-radius: 10px;
  color: #00b3b3;
  font-size: 2rem;
  z-index: 1;
}
#display #discon, #end #discon {
  font-family: "Fondamento", helvetica;
  word-spacing: 0.5rem;
}

#cx, #cy {
  cursor: pointer;
  font-weight: bold;
  font-size: 3rem;
  font-family: "Rochester", helvetica;
  border-bottom: 4px dotted transparent;
  border-radius: 10px;
  color: #00cccc;
  transition: .2s ease;
}
#cx:hover, #cy:hover {
  color: #cc0000;
  border-bottom: 4px dotted #cc0000;
}

.trio {
  display: flex;
  flex-direction: column;
  text-align: center;
}

#heading {
  font-size: 3.5rem;
  color: #00e6e6;
  transform: translate(0, -50%);
  font-family: "Rochester", helvetica;
  word-spacing: 0.5rem;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: spacearound;
  color: cyan;
  opacity: 0.1;
  font-weight: bold;
  background-color: #111;
  padding: 1rem;
  border-radius: 10px;
  transition: .3s ease;
  -webkit-box-shadow: 0 0 0.5rem #ddd inset, 0 0 1rem cyan;
  -moz-box-shadow: 0 0 0.5rem #ddd inset, 0 0 1rem cyan;
  box-shadow: 0 0 0.5rem #ddd inset, 0 0 1rem cyan;
}
.wrapper > div {
  display: flex;
  flex-direction: row;
}
.wrapper > div > div {
  position: relative;
  margin: 0.4rem;
  width: 6rem;
  height: 6rem;
  line-height: 50%;
  text-align: center;
  background-color: #222;
  border: 2px solid #888;
  border-radius: 20px;
  padding: 2rem;
  transition: .3s ease;
  -webkit-box-shadow: 0 0 0.7rem #ddd inset;
  -moz-box-shadow: 0 0 0.7rem #ddd inset;
  box-shadow: 0 0 0.7rem #ddd inset;
}
.wrapper > div > div:hover, .wrapper > div > div:active {
  -webkit-box-shadow: 0 0 0.4rem cyan inset;
  -moz-box-shadow: 0 0 0.4rem cyan inset;
  box-shadow: 0 0 0.4rem cyan inset;
}

.extras {
  display: none;
  font-size: 1.4rem;
  color: #00b3b3;
  text-align: center;
  transform: translate(0, 90%);
}
.extras #exu, .extras #excomp {
  margin-left: 0.5rem;
}
.extras #exrst {
  border-bottom: 4px dotted transparent;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 0.5rem;
  font-size: 1.6rem;
}
.extras #exrst:hover {
  color: #00b3b3;
  border-bottom: 4px dotted #cc0000;
}
.extras #exu-c, .extras #excomp-c {
  margin-left: 0.2rem;
  margin-right: 0.5rem;
  color: cyan;
  font-weight: bold;
}

#end {
  background-color: rgba(0, 0, 0, 0.9);
  -webkit-box-shadow: 0 0 3.5rem #666 inset, 0 0 3rem cyan;
  -moz-box-shadow: 0 0 3.5rem #666 inset, 0 0 3rem cyan;
  box-shadow: 0 0 3.5rem #666 inset, 0 0 3rem cyan;
  border-radius: 10px;
  color: #00cccc;
  display: none;
  font-size: 2.5rem;
  word-spacing: 0.3rem;
}
#end #endin {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
