/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Define common styles for text and fonts */
body {
    background-color: #333;
    color: #fff;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

header .profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: 20px;
}

/* Navigation Styles */
nav.navbar {
    background-color: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

nav.navbar a.nav-link {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
    margin: 0 10px;
}

/* Blog Post Styles */
.blog-post {
    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-post h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Portfolio Styles */
.project {
    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.project h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.project a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

/* Skills Styles */
.skill h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Contact Form Styles */
#success-message {
    display: none;
    background-color: #28a745;
    color: #fff;
    padding: 10px;
    margin: 10px 0;
}

/* Input and Button Styles */
input[type="text"],
input[type="email"],
textarea,
button[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #007bff;
    border-radius: 5px;
    background-color: transparent;
    color: #007bff;
    font-weight: bold;
}

button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Footer Styles */
footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    .navbar-collapse {
        background-color: #fff;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar-toggler-icon {
        color: #007bff;
    }
}

/* Input and Button Styles */
input[type="text"],
input[type="email"],
textarea,
button[type="submit"] {
    width: 100%;
    padding: 8px; /* Reduce padding to make elements more compact */
    margin-bottom: 10px;
    border: 1px solid #007bff;
    border-radius: 5px;
    background-color: transparent;
    color: #007bff;
    font-weight: bold;
}

/* Style the submit button */
button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px 20px; /* Increase padding slightly for the button */
}

/* Style the submit button on hover */
button[type="submit"]:hover {
    background-color: #0056b3;
}
