/* Allgemeine Styles */
body {
    background-color: rgb(210, 210, 210);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header,
nav,
main,
footer {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* Header Styles */
header {
    background-color: #333;
    color: #fff;
    background-image: url(images/TR_10.jpg);

}

header div {
    display: inline-table;

}

/* Navigationsmenü Styles */
nav {
    background-color: #555;
    color: #fff;
}

 nav img {
    display: none;
  }

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

a {
    color: #0000dd;
    text-decoration:underline;
}

/* Hauptinhalt Styles */
main {
    max-width: 900px;
    margin: auto;
    background-color: #f6f0f0;
    color: #333;
}

section {
    margin-bottom: 20px;
 /*  padding-right: 20px; 
   /* Durch Auskommentieren von "paddding-right : 20px wird die seite besser zentriert */
}

/*main-div*/
.x{
    max-width: 700px;
    margin: auto;     
}

/*main-divs for gal.html und kon.html*/
.y{
    max-width: 700px;
    margin: auto; 
    text-align: center;   
}

.y div{
    display: inline-block;
    margin-right: 10px;
    padding-bottom: 10px;
 }

/* kontakt */
.z{
    border-style:solid; border-width:thin;
}

/* Bildgroesse in Kontakt */
.z img{
    width: 200px; height: 267px;
}

/* Footer Styles */
footer {
    background-color: #555;
    color: #fff;
    text-align: center;
    padding-top: 1px;
    padding-bottom: 1px;
}

/* Responsive Anpassungen */
@media only screen and (max-width: 600px) {

    /* Header Anpassungen */
    header {
        padding: 10px;
        text-align: center;
    }

    /* Navigationsmenü Anpassungen */
    nav {
        padding: 10px;
        text-align: center;
    }

    nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    /* Hauptinhalt Anpassungen */
    main {
        padding: 10px;
    }

    /* Footer Anpassungen */
    footer {
        padding: 10px;
    }

    .toggle-div {
        display: none;
        padding: 10px;
      }
      
      #toggle-img {
        display: block;
        cursor: pointer;
        width: 24px;
        height: 24px;
      }
}


/*styles for gal.html*/
.thumbnail {
    width: 200px;
    height: auto;
    overflow: hidden;
    display: inline-block;
    margin: 10px;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    display: block;
    margin: 10% auto;
    width: 100%;
    max-width: 700px;
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
}

.close {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
}
