/* Reset and Base Styles */
body, h1, h2, h3, p, a, ul {
    margin: 0;
    padding: 0;
}
body {
       /* Stretch the GIF to cover the whole page */
    background: url('/images/infoworld.gif') no-repeat center center fixed;
    background-color: #1a1a1a;
    background-size: cover; /* Ensures the GIF covers the entire viewport */
    height: 150vh; /* Full height of the viewport */
    display: inline;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    color: black; /* Text color for visibility */
    font-family: Arial, sans-serif;
}

/* Center Container */
.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    background-color: #111;
    color: #ffffff;
    padding: 10px 0;
    margin-bottom: 20px;
}
.header h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
}
.header p {
    font-style: italic;
    color: #cccccc;
}

/* Article Content */
.article-content {
    background-color: #2a2a2a;
    padding: 20px;
    border: 1px solid #333;
    color: #e0e0e0;
}
.article-content h2 {
    color: #0090fc;
    font-size: 1.8em;
    margin-bottom: 10px;
}
.article-date {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 15px;
}
.article-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}
.article-content strong {
    color: #0090fc;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* Back to Home Link */
.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #0090fc;
    text-decoration: none;
    font-weight: bold;
}
.back-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #333;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9em;
    color: #cccccc;
    margin-top: 20px;
}
.footer p {
    margin: 0;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.tooltip .tooltiptext {
  width: 120px;
  bottom: 100%;
  left: 50%;
  margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
}