html {
    height: 100%;
    background-color: white;
  }

  body {
    height: 100vh;   
    min-height: 100%;
    min-height: -webkit-fill-available;
    margin: 0;
    padding: 0;
  }  
  
  .page-container {
    position: relative;
    min-height: 100vh;
  }

  #content-wrap {
    padding-bottom: 100px;    /* Footer height */
  }

  header {
    background-color: #41dbfd;
    height: 125px;
    width: 100vw;
    max-width:100%;
    display: flex;
  }
  
  #footer {
    height: 100px;  /* Footer height */
    width: 100vw;
    min-width:100%;
    background-color: #85888C;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
  }

  #footer p {
    text-align: center;
    color: white;
  }
  
  .logo {
    padding: 10px;
    height: 100%;
    max-height: 100px;
    border: none;
    display: inline-block;
  }
  
  .navigation {
      position: absolute;
      height: 125px;
      top: 0px;
      width: 100%;
  }
  
  .error-container {
    background-color: #41dbfd;
    padding: 20px;
    font-size: 20px;
  }

  .error-icon {
    margin-right: 5px;
  }

  .error-container p {
    display: inline;
    margin: 0;
  }

  .outercontainer {
 /*     height: calc(100vh - 225px);   size of window minus height of header + footer  */
      padding-top: 25px;
      width: 100vw;
      max-width: 100%;
      display: flex;
      justify-content: center;
      background-color: white;
      background-image: linear-gradient(#41dbfd 0px, white 15px);
  }
  
  .outer-left {
      order: 1;
      position: relative;
      display: flex;
      justify-content: center;
      padding: 25px;
      width: 60%;
      max-width: 60%;
    }
  
  .outer-right {
      order: 2;
      width: 40%;
      max-width: 40%;
      display: flex;
      margin: 25px;  

  }
  
  .homepage-left-image {
    display: flex;
    justify-content: center;
    width: 100%;
    background-image: url("../images/homepage.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    border-style: ridge;
    border-width: 2px;
    border-color: #636566;
    border-radius: 12px;
    box-shadow: 0 0 10px #85888C;
    min-height: 350px;
  }

  .homepage-right-form{
    max-height: 200px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-style: solid;
    border-width: 3px;
    border-color: #41dbfd;
    border-radius: 12px;
    box-shadow: 0 0 10px #85888C;
  }

  .homepagemessage {
    display: flex;
    position: absolute;
    top: 20%;
    padding: 10px;
    width: 85%;
    background-color: #36383F;
    opacity: 0.7;
  }

  .homepagemessage font {
    opacity: 1;
    color: white;
    font-size: 20px;
  }

  #dropbtn {
    display: none;
  }
  
  #outermenu {
    background-color: #41dbfd;
    display: flex;
    list-style-type: none; /* Remove bullets */
    padding: 10px 0px;
    margin: 0;
    position: absolute;
    top: 50px;
    right: 40px;
  }
  
  #outermenu li {
    margin-right: 10px; /* Add some spacing between items */
    margin-right: clamp(10px, 5vw, 150px); 
    /* The margin-right on this item uses 5vw as its preferred value, 10px as its minimum, and 150px as its maximum. But this code isn't used by old browsers thus the code above it as well */
  }
  
  #outermenu a {
    color: #FFF;
    font-weight: 800;
  }
  
  #outermenu a:link {
    text-decoration: none;
  }
  
  #outermenu a:visited {
    text-decoration: none;
  }
  
  #outermenu a:hover {
    text-decoration: underline;
  }
  
  #outermenu a:active {
    text-decoration: none;
  }
  
  #outermenuToggle {
      position: relative;
      top: 0px;
      right: 0px;
      display: none;
  }
  
  h1 {
      text-align: center;
      font-family: Tahoma, Arial, sans-serif;
      color: #41dbfd;
      margin: 10px 0px 10px;
  }
    
  /* This code styles popups. Used in updating users, company, store info */
  .box {
    width: 75%;
    margin: 15px auto;
    background: rgba(255,255,255,0.2);
    padding: 35px;
    border: 2px solid #676161;
    border-radius: 20px/50px;
    background-clip: padding-box;
    text-align: left;

    box-shadow: 0 0 12px rgba(0, 0, 0, .1);

  }

  
  .box, h2 {
    text-align: center;
    color: #41dbfd;
  }

  .box , p {
    text-align: left;
    color: #000;    
  }

  .box .button {
    margin: 5px auto;
    font-size: 1em;
    padding: 10px;
    color: #fff;
    background: #41dbfd;
    border: 2px solid #41dbfd;
    border-radius: 20px/50px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    display: block;
    width: max-content;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: 0.3s ease-out;
  }
 .box .button:hover {
    color: #41dbfd;
    background: #fff;
    border: 2px solid #41dbfd;
    border-radius: 20px/50px;
  }
  
   /* Ends code styling popups. Used in updating users, company, store info */

  .loginform input {
      margin: 5px;
  }
  
  .loginform button {
      margin: 5px;
  }
  
  .outer-right h3 {
      margin: 5px;
  }
  
   /* code specific to first.php  */

 .first_content {
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 5%;
  padding-bottom: 5%;
 }



 /* styling specific to LoadingOverlay used whenever submitting a form that triggers an email */
  #loadingoverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  #loadingoverlay.fade-in {
  display: flex;
  animation: fadeIn 0.5s ease forwards;
  }

  /* Fade-in animation */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Loader content */
  .loader-content {
    text-align: center;
    color: white;
    font-family: sans-serif;
  }

  /* Spinner styles */
  .spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #00BFFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
  }
  
    @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* Message styling */
  .loader-content p {
    font-size: 1.2em;
    margin: 0;
    color: #FFF;
  }

/* end styling specific to Overlay */
  
  @media screen and (max-width: 725px){
  
    header {
      width: 725px;
      max-width: 100%;
    }
  
  
    .outercontainer {
      display: flex;
      flex-direction: column;
      justify-content: initial;
      align-items: center;
    }
  
    .container {
      display: block;
    }

    .outer-left {
      order: 2;
      padding: 10px;
      width: 700px;
      max-width: 80%;
      height: 300px;
    }
  
    .outer-right {
      order: 1;
      padding: 10px;
      width: 700px;
      max-width: 80%;
    }

    .box{
      width: 70%;
    }

    .homepage-right-form {
      width: 100%;
      z-index: 1;
    }
  
    /*styling specific to create dropdown nav menu outside of login */

    .navigation {
      position: absolute;
      top: 0px;
      right: 0px;
      width: 100%;
    }

    #outermenuToggle {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 25px;
      right: 25px;
      width: 30px;
      height: 20px;
      z-index: 11;
      -webkit-user-select: none;
      user-select: none;
    }
    
    #dropbtn {
      display: flex;
      top: 25px;
      right: 25px;
      width: 30px;
      height: 20px;
      position: absolute;
      cursor: pointer;
      opacity: 0;
      z-index: 12;
      margin: 0px;
    }
    
    #outermenuToggle span {
      display: flex;
      flex-shrink: 0;
      width: 29px;
      height: 2px;
      margin: 3px 0;
      position: relative;
      background: #ffffff;
      border-radius: 3px;
      z-index: 11;
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  opacity 0.55s ease;
    }
   
    .toggle_top {
      transform-origin: 0% 0%;
      background: rgb(249, 11, 23);
    }
    
    .toggle_middle {
      transform-origin: 0% 100%;
      background: rgb(11, 249, 78);
    }
    
    .toggle_bottom {
        transform-origin: 0% 0%;
        background: rgb(51, 11, 249);
     }

    #dropbtn:checked ~ #outermenuToggle span {
        background: #36383F;        
     }  
    #dropbtn:checked ~ #outermenuToggle .toggle_bottom {
        opacity: 1;
        -webkit-transform: rotate(45deg) translateY(-8px);
        transform: rotate(45deg) translate(-10px, -15px);
    }

    #dropbtn:checked ~ #outermenuToggle .toggle_top {
        opacity: 1;
        -webkit-transform: rotate(-45deg) translateY(8px);
        transform: rotate(-45deg) translate(-12px, 15px);
    }
    
    #dropbtn:checked ~ #outermenuToggle .toggle_middle {
        opacity: 0;
        -webkit-transform: rotate(0deg) scale(0.2, 0.2);
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    /*   test portion - modify as needed to reset system  */

    #outermenu {
      background-color: #41dbfd;
      display: flex;
      list-style-type: none; /* Remove bullets */
      width: 0px;
      padding: 0px 0px;
      margin: 0;
      position: absolute;
      top: 50px;
      right: 40px;
      -webkit-font-smoothing: antialiased;
      -webkit-transition: width 0.3s, opacity 0.5s ease-in-out;
         -moz-transition: width 0.3s, opacity 0.5s ease-in-out;
          -ms-transition: width 0.3s, opacity 0.5s ease-in-out;
           -o-transition: width 0.3s, opacity 0.5s ease-in-out;
              transition: width 0.3s, opacity 300ms ease-in-out;  
    }
    
    #outermenu li {
      margin: 0px; 
      display: none;
      transition-delay: 0.2s;
    }
    
    #dropbtn:checked ~ #outermenu {
      display: block;
      opacity: 1;
      position: absolute;
      width: 180px;
      top: 0px;
      right: 0px;
      box-shadow: 0 0 10px #85888C;
      padding: 25px;  
      padding-top: 50px;
      background-color: #F5F6FA;
      -webkit-font-smoothing: antialiased;
      -webkit-transition: width 0.5s, opacity 0.3s ease-in-out;
         -moz-transition: width 0.5s, opacity 0.3s ease-in-out;
          -ms-transition: width 0.5s, opacity 0.3s ease-in-out;
           -o-transition: width 0.5s, opacity 0.3s ease-in-out;
              transition: width 0.5s, opacity 1s ease-in-out;
      z-index: 10;
    }

    #dropbtn:checked ~ #outermenu li {
      display: block;
      margin-top: 10px;
    }

    #outermenu a {
      color: black;
      font-weight: 800;
    }
    
    #outermenu a:link {
      text-decoration: none;
    }
    
    #outermenu a:visited {
      text-decoration: none;
    }
    
    #outermenu a:hover {
      text-decoration: underline;
    }
    
    #outermenu a:active {
      text-decoration: none;
    }
/*

    #outermenu {
        display: block;
        opacity: 0;
        position: absolute;
        width: 0px;
        height: 100vh;
        top: 0px;
        right: 0px;
        box-shadow: 0 0 10px #85888C;
        padding: 25px;  
        padding-top: 50px;
        background-color: #F5F6FA;
        -webkit-font-smoothing: antialiased;
        -webkit-transition: width 0.3s, opacity 0.5s ease-in-out;
           -moz-transition: width 0.3s, opacity 0.5s ease-in-out;
            -ms-transition: width 0.3s, opacity 0.5s ease-in-out;
             -o-transition: width 0.3s, opacity 0.5s ease-in-out;
                transition: width 0.3s, opacity 300ms ease-in-out;  
        z-index: 10;
    }
   
    #outermenu li {
        display: none;
        padding: 10px 0;
        transition-delay: 0.2s;
    }

    #dropbtn:checked ~ #outermenu {
        display: block;
        opacity: 1;
        position: absolute;
        width: 180px;
        height: 100vh;
        top: 0px;
        right: 0px;
        box-shadow: 0 0 10px #85888C;
        padding: 25px;  
        padding-top: 50px;
        background-color: #F5F6FA;
        -webkit-font-smoothing: antialiased;
        -webkit-transition: width 0.5s, opacity 0.3s ease-in-out;
           -moz-transition: width 0.5s, opacity 0.3s ease-in-out;
            -ms-transition: width 0.5s, opacity 0.3s ease-in-out;
             -o-transition: width 0.5s, opacity 0.3s ease-in-out;
                transition: width 0.5s, opacity 1s ease-in-out;
    }

    #dropbtn:checked ~ #outermenu li {
        display: block;
    }

    #outermenu a {
      color: black;
    }
  */
    /*end styling specific to create dropdown menu outside of login */
  
  }
  
  
  
  