/* =========================================
   FONT
========================================= */
@font-face {
  font-family: 'Neris';
  src: url('../fonts/Neris-Light.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}


/* =========================================
   GLOBAL
========================================= */
body {
  font-family: 'Neris', system-ui, sans-serif;
  font-size: 18px;
  color: #FFFFFF;
  background-color: #026189;
  margin: 0;
}


/* =========================================
   LAYOUT
========================================= */
.logo {
  position: fixed; top: 25px; right: 25px; width: 200px;
  -webkit-user-select: none; user-select: none; caret-color: transparent;
}

.container {
  position: fixed; inset: 0;
  display: grid; grid-template-columns: auto 1fr;
  align-items: center; column-gap: clamp(24px, 4vw, 56px);
}


/* =========================================
   LEFT PANEL
========================================= */
.container-content-left {
  width: clamp(320px, 50vw, 900px);
  height: 400px;
  display: grid; align-content: center; justify-items: start;
  color: #193862; background: #ffffff;
  border-top-right-radius: 9999px; border-bottom-right-radius: 9999px;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  padding: 24px 32px;
}


/* =========================================
   RIGHT PANEL
========================================= */
.container-content-right {
  color: #ffffff;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.4;
  text-align: center;
  place-self: center;
  max-width: 42rem;
}


/* =========================================
   LOGIN FIELDS
========================================= */
.login { place-self: center; width: 100%; max-width: 290px; }
.login a:link, .login a:visited {
  font-size: 28px;
  color: #193862;
  text-decoration: none;
  transition: 0.3s;
}
.login a:hover {
  font-weight: bold;
  color: #0a1729;
}


/* =========================================
   FOOTER
========================================= */
.footer {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 100px;
  padding-left: 10px; padding-right: 10px; padding-bottom: 25px;
}

.footer-small { display: none; }


/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {
  html, body { margin: 0; padding: 0; overflow-x: hidden; }
  *, *::before, *::after { box-sizing: border-box; }
  
  .container {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "right"
      "left"
      "footer";
    row-gap: 8px;
    align-items: start;
    padding: 0;
  }
  
  .logo {
    grid-area: logo;
    position: static; display: block; margin: 24px auto 16px; text-align: center; max-width: 100%;
  }
  
  .logo img { display: block; margin-inline: auto; height: auto; max-width: 100%; }

  .container-content-right {
    grid-area: right; justify-self: center; text-align: center;
    max-width: 640px; width: 100%; padding-inline: clamp(16px, 4vw, 24px);
  }
  
  .container-content-left {
    grid-area: left; position: static; border-radius: 0;
    width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); text-align: center;
  }

  .footer { display: none; }
  .footer-small { grid-area: footer; display: block; text-align: center; }
}