
/* #region Styling for FrontPage */

.front-page-item-group {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.front-page-item {
    border-style: double;
    margin: 50px;
    border-radius: 10px;
    border-color: red;
    border-width: 5px;
    /* max-height: 300px; */
}

.front-page-item:hover {
    border-color: blue;
    border-width: 10px;
}

.front-page-item-link {
    text-decoration: none;
    color: inherit;
}

.front-page-fig {
    margin: auto 5px;
    flex: 1;
}

.front-page-img {
    /* width:100% ensures that the image stays within the border of the div */
    width: 100%;
    padding-right: 15px;
    padding-top: 10px;
    max-height: 200px;
}

.front-page-para {
    margin: 0 50px;
    padding-top: 25px;
    text-align: justify;
    flex: 3;
}

.front-page-header-para {
    font-size: 1.1em;
}

.front-page-para strong {
    font-weight: bold;
}

.front-page-small-pair {
    display: flex;
}

.front-page-small-pair .front-page-item-group {
    align-items: center
}

.front-page-small-pair .front-page-item {
    flex: 1;
    margin: 5px;
}

.front-page-small-pair .front-page-img {
    padding: 0;
}

.front-page-small-pair .front-page-para {
    margin: 0 5px;
    padding-top: 5px;
    text-align: left;
}

@media screen and (max-width:850px) {

    .front-page-small-pair {
        flex-direction: column;
    }
}

@media screen and (max-width:600px) {
    .front-page-para {
        font-size: 1em;
        margin: 0 10px;
    }

    /* .front-page-small-pair {
        flex-direction: column;
    } */

    .front-page-item-group {
        flex-direction: column;
    }

    .front-page-item {
        margin: 0 auto;
    }
}

/* #endregion */
