body {
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px; /* Footer height */
}


header {
    background-color: #333;
    color: white;
    padding: 1em 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

main {
    padding: 2em;
}

.intro, .about-me, .my-work, .contact-me {
    margin-bottom: 2em;
}

.intro h1 {
    font-size: 3em;
}

.about-me a {
    color: #007BFF;
    text-decoration: none;
}

.about-me a:hover {
    text-decoration: underline;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.project {
    background-color: #f4f4f4;
    padding: 1em;
    border-radius: 8px;
    flex: 1 1 30%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.email-protect span {
    display: none;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 2.0em;
}

.intro-image {
    width: 100px;
    height: auto;
    border-radius: 10px;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #0056b3;
}

.background-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background: linear-gradient(to right, lightblue, mediumblue, darkblue); /* Gradient background */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.background-button:link, 
.background-button:visited {
    color: white; /* Ensure link text color is white */
}

.background-button:hover {
    background: linear-gradient(to right, darkblue, mediumblue, lightblue); /* Reverse gradient on hover */
    color: white;
}

/* Added styles for the about page aka Read My Background header */
.background-header {
    font-size: 3em; 
    margin-left: 10%;
}

.background-text {
    font-size: 1.5em; 
    margin-left: 10%; 
}

/* Added styles for the contact page */
.contact-header {
    font-size: 3em; 
    margin-left: 10%; 
}

.contact-text {
    font-size: 1.5em; 
    margin-left: 10%; 
}

/* Added styles for the projects-contact-wrapper to have a light green background */
.projects-contact-wrapper {
    background-color: lightgreen;
    padding: 20px;
    border-radius: 10px;
}

/* Added styles for the contact-me section to have a light gray background */
.light-gray-background {
    background-color: lightgray;
    padding: 20px;
    border-radius: 10px;
}

/* Added styles for the thank you text */
.thank-you-text {
    margin-top: 20px;
    font-size: 1.2em;
    margin-left: 7%;
}
