
@font-face {
    font-family: Impressive;
    src: url("/fonts/impressive.italic.otf");
  }
  @font-face {
    font-family: Gotham;
    src:
      url("/fonts/Gotham Bold.otf");
    font-weight: bold;
  }
  @font-face {
    font-family: Gotham;
    src:
      url("/fonts/Gotham Light Regular.otf");
      font-weight: light;
  }
  
  body, html {
    height: 100%;
    margin: 0;
  }
  
  body {
    font-family: Gotham;
    font-size: 11pt;
    font-weight: normal;
  }
  
  .background {
    position: fixed;
    min-height: 500px; 
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 0;
  }
  .foreground {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 10px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 3%;
    z-index: 10;
    display: flex;
    flex-flow: column;        
  }
  .foreground .content {
    flex: 1 1 auto;
  }
  
  /* Page Header */
  .page_header {
    position: relative;
    bottom: 0px;
    top: 0px;
    display: flex;
    align-items: top;
    justify-content: space-around;
    width: 100%;
  }
  
  /* Page title */
  .title {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: end;
  }
  .title_h1 {
    /* background-color: red; */
    color: #e8ebeb;
    font-family: Gotham;
    font-weight: light;
    font-size: 32pt;
  }
  .title_h2 {
      /* background-color: orange; */
      color: #e8ebeb;
      font-family: Gotham;
      font-weight: light;
      font-size: 18pt;
  }
  
  /* Logo AAP */
  .aap_logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: end;
    }
    
  .app_icon {
    /* background-color: aqua; */
    max-width: 100%;
    max-height:100px;
  }
  .aap_text {
    /* background-color: violet; */
    color: #e8ebeb;
    font-family: Impressive;
    font-size: 36pt;
    text-align: right;
    margin-top: 0.8em;
  }
  
  
  .input, .button {
    background: none;
    border-width: 4px;
    border-style: solid;
    border-color: #e8ebeb;
    border-radius: 25px;
    margin-bottom: 0.5em;
    height: 3em;
    color: rgb(232, 235, 235);
    font-family: Gotham;
    font-weight: light;
    font-size: 12pt;
    font-weight: bold;
    padding: 0;
  }
  
  .button {
    padding-left: 2em;
    padding-right: 2em;
  }
  
  .input {
    padding-left: 1em;
    padding-right: 1em;
  }
  .input::placeholder {
    color: #e8ebeb;
    opacity: 0.6;
    text-align: center;
  }
  .input::selection {
    color: #ffffff;
  }
  
  .input:hover {
    
    border-width: 2px;
    border-color: #ffffff;
    color: #ffffff;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: calc(1em + 2px);
    padding-right: calc(1em + 2px);
    font-weight: light;
    cursor: pointer;
  }
  .button:hover {
    border-width: 2px;
    border-color: #ffffff;
    /* color: #ffffff; */
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: calc(2em + 2px);
    padding-right: calc(2em + 2px);
    font-weight: light;
    cursor: pointer;
  }

  .button:active{
    background-color:rgba(255,255,255,0.15);
  }
  .button:disabled {
    color: gray;
    border-color: gray;
  }
  
  .button-small {
    font-size: 12px;
    border-width: 3px;
    margin-bottom: 0px;
    margin-bottom: 0px;
    height: 2em;
  }

  .button-small:hover {
    border: solid 2px;
    padding-left: calc(2em + 1px);
    padding-right: calc(2em + 1px);
    padding-top: 1px;
    padding-bottom: 1px;
  }

  .link {
    color: #e8ebeb;
    font-family: Gotham;
    font-size: 12pt;
    font-weight: normal;
    text-align: right;
  }
  .link:hover {
    color: #ffffff;
  }
  
  /* checkbox formatting */
  input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-self: center;
    align-content: center;
    justify-content: center;
    height: 70%;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 4px;
    margin: auto;
    cursor: pointer;
  }
  input[type="checkbox"]::before {
    content: "";
    height: 100%;
    width: 100%;
    stroke-width: 6;
    stroke-dasharray: "null";
    clip-path: polygon(10% 30%, 0% 40%, 35% 70%, 95% 10%, 85% 0%, 35% 50%);
    transform-origin: 50% 50%;
    transform: scale(0.0);
    background-color: rgba(255,255,255,0.85);
    animation: 0.15s linear 0s 1 normal checkbox-unchecked;
  }
  input[type="checkbox"]:checked::before {
    transform: scale(1.6);
    animation: 0.15s linear 0s 1 normal checkbox-checked;
  }
  input[type="checkbox"]:hover {
    border: 1px solid rgba(255,255,255,1.0);
  }
  
  @keyframes checkbox-checked {
    from {
      transform: scale(0);
    }
    to {
      transform: scale(1.6);
    }
  }
  @keyframes checkbox-unchecked {
    from {
      transform: scale(1.6);
    }
    to {
      transform: scale(0.0);
    }
  }
  
 /* buttons style bottom_navbar*/
.button_row {
  background: none;
  display: flex;
  width: 100%;
  flex-direction: row;
  background-color: none;
  margin-top: 2em;
  margin-bottom: 2em;
  /* align-items: end; */
}
.button_container {
  margin-left: 2em;
}
 
  /* some alerts style for flash messages */
  .alert-container {
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
    width: 60%;
  }
  .alert-label {
    font-size: 14pt;
    margin-right: 1em;
  }
  .alert-message {
    color: #e8ebeb;
    font-family: Gotham;
    font-weight: light;
    font-size: 12pt;
    color: white;
    margin: 1em;
  }
  
