/* home page */

#home_page_content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home_page_section_title{
    width: min(400px, 80vw);
    margin-top: 0;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background: linear-gradient(
        to right,
        var(--light-background-color-grey),
        var(--light-background-color-white) 35%,
        var(--light-background-color-white) 65%,
        var(--light-background-color-grey)
    );
    text-align: center;
}

#component_boxes{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.component_box{
    flex: 1;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.component_box_main_part{
    padding: 1rem;
    border-top: 1px solid var(--light-border-color);
    border-left: 1px solid var(--light-border-color);
    border-right: 1px solid var(--light-border-color);
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    background-color: var(--light-background-color-white);
}

.component_box_main_part:hover{
    background-color: var(--light-background-color-grey);
}

.component_box_title{
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
}

.component_box_description{
    margin-top: 0.5rem;
    text-align: center;
}

.component_box_languages{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.5rem;
    border-top: 1px solid var(--light-border-color);
    border-bottom: 1px solid var(--light-border-color);
    border-left: 1px solid var(--light-border-color);
    border-right: 1px solid var(--light-border-color);
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
    background-color: var(--light-background-color-white);
}

.component_box_language{
    margin-left: .3rem;
    margin-right: .3rem;
    white-space: nowrap;
}

@media screen and (max-width: 900px){
    #component_boxes{
        flex-direction: column;
        align-items: stretch;
    }
    
    .component_box{
        margin-left: 0;
        margin-right: 0;
    }

    .component_box:not(:last-child){
        margin-bottom: 1rem;
    }
}

#news_box{
    max-width: 720px;
    padding: 1rem;
    border: 1px solid var(--light-border-color);
    border-radius: .5rem;
    background-color: var(--light-background-color-white);
}

#news_box_link{
    margin-top: 0.5rem;
    text-align: right;
}

/* visuals content */

#visuals_content h2{
    text-align: center;
}

#visuals_content img{
    max-height: 50vh;
}
