 #newsletter {
     margin: auto;
     max-width: 650px;
     min-width: 300px;
     border: 8px solid black;
}
 #logo {
     height: 55px;
     align-self: center;
}
 header, main {
     width: 100%;
     margin: auto;
}
 #header-wrapper {
     text-align: center;
}
 #newsletter h1, h2, h3 ,h4 {
     font-family: 'mrs-eaves-roman-small-caps', Times, serif;
     text-transform: uppercase;
}
 h1 {
     font-size: 32px;
     margin: 0;
     padding: 8px;
     color: #000;
     font-weight: 600;
}
 h2 {
     display: block;
     text-align: center;
     margin-bottom: 0px;
     font-size: 28px;
     padding: 10px;
     font-weight: 600;
}
 h3 {
     font-size: 22px;
     margin-bottom: 0;
     margin-top: 15px;
     font-weight: 600;
}
 #newsletter h4 {
     font-size: 18px;
     margin-top: 10px;
}
 p {
     font-family: 'mr-eaves-xl-sans', Arial, sans-serif;
     margin: 0;
     font-size: 18px;
     line-height: 24px;
     color: #111;
}
 .subtitle {
     display: block;
     font-family: 'mrs-eaves-xl-serif', Times, serif;
     font-style: italic;
     font-size: 20px;
     line-height: 24px;
     text-align: center;
     padding: 16px;
     margin: 0;
}
 .p-sub {
     font-style: italic;
     font-size: 16px;
     color: #666;
}
 header .subtitle {
     color: white;
     background-color: black;
}
 .box {
     display: inline-block;
     border: 1px solid black;
     padding: 16px;
     margin: 10px 10px 0px 10px;
     text-align: justify;
     text-align-last: left;
}
.button {
    display: inline-block;
}
 .button a{
     display: inline-block;
     font-family: 'mr-eaves-xl-sans', Arial, sans-serif;
     font-size: 18px;
     border: none;
     border-radius: 3px;
     color: white;
     margin: 12px 10px 10px 10px;
     padding: 10px 14px 10px 14px;
}
.button a, .button a:hover, .button a:visited {
    text-decoration: none;
}
.button a:hover, .button a:visited {
    color: #CC352D;
}
 #headliner .button, #featured .button, {
     background-color: #7c3699;

} 
#headliner .button a, #featured .button a {
    display: inline-block;
    background-color: #7c3699;
    color: #fff;
    border-radius: 3px;
}
 #headliner img {
     display: block;
     margin-left: auto;
     margin-right: auto;
     margin-top: 10px;
     margin-bottom: 0px;
     max-width: 100%;
     padding-bottom: 10px;
}
 #headliner h2 {
     margin: auto;
     margin-top: 0px;
     background-color: #7c3699;
     color: white;
}
 #headliner h3 {
     color: #7c3699;
     margin-left: 10px;
}
 #deadlines h2 {
     background-color: black;
     color: white;
}
 .dl-wrapper {
     margin-top: 10px;
}
 .dl, .ev-info {
     font-family: 'mr-eaves-xl-sans', Arial, sans-serif;
     font-size: 17px;
     font-weight: 600;
     margin: 10px;
}
 .alert {
     font-size: 5.31rem;
     color: #9b2822;
     margin: 0;
}
 .dl-grid-item {
     display: grid;
     grid-template-columns: 10% 90%;
     align-items: center;
     justify-content: center;
}
 #resources h2, #databases h2 {
     background-color: #687c2f;
     color: white;
}
 .resource-wrapper {
     grid-template-columns: 40% 40%;
     justify-content: space-around;
}
 .resource-wrapper-2 {
     grid-template-columns: 35% 60%;
     justify-content: space-between;
}
 .resource, .resource-2 {
     text-align: center;
     padding-bottom: 16px;
}
 .resource h3, .resource-2 h3, #databases h3, #resources .subtitle, #databases .subtitle, #databases h4 {
     color: #687c2f;
}
 .resource img, .resource-2 img {
     max-width: 50%;
}
.resource-2 img {
    max-width: 70%;
}
 #nw-wrapper, .resource-wrapper, .resource-wrapper-2 {
     width: 92%;
     margin: auto;
     text-align: center;
}
 #noteworthy h2 {
     background-color: #7c3699;
     color: white;
}
 #databases .button a {
     background-color: white;
     border: 1px solid #687c2f;
     margin-left: 16px;
}
#databases .button a {
    color: #687c2f;
}
 .nw-item {
     margin-bottom: 20px;
     margin-top: 15px;
}

 .nw-item h3, #noteworthy .subtitle {
     color: #7c3699;
}
 .nw-item img {
     max-width: 80%;
}
 .nw-item p {
     padding: 15px 5px 15px 5px;
     margin: 0;
}
#exhibits h2 {
    background-color: #417ea3;
    color: #fff;
}
#exhibits h3 {
    color: #417ea3;
}
 #ev-wrapper {
     width: 92%;
     margin: auto;
     margin-top: 10px;
}
 #events h2 {
     background-color: #9b2822;
     color: white;
}
 #events h3 {
     color: #9b2822;
}
 #events .button a {
     background-color: white;
     color: #9b2822;
     border: 1px solid black;
     margin-left: 16px;
}
 #events img {
     max-width: 50%;
     margin: auto;
}
 .ev-item {
     text-align: center;
     margin-bottom: 25px;
     margin-top: 15px;
}
.ev-item h3 {
    margin-top: 0;
}
 .ev-info {
     margin-left: 0px;
}
 .ft {
     width: 92%;
     margin: auto;
     margin-top: 15px;
}
.ill {
    object-fit: contain;
}
 #featured h2 {
     background-color: #7c3699;
     color: white;
}
 #featured h3 {
     color: #7c3699;
     margin-left: 10px;
     margin-top: 0px;
}
 #featured img {
     max-width: 80%;
}
 .ft {
     text-align: center;
}
 footer {
     margin-top: 10px;
}
 footer img {
     width: 100%;
     margin: 0;
}
 #essentials {
     background-color: black;
     margin: -10px 0 0 0;
}
 #essentials p {
     margin: 10px;
     display: block;
     text-align: center;
     align-content: center;
     border-radius: 5px;
     background-color: white;
     padding: 10px;
}
 @media(min-width:450px) {
     #header-wrapper {
         display: flex;
         justify-content: space-between;
         align-items: stretch;
    }
     .resource-wrapper, .resource-wrapper-2, .dl-wrapper {
         display: grid;
    }
     .resource img {
         max-width: 80%;
    }
    .resource-2 img{
        max-width: 100%;
    }
     .ill {
         display: flex; 
         align-items: baseline; 
     }
     .dl-wrapper {
         grid-template-columns: 36% 36%;
         justify-content: space-evenly;
    }
     .dl-grid-item {
         grid-template-columns: 15% 85%;
    }
     .alert {
         font-size: 7rem;
    }
}
 @media (min-width:500px) {
     .nw-item {
         display: flex;
         gap: 15px;
         text-align: left;
    }
    h3 {
         margin-top: 0;
}
    .nw-item, .ev-item, .ft {
        margin-top: 15px;
    }
    
     .nw-item img {
         max-width: 250px;
    }
    #events img {
         max-width: 250px;
         margin: auto;
         margin-right: 10px;
    }
     .ev-item {
         display: flex;
         justify-content: flex-end;
         gap: 10px;
         text-align: left;
    }
}
 @media (min-width:550px) {
     .alert {
         font-size: 5.31rem;
    }
     .dl-grid-item {
         grid-template-columns: 10% 90%;
    }
     #featured img {
         margin: auto;
         margin-right: 10px;
         padding: 0;
         max-width: 95%;
    }
     .ft {
         display: flex;
         text-align: left;
    }
     #essentials {
         display: flex;
         justify-content: space-around;
    }
}
