@font-face {
  font-family: "SpaceGrotesk";
  src: url("./fonts/SpaceGrotesk-Light.woff");
  font-weight: light;
}

@font-face {
  font-family: "SpaceGrotesk";
  src: url("./fonts/SpaceGrotesk-Regular.woff");
  font-weight: regular;
}

@font-face {
  font-family: "SpaceGrotesk";
  src: url("./fonts/SpaceGrotesk-Medium.woff");
  font-weight: medium;
}

@font-face {
  font-family: "SpaceGrotesk";
  src: url("./fonts/SpaceGrotesk-Bold.woff");
  font-weight: bold;
}

@font-face {
  font-family: "Ailerons";
  src: url("./fonts/Ailerons-Regular.otf");
  font-weight: regular;
}

a {
  text-decoration: none;
  color: #EA9515;
}

body {
  background-color: #000000;
  margin: 0%;
  padding: 0%;
  overflow-x: hidden;
  width: 100vw;
}

button {
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
  /* show a hand cursor on hover; some argue that we
  should keep the default arrow cursor for buttons */
  cursor: pointer;
}

h1 {
  color: #EA9515;
  font-size: 7rem;
  font-family: "Ailerons";
}

h2, h3, p {
  color: #A9B4C2;
}

h2 {
  font-family: "Ailerons";
  font-size: 3rem;
}

h3, p {
  font-family: "SpaceGrotesk";
}

h3 {
  font-size: 1.5rem;
}

header {
  display: flex;
  justify-content: space-between;
}

/* ClassName */

.about-image {
  border-radius: 1rem;
  width: 700px;
}

.about-page-assets {
  display: flex;
  flex-direction: row;
}

.arrow {
  color: #EA9515;
}

.cards {
  max-width: 1200px;
  max-height: auto;
}

.contact-blurb {
  font-size: 3rem;
  text-align: center;
}

.external-links {
  align-items: flex-end;
  display: flex;
  height: 450px;
  justify-content: space-evenly;
}

.flip-to-back {
  transform: rotateY(180deg);
  transition: transform 0.8s;
}

.flip-card {
  background-color: transparent;
  width: 163px;
  height: 195px;
}

.flip-card-inner {
  height: 100%;
  position: relative;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  width: 100%;
}

.flip-card-front, .flip-card-back {
  backface-visibility: hidden;
  height: 100%;
  /* -moz-backface-visibility: hidden; */
  position: absolute;
  transform: rotateX(0deg);
  width: 100%;
}

.flip-card-front {
  transform: rotateY(180deg);
}

/* Broke on all but the largest of screens */

.full-page {
  height: 100vh;
  width: 95vw;
  margin-left: 2%;
}

.lower-nav {
  background-color: #EA9515;
  border-radius: .2rem;
  color: #000000;
  padding: 5%;
}

.nav-links {
  padding: 3% 5% 0%;
}

.orange-text {
  color: #EA9515;
  padding-left: 2%;
}

.paragraph {
  line-height: calc(1.6rem * 1.5);
}

.port-head, .text-head {
  margin-bottom: 0%;
}

/* ID */

#about-nav, #portfolio-sub-nav, #contact-nav {
  padding: 5% 5% 0% 0%;
  width: 200px;
  opacity: 0;
  transition: opacity .5s ease-in-out;
}

#blurb {
  align-items: center;
  display: flex;
  justify-content: space-evenly;
}

#blurb-info {
  align-content: center;
  display: flex;
}

#card_bin {
  display: flex;
  border-radius: 1rem;
  box-shadow: 1rem 1rem 1rem black;
  height: 500px;
  margin: 0px 20px;
  overflow: hidden;
  width: 1200px;
}

#card_bin_holder {
  display: flex;
  justify-content: center;
  position: relative;
}

#desc-div {
  background-color: #5e6572;
  font-size: 2rem;
  max-width: 1125px;
  opacity: 0;
  padding: 0% 2%;
  position: absolute;
  top: 50%;
  transition: opacity 0.5s ease-in-out;
}

#nav-list {
  display: flex;
  flex-direction: column;
  font-size: 3rem;
  justify-content: center;
}

#paragraphs {
  /* background-color: #5e6572; */
  border: 5px solid #5e6572;
  border-radius: 1rem;
  font-size: 1.6rem;
  margin-left: 5%;
  padding: 2%;
  width: 900px;
}

#pic-and-nav {
  display: flex;
  flex-direction: row;
}

#portfolio {
  display: flex;
  flex-direction: column;
}

#portfolio-nav {
  padding: 15%;
}

#project1, #project2, #project3, #project4, #project5, #project6 {
  position: relative;
  transition: left 1.5s ease 0s;
}

#standing_tie {
  border-radius: 50%;
  height: 600px;
  width: auto;
}

#tech-icons {
  display: flex;
  flex-flow: row;
  justify-content: space-evenly;
}

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

  .full-page {
    height: auto;
  }

  .paragraph {
    line-height: calc(1.3rem * 1.5);
  }

  #paragraphs {
    font-size: 1.3rem;
  }

}

@media screen and (max-width: 1500px) {
  p {
    font-size: 1.3rem;
  }

  .paragraph {
    line-height: calc(1.3rem * 1.5);
  }


}

@media screen and (max-width: 1380px) {
  #card_bin {
    overflow: hidden;
    width: 1000px;
  }

  #desc-div {
    max-width: 950px;
  }
  
  .cards {
    max-width: 1000px;
  }
}

@media screen and (max-width: 1250px) {
  h1 {
    font-size: 5rem;
  }

  .contact-blurb {
    font-size: 2rem;
  }

  #nav-list {
    font-size: 2rem;
  }

  #standing_tie {
    height: 450px;
  }
}

@media screen and (max-width: 1150px) {
  .cards {
    max-width: 800px;
  }

  .port-button {
    display: none;
  }

  #card_bin {
    overflow-x: scroll;
    width: 800px;
  }

  #desc-div {
    max-width: 760px;
  }
  
}


@media screen and (max-width: 1050px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 1rem;
  }
  
  .contact-blurb {
    font-size: 1.7rem;
  }

  .paragraph {
    line-height: calc(1rem * 1.5);
  }

  #standing_tie {
    height: 400px;
  }
}

@media screen and (max-width: 900px) {
  h1 {
    font-size: 5rem;
  }

  header {
    display: block;
    text-align: center;
  }

  p {
    font-size: 1.5rem;
  }

  .about-image {
    display: none;
  }

  .cards {
    max-width: 700px;
  }

  .flip-it {
    height: 75%;
  }

  #blurb {
    display: block;
    text-align: center;
  }
  
  #card_bin {
    width: 700px;
  }

  #desc-div {
    max-width: 665px;
    top: 40%;
  }

  #paragraphs {
    margin: 2%;
  }

  #pic-and-nav {
    display: flex;
    justify-content: center;
  }

  #standing_tie {
    height: 300px;
  }
}

@media screen and (max-width: 725px) {
  .flip-it {
    height: 50%;
  }

  #card_bin {
    width: 550px;
  }

  #desc-div {
    max-width: 530px;
    top: 30%;
  }

  #standing_tie {
    height: 250px;
  }

  .cards {
    max-width: 550px;
  }
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  .fa-9x {
    font-size: 4rem;
  }

  .flip-it {
    height: 25%;
  }

  #card_bin {
    width: 500px;
  }

  #desc-div {
    max-width: 475px;
    top: 30%;
  }

  .cards {
    max-width: 500px;
  }
}

@media screen and (max-width: 500px) {
  html {
    padding-left: 15%;
  }

  p {
    font-size: .75rem;
  }

  #blurb {
    height: 1000px;
  }

  #card_bin {
    width: 400px;
  }

  #about-nav, #portfolio-sub-nav, #contact-nav {
    width: 500px;
  }

/* disabled for now. Does not seem to work on very small screens */

  #desc-div {
    display: none;
  }

  #technologies {
    display: none;
  }

  .cards {
    max-width: 400px;
  }

  .external-links {
    height: 200px;
  }

  .lower-nav {
    padding: 1%;
  }
}