html {
  height: 100%;
}

body {
  font-family: sans-serif;
  font-size: 19px;
  background-color: #361832;
  color: #ff0000; /* i dont think this color is or should be used so its red now */
  margin: 0.5rem 0 1rem 0;
  padding: 0;
  display: flow-root;
  height: 99%;
}

.skeleton {
  margin-inline: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (min-width: 900px) {
  .skeleton {
    margin: auto;
    width: -moz-fit-content;
    width: fit-content;
  }
}

.headimage {
  width: 100%;
  height: 9rem;
  display: grid;
  z-index: 100;
}

.logo {
  width: 26.5rem;
  align-self: center;
  justify-self: center;
}
@media (max-width: 500px) {
  .logo {
    width: 20rem;
  }
}
@media (max-width: 400px) {
  .logo {
    width: 17rem;
  }
}
@media (max-width: 325px) {
  .logo {
    width: 15rem;
  }
}
@media (max-width: 300px) {
  .logo {
    width: 13rem;
  }
}

.main {
  width: 100%;
  max-width: 53rem;
  line-height: 1.5;
  background-color: #1414148c;
  color: #fffbed;
  padding: 1rem 1.5rem 1.25rem 1.5rem;
  border-radius: 1.25rem;
  border: 0.75rem solid #f7c2f1;
}

.initialheading {
  display: flex;
  justify-content: space-between;
}
.flexmarginfix {
  margin: 1rem 0 0 0;
}

a.button::before {
  content: "🔌 ";
}
a.button {
  padding: 0.4em 0.5em;
  border: 3px solid #f7c2f1;
  background-color: #f7c2f13a;
  color: #fffdf0;
  border-radius: 0.4rem;
  margin: 0.35em 0 0 0;
  text-decoration: none;
  font-size: 19px;
  transition-duration: 0.05s;
}
a.button:active {
  transform: translateX(5px) rotate(7deg) translateY(3px);
}
a.button:link,
a.button:visited {
  color: #ffeefb;
}
a.button:hover {
  background-color: #f7c2f1;
  color: #141414;
}
a.button:focus {
  background-color: #ffa0d9;
  color: #141414;
}

@media (max-width: 425px) {
  a.button::before {
    content: none;
  }
}
/* Very thin viewports (mainly phones) won't see the connect button at all */
@media (max-width: 390px) {
  a.button {
    display: none;
  }
}

.menu span {
  padding-right: 0.75em;
}

.menu span + span {
  border-left: solid #f7c2f1 3px;
  padding-left: 0.75em;
  font-size: 1.5rem;
}

@media (max-width: 660px) {
  .menu {
    display: inline-block;
    max-height: 7rem; /* i have no fucking idea why but this was the only way i could figure out how to get rid of this awful bottom margin in small screen mode */
  }
  .menu span {
    display: block;
    padding-bottom: 0.5em;
  }
  .menu span + span {
    border-top: solid #f7c2f1aa 2px;
    border-left: none;
    padding: 0.5em 0 0 0;
    font-size: 1.5rem;
  }
}

h1, h2, h3 {
  line-height: 1.2;
}


a {
  outline-color: transparent;
}

a:link,
a:visited {
  color: #ff94dd;
}

a:focus,
a:hover {
  color: #ffc9e0;
  text-decoration: none;
}

a:active {
  color: #fff4bf;
}

code {
  padding: 0.2rem;
  border-radius: 0.25rem;
  background-color: #efdfbe25;
  white-space: nowrap;
}

.detailspaceuptemp {
/*   padding-top: 0rem; */
}

.infodrop {
  padding: 0.3rem 1rem;
}

button,
input,
select,
textarea {
  font: inherit;
  font-size: 100%;
}

form {
  margin: 1.5em 0.5em 0.5em 0.5em;
  display: grid;
  gap: 1em;
  @media (width > 699px) {
    grid-template-columns: 1fr 1fr;
  }
}


.form-group {
  display: grid;
  gap: 0.3em;
}

.form-group:has(.full-width) {
  grid-column: 1 / -1;

}

input, textarea {
  padding: 0.5em;
  border: 3px solid #f7c2f1;
  border-radius: 0.3rem;
  font-size: 16px;
  background-color: #fffef7;
}

/*#steamid, #stoatid {
  width: 50%;
}*/


textarea {
  resize: none;
  font: sans-serif;
}

.required:after {
  content: "*" / " (required)";
  color: red;
}

.submitbtn {
  padding: 0.5em;
  border: 3px solid #f7c2f1;
  border-radius: 0.4rem;
  background-color: #f7c2f13a;
  color: #fffdf0;
  font-weight: bold;
  margin: 0.5em 0 0 0;
  width: 7.5em;
  font-size: 19px;
  align-self: center;
  justify-self: center;
  transition-duration: 0.1s;
}
.submitbtn:hover {
  background-color: #f7c2f1;
  color: #141414;
}
.submitbtn:focus {
  background-color: #ffa0d9;
  color: #141414;
  transform: translateY(4px);
}


.formsuccess {
  color: #9cd586;
}

.formerror {
  color: #ec1140;
}
