/* global */

body {
    margin: 0;
    padding: 0;
    color: #414141;
    background: #fff;
    font-family: rift, sans-serif;
    font-style: italic;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* end of global */

@media(min-width: 1366px) {
    .car-logos {
        background: #f6f6f6;
        padding: 0 5%;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        justify-items: center;
    }
    .car-logos img {
        height: 120px;
    }
    .services-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 50px;
        margin: 50px 0;
    }
    .service-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px;
        border: 5px dashed rgba(0, 0, 126, 0.15);
        background-image: url('../../assets/translucent-flags.svg');
        background-size: contain;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .service-image {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 25px 0;
        width: 500px;
        height: auto;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .service-item p {
        overflow: scroll;
    }
    .service-item a {
        margin: 20px 0;
        font-size: 20px;
        font-weight: 700;
        background: #00007E;
        padding: 10px 30px;
        text-align: center;
        color: #fff;
        text-decoration: none;
    }
    .before-after-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 50px;
        margin: 0;
    }
    .before-after-item {
        min-height: 200px;
    }
    .before-after-item h6 {
        margin: 0;
        padding: 0;
        text-align: center;
        font-size: 25px;
        font-weight: 700;
        color: #00007E;
    }
    .section-middle-a {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: inline-block;
        margin: 50px auto;
        font-size: 30px;
        font-weight: 700;
        background: #00007E;
        padding: 10px 30px;
        text-align: center;
        color: #fff;
        text-decoration: none;
    }
    .paragraph-section {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 50px 0;
    }
    .paragraph-section img {
        width: 500px;
        align-self: flex-start;
        margin: 0 0 0 50px;
    }
    .paragraph-section p {
        margin: 0 0 10px 0;
    }
}

@media(max-width: 1366px) and (min-width: 1024px) {
    .car-logos {
        background: #f6f6f6;
        padding: 0 5%;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        justify-items: center;
    }
    .car-logos img {
        height: 100px;
    }
    .services-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 25px;
        margin: 50px 0;
    }
    .service-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px;
        border: 5px dashed rgba(0, 0, 126, 0.15);
        background-image: url('../../assets/translucent-flags.svg');
        background-size: contain;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .service-image {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 25px 0;
        width: 500px;
        height: auto;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .service-item p {
        overflow: scroll;
    }
    .service-item a {
        margin: 20px 0;
        font-size: 20px;
        font-weight: 700;
        background: #00007E;
        padding: 10px 30px;
        text-align: center;
        color: #fff;
        text-decoration: none;
    }
    .before-after-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 50px;
        margin: 0;
    }
    .before-after-item {
        min-height: 200px;
    }
    .before-after-item h6 {
        margin: 0;
        padding: 0;
        text-align: center;
        font-size: 25px;
        font-weight: 700;
        color: #00007E;
    }
    .section-middle-a {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: inline-block;
        margin: 50px auto;
        font-size: 30px;
        font-weight: 700;
        background: #00007E;
        padding: 10px 30px;
        text-align: center;
        color: #fff;
        text-decoration: none;
    }
    .paragraph-section {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 50px 0;
    }
    .paragraph-section img {
        width: 400px;
        align-self: flex-start;
        margin: 0 0 0 50px;
    }
    .paragraph-section p {
        margin: 0 0 10px 0;
    }
}

@media(max-width: 1024px) and (min-width: 769px) {
    .car-logos {
        background: #f6f6f6;
        padding: 0 5%;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        justify-items: center;
    }
    .car-logos img {
        height: 75px;
    }
    .services-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 25px;
        margin: 50px 0;
    }
    .service-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 25px;
        border: 5px dashed rgba(0, 0, 126, 0.15);
        background-image: url('../../assets/translucent-flags.svg');
        background-size: contain;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .service-image {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 25px 0;
        width: 500px;
        height: auto;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .service-item p {
        overflow: scroll;
    }
    .service-item a {
        margin: 20px 0;
        font-size: 20px;
        font-weight: 700;
        background: #00007E;
        padding: 10px 30px;
        text-align: center;
        color: #fff;
        text-decoration: none;
    }
    .before-after-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 50px;
        margin: 0;
    }
    .before-after-item {
        min-height: 200px;
    }
    .before-after-item h6 {
        margin: 0;
        padding: 0;
        text-align: center;
        font-size: 25px;
        font-weight: 700;
        color: #00007E;
    }
    .section-middle-a {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: inline-block;
        margin: 50px auto;
        font-size: 30px;
        font-weight: 700;
        background: #00007E;
        padding: 10px 30px;
        text-align: center;
        color: #fff;
        text-decoration: none;
    }
    .paragraph-section {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 50px 0;
    }
    .paragraph-section img {
        width: 400px;
        align-self: flex-start;
        margin: 0 0 0 50px;
    }
    .paragraph-section p {
        margin: 0 0 10px 0;
    }
}

@media(max-width: 769px) {
    .car-logos {
        background: #f6f6f6;
        padding: 0 5%;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        justify-items: center;
    }
    .car-logos img {
        height: 40px;
    }
    .services-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 25px;
        margin: 25px 0;
    }
    .service-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 25px;
        border: 5px dashed rgba(0, 0, 126, 0.15);
        background-image: url('../../assets/translucent-flags.svg');
        background-size: contain;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .service-image {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 25px 0;
        width: 100%;
        height: auto;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }
    .service-item p {
        overflow: hidden;
    }
    .service-item a {
        margin: 20px 0;
        font-size: 20px;
        font-weight: 700;
        background: #00007E;
        padding: 10px 30px;
        text-align: center;
        color: #fff;
        text-decoration: none;
    }
    .before-after-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 50px;
        margin: 0;
    }
    .before-after-item {
        min-height: 200px;
    }
    .before-after-item h6 {
        margin: 0;
        padding: 0;
        text-align: center;
        font-size: 25px;
        font-weight: 700;
        color: #00007E;
    }
    .section-middle-a {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: inline-block;
        margin: 50px auto;
        font-size: 25px;
        font-weight: 700;
        background: #00007E;
        padding: 10px 30px;
        text-align: center;
        color: #fff;
        text-decoration: none;
    }
    .paragraph-section {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        margin: 0 0;
    }
    .paragraph-section img {
        width: 100%;
        align-self: flex-start;
        margin: 0 0 10px 0;
    }
    .paragraph-section p {
        margin: 0 0 10px 0;
    }
}
