* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  width: 100vw;
}

a {
  text-decoration: none;
}

header {
  position: fixed;
  top: 0px;
  width: 100%;
  height: 50px;
  color: #fff;
  background-color: #000000;
  animation: header-down 1s;
  z-index: 3;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 9px 12px 23px 0px #D3D3D3;
}

header p {
  display: inline;
}

header a, header p {
  color: #fff;
  margin: 0 10px;
  cursor: pointer;
}

header a:hover, header p:hover {
  transition: font-size 1s;
  font-size: 18px;
  color: gray;
}

header a:not(:hover), header p:not(:hover) {
  transition: font-size 1s;
  font-size: 16px;
}

header h1 {
  font-size: 40px;
}

.main-container {
  max-height: 200vh;
  overflow: scroll;
  position: relative;
}

.main-container::before {
  content: '';
  background-color: lightgreen;
  background-image: url('../images/bcharre.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  max-height: 100vh;
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: .3;
  z-index: -2;
}

/* UNCOMMENT BELOW CODE IF ENABLING EMAIL FORM */
.form-container {
  display: none;
  /* position: fixed;
  z-index: 3;
  left: 50%;
  margin-left: -300px;
  top: 60px;
  height: 400px;
  width: 600px;
  border-radius: 2%;
  box-shadow: 9px 12px 23px 0px #D3D3D3;
  background-color: #E9FBEA; */
}

/* .email-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
} */

.bio-title {
  text-align: center;
  margin: 70px auto 10px;
}

h2 {
  margin: 0 auto;
}

.bio-container {
  min-height: 400px;
  display: flex;
  max-width: 1000px;
  margin: 10px auto;
  border-radius: 2%;
  justify-content: space-evenly;
  align-items: center;
  padding: 10px;
}

.bio-content {
  width: 45%;
  line-height: 1.2rem;
  text-align: center;
}

.bio-img-contain {
  max-width: 60%;
  height: 300px;
}

.bio-img {
  height: 100%;
  border-radius: 10%;
  box-shadow: 9px 12px 23px 0px #D3D3D3;
}

.projects-title {
  margin: 10px auto;
  text-align: center;
}

.skills-container {
  height: 140px;
  border-radius: 2%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px auto;
  max-width: 1200px;
  overflow: hidden;
  padding: 10px;
}

.get-skills {
  display: flex;
  justify-content: space-around;
  font-family: 'Inconsolata', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #0000FF;
}

.response {
  font-size: 34px;
  color: rgb(32, 110, 32);
  font-weight: 700;
}

.skill-link {
  color: #008000;
}

.response-contain {
  display: none;
  justify-content: space-around;
  width: 90%;
}

.skills-list {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
}

i {
  color: black;
  transition: font-size 1s;
  font-size: 36px;
  border-radius: 15%;
  padding: 3px;
}

.project-container {
  min-height: 340px;
  max-width: 1000px;
  border-radius: 2%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 10px auto 30px;
}

.project {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 75vw;
  
}

.project-container h2 {
  margin: 0 auto;
}

.project-content {
  width: 40%;
  text-align: center;
  padding: 10px;
}

.project-img-contain {
  width: 400px;
  height: 300px;
  text-align: center;
}

.project-img {
  height: 100%;
  width: 100%;
  border-radius: 10%;
  box-shadow: 9px 12px 23px 0px #D3D3D3;
}

.proj-links {
  display: flex;
  justify-content: space-evenly;
}

.proj-link {
  width: 25%;
  color: #000;
  border: 1px solid #000;
  border-radius: 10%;
}

.proj-link:hover {
  background-color: #000;
  color: #FFF;
}

.project-2, .project-3, .project-4 {
  display: none;
}

.lni {
  font-size: 40px;
  box-shadow: none;
}

.lni:hover {
  cursor: pointer;
  font-weight: 700;
}

.btn-group {
  display: flex;
  margin: 5px auto;
  width: 20%;
  justify-content: space-evenly;
}

.skills-in {
  animation: skills-in 3s ease-out;
}

.skills-out {
  transition: font-size 2s;
  font-size: 36px;
}

.skills-hi {
  transition: font-size 1s;
  font-size: 64px;
  color: rgb(32, 110, 32);
  border: 1px solid rgb(32, 110, 32);
}

footer {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 0px;
  height: 20px;
  width: 100%;
  background-color: #000;
  color: #FFF;
}

footer p {
  color: gray;
  font-size: 10px;
}

/* Animations */
@keyframes header-down {
  0% {
    height: 0px;
  }

  100% {
    height: 50px;
  }
}

@keyframes skills-in {
  0% {
    margin-left: 220%;
  }

  50% {
    margin-left: 200%;
  }

  100% {
    margin-left: 0%;
  }
}

@media only screen and (max-width: 768px) {

  header {
    flex-direction: column;
    justify-content: center;
    line-height: 1em;
    animation: none;
    height: 100px;
  }

  .bio-title {
    margin-top: 120px;
  }

  .bio-container::before, .skills-container::before, .project-container::before {
    line-height: 1.2em;
    font-size: 30px;
    text-align: left;
  }

  .bio-img-contain, .project-img-contain {
    display: none;
  }

  .bio-content, .project-content {
    width: 90%;
  }

  .get-skills {
    display: none;
  }

  .response-contain {
    display: flex;
  }

  .skills-container {
    overflow: visible;
    min-height: 160px;
  }

  .response {
    display: none;
  }

  .skills-list {
    width: 85%;
    flex-wrap: wrap;
  }

  i, .skills-hi {
    transition: font-size 1s;
    font-size: 36px;
    margin: 5px;
  }

  .project-container {
    min-height: auto;
  }
}