:root {
    --clr_main:#ed1b24;
    --clr_font:#ffffff;
}

/* --- Comic Neue Regular --- */
@font-face {
  font-family: 'Comic Neue';
  src: url('../fonts/ComicNeue-Regular.woff2') format('woff2');
  font-weight: 400; /* 'normal' entspricht 400 */
  font-style: normal;
  font-display: swap;
}

/* --- Comic Neue Italic --- */
@font-face {
  font-family: 'Comic Neue';
  src: url('../fonts/ComicNeue-Italic.woff2') format('woff2');
  font-weight: 400; /* 'normal' entspricht 400 */
  font-style: italic;
  font-display: swap;
}

/* --- Comic Neue Light --- */
@font-face {
  font-family: 'Comic Neue';
  src: url('../fonts/ComicNeue-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --- Comic Neue Light Italic --- */
@font-face {
  font-family: 'Comic Neue';
  src: url('../fonts/ComicNeue-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* --- Comic Neue Bold --- */
@font-face {
  font-family: 'Comic Neue';
  src: url('../fonts/ComicNeue-Bold.woff2') format('woff2');
  font-weight: 700; /* 'bold' entspricht 700 */
  font-style: normal;
  font-display: swap;
}

/* --- Comic Neue Bold Italic --- */
@font-face {
  font-family: 'Comic Neue';
  src: url('../fonts/ComicNeue-BoldItalic.woff2') format('woff2');
  font-weight: 700; /* 'bold' entspricht 700 */
  font-style: italic;
  font-display: swap;
}

body {
    margin: 0px;
    background-image: url("../img/background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100svh;
    overflow: hidden;
    font-family: 'Comic Neue', sans-serif;
    font-weight: 400;

    &.text {
        height: auto;
        overflow-y: scroll;
        main {
            margin-bottom: 50px;
            section {
                width: 90%;
                background: color(srgb 1 1 1 / 0.8);
                border-radius: 20px;
                padding: 25px;
                backdrop-filter: blur(5px);
                margin-bottom: 50px;
            }
        }
    }

    .hidden_headline {
        visibility: hidden;
        overflow: hidden;
        clip: rect(0 0 0 0);
        height: 1px;
        width: 1px;
        margin: -1px;
        padding: 0;
        border: 0;
    }

    main {
        display: flex;
        height: calc(100% - 150px);
        justify-content: center;
        align-items: center;
        margin-top: 50px;
        .image-gallery {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            border-radius: 100%;
            @media (min-width: 1024px) {
                flex-direction: row;
                justify-content: space-around;
            }
            @media (min-width: 1280px) {
                flex-direction: row;
                justify-content: space-between;
                width: 100%;
                max-width: 1300px;
            }
            .gallery-image {
                height: 47.5%;
                width: 95%;
                margin: 0;
                transition: all 250ms linear;
                border-radius: 100%;
                @media (min-width: 1024px) {
                    width: 47.5%;
                }
                img {
                    object-fit: contain;
                    object-position: center;
                    width: 100%;
                    height: 100%;
                    aspect-ratio: 1 / 1;
                    border-radius: 100%;
                }
            }
            .gallery-image:hover,
            .gallery-image:focus {
                transform: rotate(15deg) scale(1.05);
                filter: grayscale(0.5);
            }
            .gallery-image:focus {
                outline: 5px solid var(--clr_main);
            }
        }
    }

    footer {
        position: fixed;
        width: 100%;
        height: 50px;
        bottom: 0;
        background-color: var(--clr_main);
        color: var(--clr_font);
        display: flex;
        align-items: center;
        nav {
            width: 100%;
            ul {
                display: flex;
                gap: 10px;
                justify-content: center;
                margin: 0px;
                padding: 0px;
                li {
                    list-style: none;
                    a {
                        color: inherit;
                        text-decoration: none;
                    }
                    a:hover,
                    a:focus {
                        text-decoration: underline;
                    }
                }
            }
        }
    }

}

