:root {
    --primary-color: rgba(255, 255, 255, 0.75);
    --overlay-color: rgba(255, 255, 255, 0.75);
    --menu-speed: 0.75s;
  }


@font-face { font-family: 'hum777n';
    src: url('../fonts/hum777n.ttf') format('truetype'); 

}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;

    text-align: center;
    font-family: 'hum777n', sans-serif;
    color: rgb(40, 40, 40);

    /*Quelle: https://kulturbanause.de/blog/fliessend-skalierende-texte-und-schriftgroessen-mit-css-calc/ */
    font-size: calc(16px + (28 - 16) * ((100vw - 320px) / (1600 - 320)));

}

/* ------------- Header -----------------*/
header{
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(255, 255, 255);
    box-shadow: 0 3px 3px rgba(0,0,0,0.1);
    z-index: 2;
}

#logo {
    width: 100px;
    float: left;
    margin: 5px 0 0 50px;
}

#logo img {
    width: 100%;
}

#logo:hover {
    opacity: 0.5;
}


section {
    margin-top: 60px;
    min-height: 100%;
    
    /*height: 100%;
    min-height: 100%;
    z-index: 1;*/
}

section hr {
    margin: 60px auto 60px auto;
    visibility: hidden;
}

li {
    list-style-type: none;
}

/* ------------- Home -----------------*/

#home {
    background: url(../fotos/1920x1080/Landing.jpg);
    background-size: cover; /* Hintergrundbild einpassen  */
    background-position: center center;
    background-attachment: fixed; /* HG-Bild beim Scrollen fixiert */
    height: 100%;
    Width: 100%;
}

#home .logo {
    margin: 0 auto 0 auto;
    width: 50%;
}

#home .logo img{
    width: 100%;
    filter: drop-shadow(3px 5px 10px rgb(0 0 0 / 0.8));
}

#home .logo .Untertitel {
    margin: 0;
    color: ghostwhite;
    font-size: 100%;
    text-shadow: 3px 2px 2px rgb(0 0 0 / 0.4) ;
}

#home .btn{
    margin: 5% auto 0 auto;
    width: 50%;    
}

#home .btn img{
    width: 50%;
    cursor: pointer;
}

/* --------------- News -----------------*/

#news{
    z-index: 1;
}

#news article {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    grid-template-rows: repeat(5, 1fr); 
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
    background-color:rgb(40, 40, 40)
}

#news article .image{
    grid-area: 1 / 1 / 6 / 6; 
}

#news article .image img{
    object-fit: cover;
    object-position: center center;
    max-height: 100vh;
    width: 100%;
    height: auto;
}

#news article .text{
    z-index: 1;
    padding-left: 1em;
    padding-right: 1em;
    grid-area: 2 / 1 / 4 / 4; 
    background-color: rgba(255, 255, 255, 0.7);
    font-size: 90%;
    text-align: left;
}



/* -------------- Weine -----------------*/
#weine {
    z-index: 1;
}

#weine article {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    grid-template-rows: repeat(5, 1fr); 
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
    background-color:rgb(40, 40, 40)
}

#weine article .image{
    grid-area: 1 / 1 / 6 / 6; 
}

#weine article .image img{
    object-fit: cover;
    object-position: center center;
    max-height: 100vh;
    width: 100%;
    height: auto;
}

#weine article .text{
    z-index: 1;
    padding-left: 1em;
    padding-right: 1em;
    grid-area: 3/ 3 / 5 /6; 
    background-color: rgba(255, 255, 255, 0.7);
    font-size: 90%;
    text-align: left;
}

/* --------- Feinkost -----------*/

#feinkost {
    z-index: 1;
}

#feinkost article {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    grid-template-rows: repeat(5, 1fr); 
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
    background-color:rgb(40, 40, 40)
}

#feinkost article .image{
   
    grid-area: 1 / 1 / 6 / 6; 
}

#feinkost article .image img{
    object-fit: cover;
    object-position: center center;
    max-height: 100vh;
    width: 100%;
    height: auto;
}

#feinkost article .text{
    z-index: 1;
    padding-left: 1em;
    padding-right: 1em;
    grid-area: 3 / 1 / 4 / 4; 
    background-color: rgba(255, 255, 255, 0.7);
    font-size: 90%;
    text-align: left;
}


/* ---------- MEDIA QUERIES ----------
/* TABLETS */
@media screen and (max-width: 1200px) {
    #home {
        background: url(../fotos/1024x566/Landing.jpg);
        background-position: center center;
        background-size: cover;
        /*background-attachment: fixed;*/
    } 
}

/* MOBILE */
@media screen and (max-width: 700px){

    #home {
        background: url(../fotos/480x270/Landing.jpg);
        background-position: center center;
        background-size: cover;
        /*background-attachment: fixed;*/
    }

    #logo {
        margin-left: 20px;
    }    

    #home .logo img{
        margin: 0 auto 0 auto;
        width: 120%;
    }

    #home .btn img{
        width: 70%;
        cursor: pointer;
    }

    #news article .text{
        background-color: rgb(40, 40, 40);
        color: rgb(200,200,200);
        grid-area: 2 / 1 / 4 / 4; 
    }

    #weine article .text{
        background-color: rgb(40, 40, 40);
        color: rgb(200,200,200);
    }

    #feinkost article .text{
        background-color: rgb(40, 40, 40);
        color: rgb(200,200,200);
    }

    #kontakt article {
        display: block;
    }

}