@font-face {
  font-family: 'Milliard';
  src: url('../font/Rene\ Bieder\ \ Milliard\ Light.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Milliard';
  src: url('../font/Rene\ Bieder\ \ Milliard\ Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

html, body {
  height: 100%; /* Full height of the viewport */
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Milliard', sans-serif; /* Specify the font here for consistency */
}

body {
  background-image: url('../img/bg.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  overflow-x: hidden; /* Hide horizontal overflow */
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
  justify-content: center; /* Center content vertically */
  flex-grow: 1; /* Take up all available space */
  padding: 20px;
  box-sizing: border-box;
  margin-top: 110px; /* Adjust top margin to push content down */
}

/* Adjust the logo, header, and form styles as needed */



.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 350px;
}

body:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 110px;
  background-color: white;
  z-index: 10;
}

.logo img {
  width: auto; /* Fixed width for the logo */
  height: 70px; /* Maintain aspect ratio */
  top: 25px;
  left: 25px;
  position: absolute; /* Uncomment this if you want the logo to be positioned absolutely */
  color: #ffffff;
  z-index: 11; /* Higher than the white line */
}

.header {
  font-family: 'Milliard', sans-serif;
  font-size: 5em;
  text-align: center;
  color: #000000;
  font-weight: normal;
  margin-top: 0; /* Adjust if necessary */
  margin-bottom: 20px;
}

.LoginText {
  font-family: 'Milliard', sans-serif;
  font-weight: normal;
  font-size: 1.4em;
  text-align: center;
  color: #000000;
  margin-bottom: 20px;
}

input[type="text"],
input[type="password"] {
  display: block;
  width: 100%; /* Ensures full width within the form */
  margin: 15px 0; /* Spacing between elements */
  max-width: 350px; /* Maximum width */
  padding: 10px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-sizing: border-box;
}

button[type="submit"] {
  width: 100%;
  height: 45px;
  text-align: center;
  border: none;
  border-radius: 4px;
  background-color: #545454;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #C0D1D6;
}

.footer-text {
  text-align: center;
  background-color: #C0D1D6;
  padding: 10px 0;
  box-sizing: border-box;
  font-size: 1em;
}

.error {
  font-family: 'Milliard';
  src: url('../font/Rene\ Bieder\ \ Milliard\ Bold.otf') format('opentype');
  font-size: 1.2em; /* Larger font size */
  font-weight: bold; /* Bold text */
  text-shadow: 1px 1px 2px black; /* Black shadow to make it stand out */
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
  padding: 3px; /* Padding around the text */
  border-radius: 5px; /* Rounded corners for the background */
  box-shadow: 0px 0px 5px grey; /* Optional: Adds a subtle shadow around the text box */
}


/* Smaller logo size for mobile screens */
@media screen and (max-width: 768px) {
  .content {
    max-width: 100%; /* Set to 100% to make it full width on smaller screens */
  }
  .logo img {
    max-width: 95%;
    width: auto; /* or your preferred size for mobile */    
    height: auto;    
    top: 5px;
    left: 5px;    
  }
}