/* DO YOU WANT TO EDIT THE COLORS?

THEN HIT CTRL+F (CMD+F ON MACS) OR WHATEVER KEYBINDING YOU HAVE TO OPEN YOUR FIND TOOL! THEN, TYPE THE BELOW:

EDIT ME!

ALL EDITABLE COLORS SHOULD LIGHT UP AND YOU CAN SEE WHAT YOU CAN CHANGE WITH HEX VALUES OR WEB-SAFE COLOR NAMES!

*/

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(
    139deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(102, 102, 102, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#666666",GradientType=1);
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
}

nav {
  background: linear-gradient(
    139deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(102, 102, 102, 1) 100%
  );

  text-align: center;
  width: 100%;
  position: sticky;
  top: 0;
}

nav ul li {
  list-style: none;
  display: inline-block;
  padding: 2rem 0.5rem;
  margin: 0;
}

a {
  color: lightcoral; /* EDIT ME! - colors the links in your page NOT in your nav or footer, assuming any are there*/
  text-decoration: none; /* get rid of this entire line if you want all links to have an underline*/
}

nav a {
  color: white; /* EDIT ME! - colors the links in your navbar*/
  text-decoration: none;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  font-size: 1.25em;
  border: 3px solid white;
  border-radius: 5px;
}

main {
  padding: 4rem;
  min-height: 80vh; /* EDIT ME if and ONLY if you don't have a lot in your about me -- you may need to up this to 90vh */
}
#gallery {
  max-width: 90vw;
  margin: 0 auto;
  text-align: center;
}

#gallery p,
#gallery h3,
#gallery h2 {
  margin: 1.25rem auto;
}

#hideshow {
  display: none;
}

#featureimg {
  max-width: 100%;
}

/* changing the WIDTH and HEIGHT in the below will change how big your gallery item thumbnails appear. NOTE - due to styling, the 120 width has minus 10 pixels on either side due to margin; same to height.*/
#galleryItems img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  margin: 10px;
  border-radius: 5px;
  border: 3px #f5f5f5 solid; /* EDIT ME - color of the border around each gallery image */
}

#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 30px;
  cursor: pointer;
}

footer {
  width: 100%;
  bottom: 0;
  background: linear-gradient(
    139deg,
    rgba(102, 102, 102, 1) 100%,
    rgba(0, 0, 0, 1) 0%
  ); /* EDIT ME! - background color of the footer (aka where your About Me and social links are!) */
  padding: 2rem 4rem;
  margin: 0 auto;
  color: lightgray; /* EDIT ME! - font color of the text within the footer */
}

footer ul li {
  list-style: none;
  display: inline-block;
}

#links h2,
#links h3 {
  padding: 1rem 0;
}

#links a {
  padding-right: 1rem;
  color: lightcoral; /* EDIT ME! - colors the links in your link area of the footer */
  text-decoration: none;
}

i {
  font-size: xx-large;
}

a:hover {
  color: #f5f5f5; /* EDIT ME! - will change the hover on all links within the body*/
}

nav a:hover {
  color: #8a0000; /* EDIT ME! - will change the hover on all links within the nav*/
  background: #fff;
  transition: color 0.8s;
}

#links a:hover {
  color: #8a0000; /* EDIT ME! - will change the hover on all links within the section with an id of links */
}

/* For large horizontal viewports, to reign in that gallery... */

@media screen and (min-width: 768px) {
  #gallery {
    max-width: 75vw;
  }

  #gallery p {
    max-width: 60%;
  }

  footer section {
    max-width: 75vw;
    margin: 0 auto;
  }
}
