
* {
    margin: 0;
    padding: 0;
}
body{
    font-family: Verdana, "Lucida Sans Unicode", sans-serif ;
    font-size: 1em;
    margin-left: 0.5em;
    max-width: 1600px;
}

li{
 list-style-type: none;

}

header{
    position: relative;
}
/*positioniert Logo und Logotext(Heidelberg)*/
#Kopfzeile{
    display: inline-block;
    position:relative;
    left:0em;
    /*width:50em;*/
    height: auto;
    margin-left:5%;
    vertical-align: middle;
    /*text-align: center;*/
} 

#caption{
    float: left;
    display:inline;
    height: auto;
    font-family:'Times New Roman';
    font-size: 2.5em;
    font-weight: bold;
    color:black;                
    vertical-align: middle;
    
}
#caption>p{
    padding-left:2em;
}
/*Titel und Titelbild*/
#banner {
    /*display:inline;
    float:right;width: 100em;
    background-image: url("./BilderHoch/HD-Schloß(Klein).jpg");
     */
    background-image: url("./Banner/HDBrücke1600*500.jpg"); 
    margin-left: 0em;
    margin-top:-3.3em; /*Titelbild wird unters Logo geschoben */
    height: 30em; /*Höhe des Titelbildes*/
    background-repeat: no-repeat;
    background-position: center;
    background-color: aliceblue;
    color:white;
}


#Monatstrennung {
    position:relative;
    width: 100%;
    background-color:#CEE3F6;
    color:black;
    font:100% sans-serif;
    font-weight:bold; 
    font-size:20px;
    padding:10px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left:-0.5em; 
}

#Tagestrennung {
    display: block;
    position:relative;
   
    height:2px;
    background-color:darkgrey;
    color:red;

    padding:0px;
    margin-top: 0px;
    margin-left:0px; 
}

hr{

  border: 1px solid darkgrey;

}   

/*Positioniert Nav unter dem Titelbild*/
nav{
    position:relative;
    left:0em;
    top:0em;

    display: inline-block;
    list-style: none;
    /*height: 45px;*/
    border-top: solid 0.1px rgb(124, 123, 123);
    max-width: 80%;
    margin: 0px;
    text-decoration: none;
}

.hm {
    position: relative;
    margin:0;
    padding: 5px;

}

nav li > ul {
    display: none;
    background-color: rgb(240, 240, 240);
    border: 1px solid gray;
    border-radius: 0px 10px 10px 10px;
    box-shadow: 3px 3px 5px rgba(10,10,10,0.4); 
}

nav li:hover {
    position: relative;
}


nav li:hover > ul {
    /* Untermenue Position*/
    display:block;
    position: absolute;
    /*
    padding-left:2em;
    margin-top: 2px; */

    top: 1em;
    left: 1.5em;
    width: 18em;
    list-style: none;  
    z-index: 10;     
}

nav li:hover > ul > li {

    display:block;
    width: 16em;
    padding-left: 1px;

}


nav li {
    display: inline;
    float:left;

}

.hm > li {

    box-shadow: 3px 3px 5px rgba(10,50,50,0.4); 
    padding-left: 5px;
    padding-right: 5px;
    margin-right: 5px;
    margin-top: 0px;
    line-height: 1em; 

}

nav li:hover {
    background:#CEE3F6; 

}

nav li a:link, nav li a:visited {
    display: inline-block;
    /*width: 10em;*/
    padding: 0.2em;
    color: rgb(20, 20, 20);
    text-decoration: none;
}

nav {
    width: 100%;
    background-color: transparent;

}
nav ul{
    list-style: none;
    float: left;
    width: 100%;
    
}
nav ul li{
    float: left;
    padding: 5px 30px;
    text-align: center;
    background-color: white;
}

.burgericon {
    width: 30px;
    height: 30px;
    display: none;
}
.burgericon div {
    width: 90%;
    margin: 7px 5%;
    height: 3px;
    background-color: black;
}

#navigation {
    opacity: 0;
}
#navigation:checked ~ ul {
    display: block;

}
#navigation:checked ~ label .burgericon {
    margin-top: 15px;

}
#navigation:checked ~ label .burgericon div:first-of-type{
    rotate: 45deg;
}
#navigation:checked ~ label .burgericon div:last-child{
    rotate: -45deg;
    margin-top: -10px;
}
#navigation:checked ~ label .burgericon div:nth-child(2){
    display: none;
}

footer {
    position:fixed;
    float:left;
    bottom: 0;
    width: 100%;
    background-color:rgb(0, 0, 71);
    height: 1.5em;
    margin-left:-0.5em;
    color: white;
    
}    
footer>section{
    text-align: center;
    padding-top: 0.2em;

}


@media only screen and (min-width: 480px) and (max-width:1024px) {


    body{
        
        background-color:rgb(255, 236, 218);
    }
            /*Titel und Titelbild*/
    #banner {
        /*display:inline;
        float:right;width: 100em;
        background-image: url("./BilderHoch/HD-Schloß(Klein).jpg");
        */
        background-image: url("./Banner/HDBrücke1600*500.jpg"); 
        margin-left: 0em;
        margin-top:-5%; /*margin-top:-3.3em; Titelbild wird unters Logo geschoben */
        
        height: 30em; /*Höhe des Titelbildes*/
        background-repeat: no-repeat;
        background-position: center;
        color:white;
    }
    /*Titeltext*/
    #banner span {

        display:block;
        position:relative;
        /*float:left;*/
        font-size: 2.5em;
        font-weight: bold;
        color: white;
        margin-left:2%;
        top: 9em;
    
    }
    article{
        display:inline-block;

        width:auto;
        columns: 2 auto;


    }

}

@media only screen and (min-width: 1025px) {


    body{

        background-color:aliceblue;
    }
    #banner {
        /*display:inline;
        float:right;width: 100em;
        background-image: url("./BilderHoch/HD-Schloß(Klein).jpg");
        */
        background-image: url("./Banner/HDBrücke1600*500.jpg"); 
        margin-left: 0em;
        margin-top:-2.7%; /*margin-top:-3.3em; Titelbild wird unters Logo geschoben */
        
        height: 30em; /*Höhe des Titelbildes*/
        background-repeat: no-repeat;
        color:white;
    }
    /*Titeltext*/
    #banner span {

        display:block;
        position:relative;
        /*float:left;*/
        font-size: 3em;
        font-weight: bold;
        color: white;
        margin-left:2%;
        top: 8em;
    
    }
    article{
        display:inline-block;

        width:auto;
        columns: 3 auto;


    }

}

@media only screen and (max-width: 480px) {


    body{
    position:relative;    
    background-color: white;

    }
    Liste{
        width: 480px;
        margin-left: 3em;

    }



    .burgericon {
            display: block;

    }

    nav ul li{
            width: 100%;
            padding: 15px 0px;
    }     

    nav ul {
            display: none;
    }



    /*Titel und Titelbild*/
    #banner {
        /*display:inline;
        float:right;width: 100em;
        background-image: url("./Banner/HDBrücke1600*500.jpg"); */
        
        /*background-image: url("./BilderHoch/HD-Schloß(Klein).jpg");
        background-image: url("./BilderHoch/AlteBrücke (klein).jpg");*/
        background-image: url("./BilderHoch/Blick vom Schloß (klein).jpg");
        
        background-size: 480px auto;
        margin-left: 0em;
        margin-top:-5%; /*Titelbild wird unters Logo geschoben */
        /*width: 450px;
        height: 30em; 
        background-repeat: no-repeat;
        */
        /*Höhe des Titelbildes*/
        color:white;
    }
    /*Titeltext*/
    #banner span {

        display:block;
        position:relative;
        /*float:left;*/
        font-size: 2em;
        font-weight: bold;
        color: white;
        margin-left:2%;
        top: 12em;
    
    }

}






