

.homepage-welcome-header {

}

.homepage-photo-container {
    margin-right: 10px;
    display: flex;
    align-items: center;
    position: relative;
}

.homepage-photo {
    max-width: 140px;
    padding-top: 10px;
    transition: 0.1s;
    z-index: 50;
}

.homepage-welcome-header {
    margin-bottom: 5px;
    margin-top: 0;
}

.homepage-main-section {
    display: flex;
    flex-direction: column;
    background-color: rgba(153, 102, 204, 0.1);
    padding: 5px;
    padding-bottom: 15px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top: 5px solid var(--primary-color);
}

.categories-container {
    justify-content: center;
}

.categories-header {
    margin-top: 10px;
    margin-bottom: 10px;
}

.homepage-header {
    flex: 3;
    display: flex;
    justify-content: center;
    align-content: center;
}

.search-and-categories {
    display: flex;
    flex-direction: column;
    flex: 2;
    padding-left: 10px;
    align-items: center;
    margin-top: 20px;
}

@media (hover: hover) and (pointer: fine) {
    .homepage-photo-container:hover .homepage-photo {
        opacity: 0;
    }

    .homepage-photo-container:hover .homepage-photo-text {
        opacity: 1;
    }
}

.homepage-photo-text {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 10px;
    top: 10px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    text-align: center;

}

#search-form {
    border: none;
}

#search-form .button {
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
}

.homepage-photo-text small {
    padding: 10px;
}

.homepage-bio-links {
    font-size: 0.8rem;
}

.homepage-bio-links > a {
    color: var(--secondary-text);
}

@media screen and (max-width: 820px) {
    .homepage-main-section {
        flex-direction: column;
    }

    .search-and-categories {
        padding-left: 0;
    }
}

@media screen and (max-width: 700px) {
    #projectsSection {
        display: none;
    }
}

@media screen and (max-width: 540px) {
    .homepage-welcome-header {
        display: none;
    }

    .homepage-photo {
        max-width: 120px;
        padding-top: 0;
    }

    .search-and-categories {
        align-items: flex-start;
    }

    #search-form > .textbox {
        width: 240px;
    }

    .categories-container {
        justify-content: left;
    }

    .homepage-bio-container p {
        font-size: 0.9rem;
    }

}
