@import url("https://use.typekit.net/oeu7lrf.css");
.menu {
    padding: 5px 2em;
    font-size: 2em;   
    display: flex;
    justify-content: flex-start;
    align-content: space-between;
    
}
.both {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    justify-self: stretch;
    border-style: solid none; 
}
i {
    margin: auto 10px auto 2px;
}
.Kopfzeile {
    font: bold 50px soleil, sans-serif;
    padding-left: 1em;
    padding-bottom: 1em;
    margin: 20px 0px 0px 0px;
}
.inhalt {
    padding: 1em;
    font-size: 2em;
}
.image {
    display: block;
    max-height: 100%;
    max-width: 100%;
    object-fit: fill;
}
.auswahl{
    display: flex;
    margin: 3em auto auto auto;
    justify-content:space-between;
    max-width: 800px;
}
#gallery {
    margin: 2em 5% 0px 5%;
    font-size: 2em;
    background-color: lightgray;
    border-radius: 10px 0px;
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    flex-direction: row;
    align-self: stretch;
}
.eintrag {
    position: relative;
    max-width: 100%;
    margin: 1em;
}
.eintrag:hover .text {
    opacity: 0.7;
    transition: opacity 2s cubic-bezier(0, 0, 0, 1);
}
.text{
    color: white;
    background-color: grey;
    opacity: 0;
    font-size: 20px;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    align-self: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
.column{ 
    display: flex;
    flex: 50%;
    padding: 0 4px;
}
a {
    text-decoration: none;
    color: black;
}
a.link {
    border: 2px black ;
    font-family: rigatoni, sans-serif;
    padding: 7px;
    border-radius: 15px;
}
.link:hover {
    background-color: black;
    color: white;
    transition: color 0.5s ease-out;
    transition: background-color 0.5s ease-out;
}
.einleitung {
    font-family: menco, sans-serif;
}
#text{display: none;}
@media screen and (min-width: 720px) {
    i{visibility: hidden;}
    a.link:not(.not){display: block;}
    .eintragSuche{margin: 20px; border-radius: 10px;}
    .inhalt{margin: 1em 2px 0px 2em;}
}
@media screen and (max-width: 720px) {
    a.link:not(.not){display: none;}
    .menu{padding: 5px 0.5em; flex-direction: column;}
    #gallery {margin: 2em 0px; border-radius: 0px;}
    .eintragSuche {margin: 0px; border: 0px;}
    .inhalt{margin: 1em 0px 0px 0px;}
}
@media screen and (max-width: 900px) {
    #gallery{
        justify-content: center;}
}
.smallPic{
    height: 100px;
    width: auto;
    object-fit: cover;
}
.name{
    color: black;
}
.eintragSuche{
    background-color: rgb(142, 148, 155);
    padding: 10px;
    display: flex;
    justify-content: stretch;
    align-self: stretch;
    flex-direction: column;
}
.complex{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}