/** Aufbau
1 Typografie
2 Basic Styleling
3 Interaktive Elemente
4 Navigation
5 Bilder
6 Media Queries
6.1 Typografie

**/

/* 1 Typografie */
 


/* Nueva Std Regular 400*/

/* Nueva Std Bold 700*/

/* Nueva Std Bold Condensed Italic 700*/

/* Nueva Std Bold Condensed 700 */

nav, a, aside p {
    font-family: nueva-std, serif;
    font-style: normal;
    font-weight: 400;
    color: #3f2b29;
    font-size: 1rem;
}

.main-ul, p {
    font-family: Tahoma, sans-serif;
}

main p:last-of-type {
    margin-bottom: 26px; 
}

aside p {
    line-height: 1.3;
    margin: 0;
}


h1, .h1, .greetings {
    font-family: nueva-std-condensed, serif;
    font-weight: 700;
    font-style: italic;
    color: #B7152A;

}

h1, .h1 {
    text-shadow: 2px 2px 0px #fff;
    font-size: 33px;
}

.greetings {
    width: 80%;
    letter-spacing: 0.5px;
}

header h1 {
    text-shadow: none;
    letter-spacing: 1px;
    text-align: center;
    padding-bottom: 25px;
    line-height: 33px;
}

h2, .h2 {
    font-family: nueva-std-condensed, serif;
    font-weight: 700;
    font-style: normal;

    font-size: 25px;
}

aside h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2, .h2 {
    font-size: 19px;
}

header h1 {
    color: #FBDDBF;
    line-height: 1;
    margin: 1.375rem 0 1.625rem;
}

p, .main-ul {
    font-size: 15px;
}

.main-ul {
    list-style-type: none;
}

.main-ul li+li {
    margin-top: 6px;
}

.main-ul li:before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #B7152A; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}

/* 2 Basic Styleling */

body {
    background: #FBDDBF;
}

header {
    background: #B7152A;
}

main {
    margin-top: 1.625rem;
    margin-bottom: 2.625rem;
}

footer {
    border-top: 2px solid #B7152A;
}

.map-container {
    height: 40vh;
}


/* 3 Interaktive Elemente */

a, aside p {
    font-weight: 700;
    color: #B7152A;
}

a {
    color: #B7152A;
}

aside p {
    color: #3f2b29;
}

a:hover, a:focus {
    color: #B7152A;
    border-bottom: 2px solid #B7152A;
}

.close-button {
    font-size: 2em;
    line-height: 1;
    color:#B7152A;
    cursor: pointer;
    position: fixed;
    right: 1rem;
    top: 1rem;
} 

/* 5 Bilder */

#logo {
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 500;
    width: 118px;
    margin-bottom: -45px;

}

/* Interaktive Elemente */


* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* 4 Navigation */

aside nav ul {
    font-weight: 700;
    margin: 0;
    list-style-type: none;
    text-transform: uppercase;
    margin-top: 1.625rem;
}

aside nav ul li {
    line-height: 1;
    cursor: pointer;
    padding: 10px 6px;
    border: 2px solid #B7152A;
    display: inline-block;
}

aside nav ul li:hover, aside nav ul li:active {
    background: #B7152A;
    color: #FBDDBF;
}




/* 6 Media Queries */


@media screen and (min-width:580px) {
    /* 1 Typografie */
    
    nav, p, a, .main-ul, aside p {
        font-size: 1.1875rem;
    }
    
    header h1 {
        line-height: 2.25rem;
    }
    
    h1, .h1 {
        /* h2-size * 1,618 /1,2 */
        font-size: 2.5625rem;
    }       
    
    h2, .h2 {
        /* font-size * 1,618 */
        font-size: 1.9375rem;
    }    
    
    h3, .h3 {
        /* font-size *1,2 */
        font-size: 1.4375rem;
    }
    
    .main-ul {
        max-width: 70%;
    }
    
}



@media screen and (min-width:64em) {
    
    
    /*    
    1 Typografie
    2 Basic Styleling
    3 Interaktive Elemente
    4 Navigation
    5 Bilder
    */
    
    
    /* 1 Typografie */
    
    nav, p, a, .main-ul, aside p {
        font-size: 1.4375rem;
    }
    
    header h1 {
        line-height: 3.8125rem;
    }    
    
    h1, .h1 {
        /* h2-size * 1,618 /1,2 */
        font-size: 4.5rem;
    }       
    
    h2, .h2 {
        /* font-size * 1,618 */
        font-size: 2.3125rem;
    }    
    
    h3, .h3 {
        /* font-size *1,2 */
        font-size: 1.75rem;
    }
    /*2 Basic Styleling   */ 
  
    
    /*5 Bilder */
    
    #logo {
        width: 310px;
        margin-bottom: -118px;
    }    
}