@font-face {
    font-family: 'ethnofont';
    src: url(ethnofont.otf);
}
@font-face {
    font-family: 'plankfont';
    src: url(plankfont.TTF);
}
html {
  scroll-behavior: smooth;
}
body {
    background-color: #141414;
}
header {
    background-color: #000000;
    height: fit-content;
    width: 100%;
}
main {
    background-color: #141414;
    color: white;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    font-size: 1rem;
    padding: 20px;
    text-align: left;
    border-left: transparent 5dvw solid;
    border-right: transparent 5dvw solid;
}
h1 {
    color:aqua;
    font-family: 'ethnofont', serif;
    text-align: center;
    font-weight: bold;
    font-size: 3dvi;
    text-shadow: 2px 2px 4px rgba(0, 255, 255, 0.5);
}
h2 {
    background: linear-gradient(#000000, #141414);
    color: rgb(231, 8, 86);
    font-family: 'ethnofont', serif;
    font-style: italic;
    font-size: 1.75dvw;
    text-shadow: 2px 2px 4px rgba(231, 8, 86, 0.5);
    text-align: left;
    padding: 10px;
}
h3 {
    color: rgb(231, 8, 86);
    font-family: 'ethnofont', serif;
    font-style: italic;
    font-size: 2.5rem, 2.75dvw;
    text-shadow: 2px 2px 4px rgba(231, 8, 86, 0.5);
    text-align: center;
    padding: 10px;
}
h4 {
    color: purple;
    font-family: 'ethnofont', serif;
    font-style: italic;
    font-size: 2.5dvw;
    text-shadow: 2px 2px 4px rgba(128, 0, 128, 0.5);
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}
nav {
    background: #141414;
    color: white;
    font-family: 'ethnofont', serif;
    font-style: italic;
    font-size: 2.5dvi;
    text-shadow: 2px 2px 4px rgba(0, 255, 255, 0.5);
    text-align: center;
    position: sticky;
    top: 0;
}
p {
    padding: 10px;
    margin: 10px;
    color: white;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    font-size: 2rem;
    text-align: left;

}
ol {
    list-style-type: none;
    background: #333;
    border-radius: 10px;
    border-color: #555;
    border-style: solid;
    border-width: 2px;
    box-shadow: #555 2.5px 2.5px 2.5px;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    padding-top: 5px;
    padding-left: 5px;
    padding-bottom: 10px;
}
li {
    color: white;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    font-size: 2rem;
    padding-left: 10px;
    padding-bottom: 10px;
}
a:link { text-decoration: none; color:aqua; }
a:visited { text-decoration: none; color:aqua; }
a:hover { text-decoration: none; color:aquamarine; text-shadow: 2px 2px 4px rgba(117, 255, 255, 0.711)}
a:focus { text-decoration: none; color:rgb(50, 205, 140); }
a:active { text-decoration: none; color:rgb(50, 205, 140); }
form {
    background: #333;
    border-radius: 10px;
    border-color: #555;
    border-style: solid;
    border-width: 2px;
    box-shadow: #555 2.5px 2.5px 2.5px;
    color: white;
    font-family: 'ethnofont', serif;
    font-size: 2.25dvi;
    text-align: justify;
    text-shadow: 2px 2px 4px rgba(0, 255, 255, 0.5);
    margin: 2.5%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}
input[type=radio] {
    width: 1.5dvw;
    height: 1.5dvw;
    margin-right: 10px;
    vertical-align: middle;
    accent-color: purple;
    border: #333 10px solid;
    border-radius: 10px;
}
input[type=radio]:checked {
    box-shadow: 2px 2px 4px rgba(128, 0, 128, 0.3);
}
input[type=submit]{
    background-color: #333;
    border: 1px solid #ffffff;
    position: relative;
    height: 5dvh;
    width: calc(100% - 20px);
    border-radius: 10px;
    box-shadow: 2.5px 2.5px 2.5px rgba(170, 170, 170, 0.5);
    color: aqua;
    font-family: 'ethnofont', serif;
    font-size: 1.5dvi;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 255, 255, 0.5);
    text-decoration: none;
    padding: 10px;
    margin-left: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
    cursor: pointer;
}
input[type=submit]:hover {
    color: rgb(50, 205, 140);
    text-shadow: 2px 2px 4px rgba(117, 255, 255, 0.711);
}
input[type=text], input[type=email], input[type=password], textarea {
    background-color: #333;
    color: white;
    font-family: 'ethnofont', serif;
    font-size: 1.5dvi;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 2.5px 2.5px 2.5px rgba(170, 170, 170, 0.5);
    width: calc(100% - 20px);
    margin-bottom: 15px;
}
textarea {
    height: 10dvh;
    resize: vertical;
}

footer {
    background: linear-gradient(#141414, #000000);
    color: white;
    font-family: 'plankfont', serif;
    font-size: .5rem;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100;
}
img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}
.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: left;
    width: 100%;
    height: fit-content;
}
.column {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-grow: 1.5;
    flex-shrink: 1.5;
}
.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: stretch;
    flex-wrap: wrap;
    flex-basis: 25dvi;
}
.flex-item {
    background-color: #333;
    width:calc(fit-content - 15px);
    height: calc(fit-content - 15px);
    color: white;
    padding: 0px;
    margin: 5px;
    border-radius: 10px;
    box-shadow: 2.5px 2.5px 2.5px rgba(170, 170, 170, 0.5);
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 25dvi;
    text-align: center;
    white-space: nowrap;
}
.footer-text {
    color: white;
    font-family: 'ethnofont', serif;
    font-size: .75rem;
    text-align: center;
}
/* This is the glitch code module for the title, made by Aldriê */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .stack {
    display: grid;
    align-content: center;
    grid-template-columns: 1fr;
  }
  .stack span {
  font-weight: bold;
  font-family: "ethnofont";
  text-shadow: 2px 1px 2px rgba(172, 8, 65, 0.5);
  grid-row-start: 1;
  grid-column-start: 1;
  font-size: 4dvw;
  --stack-height: calc(100% / var(--stacks) - 1px);
  --inverse-index: calc(calc(var(--stacks) - 1) - var(--index));
  --clip-top: calc(var(--stack-height) * var(--index));
  --clip-bottom: calc(var(--stack-height) * var(--inverse-index));
  clip-path: inset(var(--clip-top) 0 var(--clip-bottom) 0);
  animation: stack 650ms cubic-bezier(.46,.29,0,1.24) 1 backwards calc(var(--index) * 120ms), glitch 2s ease infinite 1s alternate-reverse;
  }
  .stack span:nth-child(odd) { --glitch-translate: 8px; }
  .stack span:nth-child(even) { --glitch-translate: -8px; }
  @keyframes stack {
    0% {
      opacity: 0;
      transform: translateX(-50%);
      text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
    };
    60% {
      opacity: 0.5;
      transform: translateX(50%);
    }
    80% {
      transform: none;
      opacity: 1;
      text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
    }
    100% {
      text-shadow: 2px 2px 4px rgba(0, 255, 255, 0.5);
    }
  }
  @keyframes glitch {
    0% {
      text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
      transform: translate(var(--glitch-translate));
    }
    2% {
      text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
    }
    4%, 100% {  text-shadow: 2px 2px 4px rgba(0, 255, 255, 0.5); transform: none; }
}