@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Add a responsive max-width to the blog container */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Add responsive margins and padding to the blog posts */
.blog-post {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* Add responsive padding and a bottom border to the blog headers */
.blog-header {
    border-bottom: 1px solid #ccc;
    padding: 20px;
}

/* Increase the font size and weight of the blog post titles */
.blog-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

/* Increase the font size and weight of the blog post dates */
.blog-header p {
    font-size: 16px;
    margin: 0;
    color: #657786;
    font-weight: 400;
}

/* Increase the font size and line height of the main body text */
.blog-post p {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

/* Add responsive padding to the main body text */
.blog-post p {
    padding: 20px;
}

/* Add responsive margins and padding to the navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1da1f2;
    color: white;
    padding: 10px 20px;
}

/* Remove the default list style and margins from the navbar list */
.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Add responsive margins to the navbar list items */
.navbar li {
    margin: 0 10px;
}

/* Remove the default text decoration from the navbar links */
.navbar a {
    color: white;
    text-decoration: none;
}

/* Add a hover effect to the navbar links */
.navbar a:hover {
    color: #d6e4ff;
}

/* Add a responsive max-width and centered position to the navbar */
.navbar {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Add a hover effect  to the navbar list items */
.navbar li:hover {
    background-color: rgba(29, 161, 242, 0.1);
}

/* Add a hover effect to the navbar list item links */
.navbar li a:hover {
    color: #d6e4ff;
}

/* Add subtle roundedness to the navbar */
.navbar {
    border-radius: 5px;
}

/* Add an underline animation to the navbar links on hover */
.navbar a {
    position: relative;
}
.navbar a:before,
.navbar a:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #d6e4ff;
    transform: translateX(-50%);
    transform-origin: center;
    transition: width 0.25s ease-in-out;
}
.navbar a:hover:before,
.navbar a:hover:after {
    width: 100%;
}

/* Add some styling to the code blocks */
/*code {*/
/*    font-family: 'Inter', monospace;*/
/*    font-size: 14px;*/
/*    background-color: #f7f7f7;*/
/*    border-radius: 3px;*/
/*    padding: 2px 4px;*/
/*}*/
/*pre {*/
/*    overflow-x: auto;*/
/*    background-color: #f7f7f7;*/
/*    border: 1px solid #ccc;*/
/*    border-radius: 3px;*/
/*    margin: 0;*/
/*    padding: 20px;*/
/*}*/

/* ChatGPT style */
.chat-gpt-container {
    background-color: #333;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 16px;
    box-sizing: border-box;
}

.chat-gpt-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.chat-gpt-user {
    font-weight: bold;
    margin-right: 8px;
    color: #66d9ef;
}

.chat-gpt-code {
    background-color: #444;
    border-radius: 4px;
    padding: 8px;
    white-space: pre-wrap;
    word-break: break-all;
    margin-bottom: 8px;
}

.chat-gpt-code code {
    font-family: monospace;
    color: #fff;
}

/* contact page */
.contact-page {
    width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: #1da1f2;
    margin: 1rem 0;
}


/* contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid #e6ecf0;
    border-radius: 4px;
}

.error-message,
.success-message {
    margin: 1rem 0;
}

.error-message {
    color: red;
}

.success-message {
    color: green;
}

.form-label {
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.form-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e6ecf0;
    border-radius: 4px;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.form-button {
    width: 100%;
    background-color: #1da1f2;
    color: white;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.form-button[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

/* Header CSS */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #1DA1F2;
    color: #fff;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-link {
    color: #fff;
    text-decoration: none;
}

.header-link:hover {
    color: #ccc;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.header-button {
    background-color: #4AB3F4;
    border: none;
    border-radius: 4px;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: bold;
}

.header-button:hover {
    background-color: #3182e6;
}
