@charset "UTF-8";
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 300;
  src: url("/ubuntu-light.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  src: url("/ubuntu-regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  src: url("/ubuntu-medium.woff2") format("woff2");
  font-display: swap;
}
html,
body,
main {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

:root {
  --blue-city: 56, 73, 156;
  --green-city: 178, 210, 52;
  --black-color: 51, 51, 51;
  --light-color: 238, 238, 238;
  --black-background: 10, 10, 10;
  --light-background: 253, 253, 253;
  --primary: var(--green-city);
  --secondary: var(--blue-city);
  --background: var(--black-background);
  --color: var(--light-color);
  color-scheme: light dark;
  color: rgb(var(--color));
  background-color: rgb(var(--background));
  font-family: Ubuntu, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --primary: var(--blue-city);
    --secondary: var(--green-city);
    --background: var(--light-background);
    --color: var(--black-color);
  }
}

a {
  font-weight: 500;
  color: rgb(var(--primary));
  text-decoration: inherit;
  text-decoration: underline;
}

a:hover {
  color: rgba(var(--primary), .8);
}

.grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media screen and (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    grid-row: 1fr;
  }
}

#illustration {
  background-image: url("/Accounts/images/bg_illustration.svg");
  background-position: center;
  background-size: cover;
  position: relative;
  height: 100%;
  width: 100%;
}
@media screen and (max-width: 900px) {
  #illustration {
    position: absolute;
  }
}

.illustration-bg {
  z-index: -1;
  position: absolute;
  height: 100%;
  width: 100%;
  background: linear-gradient(335.14deg, rgba(var(--blue-city), 0.2) 0%, rgba(var(--blue-city), 0.1) 100%);
}
@media (prefers-color-scheme: light) {
  .illustration-bg {
    background: linear-gradient(335.14deg, rgba(var(--primary), 0.6) 0%, rgb(34, 50, 128) 100%);
  }
}
@media screen and (max-width: 900px) {
  .illustration-bg {
    z-index: 0;
    backdrop-filter: blur(10px) brightness(0.3);
    -webkit-backdrop-filter: blur(10px) brightness(0.3);
  }
}
@media screen and (max-width: 900px) and (prefers-color-scheme: light) {
  .illustration-bg {
    backdrop-filter: blur(10px) brightness(1.2);
    background: linear-gradient(335.14deg, rgba(var(--primary), 0.05) 0%, rgba(var(--primary), 0.1) 100%);
    -webkit-backdrop-filter: blur(10px) brightness(0.3);
  }
}

.city-logo {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translate(-50%, 0);
  color: rgb(var(--light-color));
  font-size: 64px;
  background: none;
}
@media screen and (max-width: 900px) {
  .city-logo {
    font-size: 32px;
    top: 30px;
  }
}
@media screen and (max-width: 900px) and (prefers-color-scheme: light) {
  .city-logo {
    color: rgb(var(--primary));
  }
}
.city-logo > img {
  position: absolute;
  left: 5px;
  bottom: -15px;
}
@media screen and (max-width: 900px) {
  .city-logo > img {
    transform: scale(0.5);
    left: -30px;
  }
}

#login {
  display: flex;
  align-items: center;
  justify-content: center;
  /* force background to avoid bird */
  background-color: rgb(var(--background));
}
@media screen and (max-width: 900px) {
  #login {
    background-color: initial;
  }
}
#login > div {
  width: max(60%, 300px);
}
@media screen and (max-width: 900px) {
  #login > div {
    text-align: center;
    z-index: 1;
  }
}

h1 {
  margin-top: 0;
  color: rgb(var(--primary));
  font-weight: 500;
}

input {
  border: 1px solid #aaa;
  border-radius: 4px;
  padding: 15px;
  background-color: transparent;
  color: rgb(var(--color));
  font-size: 16px;
}

input:disabled {
  color: rgba(var(--color), .6);
  background-color: rgba(var(--color), .1);
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: 55px;
}

button {
  margin-top: 8px;
  cursor: pointer;
  color: rgb(var(--primary));
  background-color: rgba(var(--primary), 0.1);
  padding: 15px 20px;
  border-radius: 4px;
  font-size: 18px;
  border: none;
}
button:hover {
  background-color: rgba(var(--primary), 0.2);
}
button:focus {
  box-shadow: 0px 0px 0px 1px rgb(var(--primary));
}
button::after {
  content: "›";
  margin-left: 15px;
  font-size: 20px;
  line-height: 1;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.birds {
  z-index: -1;
  width: 100%;
  height: 100%;
  position: relative;
}
.birds > div {
  transform: translateX(-5%);
  position: absolute;
  width: 100%;
  height: 100%;
  animation: 10s linear infinite forwards fly;
  bottom: 20%;
}
.birds > div > img {
  position: absolute;
  bottom: 0;
  left: 0;
}
.birds > div:nth-child(1) {
  bottom: 50%;
  animation-duration: 8s;
  animation-delay: 2s;
}
.birds > div:nth-child(2) {
  bottom: 70%;
  animation-duration: 7s;
  animation-delay: 4s;
}

@keyframes fly {
  from {
    transform: translateX(-10%) translateY(0px);
  }
  to {
    transform: translateX(105%) translateY(-200px);
  }
}
footer {
  position: fixed;
  bottom: 0;
  padding-block: 10px;
  background-color: #292929;
  width: 100%;
  gap: 15px;
  display: flex;
  align-items: center;
  padding-left: 25px;
}
footer img {
  content: url("/Accounts/images/logo.dm.png");
}
@media (prefers-color-scheme: light) {
  footer {
    background-color: #EBEBEB;
  }
  footer img {
    content: url("/Accounts/images/logo.png");
  }
}

.message {
  padding: 15px;
  color: rgba(var(--blue-city), 1);
  border-radius: 4px;
  background-color: rgba(var(--blue-city), 0.1);
  display: flex;
  gap: 15px;
  align-items: center;
  filter: brightness(2);
}
@media (prefers-color-scheme: light) {
  .message {
    filter: none;
  }
}
@media screen and (max-width: 900px) {
  .message {
    justify-content: center;
  }
}
