/* Modell Vocabulaire */

/* ALLGEMEINES ************************************************************************/
/**************************************************************************************/

* {
    margin: 0;
    padding: 0;
}

html {
    background-image: url("../hg/hg0.png");
    background-size: auto 100%;
}

body {
    min-height: 100vh;
    position: relative;
}

header {
    position: relative;
}

#DAlogo {
    padding-right: 2rem;
}

.divDAtext {
    position: relative; 
    top: 5.5rem;  
    margin-bottom: 5rem;
}

#DAtext {
    max-width: 50vw;
    margin-bottom: 1rem;
}

        /* Zentrieren eines Elements: in div.divMitte stecken */
.divMitte {
    display: block; 
    margin: 0 auto;
    max-width: 70rem; /* wichtig wegen footer */
}

.divInlineBlock {
    display: inline-block;
}

.flexboxFooter {
        display: flex;
        flex-direction: row;
    }
        
.flexboxFooter > div {
        margin: 1rem 2rem;
    }

/*.inlineblockInFooter {
    display: inline-block;
    margin-right: 2rem;
}*/

.vorZurueck {
    display: inline-block;
    padding: 0.5rem;
    margin: 0.5rem;
    border-radius: 0.5rem;
    background: lightgrey;
    box-shadow: 2px 2px 2px;
}

.vorZurueck a {
    color: black;
    text-decoration: none;
}

.uvz > ul > li {
    font-style: italic;
    list-style-position: inside;
    list-style-type: none;
}


/* TABELLE *********************************************************/
/*******************************************************************/


td p {
    font-size: 1.5rem;
}

table {
	margin: 0 auto;
	width: 95%;
	caption-side: top;
}

td {
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	box-shadow: 3px 3px 3px grey inset;
	}
	 
td.franzoesisch {
	width: 50%;
	background-color:  hsl(93, 100%, 80%);
    color: #333333;
	}

td.franzoesisch1 {
	width: 50%;
	background-color: white;
    color: #333333;
	}
	
td.deutsch {
	width: 50%;
	background-color: white;
    }

.ds {
    color: transparent;
}
    
p:hover.ds,p:focus.ds {
    color: #333333;
    }

.anmerkung {
	padding-top: 2em;
	padding-left: 0.5em;
	padding-right: 0.5em;
}



/* SCHRIFTEN ********************************************************/
/********************************************************************/
        

h1 {
    font-family: Paprika, "Open Sans Condensed", "Noto Sans Cond", "Roboto Condensed", "Open Sans", "Noto Sans", sans-serif;
    font-size: 2rem;
    font-weight: bold;
}
        
h2, h3, h4, h5 {
    font-family: "Open Sans Condensed", "Noto Sans Cond", "Roboto Condensed", "Open Sans", "Noto Sans", sans-serif;
}

h6, p, li, summary {
    font-family: "Open Sans", "Noto Sans", "Roboto", sans-serif;
}

h2 {
    font-size: 1.7rem;
    font-weight: bold;
}

h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

h4 {
    font-size: 1.3rem;
    font-weight: bold;
}

h5 {
    font-size: 1.1rem;
    font-weight: bold;
}

h6 {
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
    line-height: 1.5rem;
    margin: 1rem;
    padding: 0rem;
}

p, li, summary {
    font-size: 1rem;
    font-weight: normal;
    font-style: normal;
}

p.nullachtREM, li.nullachtREM {
    font-size: 0.8rem;
    font-weight: normal;
    font-style: normal;
}

p.nullneunREM, li.nullneunREM {
    font-size: 0.9rem;
    font-weight: normal;
    font-style: normal;
}

p.einseinsREM, li.einseinsREM {
    font-size: 1.1rem;
    font-weight: normal;
    font-style: normal;
}

p.einszweiREM, li.einszweiREM {
    font-size: 1.2rem;
    font-weight: normal;
    font-style: normal;
}

p.einsdreiREM, li.einsdreiREM {
    font-size: 1.3rem;
    font-weight: normal;
    font-style: normal;
}



/*************************************************************************************/
/* MEDIA REQUEST *********************************************************************/
/*************************************************************************************/


/* SMARTPHONE ************************************************************************/

    header, nav, nav > ul > li, #seite1, main, #ende, footer {
        display: block;
    }

    #DAtext {
        max-width: 60vw;
        margin-bottom: 0rem;
    }

    #monuments {
        display: none;
    }

    #seite1, main, #footer {
        padding: 0.5rem;
        border-radius: 0.25rem;
    }

    #hvz > ul > li, #seite1, main {
        padding: 0.5rem;
        box-shadow: 0 0 1px black inset;
    }

    #hvz > ul > li > ul > li {
        border-radius: 0.25rem;
        padding: 0.25rem;
        box-shadow: 0 0 1px black inset;
        list-style-type: none;
    }

    .bildA {
        width: 70%;
    }

    .bildB {
        width: 80%;
    }

    .bildA, .bildB {
        border-radius: 0.25rem;
    }
    
    #ende {
        text-align: center;
    }

    footer {
        background: rgba(0, 0, 0, 0.5);
        color: rgba(255, 255, 255, 1);
    }

    footer {
        margin-bottom: 0;
    }

    
    #hvz > ul > li, #seite1, main {
        padding: 0.5rem;
        box-shadow: 0 0 1px black inset;
    }


/* SCHMALER BILDSCHIRM ****************************************************************/


    @media only screen and (min-device-width: 40rem) {
            
    header {
        margin: 0;
     }
        
    #seite1, main, #footer {
        padding: 1rem;
        border-radius: 0.5rem;
    }
        
    #monuments {
        display: inline-block;
        margin-left: 1rem;
    }
    
        
        /* Navigationsleiste */
        /*********************/
  
    #hvz {
        text-align: center;
        margin-top: 0; 
        margin-bottom: 1.5rem;
        margin-right: 4rem;
        margin-left: 4rem;
     }  
       
    #hvz > ul > li {
        margin-top: 0.25rem; 
        margin-right: 0.5rem;
        margin-bottom: 0.25rem;
        margin-left: 0.5rem;
        display: inline-block;
        vertical-align: text-top;
        padding: 0.75rem;
        border-radius: 50%;
    }
           
    #hvz > ul > li > ul {
        display: none;
        position: absolute;
        z-index: 333; /* notwendig? */
        right: -6rem;
    }
        
    #hvz > ul > li > ul > li {
        text-align: left;
        padding-left: 1rem;
    }
        
    #hvz > ul > li:hover, #hvz > ul > li:focus {
        position: relative;
    }
        
    #hvz > ul > li:hover > ul, #hvz > ul > li:focus > ul {
        display: block;
    }
        
    #hvz > ul > li:hover > ul > a, #hvz > ul > li:focus > ul > a {
        display: block;
    }
   
        /* Ende der Navigationsleiste */
        /******************************/
        
        
    main {
        margin-top: 0.5rem;
        margin-right: 1rem;
        margin-bottom: 0.5rem;
        margin-left: 0.5rem;
     } 
        
    #seite1 {
        margin-top: 0.5rem;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
        margin-left: 1rem;
     } 
        
    .bildA {
        width: 90%;
    }
        
    .bildB {
        width: 65%;
    }
        
    #ende{
        align-self: center;
     }  
        
    footer {
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
     }
        
    body {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-areas: "header  header"
                             "nav     nav"
                             "seite1  main"
                             "ende    ende"
                             "footer  footer";
    }

    header {
        grid-area: header;
    }

    #hvz {
        grid-area: nav;
    }

    #seite1 {
        grid-area: seite1;
    }

    main {
        grid-area: main;
    }

    #ende {
        grid-area: ende;
    }

    footer {
        grid-area: footer;
    }
}

        
/* BREITER BILDSCHIRM ****************************************************************/

    @media only screen and (min-device-width: 70rem) {
        
            
    bildB {
        width: 50%;
    }

    .bildA {
        width: 90%;
    }
        
    #frei1 {
        margin-top: 0.5rem;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
        margin-left: 1rem;
     }
    
    #seite1, main {
        margin-top: 0.5rem;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
        margin-left: 0.5rem;
     }
      
    #frei2 {
        margin-top: 0.5rem;
        margin-right: 1rem;
        margin-bottom: 0.5rem;
        margin-left: 0.5rem;
     } 
    
    body {
        display: grid;
        grid-template-columns: 1fr 3fr 6fr 1fr;
        grid-template-areas: "header header  header header"
                             "nav    nav     nav    nav"
                             "frei1  seite1 main   frei2"
                             "ende   ende    ende   ende"
                             "footer footer  footer footer";
    }
            
    #frei1 {
        grid-area: frei1;
    }

    #frei2 {
        grid-area: frei2;
    }       
}
    
