/* Google Fonts used in HTML file */
body {
  font-family: 'Quicksand', sans-serif;
  background-color: #F5F5DC; /* Very light khaki #F5F5DC *//* Changes the background color from the default stark white #fff */
  color: #222;
  margin: 0;
  padding: 0;
}

/* Add a row before the header for padding */
body::before {
  content: "";
  display: block;
  height: 70px;
  width: 100%;
}

/* Center header and subtitle */
.header {
  text-align: center;
}

/* Google Fonts used in HTML file */
.username {
  font-family: 'Ballet', cursive;
  font-size: 80px;
  font-weight: 550;
  letter-spacing: 1px;
  line-height: 1.9;
  margin-bottom: 0.25em;
  white-space: nowrap;     /* Prevent line breaks by default */
  overflow-x: auto;        /* If too wide, allow scroll instead of wrapping */
  text-align: center;      /* Center the big title as a fallback */
}

.mobile-break {
  display: none;           /* Hide break everywhere by default */
}

/* Only trigger the break on narrow smartphones (iPhone, etc) */
@media (max-width: 500px) {
  .username {
    font-size: 38px;
    white-space: normal;   /* Allow wrapping only here */
    text-align: center;
  }
  
  .mobile-break {
    display: inline;
  }
}

/* For tablets: reduce font size if needed, keep nowrap */
@media (min-width: 501px) and (max-width: 1024px) {
  .username {
    font-size: 52px;
  }
}

/* Decorative horizontal line */
hr.line {
  border: 0;
  height: 1px;
  margin: 2rem 0;
  background-image: linear-gradient(to right, #f0f0f0, #8c8b8b, #f0f0f0);
}

h2, h4 {
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* All paragraphs left-aligned by default, except the .header subtitle */
p {
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: left;
}

.header p {
  text-align: center;
}

a {
  color: #222;
  text-decoration: underline;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #555;
  text-decoration: none;
}

strong {
  font-weight: 650;
}

/* Responsive padding for smaller screens */
@media (max-width: 767px) {
  .header {
    padding-top: 1rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Email link will lauch default mail client */
a[href^="mailto:"]:hover {
    color: #007bff;
    text-decoration: underline;
}








