:root {
    --text-blue: hsl(238, 29%, 16%);
    --gradient-blue: hsl(240, 73%, 65%);
    --divider-blue: hsl(240, 5%, 85%);
  }
  
  html {
    box-sizing: border-box;
    font-size: 100%;
    scroll-behavior: smooth;
  }
  
  *, 
  *::before, 
  *::after {
    box-sizing:inherit;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    color: var(--text-blue);
  }
  
  h1, 
  h2, 
  h3 {
    margin-top: 0;
  }
  
  /* COOKIE */
  .cookie-wrapper {
    position: fixed;
    bottom: 30px;
    background: #fff;
    border-radius: 15px;
    padding: 25px 25px 30px 25px;
    width: 98%;
    margin-left: 1%;
    z-index: 1;
    color: #000;
    border: #000 solid 0.5px;
  }
  
  .cookie-wrapper.hide {
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
  }
  
  .cookie-wrapper .content {
    margin-top: 10px;
  }
  
  .cookie-content header {
    font-size: 25px;
    font-weight: 600;
  }
  
  .cookie-content p {
    color: #fff;
    margin: 5px 0 20px 0;
  }
  
  .cookie-content .buttons {
    display: flex;
    align-items: left;
    justify-content: left;
  }
  
  .buttons .item {
    margin: 0 10px;
  }
  
  .buttons button {
    padding: 10px 20px;
    background: #242424;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .buttons a {
    color: #000;}
  
  /* Header */
  nav {
    width: 100%;
    height: auto;
  }
  
  .navmenu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
  }
    
  .logo { 
    align-self: flex-start;
    padding: 0 0 1rem 1.5rem;
  }
  
  .logo img { 
    width: 12rem;
    height: 100%;
  }
  
  .menu_icon {
    margin-left: auto;
    border: none;
    background: transparent;
    padding-right: 1.5rem;
    padding-bottom: 2.5rem;
  }
  
  .menu_icon:hover {
    cursor: pointer;
  }
  
  .line {
    width: 45px;
    height: 5px;
    margin-top: 6px;
    background-color: #363636;
  }
  
  .menu_dropdown {
    font-size: 0.7em;
    text-align: center;
    height: auto;
    font-family: sans-serif;
    font-weight: 500;
  }
  
  .menu_content {
    width: 100%;
    height: auto;
  }
  
  .menu_content a {
    display: block;
    padding: 1.7rem 1rem 1.7rem 1rem;
    font-size: 1.2em;
    text-decoration: none;
    color:hsl(238, 29%, 16%);
    border-top: 1px solid var(--divider-blue);
  }
  
  .menu_content a:hover {
    color: rgb(74, 168, 255);
  }
  
  .menu_dropdown.collapse { 
    display: none; 
  }
  
  .menu_dropdown.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 300ms ease;
    width: 100%;
  }
  
  .menu_dropdown.open {
    display: block;
    width: 100%;
  }
    
  /* Header image */
  .words { 
    position:relative;
  }

  .words h1 {
    position:absolute; 
    top:10%;
    right: 10%;
    font-size: 80px;
  }

  .size-4 {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    opacity: 1;
  }
  
  .note {		
    width: 100%;
    padding: 10px 0 10px 0;
    background: #ffffff;
    color:black;
    font-size: 1.2em;
    font-family: brandon-grotesque, sans-serif;
    font-weight: 400;
    text-align: center;
    margin-top: -0.8rem;
  }
  
  /* Services */
  article {
    display: grid;
    width: 100%;
    grid-template-columns: auto auto auto;
    grid-template-rows: 1px auto repeat(5, 1fr) 1px;
    column-gap: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.05em;
    line-height: 1.8;
    color: black;
    overflow: auto;}
  
  article p {
    font-weight: normal;}
  
  article h2 {
    grid-column: 2 / span 2;
    grid-row: 1;
    align-self: end;
    font-weight: 900;
    margin: 0; 
    justify-self: stretch;}
  
  article h4 {
    margin-top: 0;
    letter-spacing: 0.8px;}

  article a {
    color: black;
  }
  
  .num-1 {
    border: 25px solid white;
    border-top: none;
    border-bottom: none;}
  
  .item_format {
    text-align:center;
  }
  
  .item_format p {
    text-align: left;
  }
  
  .intro {
    grid-column: 2;
    grid-row: 2; }
  
  .item-a {
    grid-column: 2;
    grid-row: 3;}
  
  .item-b {
    grid-column: 2;
    grid-row: 4;}
  
  .item-c {
    grid-column: 2;
    grid-row: 5;}
  
  .item-d {
    grid-column: 2;
    grid-row: 6;}

  .item-e {
    grid-column: 2;
    grid-row: 7;}    
  
  .svg_sizes {
    width: 10rem;
    height: auto;
  } 
  
  /* About */
  #about {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 350px;
    background-image: url("images/hammersmithedit2.png");
    background-size: cover;	
    font-size: 1em;
    color: rgb(37, 37, 37);
    letter-spacing: 0.02em;
  }
  
  .num-2 {
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    padding: 5% 20% 5% 20%;
  }
  
  .num-2 h2 {
    float: right;
    color: rgb(70, 70, 70);
   }
   
  .num-2 p {
    float: left;
  }

  /* News */
  #roundup{
    display:grid;
    width: 100%;
    grid-template-columns: auto auto auto;
    grid-template-rows: 1px auto repeat(4, 1fr) 1px;
    column-gap: 20px;
    color: black;
    overflow: auto;}
  

  .headlines {
    grid-column: 2;
    grid-row: 2;
  }

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

  .headlines a:hover {
    text-decoration:underline;
    cursor: pointer;
  }

  /* News article */
  #news {
    display: flex;
    align-content: center;
    justify-content: center;
    padding-top: 5rem;
    height: auto;
  }

  .news_text {
    width: 70%;
    min-height: 25rem;
    padding-bottom: 5%; 
  }

  .news_text a {
    color: var(--text-blue);
  }
  
  /* FAQ */
  #faq {
    display: flex;
    background: #F2F2F2;
    align-content: center;
    justify-content: center;
    padding-top: 5rem;
    height: auto;
  }
  
  .card_text {
    width: 85%;
    min-height: 25rem;
  }
  
  .accordion_item {
    padding-top: 1rem;
    border-bottom: 1px solid var(--divider-blue);
  }
  
  .accordion_question {
    border: none;
    padding: 0;
    margin-bottom: 1rem;
    background: transparent;
    font-size: inherit;
    font-family: inherit;
    text-align: left;
  }
  
  .accordion_question:hover {
    cursor: pointer;
  }
  
  .accordion_question.open {
    font-weight: 700;
  }
  
  .accordion_answer {
    line-height: 1.4;
    padding-bottom: 1rem;
  }
  
  .accordion_collapse.collapse { 
    display: none;  
  }
  
  .accordion_collapse.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 300ms ease;
  }
  
  .accordion_collapse.open {
    display: block;
  }
  
  /* Cite */
  .cite {
    width: 100%;
    background: #F2F2F2;
    text-align: center;
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    padding: 50px 0 50px 0;
  }
  
  .cite img {	
    height: 180px;
    width: auto;
  }

  .cite a {
    color: var(--text-blue);
  }

  .leftcitation { 
    grid-column:2;
  }

  .rightcitation { 
    grid-column:3;
    text-align: left;
    padding-top:50px;
  }

  /* Footer */
  .footer {
      display: grid;
      grid-template-columns: repeat(10, 1fr);
      grid-template-rows: 50px 100px 40px;
      background: #505050;
      color: white;}
  
  .leftfooter {
      grid-column-start: 2;
      grid-column-end: 5;
      grid-row: 2;
      align-self: end;}
  
  .rightfooter {
      grid-column-start: 8;
      grid-column-end: 10;
      grid-row: 2;
      align-self: end;
      justify-self:end;}
  
  .footer a {
      color: white;}
  
  /* PRIVACY POLICY */
  
  .privacy {
    display: flex;
    margin: 0 auto;
    padding: 2rem 5% 4rem 5%;
    font-size: 0.8em;
  }  
  
  /* -- Desktop -- */
  @media (min-width: 49em) {
  
  /* Header */
    .navmenu {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      flex-wrap: nowrap;
      padding: 1rem 1% 0 5%;
    }
  
    .menu_dropdown.collapse {
      display: flex;
      margin-left: auto;
    }
  
    .menu_content a {    
      margin: 1rem 0.3rem 2rem 1rem;
      float: left;
      text-decoration: none;
      color:hsl(238, 29%, 16%);
      background-color: inherit;
      font-size: 1.4em;
      border-top: none;
      border: 1px solid var(--divider-blue);
    }
  
    .menu_content a:hover {
      background: inherit;
      color: white;
      background-color: #9AD4FF;
    }
  
    .menu_icon {
      display: none;
    }
  
    .size-4 {
      width: 100%;
      height: 38rem;
      /* padding-left: 40px;*/
    }

    
  /* Services */
    article {
      grid-template-columns: 1% repeat(2, 1fr) 1%;
      grid-template-rows: 9rem 12rem repeat(3, 25rem);
    }
  
    .intro {
      grid-column: 2 / span 2;
      grid-row: 2; 
    }
    
    .item-a {
      grid-column: 2 / span 1;
      grid-row: 3, 15rem;
    }
    
    .item-b {
      grid-column: 3 / span 1;
      grid-row: 3;
    }
    
    
    .item-c {
      grid-column: 2 / span 1;
      grid-row: 4;
    }
    
    .item-d {
      grid-column: 3 / span 1;
      grid-row: 4;
    }

    .item-e {
      grid-column: 2 / span 1;
      grid-row: 5;
    }

    /* About */ 
    #about { 
    }

    /* News article*/
    .news_card {
      display: flex;
      margin: 0 auto;
      padding: 4rem 2.25rem 4rem 2.25rem;
    }

    .news_text { 
      flex: 1;
      max-width: 60%;
    }
  
    /* FAQ */
    .card {
      display: flex;
      margin: 0 auto;
      padding: 4rem 2.25rem 4rem 2.25rem;
    }
  
    .card_text { 
      flex: 1;
      max-width: 70%;
    }
  
    /* Privacy policy */
    .privacy {
      display: flex;
      margin: 0 auto;
      padding: 2rem 12% 4rem 12%;
      font-size: 0.9em;
    }  
  }
  
  
  @media (min-width: 49em) and (max-width: 59em) {    // mid-size screen - transition beween small & large formatting
    article {
      grid-template-columns: 2% repeat(2, 1fr) 2%;
      grid-template-rows: 9rem 13rem repeat(3, 24rem);
      grid-row-gap: 0;
    }

    #roundup {
      grid-template-columns: 2% repeat(2, 1fr) 2%;
      grid-template-rows: 9rem 13rem repeat(2, 24rem);
      grid-row-gap: 0;
    }

    .contact {
      grid-template-columns: 10% auto 10%;
      grid-template-rows: 2rem auto 2rem auto 2rem;
      border: 25px solid white;
     }
   
    .maptemplate {
       grid-column: 2;
       grid-row: 4;
    }
  }
  
  @media (min-width: 59em) and (max-width: 90em) {    // laptop
    #about {
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    article {
      grid-template-columns: 8% repeat(2, 1fr) 8%;
      grid-template-rows: 9rem 13rem repeat(3, 24rem);
      grid-row-gap: 0;
    }

    #roundup {
      grid-template-columns: 8% repeat(2, 1fr) 8%;
      grid-template-rows: 9rem 13rem repeat(2, 24rem);
      grid-row-gap: 0;
    }
  
    .news_text { 
      max-width: 80%;
    }

    .card_text { 
      max-width: 80%;
    }
  
    .privacy {
      display: flex;
      margin: 0 auto;
      padding: 2rem 20% 4rem 20%;
      font-size: 1em;
    }  
  }
  
  @media (min-width: 90em) {    // desktop
    #about {
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    article {
      grid-template-columns: 12% repeat(2, 1fr) 12%;
      grid-template-rows: 9rem 13rem repeat(3, 24rem) 80px;
      grid-row-gap: 0;
      grid-column-gap: 100px;
    }

    #roundup {
      grid-template-columns: 16% repeat(2, 1fr) 16%;
      grid-template-rows: 9rem 13rem 9rem;
      grid-row-gap: 0;
      grid-column-gap: 100px;
    }

    .news_text { 
      max-width: 50%;
    }

    .card_text { 
      max-width: 60%;
    }
  
    .num-2 h2 {
      padding: 0 10% 0 10%;
     }
     
    .num-2 p {
      padding: 0 10% 0 10%;
    }
  
    .privacy {
      padding: 2rem 20% 4rem 20%;
    }  
  }
  
  
  
  