/* Clearfix for containing floats */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.featured-content {
    float: left;
    width: 45%;
}

.featured-content-tools {
    float: right;
    width: 45%;
}

.featured-content h2,
.featured-content-tools h2 {
    font-size: 24px;
    color: #333; 
    margin-bottom: 10px;
    text-align: center;
    text-decoration: underline;
}

.featured-project {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #2c2c2c;
    padding: 5px;
    background-color: white;
    border-radius: 15px;
}

.featured-project img {
    max-width: 100px; 
    border-radius: 5px;
    margin-right: 20px;
}

.featured-project-details {
    flex: 1;
}

.featured-project h3 {
    font-size: 18px;
    color: #333; 
    margin-bottom: 5px;
    text-decoration: underline;
}

.featured-project p {
    font-size: 14px;
    color: #666; 
    margin-bottom: 10px;
}

.featured-project a {
    text-decoration: none;
    color: #007bff; 
    font-weight: bold;
}

.featured-project a:hover {
    text-decoration: underline;
}

#welcome-title {
    font-size: 24px;
    text-decoration: underline;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 20px;
    background-color: white;
    align-items: center;
    margin: auto;
    padding: 0.5%;
    border: solid black 1px;
}

.submit {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 20px;
    border: 1px solid black;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    padding: 5px;
    width: 60%;
}

.submit-project {
    width: 100%;
    margin: auto;
    clear: both; /* Ensure it clears the floated elements */
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-content,
    .featured-content-tools {
        float: none;
        width: 90%;
        margin: 5%;
    }
}

.submit-form {
    display: flex;
    flex-direction: column;
    color: black;
}

#submit-title {
    font-size: 20px;
    text-decoration: underline;
    margin-bottom: 10px;
}

.submit-form p {
    text-decoration: underline;
}

.submit ul {
    float: left;
    text-align: left;
    display: flex;
    flex-direction: column;
    margin-right: 25px;
}

.left {
    float: left;
    width: 40%;
    display: block;
    margin: auto;
    font-size: 12px;
}

.right {
    float: right;
    width: 40%;
    display: block;
    margin: auto;
    font-size: 12px;
}

.announcements {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: white;
    border: solid black 1px;
    float: left;
    width: 100%;
    border-radius: 20px;
}

.announcements ul {
    font-size: 14px;
}

#ann-title {
    text-decoration: underline;
    font-size: 18px;
}

#ann-time {
    font-size: 10px;
}

.ann {
    width: 100%;
}

.ann-right {
    float: right;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ann-left {
    float: left;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}