@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  scroll-behavior: smooth;
}

nav {
  position: fixed;
  top: 0;
  background-color: #f7fdfa;
  width: 100%;
  padding: 1em;
  margin-bottom: 2em;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.nav-contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-left: 5%;
  margin-right: 5%;
}

#small-logo {
  position: relative;
}

.small-logo-coral {
  visibility: hidden;
  position: absolute;
}

.back-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.5em;
  margin-left: 1em;
  margin-right: 1em;
}

.back-arrow-icon {
  padding: 0.5em;
}

.back-button:hover {
  background-color: #e2f6ec;
  border-radius: 3px;
  padding: 0.5em;
}

.back-button-text {
  font-style: normal;
  font-weight: 400;
  font-size: 1.125em;
  line-height: 1.65em;
  letter-spacing: 0.1em;
  color: #343434;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

body {
  font-family: "Barlow", sans-serif;
  color: #343434;
  margin: 0;
}

#main-page {
  margin-left: 17%;
  margin-right: 17%;
  margin-top: 4em;
  margin-bottom: 4em;
  display: flex;
  flex-wrap: wrap;
}

h1 {
  font-style: normal;
  font-weight: 700;
  font-size: 3.5em;
  display: flex;
  color: #343434;
  margin-top: 0.35em;
  margin-bottom: 1em;
}

h2 {
  font-style: normal;
  font-weight: 300;
  font-size: 1.125em;
  line-height: 1.65em;
  letter-spacing: 0.3em;
  color: #343434;
  margin-top: 0;
  margin-bottom: 18px;
}

p,
li {
  font-style: normal;
  font-weight: 400;
  font-size: 1.05em;
  line-height: 1.7em;
  margin-top: 0;
}

a {
  color: #2aaa8a;
  font-style: normal;
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  color: #1b6d59;
  font-style: normal;
  font-weight: 600;
  text-decoration: none;
}

a:active {
  color: #e2f6ec;
}

a:visited {
  color: #9fe2bf;
}

img {
  border-radius: 2px;
  display: flex;
  flex-wrap: wrap;
}

.diamond-decoration {
  position: relative;
  z-index: 1;
  margin-right: -0.85em;
  margin-top: 1.75em;
}

.work-project {
  display: flex;
  flex-direction: column;
}

.work-project-header {
  margin-top: 2em;
}

.diamond-decoration {
  position: relative;
  z-index: 1;
  margin-right: -0.44em;
  margin-top: 0.5em;
  font-size: 2.25em;
  color: #dfff00;
}

.project-image {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 3em;
  margin-bottom: 0em;
}

.work-project-image {
  width: 600px; /*width of container*/
  height: 140px; /*height of container*/
  object-fit: cover;
  overflow: hidden;
}

.project-intro {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 2fr 3fr;
  grid-gap: 3em;
  align-content: start;
  grid-template-areas: "project-tags work-project-text";
}

.project-tags {
  line-height: 1.1em;
  text-align: right;
  grid-area: project-tags;
}

.work-project-text {
  grid-area: work-project-text;
  margin-bottom: 2em;
}

.work-project-button {
  background: #1b6d59;
  grid-area: project-button;
  width: 50%;
   transition: all 200ms ease-in-out 100ms;
}

.work-project-button:hover {
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.project-button-text {
  color: #ffffff;
  font-size: 1.2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.25em;
  margin-top: 1em;
  margin-bottom: 1em;
}

footer {
  font-style: normal;
  font-weight: 300;
  font-size: 0.8em;
  letter-spacing: 0.3em;
  color: #343434;
  text-align: center;
  background-color: #e2f6ec;
  width: 100%;
  padding: 0.5em;
  margin-top: 2em;
}

.ifixit-repair-img {
  object-position: 100% 0%;
}

.prp-web-content-img {
  object-position: 50% 50%;
}

.numbered-instr-img {
  object-position: 45% 55%;
}

.books-grant-prop-img {
  object-position: 50% 50%;
}

.press-release-img {
  object-position: 80% 20%;
}

.news-story-img {
  object-position: 45% 55%;
}

.submit-flyer-img {
  object-position: 76% 24%;
}

.indesign-newsletter-img {
  object-position: 90% 10%;
}

.flyer-img {
  width: 600px;
  margin-top: 2em;
  margin-bottom: 6em;
}

.newsletter-pg-1 {
  width: 600px;
  margin-top: 2em;
  margin-bottom: 6em;
} 

.flyer-projects-images {
  width: 100%;
  height: auto;
  margin-top: 1.5em;
  margin-bottom: 2.25em;
}

.outside-app-screenshot {
  float: right;
  width: 30%;
  height: auto;
}

/*-------------------------  MEDIA QUERY 600   ----------------------------*/

@media (max-width: 600px) {
  .nav-contents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  
  .small-logo-coral {
    visibility: visible;
    position: static;
  }

 .small-logo-yellow {
    visibility: hidden;
    position: absolute;
      display: none;
  }

  .back-button-text {
    position: absolute;
    visibility: hidden;
  }

  #main-page {
    margin-left: 12%;
    margin-right: 12%;
  }
  h1 {
    font-size: 3em;
    display: flex;
    color: #343434;
    margin-top: 1em;
    margin-bottom: 0.5em;
  }

  h2 {
    font-style: normal;
    font-weight: 300;
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 0.3em;
    color: #343434;
    margin-top: 0;
    margin-bottom: 0.5em;
  }

  p,
  li {
    font-size: 1em;
  }

  .diamond-decoration {
    position: relative;
    z-index: 1;
    margin-right: -0.44em;
    margin-top: 0.5em;
    font-size: 2.25em;
    color: #f43f3f;
  }

  .project-intro {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .project-tags {
    text-align: left;
    margin-bottom: -1em;
  }

  .project-image {
    margin-bottom: 0.25em;
    justify-content: flex-start;
  }

  .work-project-image {
    width: 17em; /*width of container*/
    height: 5.5em; /*height of container*/
    object-fit: cover;
    overflow: hidden;
  }

  .work-project-button {
    width: 100%;
  }
  
  .outside-app-screenshot {
  float: right;
  width: 50%;
  height: auto;
}
  
}

/*-------------------------  MEDIA QUERY 800   ----------------------------*/

@media (max-width: 800px) and (min-width: 600px) {
  .nav-contents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  
   .small-logo-coral {
    visibility: visible;
    position: static;
  }

 .small-logo-yellow {
    visibility: hidden;
    position: absolute;
   display: none;
  }

  #main-page {
    margin-left: 12%;
    margin-right: 12%;
  }
  h1 {
    font-size: 3em;
    display: flex;
    color: #343434;
    margin-top: 1em;
    margin-bottom: 0.5em;
  }

  h2 {
    font-style: normal;
    font-weight: 300;
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 0.3em;
    color: #343434;
    margin-top: 0;
    margin-bottom: 0.5em;
  }

  p,
  li {
    font-size: 1em;
  }

  .diamond-decoration {
    position: relative;
    z-index: 1;
    margin-right: -0.44em;
    margin-top: 0.5em;
    font-size: 2.25em;
    color: #f43f3f;
  }

  .project-intro {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .project-tags {
    text-align: left;
    margin-bottom: -1em;
  }

  .project-image {
    margin-bottom: 0.25em;
    justify-content: flex-start;
  }

  .work-project-image {
    width: 25em; 
    height: 6.25em; 
    object-fit: cover;
    overflow: hidden;
  }

  .work-project-button {
    width: 100%;
  }
  
  .outside-app-screenshot {
  float: right;
  width: 50%;
  height: auto;
}
  
}

/* -------------------------MEDIA QUERY 1440 ---------------------------- */
@media (min-width: 1440px) {
  .nav-contents {
    margin-left: 12%;
    margin-right: 12%;
  }
  
  main {
   margin-left: 15%;
   margin-right: 15%;
 }
  
} 
