/**
 * Created by Jacob Strieb
 * May 2020
 */


/*******************************************************************************
 * Element styles
 ******************************************************************************/

html {
  font-family: sans-serif;
  padding: 10px;
  background-color: #131516;
    color: white;
    font-family:'Pragmatica-ExtraLight';
}

body {
  padding: 15px;
  display: block;
  margin: auto;
  max-width: 80ch;
}

@font-face {
    font-family: 'Pragmatica-ExtraLight';
    src: url('https://lock.glitcher.me/Pragmatica-ExtraLight.woff') format('truetype');
    font-weight: normal;
    font-style: normal;
}

p {
  text-align: justify;
  color: white;
}

button {
  padding: 11px;
  background: rgb(162, 2, 2);
  color: white;
  border: 0.5px solid red;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 5px;
  margin-right: 5px;
  cursor: pointer;
}

label {
  display: block;
  font-variant: small-caps;
  margin-bottom: 5px;
}

summary {
  font-variant: small-caps;
  margin-bottom: 5px;
  user-select: none;
}

input, textarea {
  padding: 10px;
  border: 0.5px solid red;
  border-radius: 3px;
  margin-bottom: 15px;
  box-sizing: border-box;
  width: 100%;
  resize: none;
  font-family: sans-serif;
  font-size: 0.9em;
  background-color:#111111;
  color:#fff;
}

input[type="checkbox"] {
  cursor: pointer;
  margin-right: 0;
}

hr {
  margin-top: 3em;
  margin-bottom: 3em;
  border: 0;
  border-top: 0.5px solid rgba(200, 200, 200, 1);
}

footer hr {
  margin-bottom: 1em;
  border-top: 0.5px solid black;
}

footer p {
  text-align: center;
}
a:link {
  color: red;
  background-color: transparent;
  text-decoration: none;
}
a:visited {
  color: #b30000;
  background-color: transparent;
  text-decoration: none;
}
a:hover {
  color: #b30000;
  background-color: transparent;
  text-decoration: underline;
}
a:active {
  color: red;
  background-color: transparent;
  text-decoration: underline;
}


/*******************************************************************************
 * Classes
 ******************************************************************************/

/* View on GitHub SVG ribbon */
@media (max-width: 100ch) {
  .ribbon {
    width: 100px;
    height: 100px;
  }
}

.ribbon {
  position: absolute;
  top: 0;
  right: 0;
}


/* Error area */
.red-border {
  border: 3px solid red;
  padding: 2em;
}

.error, .error p {
  text-align: center;
}


/* Password & Confirm Password inputs */
.split-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}

.password {
  flex: 1;
}

.confirm-password {
  flex: 1;
  margin-left: 20px;
}



/* Advanced settings */
#advanced-label {
  cursor: pointer;
  margin-bottom: 10px;
}

.advanced {
  display: flex;
  flex-flow: row wrap;
}

.advanced .labeled-input {
  display: flex;
  flex-flow: row-reverse nowrap;
  justify-content: flex-end;
}

.advanced .labeled-input label {
  width: auto;
  margin-right: 20px;
  white-space: nowrap;
  cursor: pointer;
}

.advanced .labeled-input input {
  width: auto;
  margin-right: 5px;
}


/* Output area */
.output input {
  border: 0.5px solid red;
  background-color:#111111;
  color:#fff;
}

.alert {
  opacity: 0;
  transition: opacity 0.25s;
}
