/* main body styling */

body {
    background-color: #0D1117;
    font-family: Georgia, 'Times New Roman', Times, serif;
    width: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* logo styling */
#logo {
    font-size: 26px;
    padding: 15px;
    color: #000000;
    letter-spacing: 1px;
}

.logo-container {
    display: inline-block;
    margin: 0px;
}

.logo-link {
    text-decoration: none;

}

/* header styling */
header {
    background-color: #ffffffcf;
    height: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}


/* nav bar styling */

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav li a {
    text-decoration: none;
    color: #0a0a0a;
    font-weight: bold;
}

/* main page styling */

#about-us {
    color: #ffffff;
    max-width: 50%;
    letter-spacing: -1px;
    text-align: justify;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', sans-serif;
    font-size: 18px;
}

/* Read button styling */

.func-btn {
    background-color: #fcfcfc;
    color: #0D1117;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    width: 85px;
    border-radius: 26px;
    transition: all 0.3s ease;
    margin-left: 290px;
    margin-bottom: 100px;
    cursor: pointer;
}

.func-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px #ffd700;
}

img {
    width: 440px;
    height: 190px;
}

.nav-items {
    color: #ffd700;
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    text-align: center;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-in-out;
}

/* Zoom on hover */
.nav-items:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.main-page {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 90px;
}

/* Contact Page */

#contact {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

#contact-me-form {
    background-color: #ffffff2a;
    padding: 30px 45px 30px 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0;
}

#contact-me-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ffffff;
}

.input-details {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background-color: #0D1117;
    color: #ffffff;
}

.input-details:focus {
    outline: 2px solid #ffd700;
}

#Share-Opinions {
    width: 95%;
    padding: 20px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background-color: #0D1117;
    color: #ffffff;
}

#Share-Opinions:focus {
    outline: 2px solid #ffd700;
}

.send-btn {
    background-color: #fcfcfc;
    color: #0D1117;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    width: 85px;
    border-radius: 26px;
    transition: all 0.3s ease;
    margin-left: 150px;
}

.send-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px #ffd700;
}

/* blog stlying */

/* Posts container as a column */
#posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Individual post card */
.post {
    background-color: #a9adb2;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Post title */
.post h3 {
    font-size: 16px;
    margin-bottom: 30px;
    color: #ffd900;
    margin-right: 20px;
}


.post p {
    font-size: 1rem;
    color: #fffefe;
}

.post p strong,
.post p em {
    font-size: 0.85rem;
    color: #ffffff;
    margin-left: 30px;
}


.blog-section {
    margin-top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: gold;
    text-align: center;
}

#blog-post {
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* Blog Form Wrapper */
#blog-submission {
    width: 100%;
    max-width: 600px;
    background: #4c4c4d;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Blog Form Fields */
#blog-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #ffffff;
}

#blog-form input,
#blog-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #0D1117;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
}

#blog-form input:focus,
#blog-form textarea:focus {
    outline: 2px solid #ffd700;
    border-color: #ffd700;
}

/* Submit Button */
.submit-btn {
    display: block;
    padding: 12px;
    color: #0D1117;
    border: none;
    border-radius: 26px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.submit-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px #ffd700;
}


/* footer style */

footer {
    text-align: center;
    padding: 15px 0;
    color: rgb(0, 0, 0);
    background-color: #ffffffcf;
    flex-shrink: 0;
}