@font-face {
    font-family: Merriweather;
    src: url(../fonts/Merriweather-Regular.ttf);
}

body {
    font-family: 'Merriweather', Times, serif;
    color: #333333;
    font-size: 0.875em;
}

header {
    box-shadow: 0 0.125em 0.25em 0 rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1000px;
    margin: auto;
}

.header-container {
    display: flex;
    align-items: center;
    padding: 1em;
}

.header-container img {
    max-width: 100%;
}

.see-other-iq {
    text-decoration: none;
    font-size: 2.25em;
    color: #A51C30;
    font-family: Arial, Helvetica, sans-serif;
}
a {
    text-decoration: none;
    color: #A51C30;
    font-family: Arial, Helvetica, sans-serif;
}

a:hover,
a:active,
a:focus {
    color: #640411;
}

ul {
    list-style: none;
    padding: 0;
}

ul li,
ol li {
    margin: 1em 0;
}

.home-main {
    display: flex;
    flex-wrap: wrap;
}

.home-main nav {
    flex: 20%;
}

.home-content {
    flex: 60%;
    display: flex;
    flex-wrap: wrap;
}

.area {
    display: flex;
    border: 1px solid #bdbdbd;
    padding: 1.25em 1em;
    align-items: center;
    margin: 0.5em;
    font-size: 0.875em;
    flex: 174px;
}

.area p {
    margin: 0 0 0 1em;
    color: #333333;
    font-family: 'Merriweather', Times, serif;
}

.right-nav {
    display: flex;
    justify-content: center;
}

.search-form {
    display: flex;
    align-items: center;
}

input {
    border: 1px solid #BDBDBD;
    font-size: 0.875em;
    padding: 0.625em 1em;
}

.search-form [type=search] {
    width: 79%;
    margin: 0 0.625em 0 0;
}

.border-btn {
    background: transparent;
    color: #A51C30;
    border: 1px solid #A51C30;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 3px;
}

.border-btn:hover {
    background: rgba(212,25,52,0.05);
}

.search-form [type=submit] {
    width: 20%;
    padding: 0.625em;
}

section {
    margin: 3.75em 0;
}

.uoa {
    width: 1.875em;
}

footer {
    background: #333333;
    color: #bdbdbd;
    font-size: 14px;
    padding: 5em 1em 0;
    font-family: Arial, Helvetica, sans-serif;
}

.main-nav {
    background: #F3F3F1;
    padding: 0.4375em 0 0.1875em;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
}

.main-nav a {
    font-family: 'Merriweather', Times, serif;
    font-size: 0.875em;
}

.title {
    font-size: 2.25em;
    color: #4f4f4f;
}

.sans-serif-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.25em;
    font-weight: bold;
    color: #4f4f4f;
}

.highlight {
    background: #A51C30;
    margin: 3.75em 0 0;
    color: white;
    padding: 4.375em 0;
}

.highlight-content {
    display: flex;
    align-items: center;
}

.subtitle {
    font-size: 1.5em;
    font-family: 'Merriweather', Times, serif;
}

.label {
    font-size: 0.875em;
    opacity: 0.5;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
}

.white-link:hover {
    color: white;
}

.navbar-brand {
    display: none;
}

.main-nav .navbar-nav {
    justify-content: space-between;
    width: 100%;
}

.navbar-nav li {
    margin: 0;
}

.menu-line {
    height: 3px;
    width: 20px;
    background: black;
    margin: 3px 0;
}

.main-nav img {
    width: 1.875em;
}

button:focus,
button:active {
    outline: none;
}

.navbar-toggler {
    padding: 0;
}

.alphabet {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    margin: 3.75em 0;
}

.link {
    text-decoration: underline;
    font-family: 'Merriweather', Times, serif;
    margin: 0 1.875em 0 0;
}

ol {
    padding: 0 1em;
}

.letter {
    font-size: 2.25em;
    color: #A51C30;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

a.button-see-more {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    background: #A51C30;
    padding: 15px 30px;
    border-radius: 5px
}
.test-now {
    margin-top: 35px;
}

.bordered-section .container {
    border-top: 1px solid #bdbdbd;
    padding: 3.75em 1em 0;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 1.25em;
    right: 1.875em;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    background: transparent;
}

#back-to-top:hover {
    opacity: 0.5;
}

.inform {
    background: #C3D7A4;
    padding: 9.375em 0;
    margin: 3.75em 0 0;
    text-align: center;
}

.footer-title {
    font-size: 2.25em;
    text-transform: uppercase;
    font-family: Times, serif;
    font-weight: bold;
}

footer a {
    color: #bdbdbd;
}

footer a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid #bdbdbd;
    padding: 1em 0;
    margin: 3.75em 0 0;
    text-align: center;
}

.amsterdam-img {
    margin: 1.875em 0;
}

input:focus {
    outline: none;
}

.amsterdam-content {
    margin: 3.75em -1em 0;
}

.categories {
    -webkit-column-count: 6;
    -moz-column-count: 6;
    column-count: 6;
}

.categories a {
    display: block;
    padding: 0.5em 0;
}

.toc-menu {
    border: 1px solid #bdbdbd;
    background: #F3F3F1;
    padding: 10px 10px 0;
    margin: 0px auto;
    border-radius: 4px;
    position: relative;
}

.toc-menu .toggle-control {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1rem;
}

.toc-menu a[aria-expanded=false] .pull-right img {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.toc-menu a[aria-expanded=true] .fa-chevron-right {
    display: none;
}
.toc-menu a[aria-expanded=false] .fa-chevron-down {
    display: none;
}

.sans-serif {
    font-family: 'Merriweather', Times, serif;
}

.darkgrey {
    color: #4F4F4F;
}

.red {
    color: #A51C30;
}

.no-underline-hover:hover {
    text-decoration: none;
    opacity: 0.8;
    transition: 0.5s;
}

.famous-people-img {
    width: 100%;
    height: 130px;
}

.famous-people-content {
    margin: 50px -15px 0;
}

.content-inside .breadcrumb {
    background: transparent;
    padding: 0;
}

.border-top {
    border-top: 1px solid #bdbdbd;
}

.maybe {
    margin: 3.75em 0 0;
    padding: 3.75em 0 0;
}

.famous-people-info .famous-people-img {
    height: 300px;
    margin: 0 0 20px;
}

.content-inside .breadcrumb li {
    margin: 0;
}

.content-inside .breadcrumb li:last-child {
    font-family: Arial, Helvetica, sans-serif;
}

.disc-list {
    list-style: disc;
    padding: 0 0 0 15px;
}

.table .thead-light th {
    color: #A51C30;
    background-color: #F3F3F1;
    border-color: #F3F3F1;
}

@media screen and (max-width: 767px) {
    section {
        margin: 1.875em 0;
    }
    section ul {
        padding-left: 1.875em;
    }

    .navbar-brand {
        display: block;
    }

    .header-container {
        display: none;
    }

    .main-nav {
        padding: 0.4375em 1em 0.1875em;
    }

    .bordered-section .container {
        padding: 1.875em 1em 0;
    }

    .inform {
        padding: 3.75em 0;
    }

    footer {
        padding: 2.8125em 0.2em 0;
    }
    .copyright {
        margin: 1.875em 0 0;
    }

    .alphabet {
        margin: 1.875em 0;
        flex-wrap: wrap;
    }

    .alphabet a {
        padding: 1.25em;
    }

    .amsterdam-img {
        margin: 1em 0;
    }

    .title {
        font-size: 1.5em;
    }

    .sans-serif-title {
        font-size: 1.5em;
    }

    .subtitle {
        font-size: 1.125em;
    }
    
    .letter {
        font-size: 1.5em;
    }

    body {
        font-size: 0.875em;
    }

    .amsterdam-content {
        margin: 1.875em -1em 0;
    }

    .categories {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .famous-people-content {
        margin: 20px -15px 0;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.3em;
    }

    h4 {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 600px) {

    .home-content,
    .home-main nav {
        flex: 100%;
    }

    .home-main nav {
        justify-content: center;
        display: flex;
        text-align: center;
    }

    .search-form [type=search] {
        width: 50%;
    }

    .search-form [type=submit] {
        width: 47%;
    }
    section ul {
        padding-left: 1.475em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.3em;
    }

    h4 {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 575px) {
    .highlight img {
        margin: 0 0 1.875em;
    }
    section ul {
        padding-left: 1.475em;
    }
    .highlight {
        padding: 2.8125em 0 1.25em;
        margin: 1.875em 0 0;
    }

    .blog-img {
        margin: 1.875em 0 0;
    }
    h2 {
        font-size: 1.4em;
    }
    h3 {
        font-size: 1.25em;
    }

    h4 {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 320px) {
    .search-form [type=search] {
        width: 100%;
        margin: 0 0 1em;
    }

    .search-form [type=submit] {
        width: 100%;
    }

    .search-form {
        flex-wrap: wrap;
    }

    .famous-people-content .col-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}
