:root {
  --wifi-orange: #f58220;
  --terms-blue: #2e92cf;
  --login-button-text-color: #222;
  --login-button-background-color: #ccc;
  --error-message-color: lightcoral;
}

@font-face {
  font-family: "Open Sans";
  src: url("asset/fonts/OpenSans-Regular.woff2") format("woff2"),
    url("asset/fonts/OpenSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("asset/fonts/OpenSans-Bold.woff2") format("woff2"),
    url("asset/fonts/OpenSans-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

body,
html {
  margin: 0;
  padding: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  font-family: "Open Sans", Verdana, Arial, Helvetica, sans-serif;
  font-weight: normal;
  width: 100%;
  font-size: 16px;
}

h2 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 15s infinite;
}

.slideshow img:nth-child(1) {
  animation-delay: 0s;
}

.slideshow img:nth-child(2) {
  animation-delay: 5s;
}

.slideshow img:nth-child(3) {
  animation-delay: 10s;
}

@keyframes fade {

  0%,
  60%,
  100% {
    opacity: 0;
  }

  20%,
  40% {
    opacity: 1;
  }
}

.form-container {
  width: 80%;
  max-width: 370px;
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  -ms-flex-pack: center;
      justify-content: center;
  text-align: center;
  opacity: 1;
  -ms-transform: translateY(-100%);
      transform: translateY(-100%);
  animation: slideDown 1s forwards;
  border-bottom: 5px solid #f58220;
  border-bottom: 5px solid var(--wifi-orange);
}

.form-container label {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  cursor: pointer;
}

.form-container input[type="text"],
input[type="password"] {
  width: 60%;
}

input{
  font-size: 16px;
  margin-top: 5px;
}

.input_error {
  border-color: lightcoral;
  border-color: var(--error-message-color);
  border-width: 3px;
}

input[type="submit"] {
  color: #222;
  color: var(--login-button-text-color);
  margin-bottom: 20px;
  min-width: 60px;
}

input[type="submit"]:disabled {
  background-color: #ccc;
  background-color: var(--login-button-background-color);
  cursor: not-allowed;
}

input[type="submit"]:enabled {
  background-color: #f58220;
  background-color: var(--wifi-orange);
  font-weight: bold;
}

.terms-container {
  cursor: pointer;
}

.terms-container input[type="checkbox"] {
  cursor: pointer;
}

.terms-container label {
  display: inline;
}

.terms-container a {
  color: #2e92cf;
  color: var(--terms-blue);
  -webkit-text-decoration: none;
  text-decoration: none;
}

.term-label{
  margin-top:5px;
}

.message {
  display: block;
  color: lightcoral;
  color: var(--error-message-color);
  margin-top: 3px;
  margin-bottom: 3px;
  height: 24px;
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h2.form-title {
  color: white;
}

h2 span {
  color: #f58220;
  color: var(--wifi-orange);
  font-weight: normal;
}

.logo {
  width: 130px;
  height: 130px;
  margin: 0 auto;
  display: block;
  margin-bottom: 15px;
}
