/* Your @font-face rule remains unchanged */
@font-face {
  font-family: "SourceCodePro";
  src: url("/hack.regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@keyframes colorChange {
  0% {
    color: #fff;
  }
  25% {
    color: #df67f7;
  }
  50% {
    color: #00f7ff;
  }
  75% {
    color: #10ff74;
  }
  100% {
    color: #fff;
  }
}

@keyframes shadow {
  0% {
    text-shadow: 2px 0px 2px rgba(0, 0, 0, 1);
  }
  50% {
    text-shadow: -2px 0px 2px rgba(0, 0, 0, 1);
  }
  100% {
    text-shadow: 2px 0px 2px rgba(0, 0, 0, 1);
  }
}

@keyframes borderColorChange {
  0% {
    border-color: #fff;
  }
  25% {
    border-color: #df67f7;
  }
  50% {
    border-color: #00f7ff;
  }
  75% {
    border-color: #10ff74;
  }
  100% {
    border-color: #fff;
  }
}

@media (max-width: 750px) {
  h1 {
    margin-bottom: 0px;
  }
  nav {
    margin-top: 10px;
  }
  nav a {
    font-size: 3.5vw;
  }
}

body {
  font-size: 0.875rem;
  font-family: "SourceCodePro", monospace;
  margin: 0;
  min-height: 100vh;
  width: 100%;
  line-height: 1.4;
  background: linear-gradient(0deg, #2b5ca2, #795ca3);
  background-attachment: fixed;
  background-size: cover;
}

/* Project stuff*/
h2 {
  text-align: center;
  color: white;
}

div.description > p > a {
  color: black;
}

.resources a {
  color: black;
}

.cards__item {
  display: flex;
  padding: 3rem;

  @media (max-width: 600px) {
    .description {
      display: block;
      text-align: center;
    }
  }
}

.card {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  &:hover {
    .card__image {
      filter: contrast(100%);
    }
  }
  margin: auto;
}

.card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.card__title {
  color: black;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.card__text {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.media {
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 1.25rem;
  height: 10rem;
  border-radius: 5px;
}

.mid-media {
  margin: auto;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  max-width: 30vw;
  border-radius: 5px;
}

.big-media {
  display: block;
  margin-top: 10px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1.25rem;

  max-width: 55vw;
  max-height: 500px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* for any code snippets" 
  .code {
    height: 300px;
    overflow-y: scroll;
  }*/

.content {
  position: absolute;
  width: 99%;
  height: 100%;
  margin: 0 auto;
  padding-bottom: 20px;
  font-family: "SourceCodePro", monospace;
}

p {
  font-size: 0.875rem;
}

.gist-meta {
  display: none;
}
