/* ========== General Layout ========== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #333;
}

h1, h2 {
  text-align: center;
  margin-top: 20px;
  color: #222;
}

/* ========== Profile Page ========== */
.content-box {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 25px 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.profile-pic {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #333;
  margin: 30px auto 0 auto;
}

/* ========== Gallery ========== */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers gallery images */
  gap: 16px;
  margin-top: 20px;
}

.gallery img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ========== Links ========== */
a {
  color: #007BFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  .gallery img {
    width: 120px;
    height: 120px;
  }

  .content-box {
    padding: 20px;
    margin: 20px 15px 40px 15px;
  }
}

/* Center the login form vertically and horizontally */
.login-container {
  display: flex;
  justify-content: center;   /* horizontal center */
  align-items: center;       /* vertical center */
  height: 100vh;             /* full viewport height */
  background-color: #f9f9f9; /* subtle background */
  padding: 20px;
  box-sizing: border-box;
}

.login-form {
  background-color: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-form h2 {
  margin: 0 0 15px 0;
  text-align: center;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  padding: 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.login-form label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-form button {
  padding: 12px;
  font-size: 1.1em;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.login-form button:hover {
  background-color: #0056b3;
}

.login-form p a {
  color: #007BFF;
  text-decoration: none;
}

.login-form p a:hover {
  text-decoration: underline;
}

