html,
body {
  height: 100%;
}

body {
  background: white;
  padding: 4rem;
}

h1,
h2,
h3 {
  text-align: center;
  color: #354052;
  overflow: hidden;
  padding-bottom: 0.15rem;
}

h1 {
  font-size: 1.4rem;
  margin-top: 1rem;
  margin-right: 1rem;
  margin-bottom: 0.8rem;
  margin-left: 1rem;
}

h2 {
  font-size: 1rem;
}

h3 {
  font-size: 0.9rem;
  color: #797e88;
}

span {
  display: block;
  margin-top: 0.3rem;
  margin-bottom: 0.6rem;
}

.root-block {
  background: #f7f9fd;
  background-image: var(--bg-img-src);
  background-size: cover;
  background-position: center;
  width: 100%;
  position: relative;
  height: 100%;
}

.content-container {
  height: 100%;
  position: absolute;
  right: 0;
  display: flex;
  background: #f5f7fb;
  overflow-y: auto;
  min-width: 45%;
  float: right;
  height: 100%;
  padding: 2rem 4rem;
}

@media screen and (max-width: 61rem) {
  .content-container {
    width: 100%;
  }
}

.content {
  display: inline-block;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 330px;
  padding: 3rem 1rem 1rem 1rem;
  margin: auto;
}

.content .checkbox {
  font-weight: 400;
}

.content .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}

.content .form-control:focus {
  z-index: 2;
}

#error {
  opacity: 0;
  color: #e17171;
  text-align: center;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

input {
  background: #ffffff;
  border: 1px solid #dce0e6;
  box-sizing: border-box;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 13px;
  line-height: 16px;
  height: 40px;
  min-width: max(13.5rem, 100%);
  padding-left: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 0.7rem;
}

input[type=password] {
  font-size: 1.2rem;
  letter-spacing: 1.5px;
  font-weight: 300;
  color: #666;
}

input:focus {
  background: #f7fbfd;
  color: #46657e;
  border-color: #003a69;
  outline: none;
}

label {
  display: inline-block;
  text-align: left;
  align-self: flex-start;
  margin-bottom: 0.2rem;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  color: #797e88;
  font-weight: 500;
  font-size: 13px;
  line-height: 15px;
}

button {
  min-width: max(13.5rem, 100%);
  font-family: "Roboto", sans-serif;
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  border-radius: 6px;
  padding: 0.7rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  outline: none;
  -webkit-transition: background-color 0.2s ease-in;
  transition: background-color 0.2s ease-in;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 6px;
  box-shadow: none;
  font-style: normal;
  text-align: center;
  outline: none;
}

button:hover {
  cursor: pointer;
}

button:disabled:hover {
  cursor: not-allowed;
}

button.primary-button {
  border: 1px solid transparent;
  background: #003a69;
  color: white;
}

button.primary-button:hover {
  background: #004798;
}

button.primary-button:disabled {
  background: #86c9ff;
  color: #eee;
}

button.secondary-button {
  border: 1px solid #003a69;
  background: white;
}

button.secondary-button:hover {
  background: #00479833;
}

button.secondary-button:disabled {
  color: #0008;
  border-color: #003a6955;
}

.logo,
logo-slika {
  display: block;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.logo-slika-bordered {
  border: 1px solid #eee;
}

a.link {
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 14px;
  margin-top: 2rem;
  display: block;
  align-items: center;
  text-align: center;
  text-decoration-line: underline;
  color: #003a69aa;
}

#copyright {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 13px;
  line-height: 140%;
  margin-top: 2rem;
  /* or 18px */

  display: block;
  align-items: center;
  text-align: center;

  color: #596270aa;
}

#spinner {
  position: fixed;
  bottom: 5.5rem;
  right: 5.5rem;
}

#spinner .v-moon1 {
  -webkit-animation: v-moonStretchDelay 0.6s 0s infinite linear;
  animation: v-moonStretchDelay 0.6s 0s infinite linear;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  position: relative;
}

#spinner .v-moon2 {
  -webkit-animation: v-moonStretchDelay 0.6s 0s infinite linear;
  animation: v-moonStretchDelay 0.6s 0s infinite linear;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  height: 5.71429px;
  width: 5.71429px;
  border-radius: 100%;
  top: 17.1429px;
  background-color: #003a69;
  opacity: 0.8;
  position: absolute;
}

#spinner .v-moon3 {
  height: 40px;
  width: 40px;
  border-radius: 100%;
  border: 5.71429px solid #003a69;
  opacity: 0.1;
}

.lozinka-info {
  padding-left: 0.5rem;
  font-size: 12px;
  color: #797e88;
}

.lozinka-info.green-color {
  color: #2dd27c;
}

.user-info {
  position: absolute;
  right: 0.3rem;
  top: 0.3rem;
  max-width: max(35%, 10rem);
  padding: 0.7rem;
  background-color: #f7fbfd;
  border: 1px solid rgba(51, 51, 51, .2);
  border-radius: 3px;
  box-shadow: 0.5rem 0.5rem 4rem rgb(0 0 0 / 5%);
}

.user-info>h3 {
  margin: 0;
  text-overflow: ellipsis;
}

small {
  border: 1px solid rgba(51, 51, 51, 0.2);
  border-radius: 5px;
  padding: 0.3rem;
  background-color: white;
  display: inline-block;
  max-width: 100%;
  overflow-y: auto;
  overflow-x: auto;
}

.password-field {
  position: relative;
  margin-bottom: 0.7rem;
}

.password-field > input {
  margin-bottom: 0;
  padding-right: 30px;
}

.password-field > img.password-field-eye {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.password-field > img.password-field-eye-off {
  display: none;
}

.password-field.password-field-peeked > img.password-field-eye-on {
  display: none;
}

.password-field.password-field-peeked > img.password-field-eye-off {
  display: unset;
}

@-webkit-keyframes v-moonStretchDelay {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes v-moonStretchDelay {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 33rem) {
  body {
    padding: 0;
  }

  #spinner {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .content-container {
    padding: 1.3rem;
  }

  .user-info>h3 {
    font-size: 0.8rem;
  }
}

@media screen and (max-height: 50rem) {
  body {
    padding: 0;
  }

  #spinner {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}