@font-face {
    font-family: 'ButlerBlack';
        src: url('/fonts/Butler_Black.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
      }
  
  @font-face {
    font-family: 'ButlerBold';
        src: url('/fonts/Butler_Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
      }
  
  @font-face {
    font-family: 'ButlerExtraBold';
        src: url('/fonts/Butler_ExtraBold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
      }
  
  @font-face {
    font-family: 'ButlerMedium';
        src: url('/fonts/Butler_Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
      }
  
  @font-face {
    font-family: 'ButlerRegular';
        src: url('/fonts/Butler_Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
      }

    @font-face {
    font-family: 'PoppinsLight';
        src: url('/fonts/Poppins-Light.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
        }

    @font-face {
        font-family: 'PoppinsBold';
            src: url('/fonts/Poppins-Bold.ttf') format('opentype');
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
        font-family: 'PoppinsSemiBold';
            src: url('/fonts/Poppins-SemiBold.ttf') format('opentype');
        font-weight: normal;
        font-style: normal;
     }

    @font-face {
        font-family: 'PoppinsMedium';
            src: url('/fonts/Poppins-Medium.ttf') format('opentype');
        font-weight: normal;
        font-style: normal;
     }

html {
    line-height: 1.75;
    font-size: 1.2em;
    font-family: 'PoppinsLight', sans-serif;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -webkit-text-rendering: optimizeLegibility;
    text-rendering: optimizeLegibility;
    background-color: rgb(229, 226, 220);
}

h1,h2,h3,h4,h5,h6 {
    margin: 1em 0 0.5em;
    font-family: 'PoppinsMedium', sans-serif;
    line-height: 1.1;
    letter-spacing: -1px;
}

h1 {
    font-family: 'ButlerBlack', serif;
    font-size: 2em;
    line-height: 1;
    color: rgb(201, 162, 57);
}

a {
    text-decoration: none;
    color: rgb(173, 71, 13);
}

a:hover {
    text-decoration: none;
    color: rgb(46, 39, 33);
}
  
p,ul,ol {
    margin-bottom: 1em;
    color: #1d1d1d;
}

img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

blockquote {
    font-style: italic;
    border: thin solid black;
    padding: 1rem;
}

blockquote p {
    margin: 0;
}

pre {
    overflow-x: auto;
    padding: 1rem;
}

pre, code {
    background: #e0e0e0;
}

table { width: 100%; }

table, th, td {
  border: thin solid black;
  border-collapse: collapse;
  padding: 0.4rem;
}

.table-wrapper {
    overflow-x: auto;
}

.wrapper {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
}

header {
    margin: 2em 0 2em 0;
    padding-bottom: 1em;
}

#logo {
    display: inline-block;
    font-size: .8em;
    margin-bottom: 0.7em;
    font-family: 'PoppinsMedium', sans-serif;
}

#logo a {
    color: var(--color-text);
}

#logo a:hover {
    text-decoration: none;
}

nav a {
    text-transform: uppercase;
    font-family: 'PoppinsMedium', sans-serif;
    display: block;
    padding: 0.5em 1em 0.5em 0;
    margin: .5em 0em;
    background-color: rgba(255, 255, 255, .04);
    font-size: 0.8em;
    text-align: center;
}
  
nav a:hover {
    text-decoration: none;
}

.event-grid {
    display: inline-block;
    width: 75%;
    border-radius: 15px;
    background-color: rgb(244, 240, 233);
    margin: 0em 1em 3em 0;
    padding: 2em;
}

.event-thumbnail {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.hero-image {
    aspect-ratio: 21 / 9;
    object-fit: cover;
    width: 100%;
}

footer {
    margin: 2em 0 5em 0;
    margin-bottom: 3em !important;
    border-top: 1px var(--color-border) solid;
    padding-top: 1em;
  }

@media screen and (min-width: 480px) {

    html {
        font-size: 1.4em;
    }

    h1 {
        font-size: 3em;
    }

    nav {
        display: inline-block;
        float: right;    
    }

    nav a {
        display: inline;
        padding: .5em 0;
        margin-right: 1em;
        background: none;
        text-align: left;
    }

    nav a:first-child {
        padding-left: 0;
    }

    nav a:last-child {
        padding-right: 0;
        margin-right: 0;
    }

    nav a:hover {
        text-decoration: underline;
        text-decoration-thickness: 3px;
        text-underline-offset: 10px;
        text-decoration-skip: ink;
      }
      
    nav a:active {
        color: rbg(46, 39, 33);
    }

    .event-grid {
        width: 33%;
    }

    footer nav {
        float: left;
        padding-top: 0;
    }

}