  /* http://meyerweb.com/eric/tools/css/reset/ 
    v2.0 | 20110126
    License: none (public domain)
  */

  html, body, div, span, applet, object, iframe,
  h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  a, abbr, acronym, address, big, cite, code,
  del, dfn, em, img, ins, kbd, q, s, samp,
  small, strike, strong, sub, sup, tt, var,
  b, u, i, center,
  dl, dt, dd, ol, ul, li,
  fieldset, form, label, legend,
  table, caption, tbody, tfoot, thead, tr, th, td,
  article, aside, canvas, details, embed, 
  figure, figcaption, footer, header, hgroup, 
  menu, nav, output, ruby, section, summary,
  time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
  }
  /* HTML5 display-role reset for older browsers */
  article, aside, details, figcaption, figure, 
  footer, header, hgroup, menu, nav, section {
    display: block;
  }
  body {
    line-height: 1;
  }
  ol, ul {
    list-style: none;
  }
  blockquote, q {
    quotes: none;
  }
  blockquote:before, blockquote:after,
  q:before, q:after {
    content: '';
    content: none;
  }

  table {
    border-collapse: collapse;
    border-spacing: 0;
  }

  h1 {
    padding: 1rem;
    font-size: 3.5rem;
  }

  h2 {
    font-size: 3rem;
    padding-bottom: 1.7rem;
  }

  h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 200;
    font-style: italic;
  }

  body {
    font-family: Arial, Helvetica, sans-serif;
  }

  a {
    text-decoration: none;
    color: black;
  }

  a:active {
    color: black;
    text-decoration: dashed;
  }

  figure {
    border: 1px #cccccc solid;
    border-radius: 7px;
    padding: 4px;
    margin: auto;
    width: 45%;
  }

  figure img {
    border-radius: 7px;
  }

  figcaption {
    background-color: rgb(255, 255, 255);
    border-radius: 7px;
    font-style: italic;
    padding: 2px;
    text-align: center;
  }

  table {
    margin: 6rem 0;
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 45%;
  }

  td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 16px;
  }

  th {
    padding: 1rem;
  }

  tr:nth-child(even) {
  background-color: #eff7ff;
  }

  .navigation-bar {
    display: flex;
    gap: 40rem;
  }

  .navigation-bg-img {
    background: url('images/Conor_Lamb.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 1%;
    height: 100vh;
  }

  .navigation-bar ul {
    display: flex;
    gap: 3.5rem;
    padding: 1rem;
    justify-content: flex-end;
  }

  .navigation-bar ul li {
    font-weight: bold;
    font-size: xx-large;
  }

  .on-image-navlink-anchors {
    color: white;
  }

  .fp-layout {
    padding: 2rem;
    display: flex;
    gap: 3.5rem;
    flex-direction: row;
  }

  .about-section-front p {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .about-section-front a {
    text-decoration: underline;
    color: blue;
    font-weight: 700;
  }

  .about-section-front {
    position: relative;
    overflow: hidden;
    height: 8rem;
    margin-bottom: 6rem;
    padding: 7.5rem 0;
    border-radius: .5rem;
    border-top: 10px solid #eaf5ff;
  }

  .text-content {
      position: absolute;
      right: -105rem;
      width: 83%;
      -webkit-animation: slide 5.5s forwards ease-in-out;
      -webkit-animation-delay: 1.5s;
      animation: slide 5.5s forwards ease-in-out;
      animation-delay: 1.5s;
  }

  .desktop-hidden {
    display: none;
  }

  @-webkit-keyframes slide {
      0% { 
        right: 0rem; 
      }
  }

  @keyframes slide {
      100% { 
        right: 10.95rem; 
      }
  }

  .in-the-news div {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
  }

  iframe {
     box-shadow: -5px 5px 5px 5px #dddddd;
  }

  .conor-lamb-offices {
    box-shadow: -4px 4px 4px 4px #dddddd;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .conor-lamb-offices div {
    width: 100%;
    padding: 5.7rem 1rem 1rem 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: #eaf5ff;
  }

  .conor-lamb-offices h2 {
    border-radius: .5rem;
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid #34679a;
  }

  .office {
    padding-top: 2.7rem;
    width: 100%;
    text-align: center;
  }

  .office h3 {
    font-size: 1.35rem;
    font-weight: 800;
    padding-bottom: .75rem;
  }

  .office p {
    font-size: 1.2rem;
    padding-bottom: 1rem;
  }

  .about-me-content img {
    filter: grayscale(50);
  }

  .about-me-content img:hover {
    filter: grayscale(0);
  }

  .about-me-content div {
    margin: 2.75rem 0;
  }

  .about-me-content h2 {
    padding-top: 2rem;
    text-align: center;
  }

  .about-me-content p {
    margin: auto;
    width: 45%;
    padding: 1.75rem;
    font-size: 1.25rem;
    line-height: 2rem;
  }

  .main-legislation-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

  }

  .contact-form-main h2 {
    text-align: center;
    padding: 5rem 0 1.5rem 0;
  }

  .contact-form-main img {
    width: 1.5rem;
    margin: 0 0 0 2.5rem;
  }

  form {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
  }

  form .main-form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70%;
  }

  input, select {
    margin: .5rem 1rem 1.75rem 1rem;
    padding: .85rem;
    width: 80%;
    border: 2px solid black;
  }

  label {
    margin: 1rem;
    font-weight: 600;
  }

  form .personal-info, form .contact-info, form .location-info {
    display: grid;
    grid-template-columns: 2fr 2fr;
    width: 60%;
  }


  input[type="submit"] {
    margin-top: 3rem;
    border: 2px solid black;
    background-color: #fff;
    font-size: larger;
    width: 60%;
  }

  .thank-you-page-bg-img {
    background-image: url('images/black_women_coder.jpg');
    background-attachment: fixed;
    height: 50vh;
  }

  .thank-you-message {
    text-align: center;
    padding: 5rem 8rem;
    line-height: 1.5rem;
  }

  .thank-you-message h2 {
    line-height: 3.25rem;
  }

  .thank-you-message p {
    font-size: 1.25rem;
  }

  footer {
    background-color: #34679a;
    color: wheat;
    padding: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
  }

  .footer-nav {
    display: flex;
    gap: 5rem;
    justify-content: center;
  }

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

figure {
  border: 1px #cccccc solid;
  border-radius: 7px;
  padding: 4px;
  margin: auto;
  width: 90%;
}

figure img {
  border-radius: 7px;
}

figcaption {
  background-color: rgb(255, 255, 255);
  border-radius: 7px;
  font-style: italic;
  padding: 2px;
  text-align: center;
}

  h1 {
  padding: 1rem;
  font-size: 2rem;
}

  .navigation-bar {
    gap: 10rem;
  }
  

  .navigation-bg-img {
    height: 100vh;
    background-position: left;
  }

  .navigation-bar h1 {
    width: 100%;
  }

  .hamburger, .close {
    border: none;
    cursor: pointer;
    /* position absolute position the icons relative to the body because they have no position relative parents*/
    position: absolute;
    top: 10px;
    right: 35px;
    width: 36px;
    height: 36px;
  }
  
  .hamburger {
    background: none;
  }
  
  .close {
    background: #eff7ff;
  }

  .hamburger img { 
    width: 75%;
  }

  .close img {
    width: 67%;
  }
  
  .navbar {
    padding-left: 3.5rem;
    position: absolute;
    /* a higher z-index put navbar above hamburger */
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    /* basic menu styling*/
    list-style: none;
    background: #eff7ff;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: start;
    /* animate slide up/down */
    transform: translateX(-150%);
    transition: transform 0.5s ease;
  }
  
  /* :target is called when its anchor id #navbar is called by clicking on the hamburger which has href="#navbar" */
  
  .navbar:target {
    /* show navbar */
    transform: translateY(0);
  }
  
  li .menu-links {
    display: block;
    color: black;
    font-weight: bold;
    font-size: 2.2rem;
    /* remove default underline and add our own with padding and border bottom */
    text-decoration: none;
    border-bottom: 1px solid black;
    padding-bottom: 0.5rem;
  }
  
  li a:hover, li a:focus {
    /* show border bottom */
    border-bottom: 1px solid white;
  }

  .hamburger-menu .menu-links {
    width: 100%;
  }

  .navigation-bar .hamburger {
    padding-top: .61rem;
    padding-left: 5rem;
  }

  .hamburger-menu {
    display: block;
  }

  .navigation-bar .mobile-tablet-hidden {
    display: none;
  }

  .fp-layout {
    display: block;
    padding: 0;
  }

  .in-the-news h2, .conor-lamb-offices h2 {
    text-align: center;
    padding-bottom: 4rem;
  }

  .in-the-news {
    margin: 6rem 0 9rem 0;
  }

  .in-the-news div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5rem;
  }

  iframe {
    width: 93%;
  }

  .about-section-front p {
    width: 85%;
    font-size: 1.1rem;
    line-height: 1.75rem;
  }

  .about-section-front a {
    text-decoration: underline;
    color: blue;
    font-weight: 700;
  }

  .about-section-front {
    position: relative;
    overflow: hidden;
    height: 25rem;
    padding: 5.5rem 0;
    margin-bottom: 3rem;
  }

  @-webkit-keyframes slide {
      0% { 
        right: 0rem; 
      }
  }

  @keyframes slide {
      100% { 
        right: .95rem; 
      }
  }


  .conor-lamb-offices div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-bottom: 6rem;
  }

  .conor-lamb-offices h2 {
    background-color: #fff;
    padding: 3rem;
    text-align: center;
    font-size: 2.5rem;
  }

  .office {
    width: 80%;
    padding: 1rem;
  }

  .office h3 {
    padding-bottom: 1rem;
    font-family: 'Calibri'
  }

  .about-me-content h2 {
    padding-top: 2rem;
    padding-bottom: 0;
    text-align: center;
  }

  .about-me-content p {
    margin: auto;
    width: 90%;
    padding: .75rem;
    font-size: 1rem;
    line-height: 2rem;
  }

  .about-me-content img {
    filter: grayscale(0);
  }

  footer {
    display: flex;
    justify-content: center;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
    text-align: center;
  }

  .contact-form-main h3 {
    padding-bottom: 2.5rem;
    font-size: medium;
  }

  form {
    padding: 0;
  }

  form select {
    width: 88.5%;
    font-size: 1.35rem
  }

  form label {
    font-size: larger;
  }

  form .main-form-section {
    display: block;
    width: 100%;
  }

  form .personal-info, form .contact-info, form .location-info {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  input[type="submit"] {
    border: 2px solid black;
    background-color: #fff;
    font-size: larger;
  }

  input::placeholder {
    font-size: larger;
  }

  .main-legislation-section h2 {
    margin-top: 3rem;
    text-align: center;
    font-size: x-large;
    width: 80%;
  }

  table {
    margin: 2rem 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
figure {
  border: 1px #cccccc solid;
  border-radius: 7px;
  padding: 4px;
  margin: auto;
  width: 90%;
}

figure img {
  border-radius: 7px;
}

figcaption {
  background-color: rgb(255, 255, 255);
  border-radius: 7px;
  font-style: italic;
  padding: 2px;
  font-size: 1.5rem;
  text-align: center;
}

  h1 {
  padding: 1rem;
  font-size: 3.5rem;
}

  .navigation-bar {
    gap: 10rem;
  }

  .navigation-bg-img {
    height: 80vh;
    background-position: left;
  }

  .navigation-bar h1 {
    width: 100%;
  }

  .hamburger, .close {
    border: none;
    cursor: pointer;
    /* position absolute position the icons relative to the body because they have no position relative parents*/
    position: absolute;
    top: 10px;
    right: 35px;
    width: 36px;
    height: 36px;
  }
  
  .hamburger {
    background: none;
  }
  
  .close {
    background: #eff7ff;
  }

  .hamburger img { 
    width: 105%;
  }

  .close img {
    width: 105%;
  }
  
  .navbar {
    padding-left: 3.5rem;
    position: absolute;
    /* a higher z-index put navbar above hamburger */
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    /* basic menu styling*/
    list-style: none;
    background: #eff7ff;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: start;
    /* animate slide up/down */
    transform: translateX(-150%);
    transition: transform 0.5s ease;
  }
  
  /* :target is called when its anchor id #navbar is called by clicking on the hamburger which has href="#navbar" */
  
  .navbar:target {
    /* show navbar */
    transform: translateY(0);
  }
  
  li .menu-links {
    display: block;
    color: black;
    font-weight: bold;
    font-size: 4rem;
    /* remove default underline and add our own with padding and border bottom */
    text-decoration: none;
    border-bottom: 1px solid black;
    padding-bottom: 0.5rem;
  }
  
  li a:hover, li a:focus {
    /* show border bottom */
    border-bottom: 1px solid white;
  }

  .hamburger-menu .menu-links {
    width: 100%;
  }

  .navigation-bar .hamburger {
    padding-top: .61rem;
    padding-left: 5rem;
  }

  .hamburger-menu {
    display: block;
  }

  .navigation-bar .mobile-tablet-hidden {
    display: none;
  }

  .fp-layout {
    display: block;
    padding: 0;
    width: 90%;
    margin: auto;
  }

  .in-the-news h2, .conor-lamb-offices h2 {
    text-align: center;
    padding-bottom: 4rem;
  }

  .in-the-news {
    margin: 6rem 0 9rem 0;
  }

  .in-the-news div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5rem;
  }

  iframe {
    width: 89%;
  }

  .about-section-front p {
    font-size: 1.7rem;
    line-height: 2.5rem;
  }

  .about-section-front a {
    text-decoration: underline;
    color: blue;
    font-weight: 700;
    font-size: 1.5rem;
  }

  .about-section-front {
    position: relative;
    overflow: hidden;
    height: 25rem;
    padding: 5.5rem 0;
    margin-bottom: 3rem;
  }

  @-webkit-keyframes slide {
      0% { 
        right: 0rem; 
      }
  }

  @keyframes slide {
      100% { 
        right: 4.95rem; 
      }
  }

  .conor-lamb-offices {
    width: 90%;
    margin: 0 auto;
  }


  .conor-lamb-offices div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-bottom: 6rem;
  }

  .conor-lamb-offices h2 {
    padding: 3rem;
    text-align: center;
    font-size: 2.5rem;
  }

  .office {
    width: 80%;
    padding: 1rem;
  }

  .office h3 {
    padding-bottom: 1.5rem;
    font-size: 2rem;
    font-family: 'Calibri'
  }

  .office p {
    font-size: 1.5rem;
  }

  .about-me-content h2 {
    padding-top: 2rem;
    padding-bottom: 0;
    text-align: center;
  }

  .about-me-content p {
    margin: auto;
    width: 90%;
    padding: .75rem;
    font-size: 1.7rem;
    line-height: 2.8rem;
  }

  .about-me-content img {
    filter: grayscale(0);
  }

  footer {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
    text-align: center;
  }

  .contact-form-main h3 {
    padding-bottom: 2.5rem;
    font-size: medium;
  }

  form {
    padding: 0;
  }

  form select {
    width: 88.5%;
    font-size: 1.35rem
  }

  form label {
    font-size: larger;
  }

  form .main-form-section {
    display: block;
    width: 100%;
  }

  form .personal-info, form .contact-info, form .location-info {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  input[type="submit"] {
    border: 2px solid black;
    background-color: #fff;
    font-size: larger;
    width: 35%;
  }

  input::placeholder {
    font-size: larger;
  }

  .main-legislation-section h2 {
    margin-top: 3rem;
    text-align: center;
    font-size: x-large;
    width: 80%;
  }

  table {
    margin: 2rem 0;
    width: 85%;
  }
 
}

 @media (min-width: 1024px) and (max-width: 1337px) and (orientation: portrait) {
  figure {
  border: 1px #cccccc solid;
  border-radius: 7px;
  padding: 4px;
  margin: auto;
  width: 90%;
}

figure img {
  border-radius: 7px;
}

figcaption {
  background-color: rgb(255, 255, 255);
  border-radius: 7px;
  font-style: italic;
  padding: 2px;
  font-size: 1.5rem;
  text-align: center;
}

  h1 {
  padding: 1rem;
  font-size: 3.5rem;
}

  .navigation-bar {
    gap: 10rem;
  }
  

  .navigation-bg-img {
    height: 75vh;
    background-position: left;
  }

  .navigation-bar h1 {
    width: 100%;
  }

  .hamburger, .close {
    border: none;
    cursor: pointer;
    /* position absolute position the icons relative to the body because they have no position relative parents*/
    position: absolute;
    top: 10px;
    right: 35px;
    width: 36px;
    height: 36px;
  }
  
  .hamburger {
    background: none;
  }
  
  .close {
    background: #eff7ff;
  }

  .hamburger img { 
    width: 105%;
  }

  .close img {
    width: 105%;
  }
  
  .navbar {
    padding-left: 3.5rem;
    position: absolute;
    /* a higher z-index put navbar above hamburger */
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    /* basic menu styling*/
    list-style: none;
    background: #eff7ff;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: start;
    /* animate slide up/down */
    transform: translateX(-150%);
    transition: transform 0.5s ease;
  }
  
  /* :target is called when its anchor id #navbar is called by clicking on the hamburger which has href="#navbar" */
  
  .navbar:target {
    /* show navbar */
    transform: translateY(0);
  }
  
  li .menu-links {
    display: block;
    color: black;
    font-weight: bold;
    font-size: 2.2rem;
    /* remove default underline and add our own with padding and border bottom */
    text-decoration: none;
    border-bottom: 1px solid black;
    padding-bottom: 0.5rem;
  }
  
  li a:hover, li a:focus {
    /* show border bottom */
    border-bottom: 1px solid white;
  }

  .hamburger-menu .menu-links {
    width: 100%;
  }

  .navigation-bar .hamburger {
    padding-top: .61rem;
    padding-left: 5rem;
  }

  .hamburger-menu {
    display: block;
  }

  .navigation-bar .mobile-tablet-hidden {
    display: none;
  }

  .fp-layout {
    display: block;
    padding: 0;
    width: 90%;
    margin: auto;
  }

  .in-the-news h2, .conor-lamb-offices h2 {
    text-align: center;
    padding-bottom: 4rem;
  }

  .in-the-news {
    margin: 2rem 0 9rem 0;
  }

  .in-the-news div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 7rem;
  }

  iframe {
    width: 89%;
  }

  .about-section-front p {
    font-size: 1.7rem;
    line-height: 2.5rem;
  }

  .about-section-front a {
    text-decoration: underline;
    color: blue;
    font-weight: 700;
    font-size: 1.5rem;
  }

  .about-section-front {
    position: relative;
    overflow: hidden;
    height: 25rem;
    padding: 5.5rem 0;
    margin-bottom: 0;
  }

  @-webkit-keyframes slide {
      0% { 
        right: 0rem; 
      }
  }

  @keyframes slide {
      100% { 
        right: 4.95rem; 
      }
  }

  .conor-lamb-offices {
    width: 90%;
    margin: 0 auto;
  }


  .conor-lamb-offices div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-bottom: 6rem;
  }

  .conor-lamb-offices h2 {
    padding: 3rem;
    text-align: center;
    font-size: 2.5rem;
  }

  .office {
    width: 80%;
    padding: 1rem;
  }

  .office h3 {
    padding-bottom: 1.5rem;
    font-size: 2rem;
    font-family: 'Calibri'
  }

  .office p {
    font-size: 1.5rem;
  }

  .about-me-content h2 {
    padding-top: 2rem;
    padding-bottom: 0;
    text-align: center;
  }

  .about-me-content p {
    margin: auto;
    width: 90%;
    padding: .75rem;
    font-size: 1.7rem;
    line-height: 2.8rem;
  }

  .about-me-content img {
    filter: grayscale(0);
  }

  footer {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
    text-align: center;
  }

  .contact-form-main h3 {
    padding-bottom: 2.5rem;
    font-size: medium;
  }

  form {
    padding: 0;
  }

  form select {
    width: 88.5%;
    font-size: 1.35rem
  }

  form label {
    font-size: larger;
  }

  form .main-form-section {
    display: block;
    width: 100%;
  }

  form .personal-info, form .contact-info, form .location-info {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  input[type="submit"] {
    border: 2px solid black;
    background-color: #fff;
    font-size: larger;
    width: 35%;
  }

  input::placeholder {
    font-size: larger;
  }

  .main-legislation-section h2 {
    margin-top: 3rem;
    text-align: center;
    font-size: x-large;
    width: 80%;
  }

  table {
    margin: 2rem 0;
    width: 85%;
  }
} 