body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #9EC8B9;
}

header {
    background-color: #092635;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

main {
    padding: 20px;
}

#search {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

#searchForm {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#searchInput {
    width: 70%;
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 20px;
    background-color: #1B4242;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #1B4242;
}

#about {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content {
    margin-top: 20px;
}

.about-content img {
    width: 300px; /* Adjust the width as needed */
    height: 200px; /* Adjust the height as needed */
    object-fit: cover; /* Ensure the image covers the specified dimensions */
    border-radius: 8px;
    margin-bottom: 20px;
}

.about-content p {
    line-height: 1.6;
}
#projects {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.project-category {
    margin-bottom: 20px;
}

.project-category h3 {
    background-color: #1B4242;
    color: white;
    padding: 10px;
    border-radius: 5px;
}

.project-category ul {
    list-style-type: none;
    padding: 0;
}

.project-category ul li {
    background-color: #f1f1f1;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

#results {
    width: 90%;
    margin: 20px auto;
    padding: 20px;

    border: 1px solid #ddd;
    border-radius: 5px;
}


.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #5C8374;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#contactForm {
    display: flex;
    flex-direction: column;
}

#contactForm label {
    margin-bottom: 8px;
    font-weight: bold;
}

#contactForm input, #contactForm textarea {
    margin-bottom: 16px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#contactForm button {
    padding: 10px;
    background-color: #1B4242;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#contactForm button:hover {
    background-color: #1B4242;
}

footer {
    background-color: #f1f1f1;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}
.contact-container {
    background-color: #9EC8B9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    backdrop-filter: blur(10px);
}

.contact-form {
    background: rgb(229, 229, 229);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
}