/* Blog specific styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.container {
    background-color: #ffffff;
    padding: 20px;
    margin: 20px auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    width: 80%;
    max-width: 800px;
}

.blog-post {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.12);
}

#phishing {
    background-color: #e6f2ff; /* Light blue for phishing-related post */
    border-left: 5px solid #4A90E2;
}

#data-breaches {
    background-color: #fff0f0; /* Light red for data breach-related post */
    border-left: 5px solid #D0011B;
}

#security-tips {
    background-color: #e6fff2; /* Light green for tips-related post */
    border-left: 5px solid #50E3C2;
}

h1, h2 {
    text-align: center;
    color: #333;
}

h2 {
    margin-top: 0;
}

.blog-post p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

img {
    width: 100px;
    height: auto;
    float: right;
    margin: 0 0 10px 10px;
    border-radius: 5px;
}

/* Clearfix for floating elements */
.blog-post::after {
    content: "";
    display: table;
    clear: both;
}

/* Hover effects for images */
img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

/* Link styles */
a {
    color: #1a0dab;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation styles */
nav ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 10px;
}

nav ul li a {
    background-color: #4A90E2;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #3672b5;
    text-decoration: none;
}


.blog-header {
    margin-bottom: 15px;
}

.blog-meta {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.date, .read-time {
    margin-right: 15px;
}

.share-btn {
    background-color: #4A90E2;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.share-btn:hover {
    background-color: #3672b5;
}
