@font-face {
  font-family: "OpenDyslexic";
  /*a name to be used later*/
  src: url("../fonts/OpenDyslexic3-Regular.ttf");
  /*URL to font*/
}

@font-face {
  font-family: "OpenDyslexicBold";
  src: url("../fonts/OpenDyslexic3-Regular.ttf");
}

@media screen and (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    nav li a {
        text-align: left;
        padding: 12px;
        font-size: 1.1rem;
    }
}

body {
    font-family: "OpenDyslexic", serif;
    background-color: #212227;
    font-size: 16px; /* base size for mobile */
}

@media screen and (min-width: 640px) {
    body {
        font-size: 18px;
    }
}

@media screen and (min-width: 1024px) {
    body {
        font-size: 20px;
    }
}

body::-webkit-scrollbar {
  width: 15px;
  height: 15px;
}

body::-webkit-scrollbar-thumb {
  background: #2b2d33;
}

body::-webkit-scrollbar-track {
  background: #212227;
}

body {
  scrollbar-face-color: #2b2d33;
  scrollbar-track-color: #212227;
}

@media screen and (min-width: 480px) {
  body {
    font-size: 65%;
  }
}

@media screen and (min-width: 640px) {
  body {
    font-size: 80%;
  }
}

@media screen and (min-width: 1080px) {
  body {
    font-size: 85%;
  }
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.navigation {
  display: inline-flex;
  position: relative;
    font-family: "OpenDyslexic", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    text-decoration: none;
    vertical-align: middle;
    background-color: transparent;
    border: 1px solid transparent;
}

.navigation .button {
    font-family: "OpenDyslexic", sans-serif;
  background-color: #84dd63;
  /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  border-radius: 4px;
  filter: drop-shadow(0 0 0.55rem black);
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

button{
    font-family: "OpenDyslexic", sans-serif;
    background-color: #84dd63;
    /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    border-radius: 4px;
    filter: drop-shadow(0 0 0.55rem black);
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}
button:hover {
    background-color: #5bc0be;
    color: black;
}
.btn {
    font-family: "OpenDyslexic", sans-serif;
    background-color: #84dd63;
    /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    border-radius: 4px;
    filter: drop-shadow(0 0 0.55rem black);
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.nameLink {
    display: inline;
    white-space: normal;
}
#fronters, #fronters * {
    font-size: 20px !important;
}

.alter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.alter-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    width: 150px;
    text-decoration: none;
    background-color: #1a1a1a;
    color: white;
    font-family: 'OpenDyslexic', sans-serif;
}

.alter-button:hover {
    background-color: #2a2a2a;
}

.alter-button img#altericon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.alter-button ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.alter-button li.name {
    font-weight: bold;
    margin-top: 0.5rem;
}

.alter-button li.pronouns {
    font-size: 0.85rem;
    color: #ccc;
}
.border-949494 { border-color: #949494; }
.border-ff3333 { border-color: #ff3333; }
/* etc */
#fronters {
    display: inline-block;
    text-align: center;
}
.center-wrapper {
    text-align: center;
}
.btn:hover {
    background-color: #5bc0be;
    color: black;
}
nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start; /* left-aligned */
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #212227;
}

nav li {
    margin: 0;
}

nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav li a:hover:not(.active) {
    background-color: #5bc0be;
    color: black;
}

nav .active {
    background-color: #a379c9;
    color: white;
}

.sticky {
    /*noinspection CssInvalidPropertyValue*/
    position: -webkit-sticky; /* Safari support */
    position: sticky;
    top: 0;
}

.videoicon {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#icon {
  width: 40%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

main{
    color: white;
}

.alter-short-info{
    padding-left: 2em;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.button {
  background-color: #212227;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  font-size: 16px;
  margin: 4px 2px;
  min-width: 80%;
  cursor: pointer;
}

.button li {
  margin-top: 5px;
  vertical-align: top;
  margin-right: auto;
}

.button li.pronouns {
  margin-top: -10px;
  margin-right: auto;
  color: #6b6c6e;
}

.button:hover {
  background-color: #2b2d33;
}

.alter-button {
  border: 2px solid;
  border-radius: 4px;
  text-align: left;
}

#altericon {
  height: 64px;
  display: inline-block;
  vertical-align: sub;
  border-radius: 4px;
  margin-left: 4px;
  margin-top: 1px;
  margin-right: 4px;
}

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

.disable {
  display: none;
}

.info {
  margin: auto;
  text-align: center;
    justify-content: center;
  align-items: center;
  display: inline-flex;
}

.rich {
  color: white;
  margin: auto;
  text-align: center;
    justify-content: center;
  align-items: center;
  display: inline-flex;
}

.rich p {
  flex-grow: 1;
  margin: 5px;
}

.rich i {
  flex-grow: 1;
  margin: 5px;
}

.rich b {
  flex-grow: 1;
  margin: 5px;
}

.rich a {
  margin: 5px;
  flex-grow: 1;
  color: #5bc0be;
}

.rich code {
  background-color: #2b2d33;
  flex-grow: 1;
  color: #5caff7;
}

h1#name {
  color: #ff3333;
}

a.link {
    color: #ff3333;
}

a.link:hover {
  color: #33ffff;
}

dl {
  border: 3px double #1f5673;
  padding: 1rem;
}

dt {
  float: left;
  clear: left;
  width: 100px;
  text-align: right;
  font-weight: bold;
  color: #5efc8d;
}

dt::after {
  content: ": ";
}

dd {
  margin: 0 0 0 110px;
  padding: 0 0 0.5em 0;
  color: white;
}

div a {
  color: #5efc8d;
}

div a:hover {
  color: #fc5ecd;
}

div a .nameLink {
  color: white;
}

div a .nameLink:hover {
  color: #5bc0be;
}

table {
  background-color: #2b2d33;
  border: 2px;
}

.section {
  width: 85%;
}

td#num {
  width: 20%;
}

.tablecontents {
  left: 250px;
}

h1 {
  text-align: center;
  color: white;
}

h1 span {
  color: black;
}

h2 {
  text-align: center;
  color: white;
}

h3 {
  text-align: center;
    color: white;
}

th {
    color: white;
}
td{
    color: white;
}

p {
    text-align: left;
    color: white;
    text-indent: 1.5em; /* or 2em depending on how dramatic you want it */
    padding-left: 1em;
    margin-top: 0.75em;
    margin-bottom: 0.75em;
}

label {
    color: white;
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
img {
    color: white;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    font-family: "OpenDyslexic", sans-serif;
    background-color: #2b2d33;
    color: white;
    border: 1px solid #5bc0be;
    border-radius: 4px;
    padding: 12px;
    margin: 4px 0;
    font-size: 16px;
    width: 25%;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #84dd63;
    box-shadow: 0 0 0.55rem black;
}

form {
    padding-left: 2rem;
}
.custom-file-upload {
    font-family: "OpenDyslexic", sans-serif;
    background-color: #84dd63;
    color: white;
    padding: 15px 32px;
    text-align: center;
    border-radius: 4px;
    filter: drop-shadow(0 0 0.55rem black);
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border: none;
}

.custom-file-upload:hover {
    background-color: #5bc0be;
    color: black;
}

#file-name {
    color: white;
}
::placeholder {
    color: #6b6c6e;
}

main {
    flex: 1;
    padding: 1rem;
}

footer p{
    background-color: #212227;
    color: white;
    text-align: center;
    padding: 1rem;
}

h2#pronouns {
  color: white;
}

h2#age {
  color: white;
  text-align: center;
  margin-top: -30px;
  margin-bottom: -30px;
}

#fronters {
  font-size: 50%;
}

@media screen and (min-width: 480px) {
  #fronters {
    font-size: 65%;
  }
}

@media screen and (min-width: 640px) {
  #fronters {
    font-size: 80%;
  }
}

@media screen and (min-width: 1080px) {
  #fronters {
    font-size: 85%;
  }
}
