/* --------------  Allgemeine Konfigurationen --------------  */
*, *:before, *:after {
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    margin:0;padding:0
}

body{
    background: #f6f6f6;
    line-height:1.5;
    font-family:sans-serif;
    font-size:18px;
    color:#fff;
}

a{
    text-decoration:none;
    color:#fff;
}

h1 {
    color: #ca981a;
    font-weight: 400;
    text-shadow: 3px 3px 8px #3b3b3a3c;
    font-size: 1.9em;
    margin-bottom: 4vh;
}

h2 {
    font-size: 1.4em;
    font-weight: 300;
    border-bottom: solid 1px #333;
    margin-bottom: 2vh;
}

h3 {
    font-size: 1.2em;
    font-weight: 200;
    margin-bottom: 1vh;
}

h4 {
    color: firebrick;
    font-size: 1.05em;
    font-weight: 350;
    margin-bottom: 1vh;
}

.blumenstrauss {
    position: fixed;
    z-index: 0;
    left: -8vw;
    top: 10vh;
    width: 400px;
    height: 100vh;
    background-image: url(../images/strauss-1.png);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.content{
    z-index: 1; 
    color:#403D31;
    width: 90vw;
    min-height: 100%;
    margin: 1vw;
    padding-left: 13vw;
    padding-top: 30vh;
}


/* -------------- Header und Logo Bereich --------------  */

#header{
    background:#596C94;
    top: -1vh;
    width:100%;
    border-bottom: 3px solid #3b3b3a;
    position: fixed;
}

#header:after{
    content:"";
    clear:both;
    display:block;
}

input{
    border:none;
    padding:10px;
    margin-top:10px;
    border-radius:20px;
}

.logo{
    float:left;
    padding:26px 0 26px;
}

.logo a{font-size:28px;
    display:block;
    padding:0 0 0 20px;
}

.logo img{
    width: 20vw;
    height: auto;
    margin-left: 15vw;
}


/* Menü */

nav{
    float:right;
    margin-top: 9%;
    text-transform:uppercase;
}

nav>ul{
    float:left;
    position:relative;
}

nav li{
    list-style:none;
    float:left;
}

nav .dropdown{position:relative;}

nav li a{float:left;padding:35px;}

nav li a:hover{color: #403D31;}

nav li ul{display:none;}

nav li:hover ul{display:inline;}

nav li li{float:none;}

nav .dropdown ul{
    position:absolute;
    left:0;top:100%;
    background:#596C94;
    padding:20px 0;
    border-left: 3px solid #3b3b3a;
    border-right: 3px solid #3b3b3a;
    border-bottom: 3px solid #3b3b3a
}

nav .dropdown li{white-space:nowrap;}

nav .dropdown li a{
    color: #fff;
    padding:10px 35px;
    font-size:13px;
    min-width:200px;
}

nav .mega-dropdown{
    width:100%;
    position:absolute;
    top:100%;left:0;
    background:#fff;
    overflow:hidden;
    padding:20px 35px;
    border-bottom:3px solid #403D31;
}

nav li li a{
    float:none;
    color:#333;
    display:block;
    padding:8px 10px;
    border-radius:3px;
    font-size:13px;
}

nav li li a:hover{
    background:#bdc3c7;
    background:#FAFBFB;
    color: #333;
}

.mega-col{
    width:25%;
    float:left;
}

#menu-icon{
    position:absolute;
    right:0;
    top:50%;
    margin-top:-12px;
    margin-right:30px;
    display:none;
}

#menu-icon span{
    border:2px solid #fff;
    width:30px;
    margin-bottom:5px;
    display:block;
    -webkit-transition:all .2s;
    transition:all .1s;
}

.leftcolumn {
  float: left;
  text-align: left;
  width: 75%;
}

.rightcolumn img{
  width: 100%;
  margin-bottom:20px;
}

.rightcolumn {
  float: left;
  width: 20%;
  padding-left: 20px;
  font-size: 0.8em;
}

/* -------------- Geschichts Page -------------- */

.history-list {
    margin-bottom: 5vh;
    width: 65%;
}

.teilnehmer li {
    margin-bottom: 0vh;
}

.history-list li{
    margin-top: 3vh;
}

.photo-container {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.photo-container img {
    width: 50%;
    height: auto;
    margin: 3vh;
    box-shadow: 1px 1px 13px #ccc;
    border: 1px solid #596C94;
}

.agenda-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.agenda-container div {
  margin-bottom: 10px; /* Beispiel für Abstand zwischen den div-Elementen */
  width: 49%;
  padding: 10px; /* Beispiel für Innenabstand innerhalb der div-Elemente */
  /*border: 1px solid #ddd;*/
}

.meeting {
  border: 1px dashed firebrick;
  font-weight: 600;
}

.meeting h4 {
  font-weight: 600;
}

.submit {
    background-color: #596C94;
    color: #FAFBFB;
    border-radius: 8px;
    transition-duration: 0.4s;
    width: 140px;
    height: 40px;
}

.submit:hover {
    background-color: #FAFBFB;
    color: #596C94;
    border: #596C94 thin solid;
}

textarea {
    width: 40vw;
    height:200px;
    border-radius:20px;
    padding:10px;
    margin-top:10px;
    border-color: white;
}

/* -------------- Bild Galerie --------------  */

.galerie-container {
    width: 100%;
}

.center {
    justify-content: center;
    text-align: center;
    align-content: center;
}

.galerie-element {
    margin: 8px;
    border: 1px solid #596C94;
    float: left;
    width: 44%;
}

.galerie-element:hover {
    box-shadow: 1px 1px 10px #ccc;
}

.galerie-element img {
    width: 100%;
    height: auto;
}

.galerie-desc {
    padding: 15px;
    text-align: center;
}

.goback {
    text-decoration:none;
    color:#403D31;
    text-align: left;
    margin: 5px;
}

.goback:hover {color: firebrick;}


/* ------------- Sponsoring ------------------ */

.sponsoring {
    display: block;
    width: 28%;
    float: left;
    margin: 5%;
}


/* -------------- Media Query's --------------  */

@media only screen and (max-width: 1170px) {
    nav >ul>li >a{
        padding:35px 15px;
    }

    .blumenstrauss {
        left: -18vw;
    }
}

@media only screen and (min-width: 980px) {
    nav{
        display:block!important;
    }


}

 /* -------------- Halber Bildschirm --------------  */
@media only screen and (max-width: 1400px) {

    .blumenstrauss {
        left: -17vw;
        top: 9vh;
        width: 400px;
        height: 100vh;
    }

}

/* -------------------- Tablets ------------------------------  */

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

    /* -------------- Allgemeine Einstellungen --------------  */
    h1 {font-size: 1.8em;}

    .logo img{width: 40vw;}

    .blumenstrauss {
        left: -23vw;
        top: 9vh;
        width: 340px;
        height: 100vh;
    }

    .rightcolumn { /* Rechte Spalte wird zur Fusszeile */
        float: left;
        width: 100%;
        padding-left: 0px;
    }

    /* -------------- Navigation --------------  */

    nav{
      display:none;
      width:100%;
      clear:both;
      float:none;
      max-height:400px;
      overflow-y:scroll;
    }

    #menu-icon{
        display:inline;
        top:45px;
        cursor:pointer;
    }

    #menu-icon.active .first{
        transform:rotate(45deg);
        -webkit-transform:rotate(45deg);
        margin-top:10px;
    }

    #menu-icon.active .second{
        transform:rotate(135deg);
        -webkit-transform:rotate(135deg);
        position:relative;
        top:-9px;
    }

    #menu-icon.active .third{display:none}

    nav{padding:10px;}

    nav ul{float:none;}

    nav li{
        float:none;
        text-align: center;
    }

    nav ul li a{
        float:none;
        padding:8px;
        display:block;
    }


    .sponsoring {
    display: block;
    width: 70%;
    float:none;
    margin: 5%;
}


    /* -------------- Kopfzeile und Logo--------------  */
    #header nav ul ul{
        display:block;
        position:static;
        background:none;
        border:none;
        padding:0;
    }

    #header nav a{
        color:#fff;
        padding:8px
    }

    #header nav a:hover{
        background:#fff;
        color:#333;
        border-radius:3px
    }

    #header nav ul li li a:before{content:"- ";}

    .mega-col{width:100%;}



    /* -------------- Geschichte --------------  */

    .history-list {width: 80%;}


    /* -------------- Gallerie Elemente --------------  */

    .galerie-element {margin: 10px 0px 10px 0px; width: 100%;}

    .goback {text-align: center;}
}



/* -------------- Mobile Device Hochformat --------------  */

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

  .logo img{width: 50vw;}

  /* Blog Bereich auf Mobile Device Anpassen */
  .leftcolumn {
    float: left;
    width: 100%;
  }

  .leftcolumn img{
    width: 40%;
    margin-bottom:20px;
  }

  .rightcolumn { /* Rechte Spalte wird zur Fusszeile */
    float: left;
    width: 100%;
    padding-left: 0px;
  }

    .blumenstrauss {
        left: -48vw;
        top: 12vh;
        height: 750px;
    }

    .content {
        text-align: center;
        justify-content: center;
        font-size: 1.2em;
        padding-left: 20vw;
    }

    .history-list {
        width: 100%;
        justify-content: center;
    }

    .teilnehmer li {
        margin-bottom: 0vh;
    }

    .history-list li{
        margin-top: 3vh;
    }

    .photo-container {
        width: 70vw;
    }

    .photo-container img {width: 100%;}

    .agenda-container {
        width: 100%;
    }

    .agenda-container div {
      width: 95%;
      padding: 20px;
    }

    textarea {width: 100%;}

    button {
        width: 100%;
    }
}
