  * {
      box-sizing: border-box;
    }
/*** LAYOUT ***/

    .wrapper {
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 100px  50px 1fr 1fr 50px;
        gap: 10px;
        padding: 25px;
    }

    /*** HEADER ***/

    header {
        background-image: url(backgrounds/fair.jpg);
        background-position: top;
        background-position-y: -125px;
        padding: 10px;
        border: 4px silver ridge;
        border-radius: 4px;
        grid-column-start: 1;
        grid-column-end: 4;
        grid-row-start: 1;
        grid-row-end: 3;
    }

    header h1 {
        margin-top: 85px;
        position: relative;
        font-family: basteleurbold;
        font-size: 4em; 
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: #000;
        -webkit-animation: glow 2.0s linear infinite;
        animation: glow 2.0s linear infinite;
    }

    @keyframes glow {
        0% { text-shadow: 0 0 15px #000;}
        50% { text-shadow: none; }
        100% { text-shadow: 0 0 15px #000;}
    }

    @-webkit-keyframes glow {
        0% { text-shadow: 0 0 15px goldenrod; }
        50% { text-shadow: none; }
        100% { text-shadow: 0 0 15px goldenrod; }
    }

    /*** NAV ***/

    nav {
        padding: 10px;
        border-width:7px;
        border-style:solid;
        border-image: url("https://i.imgur.com/NJa4bp2.png") 8 fill round;
        height:50px;
        overflow-y:auto;
        grid-column-start: 1;
        grid-column-end: 4;
        text-align: right;
        width: 95%;
        margin-top: 45px;
        margin-left: 25px;
        text-align: center;
        font-family: fake receipt;
        font-size: 0.8em;
    }

    a {
        color: silver;
        text-decoration: none;
        filter: drop-shadow(0px 1px black) drop-shadow(0 -1px black) drop-shadow(1px 0 black) drop-shadow(-1px 0 black);
        line-height: 1.5;
        letter-spacing: 0.4em;
    }

    a:hover {
        color: rgb(236, 143, 159);
        text-decoration: underline;
    }

    /*** MAIN CONTENT ***/

   .content-large {
        padding: 10px;
        border: 4px silver ridge;
        grid-row-start: 2;
        grid-row-end: span 2;
        grid-column-start: 1;
        grid-column-end: 3;
        height: 725px;
        width: 700px;
        background-image: url(Imgs/jpgs/background.jpg);
        font-family: fake receipt;
    }

    .box-container {
        border-radius: 15px;
        width: 500px;
        height: 300px;
        margin: 65px;
        margin-top: 5px;
        background-image: url(Imgs/pngs/card.png);
        font-family: fake receipt;
    }

    .box-container h1 {
        margin-bottom: 150px;
    }

    .box-container hr {
        border-top: black 2px ridge;
    }
    
    .content-large-two {
        padding: 10px;
        margin-top: 15px;
    }

    .content-large-three {
        padding: 20px;
        margin: 0;
        border: 4px silver ridge;
        margin-top: 15px;
        height: 300px;
        background-image: url(Imgs/jpgs/background.jpg);
        overflow: scroll;
        font-family: fake receipt;
    }

    .content-large-three hr {
        border-top: black 2px ridge;
    }

    .content-large-three p {
        max-width: 925px;
        max-height: 500px;
        padding: 15px;
    }

    /*** LEFTSIDEBAR ***/

    .left {
      margin: 15px; 
    }

    .content-small-left {
        padding: 10px;
        border: 4px silver ridge;
        height: 390px;
        margin-top: 15px;
        background-image: url(Imgs/jpgs/background.jpg);
        overflow: hidden;
    }

    .content-small-left-two {
        padding: 10px;
        border: 4px silver ridge;
        height: 280px;
        margin-top: 15px;
        background-image: url(Imgs/jpgs/background.jpg);
        overflow: hidden;
        display: inline-block;
        vertical-align: top;
    }

    .content-small-left-two img {
        width: 65px;
        height: 55px;
    }


    .content-small-left h3 {
        font-family: fake receipt;
    }

    .content-small-left li {
      list-style-type: none;
      font-family: fake receipt;
    }

    /*** RIGHTSIDEBAR ***/

    .content-small {
        padding: 10px;
        border: 4px silver ridge;
        height: 300px;
        margin-top: 15px;
        background-image: url(Imgs/jpgs/background.jpg);
        overflow: scroll;
        font-family: fake receipt;
        font-size: 1em;
    }

    .content-small hr {
        border-top: goldenrod 2px ridge;
    }

    .content-small-two {
        padding: 10px;
        border: 4px silver ridge;
        height: 300px;
        margin-top: 15px;
        background-image: url(Imgs/jpgs/background.jpg);
        display: inline-block;
    }

    .right {
        margin: 15px;  
    }

    /*** FOOTER ***/

    footer {
        padding: 0;
        border-width:7px;
        border-style:solid;
        border-image: url("https://i.imgur.com/NJa4bp2.png") 8 fill round;
        width:100%;
        height:50px;
        overflow-y:auto;
        grid-column-start: 1;
        grid-column-end: 4;
        font-family: basteleurbold;
        text-align: center;
    }

    /****** ACCESSABILITY *******/
    #skip-to-content-link {
        position: fixed;
        top: 0;
        left: 0;
        display: inline-block;
        padding: 0.375em 0.75em;
        line-height: 1;
        font-size: 1.25em;
        background-color: var(--content-background-color);
        color: var(--text-color);
        transform: translateY(-3rem);
        transition: transform 0.1s ease-in;
        z-index: 99999999999;
    }

    #skip-to-content-link:focus, #skip-to-content-link:focus-within {
        transform: translateY(0);
    }

    /****** RESPONSIVENESS ******/
    @media (max-width:800px) {
        body {
            font-size: 14px;
        }

        .layout {
            width: 100%;
            grid-template: "header" auto "main" auto "footer" auto / 1fr;
        }

        .left {
            display: none;
        }

        .right {
            display: none;
        }

        aside {
            border-bottom: 1px solid;
            padding: 9x;
            font-size: 0.9em;
        }

        nav {
            padding: 0;
        }

        nav > ul {
            padding-top: 0.5em;
        }

        nav > ul li > a,
        nav > ul li > details summary,
        nav > ul li > strong {
            padding: 0.5em;
        }

        main {
            max-width: none;
            padding: 15px;
        }


        .images img {
            flex-wrap: wrap;
            width: 100%;
        }

        #skip-to-content-link {
            font-size: 1rem;
        }
    }