/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Basic styling for the body */
body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 100vh;
  background-color: #f4f4f9;
  color: #333;
}

/* Header styling */
header {
  background-color: #4CAF50;
  padding: 1em;
  width: 100%;
  text-align: center;
  color: white;
}

/* Main content styling */
main {
  padding: 2em;
  text-align: center;
}

/* Footer styling */
footer {
  background-color: #333;
  color: white;
  padding: 1em;
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
}

/* Button styling */
.cta-button {
  background-color:#4CAF50;
  border: none;
  color: white;
  padding: 1em 2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  margin-top: 1em;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #45a049;
}

/* Logout Button Form Container */
.logout-container {
  position: absolute;  /* Make it absolute to position the button */
  top: 10px;           /* Distance from the top of the page */
  right: 10px;         /* Distance from the right of the page */
  z-index: 100;        /* Ensure it's above other content if necessary */
}

/* Button styling */
.cta-button.logout-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button.logout-button:hover {
  background-color: #45a049;
}

.form-logout {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f4f4f9;
  border-radius: 8px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

@media (max-width: 600px) {
  body {
    font-size: 1.2em;
  }

  header, footer {
    padding: 0.5em;
  }

  .cta-button {
    padding: 0.8em 1.5em;
  }
}


/* Login Form Styling */
form {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f4f4f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

input[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

header {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  text-align: center;
}


