* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f9f9f9;
  min-height: 100%;
  font-family: Arial, sans-serif;
  padding-top: 60px; /* To avoid content hidden behind fixed navbar */
}

main {
  background-color: #99b8d9;
  padding: 30px 20px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #1e2B42;
  display: flex;
  justify-content: center;  /* centers the title horizontally */
  align-items: center;      /* centers content vertically */
  padding: 0 20px;
  color: white;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* LOGO — FIXED RESPONSIVENESS */
.navbar .logo {
  position: absolute;
  left: 20px;
  width: 55px;          /* instead of fixed 80px */
  top: 2px;             /* instead of -10px */
}

.navbar .logo img {
  width: 100%;
  height: auto;
  display: block;
}

.navbar .title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.terms-container {
  max-width: 100%;
  margin: auto;
  padding: 20px;
  font-size: 16px;
  line-height: 1.6;
  background-color: #1e2B42;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Responsive */
 @media (min-width: 320px) and (max-width: 768px)  {

  .navbar {
    padding: 10px 15px;
  }

  .navbar .title {
    font-size: 1.2rem;
  }

  .navbar .logo {
    width: 50px;       /* responsive */
    left: 10px;
    top: 5px;
  }

  .terms-container {
    padding: 15px;
    font-size: 15px;
  }
}
