@import url("https://fonts.googleapis.com/css?family=Montserrat:400,800");
@tailwind base;
@tailwind components;
@tailwind utilities;
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #e9ecef;
  min-height: 100vh;
}

.nav-container {
  background-color: #f8fafc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.logo-text:hover {
  color: #555;
}

.nav-tagline {
  font-size: 1rem;
  color: #666;
  display: none; /* Hidden by default, shown on mobile */
}

.nav-main-tag {
  font-size: 1.2rem;
  color: #666;
  margin: 0 1rem;
}

.nav-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-button {
  background-color: #333;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background-color: #a5bfcc;
  color: #1c325b;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button.logout {
  background-color: #dc3545;
}

.nav-button.logout:hover {
  background-color: #a5bfcc;
  color: #1c325b;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */

.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-grow: 1; /* This is the key change */
  padding: 20px;
  margin-top: 10vh;
}

.container-main {
  max-width: 600px;
}
.main-heading {
  font-size: 3rem;
  color: #343a40;
  margin-bottom: 10px;
}

.subtext {
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 20px;
}

.divider {
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 20px 0;
}

.btn-register,
.btn-login {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}

.btn-register {
  color: #212529;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
}

.btn-register:hover {
  background-color: #e2e6ea;
}

.btn-login {
  color: #f8f9fa;
  background-color: #343a40;
  border: 1px solid #343a40;
}

.btn-login:hover {
  background-color: #23272b;
}

.typography-container {
  margin: 20px;
}

.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
}

.heading-text {
  flex: 1;
}

.heading-details {
  margin-top: 5px;
  font-size: 12px;
  color: #888;
}

.action-buttons {
  display: flex;
  gap: 5px;
}

.action-buttons button {
  background: none;
  border: none;
  cursor: pointer;
  color: #007bff;
}

@media screen and (max-width: 768px) {
  .nav-content {
    padding: 0 0.5rem;
  }

  .nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns items to the left */
  }

  .logo-text {
    font-size: 2.2rem; /* Matching your original size */
    margin-bottom: 0; /* Remove bottom margin */
  }

  .nav-tagline {
    display: block;
    font-size: 0.7rem; /* Matching your original size */
    margin-left: 3px;
    margin-top: -0.4rem; /* Matching your original spacing */
    line-height: 1; /* Tighter line height for compact layout */
  }

  .nav-main-tag {
    display: none;
  }

  .nav-button.logout,
  .nav-button {
    padding: 0.5rem 1rem; /* Increased padding */
    font-size: 0.9rem; /* Larger font size */
    font-weight: 500; /* Slightly bolder */
    min-width: 80px; /* Wider minimum width */
  }

  .nav-buttons {
    gap: 0.5rem; /* Increased gap between buttons */
  }
}

@keyframes unlock {
  0% {
    opacity: 0;
    transform: rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: rotate(-10deg);
  }
  100% {
    opacity: 0;
    transform: rotate(0deg);
  }
}
