/* 
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] main {
    background-color: var(--bg);
    padding: 0;
    justify-content: center;
    margin-top: 0;
}

/* 02 General classes for all pages --------------------------------------------- */
html[theme] .hero {
    width: 100%;
    max-width: 1200px;
    margin-top: var(--nav-height);
    background-color: var(--bg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

html[theme] .hero-text h1 {
    color: var(--act-bg);
}


.about_section {
    padding: 30px;
}

.about_section img {
    height: 190px;
    border-radius: 15px;   
}

html[theme] .milestone {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px;
}

html[theme] .mobile_card_switcher {
    display: block;
    justify-items: center;
    position:relative;
    align-items: unset;
}

.date_card {
    height: 95px;
    width: 95px;
    background-color: var(--bg2);
    padding-top: 10px;
    transform: translate(0, -40%);
    position: absolute;
    left: calc(50% - 47.5px);
}

html[theme] .card_content {
    margin-top: 70px;
}



/* 03 specific elements -------------------------------------------------------- */


/* MEDIA QUERIES --------------------------------------------------------------- */
@media (min-width: 768px) {
    html[theme] .milestone {
        max-width: 900px;
        margin-right: auto;
        margin-left: auto;
        margin-top: 30px;
    }
    
    html[theme] .mobile_card_switcher {
        display: flex;
        justify-items: unset;
        position:unset;
        align-items: center;
        
    }
    
    .date_card {
        height: 95px;
        width: 95px;
        background-color: var(--bg2);
        padding-top: 7px;
        transform: translate(-40%,0);
        position: unset;
        left: unset;
    }
    
    html[theme] .card_content {
        margin-top: unset;
    }
}