/* SECTION NOTO */
@font-face {
  font-family: 'NotoSans';
  font-style: normal;
  font-weight: 500;
  src: local('Noto Sans'), local('NotoSans'),
    url('/public/fonts/noto/NotoSans-Medium.ttf') format('truetype'),
    /* Safari, Android, iOS */
}

@font-face {
  font-family: 'NotoSans';
  font-style: italic;
  font-weight: 500;
  src: local('Noto Sans'), local('NotoSans'),
    url('/public/fonts/noto/NotoSans-MediumItalic.ttf') format('truetype'),
    /* Safari, Android, iOS */
}

@font-face {
  font-family: 'NotoSans';
  font-style: normal;
  font-weight: 600;
  src: local('Noto Sans'), local('NotoSans'),
    url('/public/fonts/noto/NotoSans-SemiBold.ttf') format('truetype'),
    /* Safari, Android, iOS */
}

@font-face {
  font-family: 'NotoSans';
  font-style: italic;
  font-weight: 600;
  src: local('Noto Sans'), local('NotoSans'),
    url('/public/fonts/noto/NotoSans-SemiBoldItalic.ttf') format('truetype'),
    /* Safari, Android, iOS */
}

@font-face {
  font-family: 'NotoSans';
  font-style: normal;
  font-weight: 700;
  src: local('Noto Sans'), local('NotoSans'),
    url('/public/fonts/noto/NotoSans-Bold.ttf') format('truetype'),
    /* Safari, Android, iOS */
}

@font-face {
  font-family: 'NotoSans';
  font-style: italic;
  font-weight: 700;
  src: local('Noto Sans'), local('NotoSans'),
    url('/public/fonts/noto/NotoSans-BoldItalic.ttf') format('truetype'),
    /* Safari, Android, iOS */
}

/* !SECTION NOTO */
body {
  height: 100vh;
  background-color: white;
  width: 100%;
  margin: 0;
}

body.black {
  background-color: #333 !important
}

body h1 {
  text-align: center;
  font-family: 'Noto', sans-serif;
  font-weight: 700;
  font-size: 3em;
  color: black;
}

body h1.black {
  color: white;
}

body h2 {
  font-family: 'Noto', sans-serif;
  font-weight: 500;
  font-size: 1.5em;
  color: black;
}

body h2.black {
  color: white;
}

body p {
  text-align: center;
  font-size: 1.2em;
  font-family: 'Noto', sans-serif;
  margin: 1rem 0;
}

body.black p {
  color: #eee
}

input {
  background-color: #eee;
  border: none;
  box-sizing: border-box;
  height: 3rem;
}

a {
  font-size: 1.2em;
  color: #555;
  text-decoration: none;
  padding: 0 !important
}

#page_window {
  height: 100vh;
}

#auth_man_ctnr {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#app-logo-img {
  min-width: 400px;
  width: 26vw;
  ;
  padding: 2em 0;
}

#app-logo-img.black {
  filter: drop-shadow(0 0 1px white);
}
#auth_man_ctnr {
  display:flex;
  width:fit-content;
  flex-direction: column;
  align-items:center;
  max-width: 95vw;
}
#auth_man_form {
  position: relative;
  aspect-ratio: 1.618;
  border-radius: 0.5rem;
  background-color: #ddd;
  /*width:30vw;*/
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-family: 'Noto', sans-serif;
  font-weight: 700;
  z-index: 20;
}

#auth_man_form.black {
  background-color: #111 !important
}

#auth_man_form>*:not(p):not(h1) {
  width: 80%;
  /*height:40px*/
  ;
  margin: 0px 10% 10px 10%;
  padding-left: 5%;
  border-radius: 0.5rem;
}

#auth_man_form>.icon_field {
  padding-left: 0 !important;
  background-color: #eee;
  height: 3rem;
  position: relative;
}

#auth_man_form>.icon_field input {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 0.5rem;
  display: inline-block;
}

#auth_man_form>.icon_field img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5%;
  height: 70%;
  width: auto;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
#submit {
  background-color: #77909b;
  border: none;
  height: 3.5rem !important;
  margin-top: 1.5rem !important;
  padding-left: 0px !important;
  font-weight: 500;
  font-size: 1.5em;
  color: white;
  cursor: pointer;
}

/* #submit.black{color:white;} */

#auth_man_message {
  /*position:relative;margin:auto;width:30%;height:50px;*/
  width: 100%;
  /* min-width: 450px; */
  border-radius: 0 0 10px 10px;
  margin-top: -15px;
  padding-top: 15px;
  font-family: 'Noto', sans-serif;
  font-weight: 500;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 1s linear;
  flex-grow: 1;
}

.errorBackground {
  background-color: rgba(204, 0, 0, 1) !important;
  transition: none !important
}

.successBackground {
  background-color: rgba(0, 204, 0, 1) !important;
  transition: none !important
}

#strengthLabel {
  text-align: left;
  height: 1rem;
  margin: 0 10%;
}
#auth-footer{
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}
#auth-footer p {
  text-align:left;
}

@media only screen and (max-width: 600px), only screen and (max-height: 600px) {
  #auth_man_form {
    width: 95vw !important;
    min-width: auto !important;
    aspect-ratio: initial ! important;
  }

  #app-logo-img {
    width: 95vw !important;
    min-width: auto !important;
  }

  /* body p {
    font-size: 4vw !important;
  } */

  /* input{height:8vw!important;} */
  /* #submit{font-size:4vw!important;} */
}