:root {
    --background: #1d2d50;
    --accent: #fcdab7;
    --accent2: #1e5f74;
    --color: #fefefe;
    --dull: #b8b8b8;
    --error: #e74c3c;
    --ok: rgb(33, 209, 13);
    --highlight: rgba(255,255,255,.05);
   }
   
   body {
       margin: 0;
       padding: 0;
       font-family: system, -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
       height: 100vh;
       width: 100%;
       background: #1d2d50;
       color: var(--color);
   }
   h1 {
       font-size: 5em;
       margin: 40px 0;
   }
   
   .footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--accent2);
    color: var(--color);
    text-align: center;
  }
  .footer p{
      margin: 3px 0px 3px 0px;
  }

   .hidden {
       position: absolute;
       left: -1000%;
       top: -1000%;
       height: 0;
       width: 0;
       pointer-events: none;
       opacity: 0;
   }
   
   .formWrapper {
       height: 100%;
       width: 100%;
       display: grid;
       align-items: center;
       justify-content: center;
   }
   form {
       width: 95vw;
       max-width: 500px;
       box-sizing: border-box;
       padding: 50px 0;
   }
   form h1 {
       margin: 0 0 15px 0;
       font-size: 3em;
   }
   .inputblock {
       position: relative;
       display: block;
       padding: 20px 0;
       clear: both;
   }
   .inputblock input {
       width: 100%;
       padding: 7px;
       box-sizing: border-box;
       display: block;
       background: transparent;
       outline: none;
       font-family: inherit;
       font-size: 15px;
       color: inherit;
       border: 0;
       margin-top: 2px;
       border-bottom: 1px solid var(--color);
   }
   .inputblock label {
       display: block;
       font-size: 13px;
       color: var(--dull);
       text-transform: uppercase;
       letter-spacing: 1px;
       font-weight: 300;
   }
   
   
   .btn {
       display: inline-block;
       padding: 12px 60px;
       font-size: 18px;
       border: 2px solid var(--color);
       border-radius: 2px;
       cursor: pointer;
       -webkit-user-select: none;
       user-select: none;
       transition: background .3s, color .3s;
   }
   .btn:hover, .btn:active {
       border: 0;
       padding: 14px 62px;
       background: var(--color);
       color: var(--background);
   }
   .btn:active {
       box-shadow: inset 0 0 4px 5px rgba(0,0,0,.1);
   }

   .btnV {
        display: grid;
        padding: 12px 60px;
        font-size: 18px;
        border: 2px solid var(--color);
        border-radius: 2px;
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
        transition: background .3s, color .3s;
    }
    .btnV:hover, .btnV:active {
        border: 0;
        padding: 14px 62px;
        background: var(--color);
        color: var(--background);
    }
    .btnV:active {
        box-shadow: inset 0 0 4px 5px rgba(0,0,0,.1);
    }


   .btnH {
    display: inline-block;
    width: 200px;
    padding: 12px 60px;
    font-size: 18px;
    border: 2px solid var(--color);
    border-radius: 2px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: background .3s, color .3s;
    }
    .btnH:hover, .btnH:active {
        border: 0;
        padding: 14px 62px;
        background: var(--color);
        color: var(--background);
    }
    .btnH:active {
        box-shadow: inset 0 0 4px 5px rgba(0,0,0,.1);
    }
    .btnS {
        padding-top: 3px;
        display: inline-block;
        font-size: 18px;
        border: 1px solid var(--color);
        border-radius: 2px;
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
        transition: background .3s, color .3s;
        background: var(--background);
    }
    .btnS:hover, .btnS:active {
        border: 0;
        background: var(--color);
        color: var(--background);
    }
    .btnS:active {
        box-shadow: inset 0 0 4px 5px rgba(0,0,0,.1);
    }


   .errcontainer {
       font-size: 14px;
       opacity: 1;
       transition: opacity .3s;
   }
   .err {
       margin: 5px 0;
       color: var(--error);
   }
   .success {
    margin: 5px 0;
    color: var(--ok);
   }
   .err ul {
       list-style-type: none;
       margin: 0;
       padding-inline-start: 2em;
   }
   
   .wave {
       width: 100vw;
       height: 25vw;
       position: fixed;
       bottom: 0;
       left: 0;
       z-index: -1;
       pointer-events: none;
   }
   .wave:nth-child(2) {
       bottom: -5%;
       width: 103%;
       left: -3%;
   }
   form a {
       position: relative;
       margin: 0;
       line-height: 1.4em;
       display: inline-block;
       color: var(--dull);
       text-decoration: none;
       transition: color .3s;
   }
   .errorcontainer a {
       display: inline;
       line-height: normal;
       text-decoration: underline;
       color: inherit;
   }
   form a:before {
       content: "";
       position: absolute;
       left: 50%;
       bottom: 0;
       height: 1px;
       background: var(--dull);
       width: 0px;
       -webkit-transform: translateX(-50%);
       -moz-transform: translateX(-50%);
       -ms-transform: translateX(-50%);
       -o-transform: translateX(-50%);
       transform: translateX(-50%);
       transition: width .5s;
   }
   form a:hover:before {
       width: 100%;
   }
   form a:hover {
       color: var(--color);
   }
   
   .message {
       text-align: center;
   }
   
   .message h2 {
       font-size: 4em;
   }

   /* div wrapper. Used for logo display */
   #wrapper{
       position: relative;
       height: 100%;
       width: 100%;
       display: grid;
   }

   .background {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -100;
   }

   .content {
        position: relative;
        z-index: 0;
   }

    /* Hide input number arrows */
    /* Chrome, Safari, Edge, Opera */
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    /* Firefox */
    input[type=number] {
        -moz-appearance: textfield;
    }

    .grid-container {
        display: inline-grid;
        grid-template-columns: 150px auto 100px 100px;
        background: rgba(0, 0, 0, 0.8);
    }
    .grid-cell {
        border: 1px solid rgba(0, 0, 0, 0.8);
        padding-top: 10px;
        padding-right: 20px;
        background: var(--background);
        text-align: left;
    }