@font-face {
    font-family: "Trickster Regular";
    src: local("Trickster Regular"),
        url("Trickster-master/Trickster-master/fonts/Trickster-Reg.otf") format("opentype");
}

@font-face {
    font-family: "Averia Sans Libre Light";
    src: local("Averia Sans Libre Light"),
        url("Averia_Sans_Libre/AveriaSansLibre-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Averia Sans Libre Light Italic";
    src: local("Averia Sans Libre Light Italic"),
        url("Averia_Sans_Libre/AveriaSansLibre-LightItalic.ttf") format("truetype");
}

body {
    background: #f5f4f3;
    color: #353625;
    text-align: justify;
    font-size: 16px;
    line-height: 1.4;
    font-family: "Calibri", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;

}

ul {
    list-style-type: "\2737   ";
}

ul>li::marker {
    margin-right: 20px;
}

hr {
    color: #116658;
    width: 10dvh;
    size: 2px;
}

/* Containing block for the entire website's contents. Wrap inside this to control margins and overflow on mobile browsers. */
#content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100dvh;
    min-width: 100dvw;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Containing block for header, footer, and main content - but NOT the top and bottom banner images. Applies margins. */
#header-footer-main-container {
    position: relative;
    margin-top: 10dvh;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10dvh;
    min-height: 80dvh;
    max-width: 73%;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

main {
    & a:link {
        color: #b04830;
        text-decoration: none;
    }

    & a:visited {
        color: #b04830;
    }

    & a:focus {
        text-decoration: none;
    }

    & a:hover {
        text-decoration: underline;
        color: #b04830;
    }

    & a:active {
        text-decoration: none;
        color: #b04830;
    }
}

header {
    grid-row: 1 / 2;
    display: grid;
    justify-items: end;
    grid-template-columns: auto 1fr;
    border-bottom: 2px solid #116658;
    margin-bottom: 30px;

    & a:link {
        color: #353625;
        text-decoration: none;
    }

    & a:visited {
        color: #353625;
        text-decoration: none;
    }

    & a:focus {
        color: #353625;
        text-decoration: none;
    }

    & a:hover {
        text-decoration: none;
        color: #353625;
    }

    & a:active {
        text-decoration: none;
        color: #353625;
    }
}

footer {
    margin-top: 1.5rem;
    grid-row: 3 / 4;
    font-size: 10px;
    color: #575757;
    font-family: "Averia Sans Libre Light";
    text-align: center;
}

.menu-item-font {
    font-family: "Averia Sans Libre Light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-kerning: normal;

}

h1,
h2 {
    font-family: "Trickster Regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-kerning: normal;
    letter-spacing: 0.06rem;
}

h1 {
    margin-block: 45px;
    font-size: 45px;
    margin: 0px;
    line-height: 1;
    font-kerning: normal;
}

h2 {
    color: #116658;
    margin-block: 0.67rem;
    font-size: 2rem;
    font-kerning: normal;
    text-align: left;
    line-height: 1;
}

h3 {
    font-family: "Averia Sans Libre Light Italic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-kerning: normal;
    font-weight: lighter;
    text-align: left;
}

header>h1 {
    grid-column: 1 / 2;
}

nav {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;

    @media (max-width:1000px) {
        display: none;
    }
}

.hamburger-button {
    grid-column: 2 / 3;
    background: none;
    border: none;
    margin: 0;
    padding: 0 0 0.5rem 0;
    cursor: pointer;
    font-size: 2rem;
    height: 3rem;
    width: 3rem;
    align-self: end;

    &:hover {
        background-color: rgba(0, 0, 0, 0.25);
    }

    @media (min-width:1001px) {
        display: none;
    }
}

#navigation-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100dvw;
    display: grid;
    grid-template-columns: 1fr auto;
}

#navigation-menu.navigation-menu-closed {
    display: none;
}

.navigation-menu-backdrop {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    background-color: rgb(0 0 0 / 80%);
}

.navigation-menu-list {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    background: #f2f2f2;
    padding-right: 2rem;
}

a.navigation-link {
    font-family: "Averia Sans Libre Light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #353625;
    font-kerning: normal;

    &:hover {
        text-decoration: underline;
        color: #b04830;
    }
}

.image-hover-effect-wrapper {
    overflow: hidden;
}

.image-hover-effect-wrapper>img,
.image-hover-effect-wrapper>input {
    transform: scale(1);
    transition: transform 0.5s ease-in-out;

    &:hover {
        transform: scale(1.05);
    }
}

.top-banner-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 10dvh;
    width: auto;
    vertical-align: top;
}

.bottom-banner-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 10dvh;
    width: auto;
    vertical-align: bottom;
}