@import url('https://fonts.googleapis.com/css2?family=Oldenburg');
@import url('https://fonts.googleapis.com/css2?family=Protest+Revolution');

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

body {
    background-color:#522d80;
    background-image: url("/18776230_6016833.jpg");
    background-attachment: fixed;
    background-size: 100%;
    color: #69359c; 
    font-family: 'Oldenburg', serif;
  
}
h1 {
  font-family: 'Protest Revolution', serif;
  font-size: 45px;
  color: white;
}

nav {
    background-color: #940050; 
    text-align: center;
    width: 100%;
    position: sticky;
    top: 0;
}

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

a {
    color: black; /* 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; 
    text-decoration: none;
    margin: 0;
    font-size: 1.25em;
}

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 galelry 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: 180px;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
    margin: 10px;
    border: 2px #f5f5f5 solid; /* EDIT ME - color of the border around each gallery image */
}

footer {
    width: 100%;
    background-color: #940050; /* EDIT ME! - background color of the footer (aka where your About Me and social links are!) */
    padding: 2rem 4rem;
    margin: 0 auto;
    color: white; /* EDIT ME! - font color of the text within the footer */
}

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

#about * {
    padding: 0.25rem;
}

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

#links a {
    padding-right: 1rem;
    color: #009698; /* 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:#f5f5f5; /* EDIT ME! - will change the hover on all links within the nav*/
}

#links a:hover {
    color:#f5f5f5; /* 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;
    }
}