.home-content-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.inverse{
    background-color: var(--secondary-color);
}

.inverse.dark-mode{
    background-color: black;
}

.full-bleed{
    box-shadow: 0 0 0 100vmax var(--secondary-color);
    clip-path: inset(0 -100vmax);
}

.full-bleed.dark-mode{
    box-shadow: 0 0 0 100vmax black;
}

.home-section{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding-top: 4em;
    padding-bottom: 4em;
    gap: 1.5em;
    width: 85%;
    min-height: 80vh;
}

.home-section-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-section > img {
    object-fit: cover;
    height: 20em;
}

.welcome-section{
    width: 60%;
}

.continueReadingButton{
    border-radius: 10px;
    text-decoration: none;
    width: 10em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.continueReadingButton:hover {
    text-decoration: underline;
    color: white;
    background-color: var(--primary-color-80pct);
}

.home-portfolio-gallery {
    position: relative;
    margin: 2em 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-height: 30em;
    overflow: hidden;
    border-radius: 10px;
}

.home-portfolio-gallery > img {
    width: 25%;
    object-fit: cover;
}

.overlay {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2,0,36,0) 40%, rgba(9,9,121,0) 0%, var(--secondary-color) 100%);

}

.overlay-background{
    transition: all 1s ease;
    background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(9,9,121,0) 0%, var(--secondary-color) 100%);
    width: 100%;
    height: 100%;
}

.home-portfolio-gallery:hover .overlay-background{
    opacity: 0;
}

.overlay-button{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 5%;
    height: 100%;
    background-color: var(--primary-color);
    right: 0;
}

.home-portfolio-gallery:hover .overlay-button{
    background-color: var(--primary-color-80pct);
}

#right-icon{
    display: block;
}

#down-icon{
    display: none;
}

.overlay-button > i {
    color: white;
}

#open-portfolio-link{
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Mobile styles */
@media only screen and (max-width: 880px) {

    #right-icon{
        display: none;
    }

    #down-icon{
        display: block;
    }

    .overlay {
        background: linear-gradient(180deg, rgba(2,0,36,0) 40%, rgba(9,9,121,0) 0%, var(--secondary-color) 100%);
    }

    .overlay-background{
        background: linear-gradient(180deg, rgba(2,0,36,0) 0%, rgba(9,9,121,0) 0%, var(--secondary-color) 100%);
    }

    .overlay-button{
        width: 100%;
        height: 15%;
        bottom: 0;
    }

    .home-portfolio-gallery img {
        width: 50%;
        height: 15em;
    }

    .welcome-section{
        width: 100%;
    }

    .home-section{
        flex-direction: column;
    }

    .home-section-wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .home-section-wrapper > img {
        object-fit: cover;
        width: 100%;
    }

    #welcomeLogo{
        height: 14em;
    }
}