body {
    margin: 0;  
    font-family: "Inter", serif;
}

.wrapper {
    max-width: 1440px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.fullview {
    width: 100%;
    height: 100vh;
}

.flex1 {
    flex: 1;
}

.content {
    background-color: rgba(255,255,255,1);
}

.nav {
    width: 100%;
    height: 100px;
    background: rgb(100,155,210);
    background: linear-gradient(180deg, rgba(100,155,210,1) 0%, rgba(255,255,255,1) 100%);
}

.footer {
    width: 100%;
    height: 100px;
    background-color: black;
    color: white;

}

.footer_wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.footer a {
    color: white;
    text-decoration: none;
}

.logo {
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap:10px;
}

.logo_svg {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.logo_text {
    font-size: 36px;
    font-family: "Smooch Sans", serif;
    font-weight: bold;
}

.content_titel {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 48px 0;
    gap: 32px;
}

.content_titel h1 {
    font-size: 5vw;
}

.content_titel h3 {
    font-weight: 300;
    font-size: 3vw;
}

.content_titel h1, h3 {
    margin: 0;
}

.footer_links {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bilderinhalt {
    width: 100%;
    min-height: 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    grid-column-gap: 16px;
    grid-row-gap: 16px;
}

.gallery_padding {
    padding: 40px 200px;
}

.bilderinhalt  > div {
    aspect-ratio: 1 / 1;
  }
 

.flex-rows {
    display: flex;
    flex-direction: row;
}

.flex-columns {
    display: flex;
    flex-direction: column;
}

.gallery_preview {
    background-color: rgb(206, 206, 206);
    border: 2px solid rgb(92, 92, 92);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
}

.gallery_foto {
    object-fit: cover;
    width: 100%;
    height: 100%;
    scale: 1;
    transition: all ease-out 0.2s;
}

.gallery_foto:hover {
    scale: 1.1;
}

.dialog {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.90);
}

.no_scroll {
    overflow-y: hidden;
}

.dialog-content {
    margin: auto;
    height: 100vh;
    width: 100%;
    max-width: 1000px;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#dialog button {
    background-color: rgba(172, 68, 68, 0);
    border: 2px solid rgb(255, 255, 255);
    color: white;
    cursor: pointer;
}


#dialog {
    transition: opacity ease-in 0.35s, visibility ease-in 0.35s;
}
#dialog.hidden {
    visibility: hidden;
    opacity: 0;
}

#dialog:not(.hidden) {
    visibility: visible;
    opacity: 1;
}

.dialog-x {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.337);
}

#dialog-img {
    height: fit-content;
    max-width: 100vw;
    max-height: 100vh;
}

.dialog-buttons {
    z-index: 10;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.337);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

#imageNumber {
    color: white;
}

.dialog-buttons button {
    padding: 5px;
    width: 30px;
}

.dialog-wrapper {
    height: 100%;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.dialog-x button {
    aspect-ratio: 1/1;
    margin: 8px;
}

.underline_animated a {
    color: inherit;
    text-decoration: none;
}

.underline_animated a {
    display: block;
    position: relative;
    padding: 0.2em 0;
}

.underline_animated a::after {
        content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: white;
    opacity: 0;
    transition: opacity 300ms, transform 300ms;
}

.underline_animated a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: white;
    opacity: 0;
    transition: opacity 300ms, transform 300ms;
}

.underline_animated a:hover::after,
.underline_animated a:focus::after {
    opacity: 1;
    transform: translate3d(0, 0.2em, 0);
}

/* Slide in */
.underline_animated a {
    overflow: hidden;
}

.underline_animated a::after {
    opacity: 1;
    transform: translate3d(-100%, 0, 0);
}

.underline_animated a:hover::after,
.underline_animated a:focus::after{
    transform: translate3d(0, 0, 0);
}

.underline_animated_black a {
    color: inherit;
    text-decoration: none;
}

.underline_animated_black a {
    display: block;
    position: relative;
}

.underline_animated_black a::after {
        content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: black;
    opacity: 0;
    transition: opacity 300ms, transform 300ms;
}

.underline_animated_black a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: black;
    opacity: 0;
    transition: opacity 300ms, transform 300ms;
}

.underline_animated_black a:hover::after,
.underline_animated_black a:focus::after {
    opacity: 1;
    transform: translate3d(0, 0.2em, 0);
}

/* Slide in */
.underline_animated_black a {
    overflow: hidden;
}

.underline_animated_black a::after {
    opacity: 1;
    transform: translate3d(-100%, 0, 0);
}

.underline_animated_black a:hover::after,
.underline_animated_black a:focus::after{
    transform: translate3d(0, 0, 0);
}


@media (max-width: 920px) {
    .gallery_padding {
        padding: 40px 100px;
    }

    .bilderinhalt {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-column-gap: 16px;
        grid-row-gap: 16px;
    }
}

@media (max-width: 600px) {
    .content_titel h1 {
        font-size: 7vw;
    }
   
    .content_titel h3 {
        font-size: 5vw;
    }
}

@media (max-width: 500px) {
   
    .gallery_padding {
        padding: 40px 40px;
    }

}

