:root {
  --background-color: #ddd;
  --tile-backdrop: #ddd;
  --content-backdrop: #22324e;
  --content-label: #ffffff;
  --content-padding: 1em;
  --regular-margin: 10px;
  --border-radius: 0px;
  --red-pink: #ea00d9;
  --neon-purple: #711c91;
  --neon-blue: #0abdc6;
  --neon-green: #14FF00;
  --neon-yellow: #FCF600;
  --webcue-green: #21ba45;
  --webcue-red: #c10015;
}

::placeholder {
  color: lightgrey;
  opacity: 1;
}

body {
  background-color: var(--tile-backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  flex-direction: column;
  background: #fff;
}

h1 {
  color: black;
  display: block;
  font-size: 150%;
  width: 50%;
}

h1 small {
  display: block;
  font-size: 13px;
  text-transform: none;
  line-height: 20px;
  margin-top: 10px;
}
h1 small a {
  text-decoration: none;
  border-bottom: 2px dotted #9c983a;
  color: #ffffff;
  padding: 2px;
  text-transform: uppercase;
}

h1 a {
  color: black;
  font-weight: bolder;
  text-decoration: none;
}

.click:hover {
  cursor: copy;
}

input {
  display: block;
}

input[type="radio"] {
  display: inline;
}

.link {
  background: var(--container-color);
  padding: 10px;
  text-align: center;
  border: 4px solid var(--green-accent);
}

#outputUrl {
  padding: 10px 20px;
  background: var(--green-accent);
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#panels {
  background: var(--tile-backdrop);
  padding: 1em;
  width: 60%;
  border-radius: var(--border-radius);
}

.panel {

  display: flex;
  padding: 0px;
  flex-direction: column;
  color: black;
  border-radius: var(--border-radius);
  margin-bottom: 0px;
  position: relative;
}

.panel .answers {
  overflow: hidden;
  flex-direction: column;

  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.answersContainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 1em;
}

.panel.active .answers {
  max-height: auto;
}

.panel .description {
  position: absolute;
  top: 8px;
  right: 10px;
  color: #7b7b7b;
}

.panel .description:hover {
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
}

.panel .title {
  font-weight: bold;
  text-transform: uppercase;
  text-align: left;
}

.link {
  padding: 1em;
  text-align: center;
  background: #404040;
  border-radius: var(--border-radius);
}

.link h1 {
  text-transform: uppercase;
  font-size: 1.5em;
  text-align: left;
  margin-left: 10px;
}

.link.final {
  display: block;
  position: absolute;
  height: 50vh;
  width: 60vw;
  top: 30%;
  transform: translateY(-30%);
}

.link a {
  color: white;
}

#links {
  background: var(--tile-backdrop);
  padding: 1em;
  width: 60%;
  border-radius: var(--border-radius);
}

#links > div {
  padding: 0em;
  border-radius: var(--border-radius);
  background: var(--tile-backdrop);
  position: relative;
  margin: 1em 0;
}

#links h4 {
  margin: 0;
  margin-bottom: 0.5em;
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink);
}

#directorLink {
  display: none;
}

#directorLink.show {
  display: block;
}

.hide {
  display: none;
}

#progress {
  height: 20px;
  background-color: var(--green-accent);
  transition: all 0.2s ease-in-out;
  color: white;
  font-size: 16px;
  padding: 2px;
  line-height: 22px;
  text-align: center;
}

.url {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  font-weight: bold;
  margin: 0;
  padding: 0;
  cursor: copy;
  text-decoration: none;
}

.url::before {
  content: "\f328";
  font-family: "Line Awesome Free";
  font-size: 150%;
  margin-right: 0.5em;
}

a#url {
  overflow: hidden;
  overflow-wrap: anywhere;
}

input[type="text"],
select {
  padding: 10px;
  background: #fff;
  border: 0;
  color: black;
}

div#popup.active {
}

div#popup {
  width: 20%;
  color: white;
  background: var(--neon-blue);
  text-align: left;
  margin: 0;
  position: absolute;
  border-radius: calc(var(--border-radius) * 2);
  box-shadow: 10px 10px 50px var(--neon-blue);
  padding: 1em;
  top: -1000px;
  left: -1000px;
}

.textGroup {
  grid-column: 1 / span 2;
  display: grid;
  align-items: baseline;
  margin-bottom: 5px;
  grid-template-columns: 1fr 1fr;
}
.textGroup span {
  display: block;
  grid-column: 1;
  align-content: normal;
}
.textGroup input[type="text"] {
  display: block;
  grid-column: 2;
}

div#obfuscateSwitch {
  position: absolute;
  top: 10px;
  right: 10px;
  float: right;
  color: white;
}

.switchGroup {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

.switch + span {
  margin-left: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}


.slider {

  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

/* Rounded sliders */
.slider.round {
  border-radius: 16px;
}

.slider.round:before {
  border-radius: 50%;
}

.slider:before {

  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 3px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--webcue-green);
  box-shadow: 0px 0px 10px var(--webcue-green));
  outline: none;
}

input:focus + .slider {
  box-shadow: 0 0 1px #86b98f;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

input:not(:checked) + .slider {
  background-color: var(--webcue-red);
  box-shadow: 0px 0px 10px var(--webcue-red));
  outline: none;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.popup-message {
  display: none;
  text-align: center;
  position: absolute;
  z-index: 10;
  padding: 5px 10px;
  min-width: 180px;
  background-color: var(--webcue-green);
  color: white;
  font-weight: bold;
  border-radius: 0px;
}

.popup-message.active {
  display: block;
}


.error-message {
  display: none;
  text-align: center;
  position: absolute;
  z-index: 10;
  padding: 5px 10px;
  min-width: 180px;
  background-color: var(--webcue-red);
  color: white;
  font-weight: bold;
  border-radius: 0px;
}

.error-message.active {
  display: block;
}

.button {
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: var(--webcue-green); /* Green */
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.4s;
  border: 2px solid var(--webcue-green);
}

.button:hover {
  background-color: white; /* Green */
  color: black;
  cursor: pointer;

}

.error {
  border: 2px solid var(--webcue-red) !important;
}
.looksgood {
  border: 2px solid var(--webcue-green) !important;
}


@media only screen and (max-width: 768px) {
  #panels {
    width: 90%;
  }
  #links {
    width: 90%;
  }

  .answersContainer {
    display: flex;
    flex-direction: column;
  }

  div#popup {
    width: 50%;
  }
}

#qrcode {
  width:160px;
  height:160px;
  margin-top:15px;
}
