/* Add a black background color to the top navigation */
.topnav {
    background-color: #0284c5;
    height: 40px;
    display: flex;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
  }
  
  /* Style the links inside the navigation bar */
.topnav a {
    color: #f2f2f2;
    font-family: Century, Georgia, Times, 'Times New Roman', serif;
    font-size: 14px;
    padding: 10px 3%;
    text-align: center;
    text-decoration: none;
  }

  /* Change the color of links on hover */
.topnav a:hover {
    background-color: #00315a;
    color: white;
    border-radius: 10px;
  }

  /* The dropdown container */
.dropdown {
    float: left;
    color:white;
    font-family: Century, Georgia, Times, 'Times New Roman', serif;
    font-size: 14px;
    padding: 10px 3%;
  }

/* Change color of dropdown container on hover */
.dropdown:hover
{
  background-color: #00315a;
  border-radius: 10px;
}

/* Make the dropdown menu appear when hovering over dropdown link*/
.dropdown:hover .dropdown-content
{
  display: block;
}

  /* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0079b4;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    border-radius: 10px;
    z-index: 2;
  }

  /* Links inside the dropdown */
.dropdown-content a {
    display: block;
    float: none;
    color: white;
    font-family: Century, Georgia, Times, 'Times New Roman', serif;
    font-size: 18px;
    padding: 10px 12px;
    text-align: left;
    border-radius: 10px;
  }
  
  /* Add a grey background color to dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #00315a;
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .topnavgrexlogo
  {
    height: 40px;
    width: 160px;
  }

  .grexlogo
  {
    display: none;
    height: 40px;
    width: 160px;
  }

  .companyname
  {
    color:#000000;
    font-family: Century, Georgia, Times, 'Times New Roman', serif;
    padding-top: 40px;
    padding-left: 15%;
    padding-right: 15%;
    margin: 0 auto;

  }

  .shortcompanypitch
  {
      color: #00315a;
      font-family: Century, Georgia, Times, 'Times New Roman', serif;
      margin: 0 auto;
      padding-top: 10px;
      padding-left: 15%;
      padding-right: 15%;
      padding-bottom: 50px;
  }

  .divider
  {
      margin-left: 10%;
      margin-right: 10%;
  }

  .productstitlesection
  {
      text-align: center;
      font-family: Century, Georgia, Times, 'Times New Roman', serif;
      font-weight: bold;
  }

  .productrow1
  {
    display: flex;
    grid-template-columns: repeat(auto-fit);
    grid-auto-rows: 150px;
    grid-gap: 10px;
    align-items: stretch;
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 20px;
  }

  .productrow2
  {
    display: flex;
    flex-direction: column;
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 20px;
  }

  .productinfocontainer
  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #e6e6e6;
    border-radius: 10px;
    height: auto;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 20px;
  }

  .productdescription
  {
    align-items: center;
    text-align: center;
  }

  .productpoints
  {
      font-family: Century, Georgia, Times, 'Times New Roman', serif;
      font-weight: bold;
      margin-left: 15%;
      margin-right: 10%;
  }

  .productlearnmore
  {
    color: #ffffff;
    background-color: #0284c5;
    text-align:center;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    padding: 10px 12px;
    margin-top: 20px;
    margin-left: 35%;
    margin-right: 35%;
    margin-bottom: 50px;
  }

  .productlearnmore:hover
  {
    color: #ffffff;
    background-color: #00315a;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  }

  .productlogotype1
  {
    width: 50%;
    height: auto;
  }

  .productlogotype2
  {
    width: 35%;
    height: auto;
  }

  .productimagetype1
  {
    width: 70%;
    height: auto%;
    object-fit: cover;
    border-radius: 10px;
  }

  .productimagetype2
  {
    width: 30%;
    height: auto%;
    object-fit: cover;
    border-radius: 10px;
  }

  .productimagetypeVertical
  {
    width: auto%;
    height: 10%;
    object-fit: cover;
    border-radius: 10px;
  }

  .shortproductpitch
  {
    font-family: Century, Georgia, Times, 'Times New Roman', serif;
    font-weight: bold;
    color: #00315a;
  }

  .footer
  {
    height: auto;
    background-color: #00315a;
    border-radius: 10px;
    padding: 12px 30px;
  }

  .footerrow1
  {
    display: flex;
    flex-direction: row;
    grid-template-columns: repeat(auto-fill);
    grid-auto-rows: 150px;
    gap: 5%;
    justify-content: center;
    align-items: stretch;
    padding-top: 25px;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 20px;
  }

  .footerlist
  {
    font-family: Century, Georgia, Times, 'Times New Roman', serif;
  }

  .footerlisttitle
  {
    color:#0284c5;
    font-weight: bold;
  }

  .footerlistpoints
  {
    color: #ffffff;
  }

  .footergrexlogo
  {
    display:block;
    margin: 0 auto;
  }

  .footercompanypitch
  {
    text-align: center;
    color: #ffffff;
  }

  .copyright
  {
    padding-bottom: 20px;
    text-align:center;
    color: #ffffff;
  }

  @media screen and (max-width: 900px)
  {

    .topnav
    {
      height: 50px;
      width: 98%;
      position: fixed;
      bottom: 5px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
      z-index: 1;
    }

     /* Style the links inside the navigation bar */
    .topnav a 
    {
      display: flex;
      flex-direction: column;
    }

  /* The dropdown container */
    .dropdown 
    {
      position: relative;
      display: flex;
      flex-direction: column;
    }

    /* Dropdown content (hidden by default) */
    .dropdown-content 
    {
      position: absolute;
      bottom: 100%;
      z-index: 2;
    }

    .topnavgrexlogo
    {
      display: none;
    }

    .grexlogo
    {
      display: block;
      padding-top: 40px;
      margin: 0 auto;
    }

    .productrow1
    {
      flex-wrap: wrap;
    }

    .productlearnmore
    {
      margin-top: 20px;
      margin-left: 30%;
      margin-right: 30%;
      margin-bottom: 50px;
    }

    .footerrow1
    {
      flex-wrap: wrap;
    }
  }
