@font-face {
  font-family: 'Futura Bk BT';
  font-display: swap;
  font-weight: 100;
  font-stretch: normal;
  font-style: normal;
  src: url(../fonts/FuturaBT-Book.woff) format('truetype');
}
@font-face {
  font-family: 'Futura Lt BT';
  font-display: swap;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  src: url(../fonts/FuturaLT-Light.ttf) format('truetype');
}

.header-bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.header-bg {
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.header-bg nav,
.header-with-bg #title,
.header-with-bg ul,
.header-with-bg li {
  position: relative;
  z-index: 1;
}

html, body, ul, p, h1, h2, h3 {
  margin: 0;
  padding: 0;
}
html {
  background-color: #131516;
  overflow-x: hidden;
  height: 100%;
}
body {
  height: inherit;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-x: hidden;
  background-color: #131516;
}
li {
  list-style: none;
  user-select: none;
}
li a {
  color: #ED365B !important;
  text-decoration: underline 0.1em rgba(255,255,255,0);
  transition: text-decoration-color 300ms;
}
li a:hover {
  text-decoration-color: var(--link-hover-color);
}

main {
  height: inherit;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  justify-content: flex-start;
  background-color: #131516;
}
main p,
main a {
  color: white;
  font-family: 'Futura Bk BT', Futura, sans-serif;
}
main li {
  list-style: none;
  user-select: none;
}


header nav {
  margin-top: 3%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}


header nav #navmenu {
  font-family: 'Futura Bk BT', Futura, sans-serif;
  font-style: italic;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.2em 0.8em;
  border-radius: 0.1em;
  background: rgba(0,0,0,0.12);
  backdrop-filter: blur(1px);
  margin: 0 auto;
  width: auto;
}

header nav #navmenu a {
  color: white;
}
#page a {
  color: #ED365B !important;
}
#notpage a {
  color: white !important;
}

header #title {
  text-align: center;
  font-family: 'Futura Bk BT', Futura, sans-serif;
  font-size: 32px;
  font-style: bold;
  color: #ED365B;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.027);
  display: inline-block;
  padding: 0.3em 1em;
  border-radius: 0.1em;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(2px);
  margin: 0.5em auto;
}
footer {
  text-align: center;
  font-family: 'Futura Bk BT', Futura, sans-serif;
  font-size: 12px;
  font-style: normal;
  bottom: 0;
  position: relative;
}
footer p {
  color: white;
}
footer #buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.1rem;
}

main #socials {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
}
main #socials img {
  filter: brightness(0) saturate(100%) invert(91%) sepia(9%) saturate(500%) hue-rotate(275deg) brightness(105%) contrast(98%) invert(var(--img-invert));
  width: 1.6rem;
  height: 1.6rem;
}
main #socials img:hover {
  filter: brightness(0) saturate(100%) invert(92%) sepia(18%) saturate(400%) hue-rotate(290deg) brightness(95%) contrast(90%) invert(var(--img-invert));
}

h1 {
  font-size: 20px;
  font-family: 'Futura Bk BT', Futura, sans-serif;
  color: white;
}
h2 {
  font-size: 14px;
  font-weight: bolder;
  font-family: 'Futura Lt BT', Futura, sans-serif;
  color: white;
}

main #intro3 {
  padding-left: 40px;
  padding-right: 40px;
}
main #intro2 {
  flex-wrap: wrap;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}
main #posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
}
main #blogetitle {
  color: white;
  text-align: center;
}
main #BlogPostTitle,
main #Summary {
  text-align: center;
}
main #bloglist {
  color: white;
}

.blogpostpreview {
  width: 100%;
  max-width: 700px;
  margin: 1rem auto;
  padding: 1rem;
  font-family: 'Futura Bk BT', Futura, sans-serif;
  border: 1px solid rgba(220, 20, 60, 0.212); 
  border-radius: 0.9em;
  background: rgba(0,0,0,0.10);
  box-sizing: border-box;
  transition: transform 0.18s cubic-bezier(.4,2,.3,1), box-shadow 0.18s;
}

.blogpostpreview:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 4px 12px rgba(220,20,60,0.07), 0 1px 3px rgba(0,0,0,0.08);
}

.blogpostpreview ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: white;
}

#BlogPostTitle a {
  color: #ED365B !important;
  text-decoration: underline;
  font-family: 'Futura Bk BT', Futura, sans-serif;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  display: inline-block;
}

.blogpostpreviewsmall {
  text-align: center;
  width: 75%;
  max-width: 700px;
  margin: 1rem auto;
  padding: 1rem;
  font-family: 'Futura Bk BT', Futura, sans-serif;
  border: 1px solid rgba(220, 20, 60, 0.212); 
  border-radius: 0.9em;
  background: rgba(0,0,0,0.10);
  box-sizing: border-box;
  transition: transform 0.18s cubic-bezier(.4,2,.3,1), box-shadow 0.18s;
}

.blogpostpreviewsmall:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 4px 12px rgba(220,20,60,0.07), 0 1px 3px rgba(0,0,0,0.08);
}

#Summary {
  color: white;
  font-family: 'Futura Bk BT', Futura, sans-serif;
  font-size: 0.95rem;
  margin-left: 0.2rem;
  display: block;
  font-style: italic;
}

main #posts #blogpostpreview {
  border-bottom: 0.05rem solid #e4e2e2;
  border-spacing: 1rem;
}
main #posts #blogpostpreview ul {
  display: flex;
  justify-content: center;
  gap: 0.1rem;
}
main #posts #blogpostpreview #Summary {
  color: white;
}
main #posts #blogpostpreview #BlogPostTitle {
  font-size: 14px;
  font-weight: bolder;
  font-family: 'Futura Lt BT', Futura, sans-serif;
  color: white;
  
}

.d2000 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  padding: 0.3rem 0.8rem;
  box-sizing: border-box;
  transition: transform 0.18s cubic-bezier(.4,2,.3,1), box-shadow 0.18s;
}

.d2000:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 4px 12px rgba(220,20,60,0.07), 0 1px 3px rgba(0,0,0,0.08);
}

.project-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin: -2px auto 2rem auto;
  height: auto;
  width: auto;
  max-width: 300px;
  max-height: 300px;
}

.intro-text {
  width: 100%;
  max-width: 600px;
  margin: -5px auto 2rem auto;
  padding: 0.5rem 1rem;
  background: none;
  position: relative;
  z-index: 2;
}

.blogpost {
  width: 100%;
  max-width: 700px;
  margin: -60px auto 2rem auto;
  padding: 2rem 1rem;
  background: none;
  position: relative;
  z-index: 2;
  
}

.blogpost li {
  font-family: 'Futura Bk BT', Futura, sans-serif;
  font-weight: bold;
  font-style: italic;
  color: white;
}
.blogpost h1, .blogpost h2, .blogpost h3 {
  font-family: 'Futura Bk BT', Futura, sans-serif;
  color: #ED365B;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.blogpost h1 {
  font-size: 2.2rem;
}
.blogpost h2 {
  font-size: 1.5rem;
}
.blogpost h3 {
  font-size: 1.2rem;
}
.blogpost h4 {
  color: #ED365B;
  font-family: 'Futura Bk BT', Futura, sans-serif;
  font-style: italic;
}

.blogpost p {
  font-family: 'Futura Bk BT', Futura, sans-serif;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}
.blogpost a {
  color: #ED365B;
  text-decoration: underline;
  font-family: 'Futura Lt BT', Futura, sans-serif;
}
.blogpost img {
  max-width: 65%;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
}

@media (max-width: 600px) {
  html, body {
    font-size: 14px;
  }
  h1 {
    font-size: 1.1rem;
  }
  h2 {
    font-size: 1rem;
  }
  header #title {
    font-size: 1.7rem;
  }
  .blogpost {
    width: 100%;
    max-width: 98vw;
    margin: 0.2rem auto 1rem auto;
    padding: 0.5rem 0.2rem;
    background: none;
    position: relative;
    z-index: 2;
  }
  .blogpost h1, .blogpost h2, .blogpost h3 {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
  .blogpost img {
    max-width: 75%;
    margin: 0.7rem auto;
  }
  .blogpost h2 {
    font-size: 1rem;
  }
  .blogpost h3 {
    font-size: 0.9rem;
  }
  .blogpost p {
    font-size: 0.95rem;
  }
  main {
    gap: 0.5rem;
  }
  main #intro3 {
    padding-left: 10px;
    padding-right: 10px;
  }
  .d2000, .project-image {
    max-width: 20vw;
    width: 100%;
  }
  main #socials img {
    width: 1.2rem;
    height: 1.2rem;
  }

}