body, html {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    padding: 20px;
}

body.center {
    min-height: 100vh;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
}

#home-button {
    display: block;
    padding: 5px 10px;
    background-color: #00558C;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #00558C;
    border-top: 0;
    position: fixed;
    left: 10px;
    top: 0;
    font-size: 1.25rem;
    box-shadow: 0px 1px rgba(0,0,0,0.35);
    z-index: 10;
}

#home-button:hover {
    background-color: #fff;
    color: #00558C;
}

/* ----- INDEX ----- */

.content-sections {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 40px;
}

.section-button {
    display: inline-block;
    padding: 10px;
    text-align: center;
    background: #00558C;
    color: #ffffff;
    border: 2px solid #00558C;
    text-decoration: none;
    font-size: 2rem;
    margin: 10px;
    width: 40%;
    box-sizing: border-box;
}

.section-button:hover {
    background-color: #ffffff;
    color: #00558C;
}

.section-button.inactive {
    background-color: #ffffff;
    color: #aaaaaa;
    border: 2px solid #aaaaaa;
}

@media (max-width: 800px) {
    .section-button {
        width: 100%;
    }
}

/* ----- 404 ----- */

h1.not-found {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 3rem;
    color: #00558C;
}

p.not-found {
    display: block;
    width: 100%;
    max-width: 800px;
    text-align: center;
    font-size: 1.5rem;
    color: #444444;
}

p.not-found a, p.not-found a:visited {
    color: #71C5E8;
}

/* ----- ICONS ----- */

#icons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 40px 0 0 0;
    padding: 0;
    list-style-type: none;
    border: 1px solid #aaa;
}

.search-holder {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 40px 0 20px;
    align-items: center;
    justify-content: center;
}

.button-holder {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.color-button {
    display: block;
    padding: 5px 10px;
    font-weight: bold;
    text-align: center;
    width: 200px;
    margin: 20px 20px 0;
    color: #ffffff;
    box-sizing: border-box;
    cursor: pointer;
}

.color-button#blue {
    border: 2px solid #00558C;
    background-color: #00558C;
}

.color-button#blue:hover {
    color: #00558C;
    background-color: #fff;
}

.color-button#gray {
    border: 2px solid #444;
    background-color: #444;
}

.color-button#gray:hover {
    color: #444;
    background-color: #fff;
}

#icon-search {
    width: 90%;
    max-width: 600px;
    border: 1px solid #666;
    padding: 5px;
    font-size: 1.25rem;
}

li.brand-icon {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    justify-content: center;
    border: 1px solid #aaa;
    padding: 10px;
    box-sizing: border-box;
}

li.brand-icon:hover {
    -webkit-box-shadow: inset 0px 0px 2px 2px rgba(241,190,72,1);
    -moz-box-shadow: inset 0px 0px 2px 2px rgba(241,190,72,1);
    box-shadow: inset 0px 0px 2px 2px rgba(241,190,72,1);
    cursor: pointer;
}

li.brand-icon img {
    height: auto;
}

li.brand-icon p {
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 20px 0 0 0;
    word-wrap: break-word;
}

.copied {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    padding: 5px 10px;
    background-color: #aaa;
    color: #fff;
    font-style: italic;
    z-index: -1;
}

@media (min-width:500px) {
    li.brand-icon {
        width: 50%;
    }
}

@media (min-width: 800px) {
    li.brand-icon {
        width: 25%;
    }
}