html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  height: 100%;
  margin: 0;
  background: #fcfcf3;

}
Default,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
h1,
h2,
h3 {
  color: #05668d;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
}
h4 {
  font-size: 120%;
}
p {
  font-family: "Cousine", monospace;
}
#wrapper {
  max-width: 90%;
  margin: auto;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  z-index: 1;
  width: 90%;
  max-width: 800px;
  background-color: transparent;
  padding-top: 1em; 
}
nav ul {
  display: flex;
  list-style: none;
  align-items:  flex-end;
}
nav img {
  border-radius: 90px;
  background-color: #05668d; 
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#personal {
  padding-top: 5em;
}
.card img {
  max-width: 300px;
}
#about h2 {
  padding-top: 1em;
}
#about p {
  margin: 1em auto;
  font-size: 120%;
}
#tech {
  margin: 1em auto;
}
#contact {
  margin: 1em auto;
  text-align: center;
  padding-bottom: 2em;
}
.card-deck {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr) ) ;
  justify-items: stretch;
}
.card {
  margin: 1em;
  text-align: center;
}
.card-title {
  font-size:1.6rem;
  padding-bottom: 0.5em;
}
.card a:link {
  background-color: transparent;
}
#outside-link {
  color: #05668d;
  margin-top: 10px;
}
.card-text {
  padding-top: 0.5em;
  max-width: 300px;
  margin: auto;
  font-size:1.2rem;
}
a:link,
a:visited {
  background-color: #05668d;
  color: white;
  padding: 0.5em;
  margin-right: 0.5em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #FCFCF3;

}

a:hover,
a:active {
  background-color: #FCFCF3;
  border: 1px solid #05668d;
  color: #05668d;
}

@media (min-width: 800px) {
  #wrapper {
    max-width: 800px;
  }
  .card img {
    max-width: 365px;
  }
  .card-text {
    max-width: 365px;
  }
  
}
@media (min-width: 1000px) {
  nav img {
    animation: aniNav 1s ease;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }
  @keyframes aniNav {
    0% {}
    100% {margin-left: -5em;
          margin-top: 1em;}
  }
  nav ul {
    animation: navUl 1s ease;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }
  @keyframes navUl {
    0% {}
    100% {margin-right: -13em;
          margin-top: 1em;}
  }
  }
}