@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");

/* Reset */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Body */
body {
  font-family: "Ubuntu", sans-serif;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg,
      rgba(30, 200, 255, 1) 0%,
      rgba(140, 0, 255, 1) 100%);
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.professorshroom-logo {
  max-width: 250px;
  width: 100%;
  height: auto;
  margin-bottom: 15px;

  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.2));
}

.content h1 {
  font-weight: 400;
  margin: 0;
  padding: 10px;
}

.content p {
  line-height: 2;
}

.content p a {
  color: white;
  transition: 0.2s;
}

.content p a:hover {
  color: rgba(140, 0, 255, 1);
}

/* Navbar */
.navbar {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 20px;

  background: linear-gradient(135deg,
      rgba(10, 200, 255, 1) 0%,
      rgba(110, 0, 255, 1) 100%);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  color: white;
  font-size: 20px;
  font-weight: lighter !important;
  text-decoration: none;
  text-align: center;
}

#header {
  display: flex;
  justify-content: center;
  /* Horizontally centers the logo inside the header */
  align-items: center;
  /* Vertically centers it if the header has height */
  width: 100%;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

/* Page content (normal pages) */
.content {
  flex: 1;
}

/* 404 page fix (THIS WAS MISSING) */
.content-404 {
  flex: 1;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  color: white;
}

.line-404-4 a {
  color: white;
}

/* Socials */

.social-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 10px;
}

.social-bar a {
  color: white;
  font-size: 60px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-bar a:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

/* Footer */
.footer {
  text-align: center;
  padding: 5px;

  color: white;
  font-size: 0.8rem;

  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}