body {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-height: 760px;
}

#homepage {
    width: 100%;
    flex-grow: 1;
    flex-shrink: 1;
    background-color: #656565;
    position: relative;
    overflow-x: hidden;
}

.homepage-bg {
    position: absolute;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url('/content/images/background/EyalBartov_CROPPED.jpg');
}


#homepage-nrecords {
    padding-top: 0.5rem;
    color: black;
    text-align: center;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.1em;
}

#homepage-biogis {
    margin-top: 2%;
    text-align: center;
    color: #92D6CC;
    font-size: 36px;
    font-weight: 600;
    position: relative;
}

#homepage-title {
    position: relative;
}

    #homepage-title p {
        color: black;
        text-align: center;
        font-weight: 300;
        font-size: 24px;
        margin: 0;
        padding: 0;
        line-height: 1.1em;
    }

#homepage-boxes {
    position: absolute;
    bottom: 12%;
    width: 852px;
    left: -426px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-left: 50%;
}

    #homepage-boxes > div {
        width: 230px;
        cursor: pointer;
        flex-grow: 0;
    }


        #homepage-boxes > div > div:first-child {
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
            background-color: white;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 10px 0;
            visibility: hidden;
        }

            #homepage-boxes > div > div:first-child > p {
                margin: 5px 14px 5px 10px;
                font-size: 1em;
                font-weight: 400;
                color: black;
            }

        #homepage-boxes > div > div:last-child {
            background-color: #EB4036;
            color: white;
            text-align: center;
            font-size: 24px;
            padding: 4px 0;
            font-weight: 400;
            opacity: 1.0;
        }

        #homepage-boxes > div:hover > div:first-child {
            visibility: visible;
        }


#homepage-footer {
    display: flex;
    justify-content: center;
    background-color: #171219;
    padding-top: 10px;
}

    #homepage-footer > div {
        margin: 0 30px;
    }

        #homepage-footer > div > a {
            font-size: 14px;
            color: #A6A6A6;
            display: block;
        }

            #homepage-footer > div > a:hover {
                color: #D4D4D4;
            }
