body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000000;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 80px;

}

.grid {
  color: white;
  text-decoration: none;
  font-size: 11pt;
}


p {

  text-align: center;
}

.cv {
  text-align: left;
  justify-content: left;
  align-content: left;
}

pre {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
}

img.horizontal-shake:hover {
  animation: horizontal-shaking 0.35s infinite;
}

@keyframes horizontal-shaking {
  0% {
    transform: translateX(0)
  }

  25% {
    transform: translateX(1px)
  }

  50% {
    transform: translateX(-1px)
  }

  75% {
    transform: translateX(1px)
  }

  100% {
    transform: translateX(0)
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;

}

.grid img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  object-position: center;
}


h1 {
  font-size: 11pt;
  background-color: #1d1d1d;
  color: white;
  padding: 5px;
  margin: 0px 0px 10px 0px;
}

a {
  text-decoration: none;
  color: white;
}

.content {
   padding-bottom: 50px;
   
}

.text:hover {
  text-decoration: underline;
  background-color: #FF80F7;
  color: black;
}

hr {
  margin-top: 3em;

   border: none;
  border-top: 1px solid #f4f4f4;
}


.work {
  max-width: 600px;
  justify-content: center;
  margin: auto;
  color: #8e8e8e;
  line-height: 1.3;
}

.card {
  position: relative;
  overflow: hidden;

}

figcaption {
  padding: 10px;
}


figure:hover .text {
  text-decoration: underline;
  background-color: #FF80F7;
  color: black;
}


.container {
  width: 100%;
  max-width: 700px;
  text-align: center;
  min-height: 100vh;
  

}

.hero {
  display: grid;
  place-items: center;
  height: 60vh;
}


.container p {
  text-align: justify;
  font-size: 11pt;
}


nav {
  padding: 50px;
  align-items: center;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-size: 10pt;
}

nav a:hover {
  text-decoration: underline;
}

img {
  max-width: 600px;
}

.about {
  color: #8e8e8e;
  font-size: 11pt;
}


footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  /* background-color: #FF80F7; */
  background-color: #1d1d1d;
  text-align: center;
  font-size: 11pt;
  text-decoration: none;
  padding: 10px 0px 10px 0px;
}

footer a {
  color: rgb(255, 255, 255);

}


@media (max-width: 768px) {

  .grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .grid img {
    width: 100%;
    height: 200px;
  }

  nav {
    padding: 30px;
  }

  .container {
    padding: 0 20px;
  }

  img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {

  body {
    align-items: flex-start;
  }

  .grid img {
    height: 180px;
  }

  h1 {
    font-size: 11pt;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }

  .hero {
    height: 40vh;
  }
}