@import url('whitespace-reset.css');

/* General */

html {
  font-size: 18px;
  font-family: 'Lato', 'Roboto', "Helvetica Neue", Helvetica, sans-serif;
}

body {
  -webkit-font-smoothing: antialiased;
}

#intro,
#mothership,
#ridgeline,
#projects,
#contact,
.intro-p-1,
.intro-p-2,
#dagai-title-container,
#ridgeline-title-container,
#ridgeline-info-container,
#mothership-title-container,
#mothership-info-container,
.mothership-manage-container {
  opacity: 0;
  animation: a .5s cubic-bezier(.64,.94,.23,1.11);
  animation-fill-mode: forwards;
}

.intro-p-1 {
  animation-delay: .2s;
}

.intro-p-2  {
  animation-delay: .4s;
}

#contact,
#projects,
#ridgeline-title-container,
#mothership-title-container {
  animation-delay: .6s;
}

#ridgeline-info-container,
#mothership-info-container {
  animation-delay: .8s;
}

.mothership-manage-container {
  animation-delay: 1s;
}

@-webkit-keyframes a {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@-moz-keyframes a {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes a {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

html {
  font-size: 18px;
}

h1 {
  font-size: 3rem;
  text-align: center;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 25px 0;
}

#resume-btn:hover {
  color: #ffa466;
}

header {
  padding: 15px;
  position: fixed;
}

.profile-name {
  font-size: 2rem;
  margin: 2rem 0;
  font-weight: 900;
}

#intro > h4 > img {
  display: inline-block;
  padding-right: 5px;
}

#contact h3 {
  color: #000000;
}


#projects > ul {
  -ms-align-items: flex-start;
  align-items: flex-start;
  margin-top: 75px;
}

#projects img {
  box-shadow: 0 0 4px rgba(0,0,0,.1);
  width: 100%;
}

h4 {
  align-items: center;
  display: flex;
  font-size: 1.2rem;
  font-weight: 700;
  height: 35px;
  justify-content: center;
  margin: 20px 0;
  text-align: center;
}

h5 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 400;
}

p {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7rem;
  margin-bottom: 15px;
}

a.mothership {
 color: #65c8d0;
}

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

li {
  margin: 0 2%;
  width: 25%;
}

section {
  padding: 100px 10%;
}

hr {
  border: 0;
  border-top: 1px solid #ecf0f1;
  width: 15%;
}

footer {
  background-color: #262626;
  padding: 25px 0;
}

.flexbox {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.btn {
  background: #65c8d0;
  border-color: #65c8d0;
  color: #f7f7f7;
  box-shadow: 0 0 3px #65c8d0;
  border-radius: 5px;
  font-weight: 700;
  padding: 10px;
  text-align: center;
}

.icon {
  background-color: #282D35;
  border: solid 1px #282D35;
  border-radius: 100%;
  margin: 2%;
  min-width: 34px;
  padding: 3px;
  width: 100%;
}

.btn:hover,
.icon:hover {
  background-color: #65c8d0;
  border-color: #65c8d0;
}

.horz-center {
  -ms-align-items: center;
  align-items: center;
  flex-direction: column;
}

.vert-center {
  -ms-align-items: center;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.logo-links {
  position: fixed;
  z-index: 1;
}

#logo {
  margin: 25px;
  opacity: 0.5;
  position: fixed;
  width: 60px;
}

/* ---------------------------------

               intro

------------------------------------ */

#avatar {
  display: block;
  max-width: 250px;
  min-width: 200px;
  object-fit: contain;
  border-radius: 100%;
}

#intro > p {
  text-align: center;
  width: 550px;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 36px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* ---------------------------------

               #mothership

------------------------------------ */

#ridgeline,
#mothership {
  background-color: #f7f7f7;
  overflow: hidden;
  justify-content: center;
  padding-bottom: 0;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.15);
}

#ridgeline-info-container,
#mothership-info-container {
  margin-bottom: 50px;
  align-items: center;
}

#ridgeline-info-container,
#mothership-info-container p {
}

#dagai-title-container,
#ridgeline-title-container,
#mothership-title-container,
#mothership-video-container {
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
}

#dagai-logo,
#ridgeline-logo,
#mothership-logo {
  display: inline-block;
  width: 100%;
  max-width: 500px;
  min-width: 200px;
}

#ridgeline,
#mothership h2 {
  display: inline-block;
}

#ridgeline-info-container,
#mothership-info-container,
#mothership-video-container {
  margin-top: 75px;
}

#ridgeline-info-container > div,
#mothership-info-container > div,
#mothership-video-container > div {
  width: 50%;
}

#ridgeline-info-container > div:first-of-type,
#ridgeline-video-container > div:first-of-type,
#mothership-info-container > div:first-of-type,
#mothership-video-container > div:first-of-type {
  margin-right: 2.5%;
}

#setup-command-gif-2,
#setup-command-gif {
  height: auto;
  max-width: 100%;
  width: auto;
}

.managing-apps {
  max-width: 100%;
}

div > iframe {
  max-width: 100%;
}

#ridgeline-info-container > div:last-of-type,
#ridgeline-video-container > div:last-of-type,
#mothership-info-container > div:last-of-type,
#mothership-video-container > div:last-of-type {
  margin-left: 2.5%;
}

#mothership-video-container div:last-of-type > p {
  width: 75%;
}

.mothership-manage-container {
  max-width: 100%;
  display: flex;
  align-items: flex-end;
  padding-top: 50px;
  border-top: 1px solid #eee;
}
.mothership-manage-container a {
  display: flex;
  align-items: flex-end;
}
.mothership-manage-container img {
  border: 2px solid #65c8d0;
}

#mothership-repo-btn {
  margin-top: 25px;
  width: 228px;
}


/* ---------------------------------

              contact

------------------------------------ */

#resume-logo {
  cursor: pointer;
  width: 35px;
  position: fixed;
  top: 5px;
  left: 5px;
}

#github-logo {
  cursor: pointer;
  width: 35px;
  position: fixed;
  top: 55px;
  left: 5px;
}

#linkedin-logo {
  cursor: pointer;
  width: 35px;
  position: fixed;
  top: 105px;
  left: 5px;
}

#contact {
  padding-top: 50px;
  background: #f7f7f7;
}

#contact h3 {
  margin-bottom: 10px;
}

#contact ul {
  width: 20%;
}

#contact li {
  margin: 6%;
}

/* ---------------------------------

           media queries

------------------------------------ */

@media(max-width: 1100px) {
  h4 {
    font-size: 1.1rem;
  }

  #logo {
    margin: 20px;
    width: 55px;
  }

  #projects p {
    font-size: 0.85rem;
    line-height: 1.5rem;
  }
}


@media(max-width: 920px) {
  section {
    padding: 100px 15%;
  }

  li {
    margin-bottom: 100px;
    width: 100%;
  }

  li:last-of-type {
    margin-bottom: 0;
  }

  #projects p {
    font-size: 1rem;
    line-height: 1.7rem;
  }

  #projects > ul {
    -ms-align-items: center;
    align-items: center;
    flex-direction: column;
    width: 75%;
  }

  #logo {
    width: 50px;
  }

  #ridgeline-info-container,
  #ridgeline-video-container,
  #mothership-info-container,
  #mothership-video-container {
    -ms-align-items: center;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
  }

  #ridgeline-info-container,
  #ridgeline-video-container,
  #mothership-info-container > div:first-of-type,
  #mothership-video-container > div:first-of-type {
    margin-right: 0;
  }

  #ridgeline-info-container,
  #ridgeline-video-container,
  #mothership-info-container > div:last-of-type,
  #mothership-video-container > div:last-of-type {
    margin-left: 0;
  }

  #ridgeline-info-container,
  #ridgeline-video-container,
  #mothership-info-container > div,
  #mothership-video-container > div {
    width: 90%;
  }

  #ridgeline-info-container,
  #ridgeline-video-container,
  #ridgeline-info-container > div:first-of-type,
  #ridgeline-video-container > div:first-of-type {
    margin-left: 0;
  }

  #deploy-command-gif,
  div > iframe {
    margin-bottom: 50px;
  }

  #contact ul {
    width: 30%;
  }

  #contact li {
    margin: 8%;
  }
}


@media(max-width: 690px) {
  #ridgeline-logo,
  #mothership-logo {
    margin-bottom: 25px;
    width: 75px;
  }

  #dagai-title-container,
  #ridgeline-title-container,
  #mothership-title-container {
    -ms-align-items: center;
    align-items: center;
    flex-direction: column;
  }

  #ridgeline-logo,
  #mothership-logo {
    margin-right: 0;
  }
}

@media(max-width: 570px) {
  #intro > p {
    width: 100%;
  }

  h1 {
    font-size: 2.7rem;
    width: 80vw;
  }

  h2 {
    font-size: 1.9rem;
  }

  section {
    padding: 65px 15%;
  }

  #ridgeline-info-container,
  #mothership-info-container {
    margin-top: 25px;
  }

  #mothership-repo-btn {
    align-self: center;
  }

  #projects > ul {
    width: 100%;
  }
}

@media(max-width: 465px) {
  #mothership-info-container > div {
    width: 100%;
  }

  #ridgeline-info-container > div {
    width: 100%;
  }

  #mothership-logo {
    width: 60px;
  }

  #ridgeline-logo {
    width: 60px;
  }

  #contact li {
    margin: 15%;
  }

  #projects > ul {
    width: 100%;
  }
}


@media(max-width: 400px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  #mothership-repo-btn {
    width: 180px;
  }

  #projects > ul {
    margin-top: 50px;
  }

  #projects li {
    margin-bottom: 50px;
  }

  #projects li:last-of-type {
    margin-bottom: 0;
  }
}
