@font-face {
  font-family: "Default";
  src: url("./fonts/GOTHIC.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Default";
  src: url("./fonts/GOTHICB.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

.font-default-regular {
  font-family: "Default", "Futura", "Arial", sans-serif;
  font-weight: 400;
}

.font-default-bold {
  font-family: "Default", "Futura", "Arial", sans-serif;
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  /* background-image: url("./img/gradient-banner_blue_01-scaled.jpg"); */
  /* background-repeat: no-repeat; */
  /* background-size: cover; */
  /* background-position: center; */
  color: hsl(22, 5%, 47%);
  background-color: #ececec;
}

form input {
  font-size: 1em;
  display: block;
  color: black;
  width: 100%;
  padding: 0.75em;
  margin-bottom: 2em;
  background-color: #f8f8f8;
  border: 1px solid #d0d0d0;
}

form input:focus {
  outline: none;
  border-color: #a7a7a7;
}

label {
  display: block;
  font-size: 1em;
  /* font-weight: bold; */
  margin-bottom: 0.75em;
}

button {
  border: none;
  padding: 0.75em;
  /* border-radius: 5px; */
  color: #797979;
  font-size: inherit;
  /* font-weight: bold; */
  background: #e0e0e0;
  transition: background-color 0.25s;
  cursor: pointer;
}

button:focus {
  outline: none;
}

.bg-blue {
  background-color: hsl(187, 69%, 58%);
}

.bg-blue:hover {
  background-color: hsl(187, 69%, 68%);
}

button {
  color: white;
}

h1,
h2,
h3 {
  line-height: 1em;
  margin: 0;
}

p {
  font-size: 1.25em;
  margin: 0;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 0.75em;
}

h3 {
  font-size: 1.5em;
  margin-bottom: 0.75em;
}

a {
  color: inherit;
  font-size: 0.85em;
  text-decoration: none;
}

.bold {
  font-weight: bold;
}

#save-area {
  padding: 2em 1em;
  position: relative;
  /* min-height: 100%; */
  /* border: 1px solid red; */
}

#layout-area {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  /* border: 1px solid green; */
}

#logo {
  max-width: 165px;
}

#logo img {
  width: 100%;
  height: auto;
}

#layout-area > .header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2em;
}

#layout-area > .header .title {
  font-size: 1.75em;
}

#floater {
  padding: 2em;
  background-color: white;
  /* opacity: 0; */
  /* animation-delay: .25s; */
  animation-duration: 0.5s;
  animation-name: slidein;
  /* border: 1px solid blue; */
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
}

#intro-text {
  margin-bottom: 2em;
}

#error-hint {
  font-size: 1em;
  position: relative;
  color: red;
  opacity: 0;
  transition: opacity 0.25s;
}

#error-hint.shown {
  height: auto;
  opacity: 1;
}

#footer {
  margin-top: 2em;
}

#footer #buttons {
  display: flex;
  flex-direction: row;
  /* align-content: stretch; */
  justify-content: space-between;
  margin-bottom: 1.5em;
}

#buttons button {
  font-size: 1.25em;
  max-width: calc(50% - 0.5em);
  flex: 1 1 auto;
}

#forgot-pass {
  color: #797979;
  text-align: center;
  display: block;
}

@keyframes slidein {
  0% {
    transform: translateY(5%);
    opacity: 0;
  }

  /* 35% {
    transform: translateY(5%);
    opacity: 0;
  } */

  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@media (min-width: 650px) {
  h1 {
    font-size: 3em;
  }

  #save-area {
    padding: 5em 2em;
  }

  /* #logo { */
  /* max-width: 50px; */
  /* } */
}
