#indexWidget {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    top: calc(var(--navigation-height) + 28px);
    width: 100%;
    height: calc(100% - var(--navigation-height) - 28px);
    overflow: scroll;
}

#personalImage {
    width: calc(50% - 32px);
    height: auto;
    max-width: calc(200px + 5vmin);
    filter: grayscale(1);
}

#infoContainer {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

#infoParagraph {
    font-size: calc(18px + 2vmin);
    text-align: center;
    border: solid black 2px;
    border-width: 0 0 2px 0px;
    margin: 0 16px;
    padding: 16px;
}

#projectsButton {
    text-decoration: none;
    background-color: var(--main-color);
    color: var(--secondary-color);
    border: solid 2px var(--main-color);
    border-radius: 10px;
    box-shadow: 0 0 5px 2px var(--main-color);

    padding: calc(12px + 1vmin) calc(16px + 2vmin);
    margin-top: calc(12px + 1vmin);
}

/*All hover effects when valid */
@media (hover: hover) {
    #projectsButton:hover {
        color: var(--main-color);
        background-color: var(--secondary-color);
        border: solid 2px var(--third-color);
        box-shadow: inset 0 0 5px 2px var(--third-color);
    }
}

/*When our screen is portrait or width is less than 750px we switch widget to mobile prefs*/
@media all and (orientation: portrait), (max-width: 750px) {
    #indexWidget {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 10px;
    }

    #infoContainer {
        width: 100%;
        flex: 1;
    }
}
