
/* variables */
:root {
  --bg-color: #f3f3f3aa;
  --bg-color: #fafafe;
  --fg-color: #1f1f1f;
  --hv-color: #c7d0e1;
  --acnt-a: #d0c9b8;
  --acnt-a-hv: #42483a;
  --acnt-b: #454c51;
  --acnt-b-hv: #dfd7d5;
  --acnt-c: #4b1510;
  --acnt-c-hv: #4b1510;
  --acnt-d: #8d4626;
  --acnt-e: #766257;
  --acnt-f: #42483a;
  --color-clr: #00000000;
}

@font-face {
  src: url(./../fonts/Dawning_of_a_New_Day/DawningofaNewDay-Regular.ttf);
  font-family: mono;
}

@font-face {
  src: url(./../fonts/Nunito/Nunito-Regular.ttf);
  font-family: mono-b;
}


/* init */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: unset;
  outline: unset;
  text-decoration: unset;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  user-select: none;
}

/* main */
body, html {
  font-size: 92%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: mono;
  background: var(--acnt-a);
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 7em 30em;
  transition: .6s;
  opacity: 100%;
  border: 2px solid #ebeadd;
}

.outer-field-palette {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: .2em;
  transition: 1s;
  opacity: 0;
  border-radius: .6em;
  background: radial-gradient(#4e5356, #bcbeb5);
}

.outer-field {
  backdrop-filter: blur(2px);
  width: 100%;
  height: 100%;
  padding: 1em;
  transition: 1s;
  padding: 2em;
  opacity: 0;
  border-radius: .6em;
  background: url("./../images/img.jpg") no-repeat center center fixed;
  background-size: 100% 100%;
  filter: grayscale(100%);
}

.interface-panels {
  display: none;
  width: 3.9em;
  height: 3.9em;
  position: absolute;
  z-index: 1;
  transition: .7s;
  transition-timing-function: ease-in-out;
}

.interface-panel-a {
  top: .2em;
  left: .2em;
  border-radius: .6em 0 0 0;
}

.interface-panel-b {
  top: .2em;
  right: .2em;
  border-radius: 0 .6em 0 0;
}

.interface-panel-c {
  bottom: .2em;
  right: .2em;
  border-radius: 0 0 .6em 0;
}

.interface-panel-d {
  bottom: .2em;
  left: .2em;
  border-radius: 0 0 0 .6em;
}

.form-area {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2em;
  transition: .4s;
  opacity: 100%;
}

form {
  width: 86%;
  height: 80%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  border-radius: 2em;
  position: relative;
}

.form-veil {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.password-field {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: .2s;
  opacity: 100%;
  border-radius: 1em;
  border-left: 1px solid var(--acnt-a);
  border-right: 1px solid var(--acnt-a);
}

.password-field:hover {
  border-left: 1px solid var(--acnt-b);
  border-right: 1px solid var(--acnt-b);
}

.password-field input {
  padding: .6em 1.7em;
  border-radius: .6em;
  background: var(--color-clr);
  background: #000200ef;
  border: 2px outset #2c2b2a;
  box-shadow: #3e464caa 0 0 1px 1px;
  transition: .7s;
  opacity: 100%;
  text-align: center;
  letter-spacing: .1em;
  font-family: mono-b;
  font-weight: 600;
  color: var(--acnt-a);
  display: none;
}

.password-field input:hover {
  /*background: #72675566;*/
  cursor: none;
}

.password-field input:focus {
  color: #e2dac2;
  transition: .06s;
  /*background: #00000066;*/
  caret-color: #e2dac2;
  cursor: none;
}

.password-field a {
  display: none;
}

@media (max-width: 768px) {

  body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: .4em;
    padding: 0;
    height: 100%;
    border: unset;
    background-size: cover;
  }

  .outer-field-palette {
    padding: .6em;
    border-radius: 0;
  }

  .outer-field {
    width: 100%;
    height: 100%;
    box-shadow: unset;
    padding: 2em;
  }

  .outer-field:hover {
    box-shadow: unset;
  }

  .form-veil {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--color-clr), #00000000);
  }

  .form-area {
    border-radius: 1em;
  }

  form {
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 2em;
    padding: unset;
    position: relative;
    border-radius: 1em;
  }

  .password-field {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: unset;
  }

  .password-field {
    border-radius: 1em;
  }
  
  .password-field input {
    padding: .6em 1.7em;
    height: 3em;
    text-align: center;
    font-weight: 600;
    transition: .7s;
    box-shadow: unset;
    box-shadow: #00000000 0 0 1px 1px;
  }

  .password-field input:focus {
    transition: .06s;
    box-shadow: #000000aa 0 0 1px 1px;
  }
}

