/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/fonts/roboto-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('/static/fonts/roboto-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('/static/fonts/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/static/fonts/roboto-v20-latin-regular.svg#Roboto') format('svg'), /* Legacy iOS */
         url('/static/fonts/roboto-v20-latin-regular.eot'), /* IE9 Compat Modes */
         url('/static/fonts/roboto-v20-latin-regular.eot?#iefix') format('embedded-opentype'); /* IE6-IE8 */
  }
  
  /* roboto-500 - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/static/fonts/roboto-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
         url('/static/fonts/roboto-v20-latin-500.woff') format('woff'), /* Modern Browsers */
         url('/static/fonts/roboto-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/static/fonts/roboto-v20-latin-500.svg#Roboto') format('svg'), /* Legacy iOS */
         url('/static/fonts/roboto-v20-latin-500.eot'), /* IE9 Compat Modes */
         url('/static/fonts/roboto-v20-latin-500.eot?#iefix') format('embedded-opentype'); /* IE6-IE8 */
  }

  :root {
    --primary-color: #3A71DA;
    --primary-hover: #40a9ff;
    --error-color: red;
    --font-main: 'Roboto', sans-serif;
    --font-small: 0.75rem;
  }
  
  html {
    background-color: #f0f0f0f0;
    /* Base font size that is used for all other sizing */
    font-size: 24px;
  }
  
  body {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }
  
  /* Disables default control styling */
  *,
  *:focus,
  *:hover {
    outline: none;
  }
  
  .box {
    width: 500px;
    max-height: 780px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
  
    overflow-y: auto;
    overflow-x: clip;

    border-radius: 20px;

    padding: 0.5em;

    /* box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15); */
  
  }

  .hidden {
    visibility: hidden;
    display: none !important;
  }
  
  .logo {
    width: 5rem;
    height: 5rem;
  
    margin-top: 6vh;
  }

  h1 {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 1.0em;
    line-height: 1.25em;
    text-align: center;
    color: #000000;
  
    margin-top: 4vh;
    margin-bottom: 4vh;
    padding-left: 2.5em;
    padding-right: 2.5em;
  }

  h2 {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    font-size: 0.6em;
    line-height: 1.5em;
    text-align: center;
    color: #000000;
  
    margin-top: 2vh;
    margin-bottom: 2vh;
    padding-left: 2.5em;
    padding-right: 2.5em;
  }
  
  h2 a {
    text-decoration: none;
    color: #0074E0;
  }

  .box-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  
    width: 6rem;
    height: 2rem;
    padding: 8px 16px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 0.75rem;
    line-height: 1rem;
  
    text-align: center;
    text-decoration: none !important;
  
    color: #ffffff;
  
    background: var(--primary-color);
  
    border: 1px solid var(--primary-color);
    box-sizing: border-box;
  
    /* drop-shadow/button-primary */
    box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.043);
    /* border-radius: 2px; */
    border-radius: 9999px;

    cursor: pointer;

    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  }

  .box-btn:hover {
    background: #005BB0;
    border: 1px solid #005BB0;
  }
  
  .box-btn:focus {
    background: #002E59;
    border: 1px solid #002E59;
  }
  
  #next:focus {
    background: #002E59;
    border: 1px solid #002E59;
  }
  
  .no_result:focus {
    background: #002E59;
    border: 1px solid #002E59;
  }
  
  .footer {
    position: absolute;
    bottom: 0;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 0.5rem;
    line-height: 0.5rem;
  
    color: #000000;
  }
  
  .footer p {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .footer a {
    text-decoration-line: underline;
  }
  
  .footer a:link {
    color: black;
  }
  
  .footer a:visited {
    color: black;
  }
  
  .footer a:hover {
    color: black;
  }
  
  .footer a:active {
    color: black;
  }
  
  input {
    /* Disable default input field styling */
    -webkit-appearance: none;
    appearance: none;
  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 10rem;
    height: 1.75rem;
    padding: 8px 12px;
    text-align: center;
    margin-bottom: 0.5rem;
  
    /* Neutral/1 */
    background: #ffffff;
  
    /* Neutral/5 */
    border: 1px solid #7b7b7b;
    box-sizing: border-box;
    border-radius: 20px;
  }
  
  input:focus {
    /* Neutral/1 */
    background: #ffffff;
  
    /* Daybreak Blue/5 */
    border: 1px solid #40a9ff;
    box-sizing: border-box;
  
    /* drop-shadow/active-2px-spread */
    box-shadow: 0px 0px 0px 2px rgba(24, 144, 255, 0.2);
    border-radius: 20px;
  }
  
  input::placeholder {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 1.25em;
    line-height: 22px;
  
    /* Character/Disabled&amp;Placeholder .25 */
    color: #7b7b7b
  }

  .error-input {  
    border: 1px solid red;  
    box-shadow: 0px 0px 0px 1px red;
  }
  
  
  .center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  
  .localAccount {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  
  input {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  form label {
    display: block;
    text-align: left; 
    margin-bottom: 4px;

    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 0.6rem;
    line-height: 0.6rem;
  
    color: blue;
  }
  
  .error {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 0.75rem;
    line-height: 0.95rem;
  
    color:red;

    text-align: center;

    margin-top: 4vh;
    margin-bottom: 4vh;
    padding-left: 2.5em;
    padding-right: 2.5em;
  }

  .terms {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 0.5rem;
    line-height: 0.5rem;
  }

  .terms a:link {
    color: #0074E0;
  }
  
  .text-btn {
    border: none;
    background-color: inherit;
    padding: 14px 28px;
    cursor: pointer;
    display: inline-block;
  
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 0.75rem;
    line-height: 1rem;
  
    text-align: center;
    text-decoration-line: underline;
  
    color: #0074E0;
  }
  
  /* On mouse-over */
  /* .text-btn:hover {background: #eee;} */
  
  /* On focus */
  .text-btn:focus {background: #eee;}

  ol {
    text-align: left;
  
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 0.8em;
    color: #000000;
  
    margin-top: 6vh;
    margin-bottom: 6vh;
    padding-left: 4.5em;
    padding-right: 4.5em;
  }
  
  /* li {
    margin: 10px 0;
  } */
  

  .list-decoration {
    counter-reset: my-counter;
    list-style: none;
  }
  
  .list-decoration li {
    counter-increment: my-counter;
    position: relative;
    padding-left: 40px; /* space for the circle */
    margin-bottom: 15px;
  }
  
  .list-decoration li::before {
    content: counter(my-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background-color: #0074E0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  } 
  
  /* Media query for small screens */
  
  @media (max-width: 450px) {
    /* Adjusts default text size to be smaller on small screens */
    html {
      font-size: 22px;
    }
  
    /* Ensures that the box takes full height of screen on small devices */
    .box {
      height: 100%;
      max-height: none;

      border-radius: 0px;
    }
  }