@font-face {
  font-family: 'Nunito';
  src: url("assets/Nunito/Nunito-Light.ttf");
  font-display: fallback;
}

@font-face {
  font-family: 'Nunito-Light';
  src: url("assets/Nunito/Nunito-ExtraLight.ttf");
  font-display: fallback;
}

@font-face {
  font-family: 'Lato';
  src: url("assets/Lato/Lato-Bold.ttf");
  font-display: fallback;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    margin-left: 100%;
  }
  to {
    margin-left: 0%;
  }
}

@keyframes slideInRight {
  from {
    margin-right: 100%;
  }
  to {
    margin-right: 0%;
  }
}

.fade-in {
  animation: fadeIn ease 3s;
}

.slide-in {
  animation: slideIn 1s forwards;
}

.slide-in-right {
  animation: slideInRight 1s forwards;
}

.hidden {
  opacity: 0;
}

:root {
  --accent-color: white;
  --accent-color2: #A27E62;
}

* {
  margin: 0;
  padding: 0;
}

h1 {
  font-family: 'Nunito-Light', Georgia, 'Times New Roman', Times, serif;
  font-size: 40pt;
  color: var(--accent-color2);
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 25pt;
  }
  h2 {
    font-size: 25pt;
  }
  #home {
    min-width: 200px;
  }
  body {
    min-width: 200px;
  }
  p {
    font-size: 10pt;
  }
  #headshot {
    width: 200px;
    height: 200px;
  }
  .project-demo {
    width: 200px;
    height: 350px;
  }
  .projects {
    display: inline-block;
    padding: 5% 5% 0 5%;
  }
  .projects li {
    padding-bottom: 3%;
    padding-top: 3%;
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 600px) {
  #home {
    min-width: 965px;
  }
  body {
    min-width: 965px;
  }
  .projects {
    display: flex;
    padding: 5% 20% 0 20%;
  }
  h2 {
    font-size: 32pt;
  }
  .projects li {
    padding-left: 3%;
    padding-right: 3%;
  }
  #headshot {
    width: 375px;
    height: 375px;
  }
}

#home {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
  top: 0;
  left: 0;
  background-image: url("assets/background.jpeg");
  background-color: var(--accent-color2);
  background-size: cover;
  margin: 0; 
  padding: 0;
  height: 100vh;
  width: 100vw;
}

nav {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: center;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  text-align: left;
}

.nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  list-style-type: none;
  background-color: var(--accent-color2);
  width: 100%;
  height: 100%;
}

.nav h2 {
  color: var(--accent-color);
  font-family: 'Nunito', Georgia, 'Times New Roman', Times, serif;
  font-size: 18pt;
}

p {
  font-family: 'Nunito', Georgia, 'Times New Roman', Times, serif;
}

a {
  font-family: 'Nunito', Georgia, 'Times New Roman', Times, serif;
}

h2 {
  color: var(--accent-color2);
  font-family: 'Nunito', Georgia, 'Times New Roman', Times, serif;
  display:flex;
  justify-content: center;
}

section {
  padding: 20px 0px 20px 0px;
  margin: 0% 5% 0% 5%;
}

.about {
  background-color: white;
  margin: 5%;
}

.portfolio {
  background-color: white;
  margin: 5%;
}

.contact {
  border-radius: 1%;
  background-color: var(--accent-color2);
  margin: 5% 5% 2% 5%;
}

.contact h2 {
  color: var(--accent-color);
}

label {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

input[type=text], textarea {
  width: 100%;
  padding: 9px;
  border: 1px solid gray;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 10px;
  font-family: 'Nunito', Georgia, 'Times New Roman', Times, serif;
}

input[type=submit] {

  border: 2px solid white;
  background-color: white;
  color: gray;
  font-family: 'Nunito', Georgia, 'Times New Roman', Times, serif;
  text-align: center;
  float: right;
  width: 8em;
  height: 3em;
  font-family: 'Nunito', Georgia, 'Times New Roman', Times, serif;
}

body {
  background-color: white;
}

.projects {
  flex-direction: row;
  justify-content: center;
  list-style: none;
  margin: 0 0 0 0;
}


.project-title {
  color: gray;
  font-family: 'Nunito', Georgia, 'Times New Roman', Times, serif;
  margin-bottom: 2em;
  font-size: 18pt;
  text-align: center;
}

.project-demo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 3px solid black;
}

.project-description {
  font-size: larger;
  display: flex;
  justify-content: center;
  margin: 3%;
  text-align: left;
  color: #616161;
}

a {
  text-decoration: none;
}

figcaption {
  display: flex;
  text-align: center;
  justify-content: center;
  margin-top: 20px;
}

form {
  padding: 10% 20% 10% 20%;
}

#headshot {
  display: block;
  border-radius: 50%;
  margin: 6% auto 6% auto;
}

#bio {
  text-align: center;
  display: flex;
  justify-content: center;
  font-size: larger;
  padding: 2% 2% 0 2%;
  color: #616161;
  max-width: 800px;
  margin: 0 auto 0 auto;
}

footer {
  margin: 2%;
}

.social-links {
  display: flex;
  justify-content: center;
  list-style-type: none;
}

footer ul li {
  align-items: center;
  display: flex;
  justify-content: center;
}

#linkedin, #facebook {
  font-family: 'Lato', Georgia, 'Times New Roman', Times, serif;
  padding: 10px;
  font-size: 15pt;
  color: white
}

footer li {
  float: left;
  width: 30px;
  height: 30px;
  background-color: var(--accent-color2);
  margin: 30px;
}