@import url("https://fonts.googleapis.com/css2?family=MuseoModerno:wght@500&family=Open+Sans:wght@400;700&display=swap");

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
body {
  font-family: "Open Sans", Helvetica, sans-serif;
  background-color: #000;
  color: #fff;
}
h1,
h3,
h4 {
  font-family: "MuseoModerno", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 2.1em;
  overflow-wrap: break-word;
}
h2 {
  font-weight: 400;
  font-size: 1.8em;
  margin-top: 10px;
}
h3 {
  font-size: 1.5em;
  margin: 0;
}
h4 {
  font-size: 2em;
  margin: 0;
  text-decoration: underline;
}
h5 {
  font-size: 1.5em;
  margin: 0;
  text-decoration: underline;
}
p {
  font-size: 1em;
}
ul {
  list-style-position: inside;
  margin: 0;
  padding-left: 0;
}
a {
  text-decoration: none;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000;
}
a:link {
  color: #fff;
}
a:visited {
  color: #cbf7ed;
  text-decoration: underline;
}
a:hover {
}
hr {
  width: 50%;
}

/* Header Edits */
header {
  width: 100%;
  background-color: black;
  border-bottom: 5px solid #fff;
}
header nav.sticky {
  position: fixed;
  z-index: 2;
  top: 0;
  width: 100%;
  background-color: rgb(22, 20, 20);
}
header nav.sticky ul {
  padding-top: 0;
  margin: 20px 15px;
}
header nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style-type: none;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  padding-top: 30px;
  font-size: 1.1em;
}

header h1,
header h2 {
  text-align: center;
  margin-bottom: 0em;
}
header a:link {
  color: #fff;
}
header a:visited {
  color: #cbf7ed;
  text-decoration: underline;
}
header a:hover {
  color: #f56476;
}
header .hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: url("../images/keyboardClose.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0;
}
header .hero .imageOverlay {
  background-color: rgb(0, 0, 0, 0.5);
}
header .hero-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
header .hero-bottom,
.section-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
}

header .hero-bottom img,
.section-bottom img {
  width: 40%;
  height: 100%;
  border: 5px solid #fff;
  border-radius: 3%;
  margin-top: 6%;
  margin-bottom: 8%;
}
header .hero-bottom span {
  color: #fff;
  -ms-flex-item-align: end;
  align-self: flex-end;
  padding-bottom: 7px;
  font-size: 0.9em;
  display: none; /*<----------------------- Still don't like how the photo credits look, hiding in the meantime */
}
/* Base style classes */
.underline-bold {
  text-decoration: underline;
  font-weight: 700;
}
.bold {
  font-weight: 700;
}
.page-center {
  max-width: 1920px;
  margin: auto;
  width: 100%;
  padding: 0 3%;
}
.align-left {
  text-align: left;
}
/* Main Edits */
main.page-center {
  padding-top: 30px;
}

main .main-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 5%;
  overflow-wrap: break-word;
  position: relative;
}

main .main-row p {
  line-height: 1.3;
}

main .main-row.center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}
main .main-row.center div {
  width: 80%;
}
main .main-row div.bb {
  /* bb stands for border bottom */
  padding-bottom: 1%;
  border-bottom: 3px solid #fff;
}
main .main-row .col {
  width: 80%;
  text-align: center;
  margin-bottom: 5%;
}
main .main-row .col.right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: 0;
  z-index: 1;
}
main .main-row .col.col.right h3 {
  margin-top: 10%;
}
main .main-row .col.right .contact-icon-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
}
main .main-row a {
  margin: 15px 0;
}
main .main-row a.icon-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
main .main-row a.icon-links span {
  display: none;
}
main .main-row a > i {
  /* Changes the sizes of that icon in contact me */
  font-size: 3em;
  margin-right: 8px;
  color: #fff;
}
main .main-row a > i:hover {
  /* color: #f56476;
  font-size: 3.4em; */
}
main .main-row ul > li {
  text-align: left;
}
main .main-row ul li::marker {
  margin-right: 2px;
}
main .main-row .skill-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
main .main-row .skill-section h4 {
  font-family: "Open Sans", Helvetica, sans-serif;
  margin-bottom: 20px;
}
main .main-row .skill-section h5 {
  text-decoration: none;
}
main .main-row .skill-section .skill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}
main .main-row .skill-section .skill-row h5 {
  text-align: left;
  -ms-flex-item-align: start;
  align-self: flex-start;
  font-size: 1.2em;
  margin: 0 0 10px;
  text-decoration: none;
}
main .main-row .skill-section .skill-box-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: solid 3px #fff;
  width: 100%;
  height: 20px;
  padding: 0;
  margin-bottom: 10px;
}
main .main-row .skill-section .skill-box-container .skill-box {
  height: 100%;
  background-color: #fff;
}
main .main-row .skill-section .skill-box-container .skill-box.skill90 {
  width: 90%;
}
main .main-row .skill-section .skill-box-container .skill-box.skill40 {
  width: 40%;
}
main .main-row .skill-section .skill-box-container .skill-box.skill30 {
  width: 30%;
}
/* SkillBox Animations */
main
  .main-row
  .skill-section
  .skill-box-container
  .skill-box.animation-loading90 {
  animation-name: loading90;
  animation-duration: 1.5s;
  animation-delay: 0s;
}
main
  .main-row
  .skill-section
  .skill-box-container
  .skill-box.animation-loading40 {
  animation-name: loading40;
  animation-duration: 2s;
  animation-delay: 0s;
}
main
  .main-row
  .skill-section
  .skill-box-container
  .skill-box.animation-loading30 {
  animation-name: loading30;
  animation-duration: 3s;
  animation-delay: 0s;
}

@keyframes loading90 {
  0% {
    width: 0;
  }
  100% {
    width: 90%;
  }
}
@keyframes loading40 {
  0% {
    width: 0;
  }
  100% {
    width: 40%;
  }
}
@keyframes loading30 {
  0% {
    width: 0;
  }
  100% {
    width: 30%;
  }
}

main .main-row.projects {
  padding: 0 1%;
}
main .main-row #projects h3 {
  padding-top: 4%;
}
main .main-row.projects .project-item {
  -ms-flex-preferred-size: 30%;
  flex-basis: 30%;
  text-align: center;
  height: 400px;
  width: 100%;
  border: 2px solid #fff;
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
main .main-row.projects .project-item .projectSection {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  background-color: rgb(0, 0, 0, 0.5);
}
main .main-row.projects .project-item h4 {
  margin: 10px;
}
main .main-row.projects .project-item .projectSection.topSection {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
main .main-row.projects .project-item .projectSection.descriptionBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  padding: 5%;
}
main .main-row.projects .project-item .projectSection.descriptionBox ul,
main .main-row.projects .project-item .projectSection.descriptionBox p {
  text-align: left;
}
main
  .main-row.projects
  .project-item
  .projectSection.descriptionBox
  ul
  li
  main
  .main-row.projects
  .project-item
  .projectSection
  p {
  padding-left: 15px;
}
main .main-row.projects .project-item.projectOne {
  background-image: url("../images/magicianQuiz.png");
  background-size: cover;
  margin-bottom: 40px;
}
main .main-row.projects .project-item.projectOne:hover {
  background-image: url("../images/magicianQuiz.gif");
  background-size: cover;
}

main .main-row.projects .project-item.projectTwo {
  background-image: url("../images/bookmarkApp.png");
  background-size: cover;
  margin-bottom: 40px;
}
main .main-row.projects .project-item.projectTwo:hover {
  background-image: url("../images/bookmarkApp.gif");
  background-size: cover;
}

main .main-row.projects .project-item.projectThree {
  background-image: url("../images/driftingApp.png");
  background-size: cover;
  margin-bottom: 40px;
}
main .main-row.projects .project-item.projectThree:hover {
  background-image: url("../images/driftingApp.gif");
  background-size: cover;
}

main .main-row.projects .project-item.projectTwo .projectSection {
  background-color: rgb(0, 0, 0, 0.7);
}

main .main-row.projects .project-item.projectThree .projectSection {
  background-color: rgb(0, 0, 0, 0.7);
}

main
  .main-row.projects
  .project-item.projectThree
  .projectSection.descriptionBox {
  padding-top: 0;
}

main
  .main-row.projects
  .project-item.projectThree
  .projectSection.descriptionBox
  p {
  margin-top: 0;
}

main .main-row.projects .project-item p {
  -ms-grid-column-align: right;
  justify-self: right;
  padding-right: 8px;
}
main .main-row.projects .project-item p a span {
  font-size: 0;
}
main .main-row.projects .project-item p a > i {
  font-size: 2em;
  margin: 5px;
  margin-top: 0em;
  opacity: 0.5;
  color: #fff;
}
main .main-row.projects .project-item p a > i:hover {
  opacity: 1;
}

main .form-section label {
  text-align: left;
}
.form-section h3,
.form-section h4 {
  text-align: center;
  text-decoration: none;
}
.contact-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.contact-form input {
  margin-bottom: 20px;
}
.contact-form textarea {
  height: 80px;
}
.contact-form button[type="submit"] {
  width: 20%;
  margin-top: 20px;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  background-color: rgb(0, 0, 0, 0);
  color: #fff;
  border-radius: 40px;
  border: 3px solid #fff;
  font-size: 1em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 4px 15px;
}
.main-row.hubsites {
  align-items: center;
  position: relative;
}
.hubsites img {
  width: 100%;
  max-width: 200px;
}
.hubsites a {
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
  transition: 0.2s ease-in background-color;
  transition: 0.3s ease-in;
  border: solid 2px #000;
  
}
.hubsites a:hover {
  border: solid 2px #cbf7ed;
  background-color: #aaa;
  position: relative;
}

footer {
  padding: 20px 0;
  background-color: rgb(22, 20, 20);
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
}
footer .desktopOnly {
  display: none;
}
footer p {
  margin: 15px;
}

/* Media Queries*/
@media all and (min-width: 520px) {
  header h1 {
    font-size: 1.8em;
  }
}
@media all and (min-width: 600px) {
  h3 {
    font-size: 2.5em;
  }
  header h1 {
    font-size: 4em;
  }
  header h2 {
    font-size: 3em;
  }
  header nav ul {
    font-size: 1.4em;
  }
  main .main-row .col.right .contact-icon-section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  main .main-row a.icon-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: left;
    -ms-flex-pack: left;
    justify-content: left;
    transition: 0.25s ease-in;
    max-width: fit-content;
  }
  main .main-row a.icon-links span {
    display: initial;
    position: relative;
    text-align: left;
  }
  main .main-row a.icon-links:hover {
    color: #f56476;
  }
  main .main-row a.icon-links span:after {
    content: "";
    position: absolute;
    width: 0%;
    background-color: #cbf7ed;
    height: 2px;
    left: 0;
    bottom: -3px;
    transition: 0.25s ease-in;
  }
  main .main-row a.icon-links:hover span:after {
    width: 100%;
  }
  /* .contact-form button[type="submit"] {
    font-size: 1.5em;
  }
  .contact-form button[type="submit"]:hover {
    cursor: pointer;
    color: #f56476;
    border-color: #f56476;
    font-size: 1.8em;
  } */
}

@media all and (min-width: 1070px) {
  header .hero {
    align-items: initial;
  }
  header .hero-top {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-right: 23px;
  }
  header .hero-top h2 {
    text-align: right;
  }
  header .hero-bottom {
    justify-content: left;
  }
  .section-bottom {
    -webkit-box-pack: flex;
    -ms-flex-pack: flex;
    justify-content: flex-end;
    position: absolute;
    bottom: 175px;
    right: 4vw;
  }
  header .hero-bottom img,
  .section-bottom img {
    margin-bottom: -170px;
    margin-left: 8%;
    width: 22%;
  }
  header nav ul {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  header nav ul li {
    margin: 0 20px 0 0;
  }
  main.page-center {
    padding-top: 90px;
  }
  main .main-row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    flex-wrap: wrap;
  }
  main .main-row .col {
    width: 90%;
    text-align: left;
  }
  main .main-row .col.col.right h3 {
    margin-top: 0;
  }
  main .form-section {
    margin-top: 30px;
  }
  main .main-row a.icon-links span {
    display: initial;
  }
  main .main-row ul > li {
    margin-left: 0;
  }
  main .main-row .skill-section {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  main .main-row.projects {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  main .main-row.projects .project-item p a > i {
    font-size: 3em;
  }
  footer {
    flex-direction: row;
    justify-content: center;
  }
  footer .desktopOnly {
    display: initial;
  }
}
@media all and (min-width: 1070px) and (max-width: 1279px) {
  main .main-row #projects h3,
  main .main-row #myHubsites h3 {
    text-align: center;
    margin-left: 0;
  }
  main .main-row.center h3:first-child {
    /* margin-top: 80px; */
    text-align: right;
    margin-left: 60px;
  }
  main .main-row .bb p {
    text-align: right;
  }
}
@media all and (min-width: 1280px) {
  header h1 {
    text-align: right;
  }
  header .hero-bottom img,
  .section-bottom img {
    margin-top: 20px;
  }
  main .main-row .bb h3:first-child {
    text-align: right;
    margin-left: 25%;
  }
  main .main-row .bb p {
    text-align: right;
  }
}
