/* Global */

body {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    margin: auto;
}

p {
    line-height: 1.5;
}

a {
    color: #000;
}

strong {
    font-weight: 600;
}

h1 {
    margin: 0;
}

h2 {
    font-size: 1.4rem;
    font-weight: 300;
}

h3 {
    font-size: 1.2rem;
    font-weight: 300;
}

ul {
    padding: 0;
}

main {
    margin: auto;
    max-width: 80ch;
    padding: 10px 20%;
}

.sr-only {
    left: -2000px;
    position: absolute;
    visibility: hidden;
    width: 0;
}

li {
    list-style-type: none;
}

  dt {
    float: left;
    clear: left;
    width: 100px;
    text-align: left;
    font-weight: bold;
  }
  dd {
    padding: 0 0 0.5em 4.5em;
  }

@media only screen and (max-width: 1000px) {
    main {
        margin: 0 auto;
        padding: 0 10%;
    }
}

/* Navigation */

header {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    padding: 10px 15px;
}

.header-logo {
    height: 70px;
    margin: 0.67rem 0;
}

header ul {
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;
}

header ul a {
    font-weight: 500;
    font-size: 16px;
    background-color: #9b2d33;
    border-radius: 5px;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;

}

.active::after {
    content: '';
    display: block;
    border-bottom: solid #000 2px;
}

.skip-to {
    align-items: center;
    background: #000;
    color: #FFF;
    display: flex;
    height: 30px;
    padding: 8px;
    position: absolute;
    transform: translateY(-120%);
    transition: transform 0.3s;
}
  
.skip-to:focus {
    transform: translateY(0%);
}

footer {
    margin-top: 100px;
    text-align: center;
}


/* Homepage */

.intro div {
    width: 65%;
}

.headshot {
    /* border-radius: 50%; */
    width: 200px;
}

blockquote:first-child{
    font-style: italic;
}


.services ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.services li {
    background: #9b2d33;
    border-radius: 1%;
    height: 205px;
    width: 32%;
    align-items: center;
    display: flex;
    color: white;
    justify-content: center;
    font-weight: 600;
}

.testimonials {
    margin-top: 45px;
}

.clients {
    margin-top: 50px;
    display: flex;
    flex-flow: row wrap;
}

.clients img {
    width: 50%;
}

.clients p {
    width: 65%;
}

.clients-list {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 75px 0px 0px -9%;
    padding: 0;
    width: 115%;
}

.clients-list li {
    margin-bottom: 25px;
}

.client-logo {
    text-decoration: none;
}

.client-logo img {
    max-width: 150px;
    max-height: 75px;
}


@media only screen and (max-width: 1000px) {
    
    .clients-list {
        padding: 0;
        width: unset;
        margin: 65px 0 0 0;
    }

    .clients img {
        width: 100%;
        margin-top: 10px;
    }

    .client-logo img {
        max-width: 125px;
    }
}

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

    .intro div {
        width: 100%;
    }

    .clients img {
        width: 100%;
        margin-top: 10px;
    }

    .clients p {
        width: 100%;
    }

    .clients-list {
        flex-direction: column;
    }

    .clients li {
        max-width: 100%;
        width: unset;
    }

    .client-logo img {
        max-width: 150px;
    }
}

.cta {
    background-color: #9b2d33;
    color: #fff;
    font-size: 24px;
    margin-top: 40px;
    padding: 50px 30px 75px;
    text-align: center;
}

.cta a {
    background: #fff;
    border-radius: 5px;
    display: inline-block;
    font-size: 20px;
    margin-top: 30px;
    padding: 10px 15px;
    text-decoration: none;
}


@media only screen and (max-width: 600px) {
    header ul {
        margin-top: 15px;
    }

    .services ul {
        margin-top: 30px;
        font-size: 15px;
        text-align: center;
    } 

    .services li {
        height: 120px;
    }

    .cta {
        font-size: 20px;
    }

    .cta a {
        font-size: 16px;
    }
}