/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
    list-style: none;
    line-height: 1.6;
    box-sizing: border-box;
}
/* universal selector */

* {
 margin: 0;
 padding: 0;
 scroll-behavior: smooth;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 text-decoration: none;
 list-style: none;
 line-height: 1.6;
 box-sizing: border-box;
}
/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-family: "osward", fantasy;
    line-height: 1.2;
}

/* BODY */
body {
    font-family: "Goudy Old Style", serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    color: #222;
    background-color: #f4f4f4;
}

/* HEADER */
header {
    width: 100%;
    background-color: #FFFFFF;
    padding: 0.5em 5%;
    position: relative;
    z-index: 10;
}

/* CONTAINER */
.container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1em;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    width: 8em;
    max-width: 100%;
    height: auto;
}

/* NAVIGATION */
.navbar {
    margin-left: auto;
}

.navbar ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5em;
    list-style: none;
}

.navbar a {
    display: block;
    padding: 0.5em;
    color: white;
    width: 8em;
    font-family: "Goudy Old Style", serif;
    font-size: 1.1em;
    background-color: #001E13;
    border-radius: 3.125em;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* NAVIGATION PSEUDO-CLASSES */
.navbar a:hover {
    color: #7B1C1C;
}

.navbar a:focus-visible {
    outline: 0.15em solid #7B1C1C;
    outline-offset: 0.2em;
}

/* MENU TOGGLE BUTTON */
.menu-toggle {
    display: none;
    padding: 0.4em 0.6em;
    margin-left: auto;
    background-color: transparent;
    border: 0.1em solid #001E13;
    color: #001E13;
    font-size: 1.5em;
    cursor: pointer;
    position: relative;
}

.menu-toggle:hover {
    color: #7B1C1C;
    border-color: #050505;
}

.menu-toggle:focus-visible {
    outline: 0.15em solid #001E13;
    outline-offset: 0.2em;
}

/* MOBILE MEDIA QUERY */
@media screen and (max-width: 40em) {

    .container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        display: none;
        width: 100%;
        margin-left: 0;
    }

    .navbar.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 1em 5%;
        z-index: 10;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5em;
        padding-top: 0;
    }

    .navbar a {
        display: block;
        width: 100%;
        padding: 0.75em;
    }
}

/* BANNER */
.banner {
    background-image: url("./images/scarywindow.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em 5%;
    color: #7B1C1C;
    position: relative;
    text-align: center;
}

/* BANNER CONTAINER */
.banner-container {
    width: 100%;
    max-width: 70em;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* BANNER CONTENT */
.banner-content {
    padding: 2em;
}

/* MAIN BANNER HEADING */
.banner h1 {
    font-size: 3.5em;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

/* SECOND BANNER HEADING */
.banner h2 {
    font-size: 2em;
    font-weight: normal;
}

/* BANNER RESPONSIVE MEDIA QUERY */
@media screen and (max-width: 40em) {

    .banner {
        min-height: 70vh;
        padding: 2em 1em;
    }

    .banner-content {
        padding: 1em;
    }

    .banner h1 {
        font-size: 2.3em;
    }

    .banner h2 {
        font-size: 1.6em;
    }
}

.subscribe-button {
    width: 12em;
    height: 5em;
    background-color: #8B0000;
    color: white;
    font-size: 1.2em;
    font-family: "Bloody Camp", serif;
    border: none;
    cursor: pointer;
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
}