/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #171f2a; /* Main background color */
  color: #e8ecf2; /* Text color */
  line-height: 1.6;
  padding: 20px;
}

header {
  padding: 20px 0;
  background: #1e2835;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.twitter-section{
  justify-content: center;
  text-align: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #e8ecf2;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #f0f0f0;
}

main {
  margin-top: 20px;
}

section {
  margin-bottom: 40px;
  padding: 0 20px;
}

h1, h2 {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  color: #f0f0f0;
}
/* Responsive Design for Mobile Devices */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 3rem; /* Optional: Adjust font size for smaller screens */
    line-height: 1.1; /* Reduced line height for mobile */
  }
}

p, dl, dt, dd {
  margin-bottom: 10px;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 20px;
}

/* SEO Text Blocks */
section > p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: auto;
}

/* Footer Styling */
footer {
  background: #1e2835;
  padding: 20px 0;
  margin-top: 40px;
}

footer h2 {
  color: #f0f0f0;
  margin-bottom: 15px;
  font-size: 1rem;
}

footer section {
  padding: 0 20px;
  text-align: center;
}

footer h2 a {
  color: inherit; /* Ensures the link color matches the surrounding text */
  text-decoration: none; /* Removes the underline from links */
}

footer h2 a:hover {
  text-decoration: underline; /* Optional: Adds an underline on hover for visual feedback */
}


/* Responsive Design */
@media screen and (max-width: 768px) {
  nav ul {
      flex-direction: column;
  }

  nav ul li {
      margin: 10px 0;
  }
}


.inputs-section{
  width: 100%;
  width: 100%; /* Full width of the container */
  max-width: 375px; /* Maximum width can be adjusted as needed */
  margin: 20px auto; /* Center the container */
  padding: 2px;
}

/* Textarea Styles */
textarea {
  width: calc(100% - 20px); /* Full width minus padding */
  height: 70px; /* Initial height */
  padding: 10px;
  margin-bottom: 20px; /* Space below textarea */
  box-sizing: border-box;
  border: 1px solid #ccc; /* Light grey border */
  border-radius: 8px; /* Rounded corners */
  background-color: #fff; /* White background */
  resize: vertical; /* Allow vertical resizing only */
  font-size: 16px; /* Readable text size */
  color: #333; /* Text color */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  transition: border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out; /* Smooth transitions for interactions */
}

textarea:focus {
  border-color: #007bff; /* Highlight focus with a blue border */
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.25); /* More pronounced shadow on focus */
  outline: none; /* Remove default focus outline */
}

/* Placeholder Style */
::placeholder {
  color: #aaa; /* Lighter text for placeholders */
}

/* Community Note Display */
.snap-container {
  width: 100%;
  width: 100%; /* Full width of the container */
  max-width: 375px; /* Maximum width can be adjusted as needed */
  margin: 20px auto; /* Center the container */
  padding: 2px;
  background-color: #171f2a;
}

/* Base button styles for consistency */
button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  outline: none;
}

/* Style for the standard button */
button:not(#screenshot-btn) {
  background-color: #f8f9fa;
  color: #333;
}

/* Predominant style for the screenshot button */
#screenshot-btn {
  background-color: #007bff; /* Predominant blue */
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover effects for both buttons */
button:hover {
  opacity: 0.8;
}

/* Specifically for the screenshot button to make it pop more on hover */
#screenshot-btn:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Add focus styles for accessibility */
button:focus {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}

#screenshot-btn:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}


.p-bottom-ad{
  color: #71767B;
  padding-left: 10px;
  margin-top: 5px;
  font-size: 16px;
}
a{
  color: #CCAC00;
  text-decoration: none;
}
.a-ad-section{
  color: #CCAC00;
  text-decoration: none;
}

.block-container {

  color: #e8ecf2;
  
  border-style: solid;
  border-color: #333b46;
  border-radius: 8px; /* Rounded corners */
}
#top-section-input {
  display: none;
}

label[for="top-section-input"] {
  display: none;
}


.top-section {
  font-weight: bold;
  display: flex;
  font-size: 14px;
  background-color: #202730; /* Background color for the top section */
  border-bottom: solid #333b46;
  padding: 12px; /* Padding around the content */
  border-top-left-radius: 8px; /* Rounded corners for top left */
  border-top-right-radius: 8px; /* Rounded corners for top right */
}

.svg-column {
  justify-content: start; /* Center the SVG horizontally */
  align-items: center; /* Center the SVG vertically */
  
}
.svg_style{
  width: 18.75px;
  height: 18.75px;
}
.text-column {
  flex: 0 0 95%; /* Assign the rest of the space to the text column */
}

.p-top-section{
  margin: 0 0 0 8px;
}
.middle-section {
  border-bottom: solid #333b46;
}

.p-middle-section {
  margin: 0;
  font-size: 0.97em;
}
.a-middle-section{
  color: #1d9bf0;
  text-decoration: none;
}

.middle-section ,
.bottom-section {
  background-color: #171f2a; /* Background color for middle and bottom sections */
  padding: 12px; /* Padding around the content */
}

.bottom-section {
  justify-content: space-between;
  line-height: 30px;
  display: flex;
  font-weight: bold;
  border-bottom-left-radius: 8px; /* Rounded corners for bottom left */
  border-bottom-right-radius: 8px; /* Rounded corners for bottom right */
}

/* You can add more specific styles for paragraphs, links, buttons, etc., as needed */


.p-bottom-section{
  color: #848c98;
  font-size: 0.9em;
  margin: 0;
}

.btn-col{
  border: 1px solid #333b46;
  font-size: 0.9em;
  margin: 0;
  padding: 0 16px 0 16px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: stretch;

}
