body {
  font-family: "Ysabeau Infant", sans-serif;
  background-color: #F2F2F2;
  margin: 0;
}

#main-home,
#main-about,
#main-contact,
#main {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #6C733D;
  border: 15px #9DA65D solid;
  display: flex;
  justify-self: center;
  align-self: center;
}

.box {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}
.box header {
  text-align: center;
  margin: 20px auto;
  align-self: center;
  width: 100%;
}
.box header h1 {
  font-family: "Cutive Mono", monospace;
  font-size: 54px;
  color: #F2F2F2;
}
.box header .mobile {
  display: none;
}
.box .projects,
.box .about,
.box .contact {
  text-align: center;
  margin: 20px auto;
  align-self: start;
}
.box .subpage {
  display: flex;
  align-self: start;
}
.box .frontPage {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 auto;
  width: 80%;
}
.box .frontPage img {
  border-radius: 50%;
  width: 40%;
  padding: 20px;
}
.box .frontPage p {
  font-size: 24px;
  padding-left: 50px;
  color: #F2F2F2;
}
.box .card {
  margin: 15px auto;
  width: 275px;
}
.box .card:hover {
  width: 285px;
}
.box .card img {
  width: 100%;
}
.box .card .card-body .card-text {
  color: white;
}
.box nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.box nav ul {
  display: flex;
  flex-direction: row;
}
.box nav ul li {
  margin: 25px 100px;
  list-style: none;
  background-color: #8C8C88;
  text-align: center;
  padding: 15px 50px;
  border-radius: 12%;
}
.box nav ul li:hover {
  transform: skewX(-8deg);
}
.box nav ul li a {
  color: #202426;
  text-decoration: none;
  font-size: 20px;
}
.box nav .home {
  align-self: end;
}
.box .mobileNav {
  display: none;
}
.box .aboutText {
  width: 60%;
  margin: 0 auto;
}
.box .aboutText p {
  color: white;
  font-size: 24px;
}
.box #contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.box #contact i {
  margin-top: 10px;
  font-size: 36px;
  color: white;
}
.box #contact .fa-envelope:before,
.box #contact .fa-phone:before,
.box #contact .fa-instagram:before,
.box #contact .fa-github:before,
.box #contact .fa-linkedin:before {
  padding-right: 10px;
}

@media only screen and (max-width: 1130px) {
  #main-about {
    position: static;
  }
  .box .frontPage {
    flex-direction: column;
  }
  .box nav ul li {
    margin: 25px 50px;
  }
}
@media only screen and (max-width: 850px) {
  .box nav ul li {
    margin: 25px 30px;
    padding: 10px 25px;
  }
}
@media only screen and (max-width: 640px) {
  #main {
    position: static;
  }
  .box {
    display: block;
  }
  .box header {
    margin: 35px auto;
    text-align: left;
  }
  .box header h1 {
    font-size: 36px;
  }
  .box header .desk {
    display: none;
  }
  .box header .mobile {
    display: block;
    text-align: center;
    margin: auto 0;
  }
  .box .frontPage {
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
  }
  .box .frontPage p {
    font-size: 20px;
    padding-left: 0px;
    padding-top: 25px;
    text-align: center;
  }
  .box .frontPage img {
    width: 300px;
    padding: 10px;
    margin: 0 auto;
    padding-top: 25px;
  }
  .box .deskNav {
    display: none;
  }
  .box .mobileNav {
    display: block;
    margin-bottom: 0px;
    margin-top: 50px;
  }
  .box .mobileNav ul {
    margin-block-start: 0;
    padding-inline-start: 0;
  }
  .box .mobileNav ul li {
    list-style: none;
    background-color: #8C8C88;
    text-align: center;
    border-radius: 0%;
    width: 100%;
    margin: 10px 0px;
    padding: 10px 40px;
  }
  .box .mobileNav ul li:hover {
    transform: none;
  }
  .box .mobileNav ul li a:hover {
    font-style: italic;
  }
  .box #notHomePage {
    width: 0;
    display: block;
  }
  .box #notHomePage .home li {
    margin: 20px 65px;
  }
  .box .home {
    padding-inline-start: 0;
  }
  .box #contact i {
    font-size: 24px;
  }
  .box .aboutText {
    width: 75%;
  }
  .box .aboutText p {
    font-size: 20px;
  }
}/*# sourceMappingURL=styles.css.map */