/* Global styles */
body {
    font-family: "Roboto", sans-serif;
    text-align:center;
    font-size: 16px;
    font-weight: 400; /* Regular weight */
}


header {
    background-color:  blue;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 400; /* Regular weight */
    
}

main {
    padding: 20px;
}

#post-form {
    max-width: 600px;
    margin: 0 auto;
}

label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}


/* styles.css */

.button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.button:hover {
    background-color: #555;
}

/* Add styles for buttons and images */
.blog-post {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

/* Paragraph with Roboto Thin font */
p.thin-text {
    font-weight: 300; /* Thin weight */
}


/* Styling for H1 heading */
h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 20px 0;
    font-weight: 400; /* Regular weight */
}

.blog-post h2 {
    margin-bottom: 10px;
}

.blog-post p {
    margin-bottom: 10px;
}

/* Styling for delete confirmation page */
.delete-confirmation {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.delete-confirmation p {
    margin-bottom: 10px;
}

.delete-confirmation button {
    background-color: #cc0000;
}


h2 {
    margin-bottom: 10px;
}




/* Center the image horizontally and vertically */
.blog-image {
    display: block;
    margin: auto;
}

/* Adjust max-width and max-height to limit the image size while maintaining aspect ratio */
.blog-image {
    max-width: 450px;
    max-height: 350px;
    width: auto;
    height: auto;
}

.share-links {
    margin-top: 10px;
}

.share-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-right: 10px;
}

.facebook-button {
  background-color: #1877f2; /* Light blue for Facebook */
}

.twitter-button {
  background-color: #1da1f2; /* Light blue for Twitter */
}

.linkedin-button {
  background-color: #0077b5; /* Light blue for LinkedIn */
}

/* Default styles for images */
.blog-image {
  max-width: 100%; /* Ensures images don't exceed their container's width */
  height: auto; /* Maintains the aspect ratio of the images */
}

/* Media query for tablets (landscape mode) and larger screens */
@media (min-width: 768px) {
  .blog-image {
    max-width: 450px;
    height: auto;
  }
}

/* Media query for mobile devices */
@media (max-width: 767px) {
  .blog-image {
    max-width: 100%; /* Images will take the full width of the screen on mobile */
    height: auto;
  }
}
