@import url('https://fonts.googleapis.com/css?family=Raleway:300,300i,400,500,600,800|Roboto:100,100i,300,300i,400,400i,500,500i,700,700i');

p {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 14px;
    padding: 0px 1rem;
    line-height: 1.5;
}
h1 {
    font-family: Raleway, sans-serif;
    font-weight: 400;
    text-align: center;
    font-size: 24px;
}
h2 {
    font-family: Raleway, sans-serif;
    font-weight: 300;
    text-align: center;
}
a {
    /*transition: color 0.2s ease;*/
    font-family: Roboto, sans-serif;
    text-decoration: underline;
    color: #5c5c5c;
}
a:hover {
    color: #2dace2; 
}
figure {
    margin: 2rem 1rem;
}

figcaption {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-style: italic; 
    font-size: 16px;
    text-align: center;
    margin-top: 1rem;
}

header, main, footer {
    max-width: 1200px;
    margin:auto;
}
footer {
    margin-top: 4rem;
}
 li {
    font-family: Roboto, sans-serif;
    /*font-size: 14px;
     list-style-type: none; */
} 
strong {
    font-family: Roboto, sans-serif;
    font-weight: 500;
    color: #ea118c;
}
em {
    font-family: Roboto, sans-serif;
    font-weight: 400i; 
}

/* Home Page */

.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.project {
    max-width: 400px;
}
.project figure {
    margin: 0.5rem;
}


/* main nav */

.overlay-menu {
    position: fixed;
    top: 43px;
    right: 30px;
    height: 40px;
}
.main-nav ul {
    margin-top: 5rem;
    padding-left: 0;
}

.main-nav li {
    text-align: center;
    list-style: none;
}
.main-nav a {
    display: block;
    padding: 1rem;
    font-size: 18px;
    text-decoration: none;
    color: #9c9c9c;
}
.main-nav a:hover {
    color: #2dace2; 
}
.footer-nav {
    display: none;
    
}
.footer-nav a{
    text-decoration: none;
    color: #9c9c9c;
}
.footer-nav a:hover {
    color: #2dace2; 
}

/* Social Media Nav */

.socialmedia {
    display: flex;
    justify-content: center;
}

.img-button {
    height: auto;
    margin: 20px;
}

.button-inv {
    display: none;
}


.img-button:hover .button-inv {
    transition: opacity 2s;
    display: block;
    opacity: 1;
}
.img-button:hover .button {
    display: none;
}

.button, .button-inv {
    max-width: 35px;
}
img-button:active .button-inv{
    opacity: 0; 
}



/* Project Navigation */

.project-nav {
    margin: 4rem 0;
}
.project-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0;
}
.project-nav li {
    display: inline-block;
    padding: 1rem;
}
.project-nav a {
    text-align: center;
    text-decoration: none;
    color: #9c9c9c;
}
.project-nav a:hover {
    color: #2dace2; 
}
.project-nav h1 {
    font-size: 1.5em;
}
#fourcdsocialmarketing .fourcdsocialmarketing,
#masterquesters .masterquesters,
#mpt .mpt,
#lpcpinvasive .lpcpinvasive,
#tmsbook .tmsbook,
#classactdetroit .classactdetroit,
#cmcicover .cmcicover,
#tfvologo .tfvologo,
#personal .personal,
#womensmarch .womensmarch,
#dinnermate .dinnermate,
#photoillustration .photoillustration,
#animatedlogo .animatedlogo,
#ilo-icons .ilo-icons,
#vectorportrait .vectorportrait,
#culturewall .culturewall,
#sadd .sadd,
#oodles .oodles,
#about .about,
/* #work .work, */
#home .home,
#contact .contact,
#resume .resume
{
    color: rgb(0, 0, 0);
}



/* Form */

/*.form {
    margin-bottom: 20rem
}*/
.form h2 {
    margin: 8rem 0 2rem 0;
}

input, textarea {    
    font-family: Roboto, sans-serif;
    font-weight: 400; 
    font-size: 14px;
    border: 1px solid #777;
    margin: 0 1rem 1rem 1rem;
    padding: 5px;
    width: 20rem;
}

input:hover, textarea:hover {
    outline:none;
    border-color:#2dace2;  
}
textarea:focus, input:focus {
    background:#eee;
}

.html-button {
    display: block;
    margin: 3rem auto;
    transition: background-color, color 0.4s;
    font-size: 18px;
    color: #fff;
    background-color: #2dace2;
    text-align: center;
    width: 8rem;
    height: 3rem;
    border-radius: 10px;
    border: 1px solid #777;
}
.html-button:hover {
    background-color: #fff;
    color: #2dace2;
}

.html-button:active {
    color: #2dace2;
    background-color: #fff;
    
}
fieldset {
    border: none;
}
fieldset li {
    text-align: center;
}
fieldset ul {
    padding: 0;
    list-style: none;
}
 

/* classes */

.herotext {
    text-align: center;
    margin: 4rem 0;
}
.herotext p {
    font-weight: 500;
}
.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*.flex-container div {
}*/
.logo {
    max-width: 50%;
    height: auto;
}
.menu-btn {
    max-width: 60%;
}

.profilepic {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}


.cta {
    line-height: 48px;
}
.cta:hover {
    background-color: #fff;
    color: #2dace2;
    border-color: #2dace2;
}
.project img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.copyright {
    text-align: right;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    color: #aaa;
}
.deemphasis {
    font-family: Roboto, sans-serif;
    font-weight: 400i;
}

/* Contact page social media icons */

.socialmedia-big {
    display: flex;
    justify-content: center;
    margin: 4rem 0;
}
.socialmedia-big .button,
.socialmedia-big .button-inv {
    max-width: 50px
}

/* Responsive Menu */

.main-nav {
    position:fixed;
    z-index:10;
    background:rgba(255, 255, 255, .9);
    width:100vw;
    height:100vh;
    right:-110vw;
    top:0;
    transition:right 0.35s ease; 
}

.show {
    right:0rem;
    transition:right 0.35s ease;
}



/* Project page Lists */

.body-list>li {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.4;
    font-size: 14px;
}

.results-bullets>li {
    margin: 1em;
    line-height: 1.2;
    
}

.results-bullets>li>ul>li {
    font-weight: 300;
    
    
}


/* Project Page images */


.slide img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.link img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* PDF fucntionality */

.pdf {
    max-width: 90%;
    margin: auto;
    height: 700px;
}
.pdf iframe {
    display: block;
    width: 100%;
    height: inherit;
    
}

/* Large Image overlay Project Pages */

a.overlay {
  /* Display over the entire page */
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);

/* Horizontal and vertical centering of the image */
  display: flex;
  justify-content: center;
  align-items: center;
 

/* We hide all this by default */
  visibility: hidden;
}

a.overlay img{
  /* Maximum image size */
  max-width: 90%;
  max-height: 90%;


  /* We keep the ratio of the image */
  width: auto;
  height: auto;
}

a.overlay:target {
  visibility: visible;
  outline: none;
  cursor: default;
}

/* Home Page Project Grid Overlay on Hover */

    figure.overlay {
        display: none;
}
       
/* Video */


video {
    width: 100%;
    margin: auto;
}
figure.video {
    max-width: 800px; 
}

/* Widescreen formatting */

@media screen and (min-width: 786px) {
    
   
    
}


@media screen and (min-width: 600px) {
    
    
    /*figure {
        margin: 2rem 1rem;
    }*/
    
    
    
    .logo {
        max-width: 250px;
        height: auto;
    }

    .flex-container {
        justify-content: space-between;
    }

    .project {
        max-width: 400px;
        position: relative;
    }
  

    
    /* Main Nav */
    
    .menu-btn {
        display: none;
    }
    
    .main-nav {
        position: static;
        width: 100%;
        height: auto;
    }
    .main-nav ul {
        padding-left: 0;
}
   .main-nav li {
        display: inline-block;
        padding: 1rem;
        text-align: center;
    }

    .main-nav a {
        padding: 0;
        display: inline;
        font-size: 18px;
    }
    
    .flex-logo {
        width: 30%;
    }
    
    
    
    /* Footer nav */
    
    .footer-nav {
        display: block;
      

    }
    .footer-nav li {
        display: inline-block;
        padding: 1rem;
    }
    
    
    
    /* About */
    
    .herotext {
        margin: 3rem auto;
        line-height: 24px;
    }
    
     .profilepic {
        max-width: 400px;
    } 
   
    
    /* Project Pages */
    
    .gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 862px;
        margin: auto;
    }
    .gallery figure {
        max-width: 367px;
    }

    section.description {
        max-width: 830px;
        margin: auto;
    }
    
    /* New Project Page formatting - interspersing text and images  */
    
    .newproject .project-item {
        max-width: 1830px;
        margin: auto;
    }
    
    .newproject div.flex {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        
    }
    .newproject .flex p  {
        max-width: 430px;
    }
    
    .newproject .flex>figure {
        max-width: 400px;
        margin: 1rem;
    }
    .newproject .project-item>h1 {
        text-align: center;
        padding-left: 0rem;
        font-weight: 300;
        margin-top: 2em;
        margin-bottom: 0.5em;
    }
    
    img.fullpage {
    width: 60%;
    }
    
    a.fullpage {
        display: block;
        text-align: center;
    }

     /*  OVERLAY ON HOVER - Home Page Project Grid */

    figure.overlay {
        display: block;
        position: absolute;
        top: 0px;
        opacity: 0;
        transition: opacity 0.35s ease;
        
    }
    figure.overlay:hover {
        opacity: 0.94;
         
    }
    figure.overlay img {
        box-shadow: none;
    }
    figure.overlay figcaption {
        position: absolute;
        padding: 0px 30px 0px 30px;
        min-width: 324px;
        top: 130px;
    }
    figure.overlay h1 {
        font-family: Roboto, sans-serif;
        font-style: normal;
        color: #000000;
    }
    figure.overlay 
    
    
    /* Video */
    
    figure.video {
    max-width: 800px; 
}



  
}