/* IMPORT FONTS */
@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300..900&family=Oswald:wght@200..700&display=swap');

/* GLOBAL */
body {
  background: white;
  color: black;
  margin: 0;
  padding: 0;
}

p {
  font-family: "Darker Grotesque", sans-serif;
  font-weight: 500;
  font-size: 22px;
  margin: 0 30px 20px 30px;
  letter-spacing: 2px;
}

a {
  color: gray;
  text-decoration: none;
}
a:hover {
  color: lightgray;
}

b, strong, i, em {
  color: darkgray;
}

/* HEADER */
.header-container {
  width: 1000px;
  height: 430px;
  margin: 50px auto 30px auto; /* bottom spacing added */
  position: relative;
}
.headback, .headfront {
  width: 592px;
  height: 388px;
  border: 10px solid black;
  box-sizing: border-box;
  position: absolute;
}
.headback {
  top: 0;
  left: 0;
}
.headfront {
  top: 60px;
  left: 450px;
  z-index: 2;
}
.site-title {
  position: absolute;
  top: -35px; /* raised title */
  left: 185px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 72px;
  color: black;
  z-index: 3;
  background: none;
  /* background removed */
}

/* NAVIGATION */
.main-nav {
  position: absolute;
  top: 385px;
  left: 170px;
  text-align: right;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 24px;
  z-index: 4;
}
.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}
.main-nav ul + ul {
  margin-top: -5px; /* tighter line spacing */
}
.main-nav a {
  color: black;
  padding: 0 10px;
}
.main-nav a:hover {
  color: white;
  background: black;
}

/* CONTENT */
.content-container {
  width: 1000px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* FOOTER */
.footer {
  width: 1000px;
  background: black;
  color: white;
  margin: 40px auto 0 auto;
  padding: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Darker Grotesque", sans-serif;
}
.footer p {
  color: white;
  font-weight: 400;
  font-size: 12px !important;
  letter-spacing: 3px;
  line-height: 15px;
}
.footer a {
  color: white;
}
.footer a:hover {
  color: darkgray;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: lowercase;
}
h1 {
  font-size: 30px;
  text-align: center;
  background: black;
  color: white;
  margin: 0 0 20px 0;
  padding: 0;
  width: 1000px;
}
h2 {
  font-size: 25px;
  text-align: center;
  padding: 0 40px;
  color: black;
  border-left: 10px solid black;
  border-right: 10px solid black;
  margin: 20px auto;
  width: 200px;
}
h3 {
  font-size: 20px;
  color: black;
  margin: 15px 0;
}

/* ==================================================
   WEBRING
   ================================================== */

#fanlistings {
  font-family: "Darker Grotesque", sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 13px;
  font-style: normal;
}



/* ==================================================
SAMPLE LINK
================================================== */

.samplelink { 
  width: 300px; 
  margin: 0 auto; 
  padding: 10px; 
  background: #ffffff; 
  border: 4px solid #000000; 
  font-family: "Darker Grotesque", sans-serif; 
  font-style: normal; 
  font-size: 14px; 
  font-weight: 400; 
  color: #000000; 
  text-shadow: none !important; 
} 

.copy-button { 
  width: 100px; 
  margin: 5px auto 0 !important; 
  padding: 10px !important; 
  background: #ffffff; 
  border: 4px solid #000000; 
  font-family: "Darker Grotesque", sans-serif; 
  font-style: normal; 
  font-size: 14px; 
  font-weight: 400; 
  color: #000000; 
  text-align: center; 
  transition: background 0.2s; 
  text-shadow: none !important; 
} 

.copy-button:hover { 
  font-weight: 400; 
  box-shadow: #000000 1px 1px; 
}




/* ------------------- CODES ------------------- */

.codesort {
  width: 700px;
  margin: 0 auto;
}

.show_sort_list,
.codesort a {
  color: #000000;
}

.show_sort_list:hover,
.codesort a:hover {
  color: #2c2c2c;
}

#codes ul {
  display: flex;
  justify-content: center;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
}

#codes li {
  display: inline;
}

#codes p {
  text-align: center;
}

#codes p img {
  margin: 0 auto;
}

.show_sort_list {
  margin-left: 100px;
  padding: 0;
  font-family: "Darker Grotesque", sans-serif; 
  font-weight: 400;
  font-size: 20px;
  list-style: none;
}

.show_sort_list li {
  margin: 5px 0;
}

.show_sort_list a {
  color: #000000;
  text-decoration: none;
}

.show_sort_list a:hover {
  color: #2c2c2c;
  text-decoration: underline;
}


#codes img {
  margin: 5px !important;
  padding: 0;
  background: #f2f2ef;
  border: 4px solid #000000;
  box-shadow: #ffffff 1px 1px;
}





/* ==================================================
FORMS
================================================== */


.custom_input {
display: flex;
align-items: center;
margin-bottom: 5px !important;
}


.custom_input label {
width: 120px;
margin-right: 10px;
text-align: right;
font-family: "Darker Grotesque", sans-serif; 
font-size: 20px;
font-weight: 400;
color: #000000;
}

form[class^="show_"] span[class$="_label"] {
  display: block;
  margin-bottom: 5px;
  font-family: "Darker Grotesque", sans-serif; 
  font-size: 20px;
  font-weight: 400;
  color: #000000;
}


.custom_input .input,
form[class^="show_"] input[type="text"],
form[class^="show_"] input[type="email"],
form[class^="show_"] input[type="password"],
form[class^="show_"] input[type="url"],
form[class^="show_"] select,
form[class^="show_"] textarea {
width: 300px;
padding: 10px;
margin-bottom: 5px;
background: #ffffff;
border: 1px solid #000000;
box-sizing: border-box;
font-family: "Darker Grotesque", sans-serif; 
font-size: 20px;
font-weight: 400;
color: #000000;
outline: none;
transition: 0.3s ease;
}


.show_join_password_field,
.show_update_password_field,
.show_join_password_field2,
.show_update_password_field2 {
  display: block;
  width: 300px;
  clear: both;
}


/* Buttons */
.custom_input input[type="submit"],
form[class^="show_"] input[type="submit"],
form[class^="show_"] input[type="reset"] {
padding: 10px 20px;
margin-top: 10px;
background: #ffffff;
border: 1px solid #000000;
cursor: pointer;
font-family: "Darker Grotesque", sans-serif; 
font-size: 20px;
font-weight: 400;
color: #000000;
transition: 0.3s;
}


.custom_input input[type="submit"]:hover,
form[class^="show_"] input[type="submit"]:hover,
form[class^="show_"] input[type="reset"]:hover {
box-shadow: #000000 1px 1px;
}


/* Form structure */
form[class^="show_"] p {
margin-bottom: 15px;
}



.bio {
  border: 10px solid black;
  box-sizing: border-box;
  display: block; 
  margin: 25px auto;
}









/* RESPONSIVE MOBILE */
@media (max-width: 800px) {
  .header-container {
    width: 100%;
    height: auto;
  }
  .headback {
    display: none;
  }
  .headfront {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
  }
  .site-title {
    position: relative;
    left: auto;
    top: auto;
    text-align: center;
    display: block;
    width: 100%;
  }
  .main-nav {
    position: relative;
    top: auto;
    left: auto;
    text-align: center;
    margin-top: 10px;
  }
  .main-nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  .content-container {
    width: 100%;
  }
  .footer {
    width: 90%;
  }
  h1, h2, h3 {
  width: 80%;
  }
}