.mainLogo {
    position: absolute;
    top: 5px;
    left: 100px;
    width: 150px;
  }
  
  @media (max-width: 1000px) {
    .mainLogo {
        left: 0px;
        width: 150px;
    }
  }

.homePageHeader {
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center;
    background-color: #846954;
    font-size: 75px;
    font-family: sans-serif;
    color: #DFDFD4;
    margin: 0;
    padding-top: 0px;
    position: relative; /* Allows absolute positioning inside */
}

@media (max-width: 1000px) {
    .homePageHeader {
        font-size: 60px;
    }
}

.loggedOutHeader {
    display: flex;
    justify-content: center; /* Centers the title text horizontally */
    align-items: center;     /* Centers the title text vertically */
    background-color: #846954;
    font-size: 75px;
    font-family: sans-serif;
    color: #DFDFD4;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px;
    position: relative;      /* Allows absolute positioning for inner elements */
  }


.loggedInHeader {
    background-color: #846954;
    font-size: 75px;
    font-family: sans-serif;
    font: helvetica;
    color: #DFDFD4;
    margin: 0;
    padding: 0px;
        text-align: center;
    margin-top: 0px;
}

@media (max-width: 1000px) {
    .loggedInHeader {
        font-size: 60px;
    }
}

.user-info {
    display: flex;
    justify-content: flex-end; /* Align items to the right */
    align-items: center;
    background-color: #4CAF50; /* Or use your existing top bar background color */
    color: #FFFFFF;
    padding: 10px 20px; /* Adjust based on your layout */
    font-family: sans-serif; /* Consistent with your design */
    position: relative; /* Needed to position email absolutely within */
    width: 100%; /* Ensure full width */
    height: 40px; /* Adjust based on your layout or desired height */
}

.user-actions {
  position: absolute;
  right: 20px;             /* Adjust this value for desired spacing from the right edge */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;  /* Stack the buttons vertically */
  align-items: flex-end;   /* Right-align the buttons within the container */
  gap: 10px;               /* Space between the buttons */
  }

/* Styling for the Log In link */
.user-action.login {
    color: #DFDFD4;
    text-decoration: none;
    font-size: 28px;         /* Adjust font size as needed */
}

.user-action, .user-action.logout {
    color: #FFFFFF;
    text-decoration: none;
    margin-right: 15px; /* Space between links */
    font-size: 16px; /* Consistent font size */
    display: inline-flex; /* Use inline-flex to align icons and text */
    align-items: center; /* Align icon with text */
  }
  
  .user-action i, .user-action.logout i {
    margin-right: 8px; /* Adjust the spacing between icon and text */
  }
  
  .user-action:hover, .user-action.logout:hover {
    color: #FFFFFF; /* Keeps the color white on hover */
    /* You can add any additional hover effects you want here */
  }

.email {
    position: absolute; /* Position email absolutely */
    left: 50%; /* Center based on container's width */
    top: 50%; /* Align to the middle of the container vertically */
    transform: translate(-50%, -50%); /* Offset to truly center both horizontally and vertically */
    font-size: 16px; /* Adjust as needed */
  }

.otherDateText {
    font-size:20px;
}

@media (max-width: 1000px) {
  .otherDateText {
      font-size: 28px;
  }
}

.subscribe-button-container {
  position: absolute; /* Position the button container absolutely */
  right: 20px; /* Adjust based on your design preference */
  top: 30%; /* Align vertically */
  transform: translateY(-50%); /* Center the button vertically */
}

.subscribe-button {
  background-color: #4CAF50; /* Green background to match your theme */
  color: #FFFFFF; /* White text */
  padding: 10px 20px; /* Adjust padding to fit your design */
  text-decoration: none; /* Remove underline from link */
  font-size: 24px; /* Adjust font size as needed */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.subscribe-button:hover {
  background-color: #45a049; /* Slightly darker green on hover */
  color: #FFFFFF; /* White text */
}

.subscribe-button-container a.subscribe-button:link,
.subscribe-button-container a.subscribe-button:visited {
  background-color: #4CAF50;
  color: #FFFFFF;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 28px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.logout-status {
  display: flex;
  align-items: center;
  gap: 10px; /* space between sign out and inactive text */
}

.status-text {
  background-color: #ffffff; /* white background */
  color: #000;             /* black text for contrast */
  padding: 5px 10px;       /* padding for spacing */
  border-radius: 3px;      /* rounded corners */
  display: inline-block;   /* adjusts width to content */
  margin-bottom: 5px;     /* space below the text */
  font-size: 18px;
  align-items: center;
}

.status-text i {
  color: red;               /* red color for the X icon */
  margin-right: 5px;        /* spacing between the icon and text */
}

/* Paywall Modal overlay – note the top offset to leave the daily summary visible */
#paywall-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 300px; /* Fixed value */
  width: 100%;
  height: calc(100% - 150px); /* Fixed height calculation */
  background-color: rgba(26, 70, 24, 0.99);
}

@media (max-width: 1000px) {
  #paywall-modal {
    top: 600px; /* Fixed value */
  }
}

/* Paywall Modal overlay – note the top offset to leave the daily summary visible */
#paywall-modal-full {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0px; /* Fixed value */
  width: 100%;
  height: calc(100% - 150px); /* Fixed height calculation */
  background-color: rgba(26, 70, 24, 0.99);
}

/* Example modal content styling */
.paywall-modal-content {
  background-color: #fff;
  margin: 50px auto;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  width: 40%;
  max-width: 800px;
}

/* Mobile adjustments */
@media (max-width: 1000px) {
  .paywall-modal-content {
    width: 80%;
    padding: 20px;
  }
}

.paywall-modal-content h2 {
  margin-top: 0;
  font-size: 28px;
  color: #333;
}

@media (max-width: 1000px) {
  .paywall-modal-content h2 {
    font-size:40px;
  }
}

.paywall-headline {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.paywall-subhead {
  font-size: 24px;
  margin-bottom: 20px;
  color: #555;
  text-align: center;
}

/* Desktop styles */
.paywall-headline {
    font-size: 42px;
  }

.paywall-subhead {
    font-size: 28px;
}

/* Mobile adjustments */
@media (max-width: 1000px) {
  .paywall-headline {
    font-size: 60px;
  }
  .paywall-subhead {
    font-size: 40px;
  }
}

.paywall-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.paywall-button {
  padding: 10px 20px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

/* Subscribe button style */
.paywall-subscribe-button {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  font-size: 32px;
}

@media (max-width: 1000px) {
  .paywall-subscribe-button {
      font-size: 22px;
  }
}

.paywall-subscribe-button:hover {
  background-color: #45a049; /* Slightly darker green on hover */
  color: #FFFFFF; /* White text */
}

/* Take a Tour button style */
.paywall-tour-button {
  background-color: #e0e0e0;
  color: #333;
  border: 1px solid #ccc;
  font-size: 32px;
}

@media (max-width: 1000px) {
  .paywall-tour-button {
      font-size: 22px;
  }
}

.paywall-tour-button:hover {
  background-color: #d0d0d0;
  color:#000;
}