@charset "utf-8";
/*
	Filename: styles.css
	This file contains styling rules for the pages 
	of Marcia Herrig's Portfolio website.
	
	@media styles at the bottom of the file
*/

/* Body Styles */
body {
  margin: 0 auto;
  max-width: 2000px;
  font-family: spartan, arial, sans-serif;
  box-sizing: border-box;
  line-height: 1.5;
  /* set up fluid typography so that the font size ranges between 
      15px at the smallest viewport width of 300px and
      22px at the largest viewport width of 1800px */
  font-size: calc(15px + (22 - 15) * ((100vw - 300px) / (1800 - 300)));
}
@media screen and (min-width: 1800px) {
  body {
    font-size: 22px;
  }
}


/* Accessibility Styles - for screen readers */
#skip a {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#skip a:focus {
  position: static;
  width: auto;
  height: auto;
}


/* General Page Styles */
.row {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: center;
}


/* Header Styles */

header {
  width: 100%;
  max-height: 90px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
}

header.row {
  justify-content: space-between;
}

header img {
  padding-left: 30px;
}


/* Navigation Sytles */

nav {
  margin-top: 25px;
  margin-right: 20px;
  display: flex;
  flex-flow: column wrap;
  align-items: flex-end;
  background-color: #fff;
}

/* Hide Hamburger */
nav label,
#hamburger {
  display: none;
}

/* Menu Items */
.pullDown ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.pullDown ul li {
  display: inline-block;
  padding: 10px;
  position: relative;
}

.pullDown ul li a {
  color: #000;
  text-decoration: none;
  font-size: 1.1em;
  margin: 0 10px;
  padding: 15px;
}

.pullDown ul li a:before,
.pullDown ul li a:after {
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  top: 0;
  content: '';
  background: #005e85;
  opacity: 0.3;
  transition: all 0.3s;
}

.pullDown ul li a:hover:before {
  height: 100%;
}

.current {
  font-weight: bold;
  border-top: 2px solid #005e85;
}

/* using Google Custom Search Engine
   cse.google.com for mherrig1988@gmail.com */
#customSearch {
  display: none;
  width: 100%;
}


/* Main Body Styles */

/* Home Page Banner */
.banner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-right: 60px;
  position: relative;
  
}

.banner-images {
  height: 600px;
  /* border: 2px solid black; */
}

.image-1,
.image-2,
.image-3 {
  position: absolute;
  border-radius: 20px;
  transition: border .5s, box-shadow .5s;
}

.image-1 {
  left: 210px;
  top: 5px;
  z-index: 5;
  border: 10px solid #005e85;
  max-width: 400px;
  box-shadow: 7px 7px 7px 7px rgba(0, 0, 0, .4);
}

.image-2 {
  left: 30px;
  top: 200px;
  z-index: 10;
  max-width: 300px;
  border: 10px solid #886985;
  box-shadow: 7px 7px 7px 7px rgba(0, 0, 0, .1);
}

.image-3 {
  left: 500px;
  top: 300px;
  max-width: 250px;
  border: 10px solid #007167;
  box-shadow: 7px 7px 7px 7px rgba(0, 0, 0, .34);
}

.image-1:hover,
.image-2:hover,
.image-3:hover {
  border:10px solid #000;
  box-shadow: 7px 7px 10px 10px rgba(0, 0, 0, .6);
}

.banner-words {
  position: absolute;
  right: 40px;
  z-index: 25;
  /* border: 2px solid gray; */
}

.banner h1,
.banner h2 {
  text-align: right;
}

.fancy {
  font-family: 'Parisienne', serif, cursive;
  font-weight: bolder;
  font-size: 180%;
}


/* General Heading Styles */
h1,
h2,
h3 {
  font-weight: bolder;
  text-align: center;
}

h1 {
  font-size: 2em;
  color: #005e85;
}

h2 {
  font-size: 1.5em;
}

section[id] {
  padding-top: 80px;
}


/* Banner for non-Home pages */

.mainBanner {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 400px;
}

.projectsBanner {
  /* Image by Barbara Cascao from pixabay.com */
  background-image: url("../images/projects.jpg");
  min-height: 300px;
}

.contactBanner {
  /* Image by Clark Tibbs on unsplash.com */
  background-image: url("../images/neon.jpg");
  min-height: 400px;
}

.latteBanner {
  background-image: url("../images/latte/banner.jpg");
}

.myOfficeBanner {
  background-image: url("../images/myoffice/banner.jpg");
}

.myRemodelBanner {
  background-image: url("../images/myremodel/banner.jpg");
}

.simpleCleanBanner {
  background-image: url("../images/simpleclean/banner.jpg");
}

.csnaBanner {
  background-image: url("../images/csna/banner.jpg");
}

.graMyOfficeBanner {
  background-image: url("../images/myoffice/gra-banner.jpg")
}

.logoWorkBanner {
  background-image: url("../images/gra-logos/banner.jpg")
}

.plateBanner {
  background-image: url("../images/plate/banner.jpg")
}

.candleBanner {
  background-image: url("../images/candle/banner.jpg")
}

.row h1 {
  position: relative;
  top: -35px;
  background-color: #fff;
  padding: 10px 40px;
  box-shadow: 5px 5px 15px #222;
  margin: 0;
}

.grey {
  background-color: rgb(241, 241, 241);
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.info {
  flex: 0 1 40%;
  padding: 0 2em;
}

.grey .gra {
  padding-top: 2.5em;
}

/* Styles for tabs and filtering functionality */
.filter_buttons {
  display: flex;
  align-items: center;
  gap:10px;
  flex-wrap: wrap;
  justify-content: center;
}
 
.filterable_cards {
  display: flex;
  margin-top: 25px;
  flex-wrap: wrap;
  justify-content: center;
}


/* Card Styles on Home and Projects page */
.cards {
  margin: 1em auto;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  justify-content: center;
}

.card {
  border: 2px solid #005e85;
  background-color: #fff;
  font-size: 90%;
  min-width: 300px;
  max-width: 420px;
  padding: 5px;
  margin: 15px;
  flex: 1 0 100px;
  transition: all .3s;
  display: flex;
  flex-flow: column nowrap;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, .3);
}

.card.hide {
  display:none;
}

.card img {
  width: 100%;
  object-fit: cover;
}

.card-title {
  margin: 0;
  margin-top: .5em;
  font-size: 1.2em;
}

.card p {
  margin: 1em;
}

.card:focus,
.card:hover {
  background: rgba(0, 93, 133, 0.10);
}



/* Individual Projects Styles */

/* Navigation on top of each individual Project page */
.projectNav {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-content: center;
  line-height: 2.0em;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 15;
  position: fixed;
  top: 90px;
  width: 100%;
}

.projectNav a {
  text-decoration: none;
  padding: 0 1em;
  color: #000;
}

.projectDetails {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding-bottom: 3em;
}

.column {
  display: flex;
  flex-flow: column nowrap;
}

.projectDetails .column {
  align-items: center;
  max-width: 70%;
  margin: 0 auto;
  padding: 1.5em;
  flex: 1 1 50%;
}

.column .button {
  align-self: flex-end;
}

.projectDetails .rightSide {
  max-width: 45%;
}

.projectDetails .leftSide {
  max-width: 45%;
}

.projectDetails img {
  max-width: 100%;
  object-fit: cover;
}

.projectDetails .logoTall {
  max-width: 150px;
}

.projectDetails .logoWide {
  max-width: 300px;
  padding: 0 15px;
}

.stepsheets {
  width: 24%;
  align-self: flex-end;
  padding-bottom: 1.5em;
  padding-top: 1em;
}

.screens {
  width: 22%;
  padding: 0;
  margin: 1.5em;
  border: 2px solid #000;
  border-radius: 5px;
}


/*  Project Features Styles */

.features {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: flex-start;
}

.features div {
  margin: 10px;
}

.features video {
  border: none;
  width: 100%;
  object-fit: cover;
  max-width: 500px;
}

.features img {
  max-width: 97%;
  object-fit: cover;
}

.half {
  width: 48%;
}

.button {
  background-color: #005e85;
  color: white;
  font-size: 1.1em;
  padding: .5em;
  transition: box-shadow .3s, background-color .3s;
  margin-top: auto;
  margin-bottom: 1em;
  cursor: pointer;
  min-width: 9em;
  align-self: center;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  cursor:pointer;
}

.button:hover {
  background-color: #01425e;
  box-shadow: 3px 3px 10px #888888;
}

.button:active {
  background-color: #81aabb;
  box-shadow: none;
}

.button.active {
  background-color: #01425e;
}


/* Contact Form Styles */

.contactMe {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contactMe .left {
  min-width: 500px;
}

.contactMe .center {
  justify-content: center;
}

.contactMe div {
  padding: 5px 30px;
}

.contactMe h2 {
  font-size: 1.3em;
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 3px solid #888;
}

.contactMe img {
  width: 100%;
  object-fit: cover;
  max-width: 600px;
  flex: 1 1 50%;
}

.contactMe label {
  cursor: pointer;
}

.contactMe input:not(.button),
.contactMe textarea {
  border: 1px solid #c6c9cc;
  border-radius: 5px;
  display: block;
  margin: 5px 0;
  padding: 10px 8px;
  width: 100%;
  font-family: inherit;
  font-size: .8em;
  color: #888;
}

.contactMe textarea {
  min-height: 100px;
  resize: vertical;
}

form p.row {
  justify-content: left;
}

.contactMe small {
  visibility: hidden;
}

.contactMe .italics {
  font-style: italic;
  font-size: .6em;
}

.contactMe .error input {
  border-color: #b32437;
  background-image: linear-gradient(to right, rgb(245, 212, 241), #fff);
}

.contactMe .error small {
  visibility: visible;
  color: #b32437;
}

/* Style for message that gets placed in the contact page when the user emails me */
.msg {
  border: 2px solid #005e85;
  border-radius: 5px;
  background-color: rgba(0, 93, 133, 0.1);
}


/* Footer Styles */
footer {
  background-color: #005e85;
  color: #fff;
}

footer .row {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 5px 30px;
}

footer .sides {
  flex-basis: 15%;
}

footer .right {
  text-align: right;
}

footer .right img {
  border-radius: 6px;
}

footer ul li {
  display: inline-block;
  padding: 10px;
  position: relative;
}

footer .pullDown ul li a {
  color: #fff;
}

footer .pullDown ul li a:before {
  background: #fff;
  opacity: 0.2;
}

footer .bottom {
  background-color: #01425e;
  justify-content: center;
  padding: 0;
}


 /* Medium Screen Styles */

@media screen and (max-width: 1120px) {
  .banner {
    margin-right: 30px;
  }

  .banner-images {
    height: 480px;
  }

  .image-1 {
    left: 110px;
    top: 0;
    max-width: 300px;
  }

  .image-2 {
    left: 30px;
    top: 180px;
    max-width: 200px;
  }

  .image-3 {
    left: 350px;
    top: 250px;
    max-width: 150px;
  }

  .leftSide {
    order: 10;
  }

} /*end of Medium Screens*/


 /* Small Screen Styles */

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

   /* Show Hamburger */

   nav label {
    display: block;
    color: #fff;
    background: #005e85;
    font-style: normal;
    font-size: 1.2em;
    padding: 10px 20px;
  }

  /* Break down menu items into vertical */
  .pullDown ul li {
    display: block;
  }

  .pullDown ul li {
    border-bottom: 1px solid #fff;
    background-color: #005e85;
  }

  .pullDown ul li a {
    color: #fff;
  }

  .pullDown ul li a:before {
    background-color: #fff;
  }

  /* Toggle show/hide menu on checkbox click */
  nav.pullDown ul {
    display: none;
  }

  nav input:checked~ul {
    display: block;
  }

  .current {
    font-weight: bold;
    border-top: none;
  }

  .banner {
    margin: 20px;
  }

  .banner-images {
    height: 300px;
  }

  .image-1 {
    left: 80px;
    top: 100px;
    max-width: 130px;
    border: 7px solid #005e85;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .3);
  }

  .image-2 {
    left: 10px;
    top: 0;
    max-width: 150px;
    border: 7px solid #886985;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .1);
  }

  .image-3 {
    left: 20px;
    top: 200px;
    max-width: 100px;
    border: 7px solid #007167;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .4);
  }

  .info {
    flex: 1 1 100%;
  }

  .mainBanner {
    min-height: 200px;
  }

  .projectDetails {
    max-width: 100%;
    margin: 0 auto;
  }

  .projectDetails .column {
    max-width: 100%;
  }

  .projectDetails .rightSide {
    max-width: 70%;
  }

  .projectDetails .leftSide {
    max-width: 70%;
    order: 10;
  }

  .half {
    width: 95%;
  }

  .contactMe .left {
    min-width: 320px;
  }

  .contactMe .right {
    display: none;
  }

  footer .pullDown ul li {
    display: block;
  }

} /*end of Small Screens*/


/* Smallest Screens */

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

  .banner-images img {
    /*display: none;*/
    opacity:50%;
  }

  .banner-words {
    right: 0;
    width: 100%;
    /*(background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.9) 0%,
        rgba(0, 94, 133, 0.30) 40%,
        rgba(0, 113, 103, 0.30) 60%,
        rgba(255, 255, 255, 0.90) 100%);*/
    margin: 0;
    padding-right: 10px;
  }

  .banner-words>* {
    margin: 5px 0;
  }

  footer .row {
    padding: 5px;
  }

} /*end of smallest screens*/