/* Destroy the ridiculous default values */
html,body,div,span,iframe,h1,h2,h3,h4,p,pre,del,em,img,b,i,dl,dt,dd,ol,ul,li,form,table,tbody,tr,th,td,article,aside,footer,header,nav,section,hr{
margin:0;
padding:0;
border:0;
outline:0;
font-size: 20px;
}

/* add fonts */
@font-face{
font-family:atkinson;
src: url('fonts/atkinson.otf');
}
@font-face{
font-family:constan;
src: url('fonts/constanb.ttf');
}
@font-face{
font-family:profont;
src: url('fonts/profont.ttf');
}
@font-face{
font-family:zunka;
src: url('fonts/zunka.otf');
}
/* from here down is where stuff actually starts getting styled */
/* this is such a scuffed fix for making everything smaller */
:root {
--clra: #fc313f;
--clrb: #181818;
--clrc: #1f1f1f;
--clrd: #ded;
}
html {
font-family: atkinson;
background-color: var(--clrc);
color: var(--clrd); 
zoom: 0.85;
scrollbar-color: var(--clra) var(--clrc);
}
ol {
  list-style-type: none;
}

h3, h4, h5, h6 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-family: constan;
  -webkit-text-stroke: 1px var(--clrb);
  color: var(--clra);
  text-shadow: 0 0 3px var(--clra);
}

h1 {
font-size: clamp(2rem, 4vw, 2.5rem);
font-family: constan;
-webkit-text-stroke: 1px var(--clrb);
color: var(--clra);
text-shadow: 0 0 3px var(--clra);
}
h2 {
font-size: clamp(1.5rem, 3.5vw, 2rem);
font-family: constan;
-webkit-text-stroke: 1px var(--clrb);
color: var(--clra);
text-shadow: 0 0 3px var(--clra);
}
a {
color: var(--clra);
}
a:hover {
color: var(--clrd);
}
hr {
border-top: 1px solid var(--clra);
text-align: center;
width: 75%;
margin: 0.5px auto;
margin-bottom: -15px;
}
hr:after {
content: 'I';
display: inline-block;
position: relative;
top: -16px;
margin-bottom: 1vh;
color: var(--clra);
font-size: 30px;
}
/* styles navigation banner */
.logo {
  position: relative;
  top: 10px;
}
nav {
display: flex;
margin: 0.5vh 1vw 0;
justify-content: center;
}
nav h1, nav li {
font-size: clamp(1.3rem, 4vw, 2.5rem);
display: inline-flex;
justify-content: center;
margin: 1vh 2vw;
}
.navlist li {
  font-family: zunka;
}
/* styles blog list on index.html */
.blogbox {
background-color: var(--clrb);
padding-top: 5px;
padding-left: 5px;
padding-bottom: 5px;
margin: 5vh auto;
border-radius: 10px;
width: fit-content;
max-width: 85%;
font-size: clamp(1.25rem, 3vw, 2.5rem);
}
.blogbox h1 {
  text-align: center;
}
.posts {
display: grid;
margin: 0 2vw;
grid-template-columns: auto auto;
}
@media screen and (max-width: 640px) {
.posts {
  grid-template-columns: none;
}
}
.posts a {
font-size: clamp(1.25rem, 3vw, 2.5rem);
}
.postdate {
margin-right: 2vw;
font-size: clamp(1.25rem, 3vw, 2.5rem);
}
.postdate:before {
content: ':';
opacity: .75;
}
.postdate:after {
content: ':';
opacity: .75;
}
#postsep {
font-size: clamp(1.25rem, 3vw, 2.5rem);
color: var(--clrd);
}
#archivelink {
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  margin-top: 3vh;
  justify-content: center;

}
/* styles latest.html partial */
.latest {
background-color: var(--clrb);
padding-left: 5px;
margin: 0 1vw 1vh;
border-radius: 10px;
}
.center {
  text-align: center;
}

@media screen and (max-width: 500px) {
.latest {
padding-left: 0;
margin: 0 0 0;
}
}
.latest h1 {
  text-decoration: underline;
}
.latest img {
  border: solid 2px var(--clra);
  border-radius: 10px;
  margin: 2vh 0;
}
.latest p {
  font-size: clamp(1.25rem, 2vw, 2rem);
}
.playlink {
  display: table;
  margin: 2vh auto;
  font-size: clamp(1.5em, 1.5vw, 2em);
}
.playlink:before {
  content: ">";
  font-family: profont;
  animation: opacity 2s infinite;
  padding: 0 1vw;
}
.playlink:after {
  font-family: profont;
  content: "<";
  animation: opacity 2s infinite;
  padding: 0 1vw;
}
@keyframes opacity {
  50% {opacity: 0;}
}
/* styles members.html */
.whotext {
  width: 75%;
}
.whotext p {
  font-size: clamp(1.25rem, 2vw, 2.25rem) !important;
  margin-top: 0 !important;
  margin-bottom: 2vh !important;
}
.memberblock {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.member {
  display: flex;
  background-color: var(--clrb);
  width: 80%;
  min-width: 75%;
  border-radius: 10px;
  padding: 2vh 2vw;
  margin: 2vh 0;
}
.member:nth-child(odd) {
  align-self: flex-start;
  flex-direction: row-reverse;
}
.member:nth-child(even) {
  align-self: flex-end;
}
.member h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}
.member img {
  border: solid 1px var(--clra);
  border-radius: 5px;
  width: 100%;
  height: auto;
  max-width: 300px;
}
@media screen and (max-width: 960px) {
.member {
 display: flex;
flex-direction: column!important;
}
.member img {
max-width: 150px;
height: auto;
margin: 0 auto 5px;
}
.member p {
  text-align: center;
}
}
.member p {
  font-size: clamp(1.25rem, 2vw, 2rem);
  margin-top: -30px;
  margin-left: 5vw;
  margin-right: 5vw;
}
.membertext {
  margin: 0 2vw;
}
.membertext a {
  font-size: clamp(1.25rem, 2vw, 2rem);
  display: block;
  margin-top: 2vh;
  text-align: center;
}
/* styles post page */
main:has(.postpage) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.postpage {
  background-color: var(--clrb);
  width: 80%;
  margin: 2%;
  font-size: 30px;
}
.postpage>h1,
.postpage>h2,
.postpage>h3,
.postpage>h4,
.postpage>h5,
.postpage>h6 {
  text-align: center;
  border-bottom: solid 1px var(--clra);
  margin-bottom: 10px;
  margin-top: 0;
}

.postpage p {
  font-size: 1em;
  margin: 1em;
}

.postpage strong {
  font-weight: bold;
}

.postpage em {
  font-style: italic;
  font-size: 1em;
}

.postpage blockquote {
  background-color: var(--clrc);
  border-radius: 1em;
  padding: 0.5em;
}

.postpage blockquote>blockquote {
  background-color: var(--clrb);
}

.postpage ul,
.postpage ol,
.postpage li {
  font-size: 1em;
}

.postpage ul,
.postpage ol {
  list-style-type: disc;
  list-style-position: inside;
  margin-left: 1.5em;
}

.postpage ul ul,
.postpage ol ol,
.postpage ul ol,
.postpage ol ul {
  list-style-type: square;
}

.postpage pre {
  background-color: var(--clrd);
  color: var(--clrc);
  margin-bottom: 1.5em;
  padding: 0.5em;
  overflow: auto;
  scrollbar-color: var(--clrc) var(--clrd);
}
.postpage img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  max-width: 100%;
}
.postpage iframe {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.centerline {
  border-top: solid 1px var(--clra);
  padding-top: 10px;
  padding-bottom: 10px;
}
.postnav {
  font-size: clamp(1.25rem, 2vw, 2rem);
}
.posttags li {
display: inline;
}
/* styles archive page */
.archiveprelink {
  text-align: center;
}
.archiveposts p {
  border-bottom: none;
  margin-bottom: 0;
}
.archiveposts li {
  list-style-type: none!important;
}
.archivelink {
  border-bottom: solid 1px var(--clra);
  font-size: clamp(1.25rem, 3vw, 2.5rem);
}
.taglist ul {
  margin: 3vh 3vw;
}
.taglist li {
  font-size: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--clrd);
  padding: 3px 3px;
  width: fit-content;
  display: inline-flex;
}
.postbytag {
  display: flex;
  margin: 3vh auto;
}
.postbytag li {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
/* styles projects page */
.centerbg {
  background-color: var(--clrc);
}
.projlist {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1vw;
}
@media screen and (max-width: 1200px) {
  .projlist {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 620px) {
  .projlist {
    grid-template-columns: 1fr;
  }
}
.projitem {
overflow-wrap: anywhere;
background-color: var(--clrc);
border: solid 1px var(--clra);
border-radius: 10px;
display: flex;
flex-direction: column!important;
align-items: center;
}
.projitem h2 {
margin-top: 5px;
font-size: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}
.projitem h3 {
font-family: zunka;
font-size: clamp(1.10rem, 2.5vw, 1.75rem);
border-bottom: 1px dotted var(--clrd);
}
.projitem h4 {
font-family: atkinson;
font-size: clamp(1rem, 2vw, 1.50rem);
color: var(--clrd);
border-bottom: 1px double var(--clra);
margin-bottom: 5px;
-webkit-text-stroke: unset;
text-shadow: none;
}
.projitem img {
  margin-bottom: 2vh;
  width: 400px;
}
.projbox ol {
  margin: 3vh 1vw;
}

.projitem a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  /* display: flex; */
  /* max-width: 350px; */
  /* flex-direction: column; */
  /* margin-bottom: none; */
  text-align: center;
  box-shadow: 0 0 0px 0px transparent;
  transition: box-shadow 0.2s ease;
}
.projitem a:hover {
  box-shadow: 0 0 7px 3px var(--clra);
  border-radius: 10px;
}

.projitem p {
  color: var(--clrd);
  border-bottom: none;
  margin: none;
  padding: none;
}
