@font-face {
    src: url("fonts/Roboto-Bold.ttf");
    font-family: roboto;
}

@font-face {
    src: url("fonts/Lora-Medium.ttf");
    font-family: lora;
}

:root {
    --main-col: #D3D0CB;
    --sec-col: #E7E5DF;
    --product-col: rgb(228, 228, 228);
    --element-col: rgb(178, 216, 218);
    --link-col: rgb(1, 65, 134);
}


html, body {
    min-height: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {

    background-position: center center;
    background-image: url("images/bagger.png");
    background-size: auto 60%;
    background-repeat: no-repeat;
    background-color: var(--main-col)
}

.wrapper {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header"
        "inhalt"
        "footer";
    width: 100%;
    height: 100vh;
}



/*Formatierung*/

p {
    text-align: center;
    margin: 0;
}

b{
    text-align: center;
    font-size: 5vw;
}

.text {
    text-align: center;
    margin-top: 40%;
}

a, a:visited {
    color: #000;
    text-decoration: none;
    text-align: center
}


/*Head*/

.header {
    background-color: var(--sec-col);
    filter: drop-shadow(0px 10px 4px rgba(0, 0, 0, 0.211));
    grid-area: header;
    width: 100%;
}

.logo {
    width: auto;
    height: 5vw;
}


/* Inhalt */

li {
    margin-top: 1vh;
}

.Inhalt {
    grid-area: inhalt;
    overflow: scroll;
    overflow-x: hidden;
    display: block;
}

.galerie {
    width: 40vw;
    height: auto;
    margin: auto;
}

.gruppe {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: auto auto;
    row-gap: 3vh;

    place-items: center;
    margin-bottom: 5vh;
}

.single {
    display: grid;
    grid-template-rows: auto;
    row-gap: 3vh;
    place-items: center;
    margin-bottom: 5vh;
}

.kuenstler {
    font-weight: bold;
    font-size: larger;
    font-family: lora;
    display: flex;
    justify-content: center;
    margin-top: 10vh;
    margin-bottom: 5vw;
}

.Kontakt {
    font-family: lora;
    margin-left: 5%;
    grid-area: footer; 
}

.adresse{
    display: flex;
    justify-content: center;
    margin-bottom: 2%;
}

.Ueberschrift {
    margin: 2vh;
    font-size: 2rem;
}

.Ueberschrift, .tit {
    font-family: lora;
}

.logozus {
    display: grid;
    grid-template-columns: 1,1,1;
    grid-template-rows: 1;
    font-size: 5vh;
    place-items: center;
    margin-top: 3vh;
}


/*Produktseiten*/

.Maschinen {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto;

    padding: 3vh;
    justify-content: flex-start;
    gap: 10px 10px;
}

.Element {
    background-color: var(--element-col);
    border-style: solid;
    border-width: 2px;
    border-radius: 10px;
    width: 45vw;
    display: flex;
    overflow: hidden;
    margin-bottom: 1vh;
}




.kategorieInhalt {
    font-size: 1rem;
    margin-bottom: 2vh;
}

.Name {
    grid-area: titel;
    font-family: roboto;
    margin-top: 1rem;
}

.Daten {
    grid-area: inh;
    font-family: lora;
}

.Name, .Daten {
    font-size: 1.2rem;
    margin-left: 1rem;
    margin-right: auto;
    max-width: max-content;
}

/*Footer*/

.footer {
    font-family: lora;
    grid-area: footer;
    width: 100vw;
    min-height: 15vh;
    background-color: var(--sec-col);
    
    /*filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.493));
    /* display: block; */
}

.foot {
    text-decoration: underline;
}



/* Mediaqueries */
@media(max-width:1500px) {
    .Daten, .Name {
        font-size: 1rem;
    }
}

@media(max-width:1200px) {}

@media(max-width: 900px) {
    .grid {
        grid-template-columns: 33% 33% 33%;
    }


    .Element {
        flex-direction: column;
        margin-bottom: 10px;
        width: 35vw;
    }

    
    
}

@media (max-width: 660px) {
    body {
        background-size: 100% auto;
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 50% 50%;
    }
    
    .gruppe {
        grid-template-columns: auto;
    }
    
    .galerie{
        width: 65vw;
        height: auto;
        margin: auto;
    }
    

}

@media(max-width: 400px) {
    .Element {
        width: 80vw;
    }
}