@charset "utf-8";

@font-face {
    font-family: 'Prata';
    src: url('../fonts/Prata-Regular.ttf')
}
@font-face {
    font-family: 'LibreCaslonDisplay';
    src: url('../fonts/LibreCaslonDisplay-Regular.ttf')
}
@font-face {
    font-family: 'PTSans';
    src: url('../fonts/PTSansNarrow-Regular.ttf')
}

body {
    overflow: hidden;
    color: #000;

    h1 {
        font-family: 'LibreCaslonDisplay';
    }
    p {
        font-family: 'PTSans';
    }
    a {
        color: #000;
    }

    header {
        width: 100%;
        position: fixed;
        top: 0px;
        z-index: 10;

        .container {
            padding: 40px 40px;

            .flex-content {
                width: 100%;
                height: auto;
                clear: both;
                display: flex;
                align-items: center;
                justify-content: space-between;

                .logo {
                    box-sizing: border-box;

                    img {
                        width: 130px;
                    }
                }

                .menu {
                    a {
                        font-family: 'LibreCaslonDisplay';
                        font-weight: 700;
                        font-size: 24px;
                    }
                }
            }
        }
    }

    footer {
        width: 100%;
        position: fixed;
        bottom: 0px;
        z-index: 10;

        .container {
            padding: 40px 40px;

            .flex-content {
                width: 100%;
                height: auto;
                clear: both;
                display: flex;
                align-items: center;
                justify-content: space-between;

                .credits {
                    p {
                        color: #ccc;
                        margin-bottom: 0;
                    }
                }
            }
        }
    }

    .main {
        width: 100%;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        float: left;
        position: relative;

        .background {
            position: absolute;
            top: 0px;
            bottom: 0px;
            left: 0px;
            right: 0px;

            .image {
                background-image: url('../images/kd-bg.jpg');
                position: absolute;
                top: 0px;
                bottom: 0px;
                left: 0px;
                right: 0px;
                background-repeat: no-repeat;
                background-size: cover;
                background-position: 75% 100%;
            }
        }

        .container {
            max-width: 1290px;
            margin-left: auto;
            margin-right: auto;
            height: auto;
            padding: 0px 40px;
            position: relative;
            clear: both;

            .flex-content {
                transition: ease-in-out all .25s;
                max-width: 800px;
                min-height: 100vh;
                min-height: -webkit-fill-available;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                h1 {
                    font-size: 74px;
                }
                h1, p {
                    margin-bottom: 15px;
                }
                h1, p:not(.credit-line), img {
                    filter: invert(1);
                    mix-blend-mode: difference;
                }

                .flex-inner {
                    box-sizing: border-box;
                    transition: ease-in-out all .25s;

                    ul.socials {
                        padding-top: 5px;
                        margin-bottom: 15px;
                        list-style-type: none;
                        display: flex;
                        align-items: left;
                        gap: 12px;
                        
                        li img {
                            min-width: 25px;
                            max-width: 40px;
                        }
                    }

                    .contact {
                        margin-bottom: 20px;

                        a {
                            font-family: 'LibreCaslonDisplay';
                            font-weight: 700;
                            font-size: 24px;
                            filter: invert(1);
                            mix-blend-mode: difference;
                            text-decoration: underline;
                        }
                    }

                    .credits {
                        p {
                            color: #ccc;
                            margin-bottom: 0;
                        }
                    }
                }
            }
        }
    }
}

@supports (height: 100svh) {
    body {
        .main {
            min-height: 100svh;

            .container {
                .flex-content {
                    min-height: 100svh;
                }
            }
        }
    }
}

@media only screen and (max-width: 1850px) {
    body {
        .main {
            .container {
                .flex-content {
                    max-width: 600px;

                    .credits {
                        display: none;
                    }
                }
            }
        }
        footer {
            display: block;
        }
    }
}

@media only screen and (max-width: 768px) {
    body {
        .main {
            .container {
                .flex-content {
                    justify-content: end;

                    .flex-inner {
                        padding-bottom: 40px;

                        .credits {
                            display: block;
                        }
                    }
                }
            }
        }
        footer {
            display: none;
        }
    }
}