/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
/* 
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
} */

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* General Styles */

html {
  font-size: 16px;
}

body {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 400;
  font-size: 1em;
  text-align: left;
  color: black;
  max-width: 100%;
}

ul {
  list-style-type: none;
}

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

h1 {
  font-family: Alata, sans-serif;
  font-size: 2.75em;
  line-height: 1.25em;
  width: 100%;
  margin: 0;
  padding: 0;
}

h2 {
  font-family: Nunito Sans, sans-serif;
  font-weight: 300;
  font-size: 2.50em;
  line-height: 1.5em;
  margin: 15px 0;
}

h3 {
  font-family: Alata, sans-serif;
  font-style: normal;
  font-size: 1.875em;
  line-height: 1.5em;
  text-align: center;
}

h4 {
  font-family: Alata, sans-serif;
  font-size: 1.25em;
  line-height: 1.5em;
  text-align: center;
}

p {
  font-size: .9375em;
}

span {
  font-weight: bold;
  text-align: center;
}

.content-wrapper {
  max-width: 90%;
  padding: 15px 15px;
  margin: auto;
}

img {
  width: 100%;
}

figure {
  margin: 0;
}

address {
  font-style: normal;
  margin: 30px 0;
}

/**********************Base Header -- Footer Styles*************************/

header,
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row wrap;
  text-align: center;
  background-color: #351D77;
  color: #EEE4F0;
  width: 100%;
  margin: 0;
}

header {
  padding: 0 0 25px;
}

header .content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row wrap;
  margin: 0;
}

header nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items: center;
  text-transform: uppercase;
  width: 100%;
  padding: 0;
}

header nav ul {
  display: flex;
  justify-content: space-around;
  flex-flow: row wrap;
  padding: 0;
  width: 100%;
}

header nav ul li {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0;
}

header nav ul li a {
  color: #EEE4F0;
  font-size: .875em;
  font-weight: bold;
  padding: 5px;
}

header h2 {
  font-size: 1.5em;
}

#contact-link {
  background-color: #F3728D;
  border-radius: 25px;
  color: #000;
}

.intro-greeting {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row wrap;
  margin: 45px 0 15px;
}

.greeting-text {
  color: #F3728D;
}

footer .content-wrapper {
  margin: 0;
  padding: 25px 25px 0;
}

footer a {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 1.5em;
  margin: 0 30px;
}

.contact-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright {
  font-size: 1.25em;
  margin: 90px 0 0;
}

/********************** Main Styles *************************/

.portfolio-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-flow: wrap;
  width: 100%;
  margin: auto;
}

/**** Projects ****/

.project-example {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-basis: 400px;
  margin: 30px 5px;
  box-shadow: 1px 3px 10px 1px #d3d3d3;
  border-radius: 60px;
  padding-bottom: 25px;
  background-color: #ffff;
}

.project-example figure {
  margin: 20px;
  padding: 0;
  min-height: 350px;
  border-radius: 20px
}

.project-example figure img {
  border-radius: 20px;
}

figure#sticky-note {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FEF1F5;
}

img#sticky-note-image {
  border-radius: 0;
}

.project-example p {
  margin: 20px 20px;
  padding: 0;
}

.project-example-tech {
  text-align: center;
  margin-top: 0;
}

.card-links {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.live-page-link,
.github-link {
  display: block;
  background-color: #141414;
  border-color: #141414;
  border-radius: 30px;
  color: #FFFF;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  width: 30%;
  padding: 15px;
  margin: auto;
}

/**** Skills ****/

.tech-skills-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}

#skills {
  background-color: #351D77;
}

#skills h3,
.skill {
  color: #EEE4F0;
}

.tech-logo {
  color: #F3728D;
}

#skills .tech-logo {
  padding: 20px;
}

.more-skills-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-weight: bold;
  font-variant: small-caps;
  margin: 20px 0;
}

.more-skills-wrapper p {
  padding: 0 30px;
  font-size: 1.45em;
}

.sr-only,
.fa-sr-only {
  display: inline-block;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/**** About Me ****/

#about-me h3 {
  margin-bottom: 0;
}

#about-me figure {
  margin-left: auto;
  margin-right: auto;
  width: 55%;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   These override the primary ('mobile first') styles.
   ========================================================================== */

@media only screen and (min-width: 48em) {
  /* Tablet Styles */

  /******** General Styles ********/
  h1 {
    font-size: 3em;
  }

  h2 {
    font-size: 2.75em;

  }

  h3 {
    font-size: 2.125em;
    margin-left: 23px;
  }

  h4 {
    font-size: 1.25em;
  }

  p,
  span {
    font-size: 1.125em;
  }

  /******** Header -- Footer Styles ********/

  header nav ul li a {
    font-size: 1em;
    padding: 10px;
  }

  header h2 {
    font-size: 2em;
  }

  #projects-link:hover,
  #skills-link:hover,
  #about-me-link:hover,
  #contact-link:hover {
    background-color: #F4A2D3;
    border-radius: 25px;
    color: #000;
  }

  .copyright {
    font-size: .875em;
  }

  /******** Main Styles ********/

  /**** Projects ****/

  .portfolio-wrapper {
    padding-bottom: 15px;
  }

  .project-example {
    transition: 1s;
  }

  .project-example figure {
    min-height: 440px;
  }

  .project-link {
    width: 35%;
  }

  .project-example:hover {
    transform: scale(1.1);
    transition: 1s;
  }

  .live-page-link:hover,
  .github-link:hover {
    background-color: #636363;
    border-color: #636363;
    border-radius: 30px;
    color: #FFFFFF
  }

  /**** About Me ****/

  .bio {
    display: flex;
    justify-content: space-between;
    align-content: center;
    width: 100%;
  }

  #about-me figure {
    margin: 0;
    padding: 0;
    width: 30%;
  }

  .dev-story {
    width: 70%;
    padding: 0 5px;
  }

}

@media only screen and (min-width: 75em) {
  /* Desktop Styles */

  /******** General Styles ********/

  h1 {
    font-size: 3.5em;
  }

  h2 {
    font-size: 2.75em;
  }

  h3 {
    font-size: 2.25em;
  }

  h4 {
    font-size: 1.5em;
  }

  p,
  span {
    font-size: 1.25em;
  }

  /******** Header -- Footer Styles ********/

  header nav {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    align-items: center;
    text-transform: uppercase;
    width: 100%;
    padding: 0;
  }

  header nav ul {
    display: flex;
    justify-content: space-around;
    flex-flow: row wrap;
    padding: 0;
    width: 45%;
  }

  header nav ul li a {
    font-size: 1.15em;
    padding: 10px;
  }

  .copyright {
    font-size: 1em;
  }

  /******** Main Styles ********/

  /**** Projects ****/

  .project-link {
    font-size: 1.125em;
    width: 40%;
  }

  /**** About Me ****/

  .bio {
    display: flex;
    justify-content: space-between;
    align-content: center;
    width: 100%;
  }

  #about-me figure {
    margin: 0;
    padding: 0;
    width: 30%;
  }

  .dev-story {
    width: 70%;
    padding: 0 5px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {

  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}