/* 
INFO: 
Bootstrap is used here -> in order to overwrite, use: 
    <selector>[theme]           for elements in all themes, 
    <selector>[theme="dark"]    for elements only in dark mode,
    <selector>[theme=light"]    for elements only in light mode
*/

@import url("/static/css/themes.css");
@import url("/static/css/layout.css");

/* 01 Generic STYLES that apply for all html pages ------------------------------ */
html[theme] header {
    margin-top: var(--nav-height);
    background-color: var(--bg);
    overflow: hidden;

    min-height: calc(100vh - var(--nav-height));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

html[theme] main {
    background-color: var(--bg);
    padding: 0 15px;
    justify-content: center;
    margin-top: 0;
}

/* 02 General classes for all pages --------------------------------------------- */
html[theme] .hero {
    width: 100%;
}

html[theme] .hero img {
    height: 100%;
    min-width: 100vw;
    object-fit: cover;
    filter: brightness(30%);
}

html[theme] .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    width: 90%;
    font-weight: bold;
    line-height: 1.6;   
    text-shadow: 2px 3px 6px #000000c8;
    font-size: 2.5rem;
}



.index_cards_horizontal {
    height: 10px;
    width: 100%;
    border-radius: 15px;
    
}


html[theme] .index_section {
    text-align: center;
    padding: 40px 0;
}


/* 03 specific elements -------------------------------------------------------- */
html[theme] .tHeader11 {
    font-size: 0.8rem;
    display: block;
    margin-left: 4vw;
}

html[theme] .tHeader21 {
    font-size: 3rem;
    display: block;
    margin-left: 5vw;
}

html[theme] .tHeader31 {
    font-size: 0.8rem;
    margin-top: 20px;
    margin-left: 8vw;
}

.tHeader32 {
    display: inline;
    font-size: 2.3rem;
}
/* MEDIA QUERIES --------------------------------------------------------------- */
@media (min-width: 768px) {
    html[theme] .hero img {
        filter: brightness(40%);
    }

    html[theme] .tHeader11 {
        font-size: 1rem;
        display: block;
        margin-left: 4vw;
    }
    
    html[theme] .tHeader21 {
        font-size: 4rem;
        display: block;
        margin-left: 5vw;
    }
    
    html[theme] .tHeader31 {
        font-size: 1rem;
        margin-top: 20px;
        margin-left: 8vw;
    }
    
    .tHeader32 {
        display: inline;
        font-size: 4.5rem;
    }
}