/*
Theme Name: Silkscreen
Theme URI: https://edaustin.co.uk
Author: Ed Austin
Author URI: https://edaustin.co.uk
Description: Custom one-page theme for Silkscreen.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silkscreen
*/

@font-face {
    font-family: 'MonoExtrafett';
    src: url('fonts/SöhneMono-Extrafett.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GaramondItalic';
    src: url('fonts/EBGaramond-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'MonumentGrotesk';
    src: url('fonts/ABCMonumentGroteskSemi-Mono-Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    font-family: 'MonumentGrotesk', sans-serif;
    overflow-x: hidden;
}

/* Logo */
.logo-top-left {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}

.logo-top-left img {
    width: 20vw;
    max-width: 500px;
    height: auto;
}

/* Slideshow Section */
.slideshow {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0;
    z-index: 1;
}

/* Invert Mask */
.invert-mask {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90vw;
    max-width: 800px;
    height: 500px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    backdrop-filter: invert(100%);
    background: rgba(0, 0, 0, 0);

    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center;

    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}


/* Bottom Left Text Overlay */
.text-bottom-left {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    color: #f6f0b0;
}

.text-bottom-left p {
    font-size: 18px;
}

.text-bottom-left .bold {
    font-family: 'MonoExtrafett';
}

.text-bottom-left .date {
    font-family: 'GaramondItalic';
}

/* Bottom Section */
.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    width: 100%;
    background-color: black;
}

.bottom .left {
    max-width: 60%;

    p {
        color: white;
        line-height: 180%;
    }
}

.bottom .right {
    text-align: right;
}

.bottom .right a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
    /* space between icons */
    align-items: center;
    justify-content: end;
}

.social-icons img {
    width: 24px;
    /* or whatever size you want */
    height: 24px;
    display: block;
}


@media (max-width: 800px) {
    .logo-top-left img {
        width: 40vw;
        max-width: 500px;
        height: auto;
    }

    .slideshow {
        width: 100vw;
        height: 93vh;
        position: relative;
        overflow: hidden;
    }

    .bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 40px;
        width: 100%;
        background-color: black;
    }

    .bottom .left {
        width: 100%;
        order: 2;
        max-width: 100%;

        p {
            color: white;
            line-height: 180%;
        }
    }

    .bottom .right {
        order: 1;
        text-align: left;
        width: 100%;
    }

    .bottom .right a {
        display: block;
        color: white;
        text-decoration: none;
        margin-bottom: 10px;
    }
    .social-icons {
    justify-content: start;
}

}