/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Add this at the top of your stylesheet to apply the font globally */
body {
  font-family: "Indie Flower", cursive;
  background-image: linear-gradient(to bottom, aqua, pink);
  min-height: 100vh; 
  background-repeat: no-repeat;
  padding-top: 80px; /* Keep existing padding for navbar */
  font-size: 20px;
}

/* Keep the class for specific elements if needed */
.indie-flower-regular {
  font-family: "Indie Flower", cursive;
  font-weight: 400;
  font-style: normal;
}

.fixed-bottom-logo {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80%;
  max-height: 65vh;
  width: auto;
  height: auto;
  object-fit: contain; 
  
  /* Add z-index to place it behind other content */
  z-index: -1; 
}

/* Logo styling with margin auto approach */
.logo-container {
  width: 100%;
  margin: 0rem 0;
}

.logo {
  display: block;
  max-width: 85%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* User navigation bar styling */
.user-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 16px;
  background-color: rgba(255, 255, 255, 0.5); /* 50% transparent white */
  border: 3px solid white;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-radius: 22px;
  z-index: 100; /* Ensure it stays above other content */
}

.nav-left, .nav-center, .nav-right {
  display: flex;
  align-items: center;
}

.nav-left {
  justify-content: flex-start;
  flex: 1;
}

.nav-center {
  justify-content: center;
  flex: 1;
}

.nav-right {
  justify-content: flex-end;
  flex: 1;
}

.nav-link {
  margin: 0 5px;
  color: #333;
  text-decoration: none;
}

/* Style the button to look like a link */
button.nav-link, 
a.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Slight vertical adjustment to compensate for the font's baseline */
  transform: translateY(2px);
}

/* Flash messages styling - centered only */
.flash-messages {
  text-align: center;
  width: 100%;
  margin: 1rem auto;
}

.notice, .alert {
  display: inline-block;
  margin: 0.5rem 0;
}

/* Create a container class for better alignment if needed */
.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Center content div and its children */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 2rem auto;
}

/* Make sure all direct children are centered and take appropriate width */
.content > * {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Additional button styling */
.button {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 0;
  text-decoration: none;
  color: #333;
  background-color: rgba(255, 255, 255, 0.7);
  border: 3px solid white;
  border-radius: 30px;
}

.property {
  font-weight: 900;
}
