* {
    box-sizing: border-box;
}

body {
    background:#CB0C1C;
    background-attachment: fixed;
    font-family: Verdana, Arial, sans-serif;
    margin: 0px;
}

header {
    background-color: #CB0C1C;
    color: #C6C2C3;
    font-family: Georgia, 'Times New Roman', Times, serif;
    grid-column: 2 / -2;
    grid-row: 1 / 2;
    display: none;
}

header h1 {
    line-height: 240%;
    padding-left: 0.5rem;
    height: 72px;
    margin: 0;
}

header a{
    color: #C6C2C3;
    text-decoration: none;
}

#top {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

#logo {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    background-image: url(logo.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
}


nav {
    font-weight: bold;
    position: sticky;
    top: 0;
    grid-row: 2 / 3;
    grid-column: 3 / -2;
    margin-top: 2rem;
}

nav a{
    color: #C6C2C3;
    padding: 1rem 0rem;
    display: block;
    text-decoration: none;
    text-align: center;
}

nav a:hover{
    background-color: #BA1C21;
}

nav ul{
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
}

nav ul li {
    width: 100%;
    padding-left: 0.5em;
}

h2 {
    color: #000000;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

dt {
    color: #BA1C21;
    font-weight: bold;
}



footer {
    font-size: 1em;
    font-style: italic;
    text-align: center;
    padding: 1em;
    background-color: #CB0C1C;
    grid-column: 2 / -2;
    grid-row: 5 / 6;
}

#wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}


main {
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1px;
    padding-bottom: 1px;
    display: block;
    background-color: #9C7C7C;
    grid-column: 2 / -4;
    grid-row: 4 / 5;
    border-radius:8px 0px 0px 8px;
    margin-bottom: 3rem;
}

#side {
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 5em;
    padding-bottom: 1px;
    display: block;
    background-color: #9C7C7C;
    grid-column: -4 / -2;
    grid-row: 4 / 5;
    border-radius: 0px 8px 8px 0px;
    margin-bottom: 3rem;
}

#side .box {
    width: 100%;
    border: 1px solid #000000;
    border-radius: 20px;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 10%;
    padding-right: 10%;
    margin-bottom: 3em;
}

#side .box img {
    width: 100%;
    position: relative;
    clear: both;
}

#respond {
    margin-top: 40px;
  }
  
  #respond input[type='text'],
  #respond input[type='email'],
  #respond textarea {
    margin-bottom: 10px;
    display: block;
    width: 100%;
  
    border: 1px solid #000000;
  }

@media only screen and (max-width: 992px) {
    #wrapper{
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 131px)) minmax(0px, 1fr);
    }
    #top {
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 131px)) minmax(0px, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    #wrapper{
        grid-template-columns: minmax(0px, 0px) repeat(6, minmax(0, 131px)) minmax(0px, 0px);
    }
    #top {
        grid-template-columns: minmax(0px, 0px) repeat(6, minmax(0, 131px)) minmax(0px, 0px);
    }
    #side {
        display: none;
    }
    main {
        grid-column: 2 / -2;
        border-radius: 8px 8px 8px 8px;
    }
    nav {
        grid-column: 2 / -2;
        margin-top: 0;
    }
    header {
        display: block;
    }
    #logo {
        display: none;
    }
}
