body {
  margin: 0;
  padding: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='60' height='60' fill='%23080811'/%3E%3Crect x='0' y='59' width='60' height='1' fill='%23111118'/%3E%3Crect x='59' y='0' width='1' height='60' fill='%23111118'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 60px 60px;
  background-color: #080811;
  display: grid;
  grid-template-rows: auto auto;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
}

main {
  max-width: 56ch;
  margin: 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: center;
  align-items: flex-start;  
}
::selection {
  background: #557;
  color: rgb(195, 195, 205);
}
h3 {
  color: #9d9;
}

h4 {
  display: inline;
}
* {
    color: rgb(195, 195, 205);
    font-family: 'Cascadia Mono', sans-serif;
}

nav {
  margin-top: 1rem;
  justify-self: flex-start;

  display: flex;
  min-width: 480px;
  justify-content: space-evenly;
}
nav > * {
    padding: 1rem;
    border: 1px solid #557;
    color: #99d;
    background-color: rgba(85, 85, 119, 0.5);
    transition: 0.2s ease-in-out;
}

nav > *:hover {
  background-color: rgba(85, 85, 119, 0.75);
  color: #aae;
}

h1, h2, h3{
  margin: 0.5rem 0;
}

p {
  margin: 1rem 0;
}
.heading {
  display: grid;
  align-items: center;
  width: 100%;
}

#experiences .heading {
    grid-template-columns: 4fr 2fr;
}

.heading h3, .heading h4 {
  margin: 0.25rem 0;
}

#information {
  display: grid;
  grid-template-columns: 3fr 3fr;
}
#information section {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 100%;
}

#information section h4 {
  display: flex;
  margin: 0;
}

#information section h4 img {
  height:1.2rem;
  width: 1.2rem;
  clip-path: none;
}
#information section h4 a {
  margin-left: 0.5rem;
}
.card {
  border-radius: 1rem;
  border: 3px solid #557;
  padding: 1rem;
  margin: 1rem 0;
  background-color: rgba(85, 85, 119, 0.5);
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

img {
  clip-path: circle();
  width: 160px;
  height: 160px;
}
.card:hover {
  background-color: rgba(85, 85, 119, 0.75);
}

.card h4 span {
  color: #6e6e87;
  font-style: oblique;
}

time {
  color: #6e6e87;
  font-style: oblique;
  font-weight: 600;
}

.card p {
  font-style: oblique;
}

h1 span {
  font-weight: 300;
}
.card h2 span {
  color: #99d;
  text-decoration: underline;
}
article {
  width: 100%;
  margin: 1rem 0;
}
article p {
  font-style: oblique;
}

article a:hover {
  color: #557;
}

.skill-category {
  margin: 1rem 0;
}
.skill-category p {
  margin: 0.25rem 0;
}

@media (max-width: 580px) {

main {
  max-width: calc(100vw - 1rem - 1rem);
  margin: 1rem;
}

#information {
  grid-template-columns: 2fr 4fr;
}

nav > * {
  padding: 0.75rem;
}

nav {
  min-width: 300px;
  width: 100vw;
}

#experiences .heading {
  grid-template-columns: 3.5fr 2.5fr;
}

}

 #information section h4 a {
    font-size: 0.9rem;
  }

  #information section h4 {
    font-size: 0.9rem;
  }

  #information img {
    width: 120px;
    height: 120px;
  }

@media (max-width: 480px) {

main {
  max-width: calc(100vw - 1rem - 1rem);
  margin: 1rem;
}
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 0.9rem;
  }
  h4 {
    font-size: 0.9rem;
  }
  p {
    font-size: 0.8rem;
  }
  a {
    font-size: 0.8rem;
  }

  #information img {
    width: 80px;
    height: 80px;
  }
}


@media (max-width: 480px) {
  #information {
  grid-template-columns: 1.5fr 4.5fr;
}

}