/* basic setup */
html {
    background-color: rgb(230, 230, 230);
}
body {
    margin: 0;
    font-family: 'Oswald', sans-serif;
}
a {
    text-decoration: none;
    color: black;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
p {
    margin: 0;
    padding: 0;
}
ul, li {
    margin: 0;
    padding: 0;
}


/* html, body     ... main structure, layout */
html {
    height: 100%;           /* for sticky footer */
}
body {
    min-height: 100%;       /* for sticky footer */

    display: flex;
    flex-direction: column;
}


/* site header */
#site-header {
    background-color: white;
    padding: 0.5rem;
    border-bottom: 1px dotted gray;
}

/* site header brand */
#site-header-brand {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.site-header-brand__logo_slogan {
    display: flex;
    flex-direction: row;
}
.site-header-brand__slogan {
    font-size: 0.9rem;
}
.site-header-brand__settings {
    font-size: 1rem;
}


/* site nav */
#site-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.site-nav__links {
    display: flex;
    flex-direction: row;
}
.site-nav__link {
    font-size: 1.1rem;
}


/* breadcrumbs */
#site-breadcrumbs {
    background-color: white;
    padding: 0.6rem 0.5rem 0.7rem 0.5rem;
}
.site-breadcrumbs__arrow {
    font-weight: bold;
    margin-right: 0.3rem;
}
.site-breadcrumbs__link-text {
    color: gray;
}


/* site main */
#site-main {
    padding-bottom: 3rem;
}

/* main navbar */
#main-navbar {
    margin: 0.75rem 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.main-navbar__link {
    padding: 0 0.5rem;
    font-weight: bold;
}
.basic-line {
    color: dodgerblue;
}
.elegant-line {
    color: red;
}


/* section container */
.section-container {
    margin: 0.5rem;
    padding: 0.5rem;

    background-color: white;

    border: 1px solid lightgray;
    border-radius: 3px;
}
.section-header {
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.section-header__title {
    margin-left: 0;
}
.section-header__subtitle {
    margin-left: 0;

    font-size: 1rem;
    font-weight: normal;

    color: gray ;
}
.section-content__p {
    line-height: 1.1;
    margin-top: 0.5rem;
}
.section-footer {
    margin-top: 0.25rem;
}
.section-footer__gotop {
    text-align: right;
}


/* product group cards */
.product-group-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.75rem 0;
    justify-items: center;

    margin-bottom: 0.25rem;
}
.product-group-card {
    width: 10.4rem;
    height: 11rem;

    border: 2px solid dodgerblue;
    border-radius: 3px;
}
.product-group-card:hover {
    border: 2px solid red;
    box-shadow: 2px 2px 2px gray;
}
.product-group-card__content img {
    width: 100%;
    height: 100%;
}
.product-group-card__title {
    height: 2.7rem;
    background-color: dodgerblue;
    color: white;
    text-align: center;
}
.product-group-card__title h2 {
    font-size: 1.4rem;
    font-weight: normal;
}
.product-group-card__title h3 {
    padding-top: 0.3rem;

    font-size: 1.1rem;
    font-weight: normal;
}


/* site footer */
#site-footer {
    margin-top: auto;           /* for sticky footer */

    padding: 1rem 0.75rem;
    background-color: gray;
}
.footer-boxes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer-boxes-group {
    display: flex;
    flex-direction: row;
}
.footer-box {    
    display: flex;
    flex-direction: column;
    margin-right: 1rem;
}
.footer-box-title {
    margin-bottom: 3px;
    color: darkgray;
}
.footer-link {
    color: white;
}
.footer-link:hover {
    text-decoration: underline;
}
#footer-cookie-info {
    margin-bottom: 0.5rem;    
    text-align: center;
    line-height: 1.2;
    font-size: 0.85rem;
}
#footer-copyright {
    text-align: center;
    line-height: 1.2;
    font-size: 0.9rem;
}


/* container text - impressum etc. */
.container-text {
    padding: 0.5rem;
    line-height: 1.3;
}


/* desktop, tablet, etc... */
@media (min-width: 480px) {

    body {
        max-width: 960px;
        margin: 0 auto;
    }


    /* product group */
    .product-group-cards {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .product-group-card {
        width: 200px;
        height: 200px;

        margin-right: 0.5rem;
    
        border: 2px solid dodgerblue;
        border-radius: 3px;
    }

    /* product data */
    .container-product-data {
        display: flex;
        flex-direction: row;
    }
    .product-data {
        margin-left: 2rem;
    }

    /* product data sheet */
    .product-data-sheets {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .product-data-sheet {
        width: 7rem;
        height: 9rem;
    
        margin-right: 0.5rem;
    
        border: 2px solid limegreen;
        border-radius: 3px;
    }
}
