.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  width: 300px;
  height: 300px;
  /* background: var(--dark-glass); */
  border-radius: 6px;
  border: 1px solid var(--dark-glass-bright); }

/* .card:hover {
  background: var(--dark-glass-bright);
} */
.card-content {
  padding: 5px 10px;
  height: 115px;
  display: flex;
  flex-direction: column;
  gap: 5px; }

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to top, black, rgba(255, 255, 255, 0));
  padding: 10px;
  mix-blend-mode: multiply; }

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

.card h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--theme-color); }

.card:hover h2 {
  color: var(--theme-color-muted); }

.card p {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  color: var(--text-color-muted); }

.card-images {
  flex-grow: 1;
  flex-basis: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  overflow: hidden; }

.masonry-item {
  flex: 1 1 100px;
  overflow: hidden; }

.post {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem; }

.post img {
  max-width: 80%;
  height: auto;
  margin: 1rem auto 2rem auto;
  display: block; }

* {
  box-sizing: border-box; }

/* make all scroll bars pretty */
::-webkit-scrollbar {
  width: 10px;
  height: 10px; }

::-webkit-scrollbar-track {
  background: #393939; }

::-webkit-scrollbar-thumb {
  background: #6f7590;
  border-radius: 2px; }

:root {
  --dark-glass: #0003149a;
  --dark-glass-bright: #242c37a7;
  --text-color: #ededed;
  --text-color-muted: #d3d3d3;
  --theme-color: #5b94ff;
  --theme-color-muted: #4486ff99;
  --secondary-color: #ff9900;
  --secondary-color-muted: #ff990099;
  --background-color: #181818; }

.intro, h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", "Inter", sans-serif; }

a {
  color: var(--theme-color);
  text-decoration: none; }

a:hover {
  color: var(--theme-color-muted); }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0; }

body {
  background-color: var(--background-color);
  font-family: "Roboto", "Inter", sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  margin: 0;
  padding: 0; }

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  margin-bottom: 1rem;
  background-color: #303030; }

footer {
  border-top: 1px solid #222;
  margin-top: 1rem;
  margin-left: 60px;
  margin-right: 60px; }

h1 {
  margin-top: 0; }

main {
  padding: 0px 60px;
  margin-top: 100px; }

@media (max-width: 800px) {
  main {
    padding: 0px 10px; } }

.gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px; }

.capitalize {
  text-transform: capitalize; }

.visual-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; }

.visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: black; }

.visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(to bottom, #00000000 80%, var(--background-color) 100%); }

.visual-info {
  font-family: "Consolas", "Courier New", monospace;
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 100;
  padding: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-color); }

.glass {
  background: var(--dark-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Safari support */ }

.fade {
  opacity: 0.9;
  transition: opacity 0.3s ease-in-out; }
