/* CSS Document */

body {
    font-family: "Sedan", serif;
}


h1,
h2,
h3,
h4 {
    font-family: "Sedan", serif;
    font-weight: 300;
}

p,
li {
    font-weight: 300;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: .5px;
    color: #444;
}

b,
strong {
    color: #05D363;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: #05D363;
}

.heading {
    font-weight: 400;
    width: 100%;
    border-bottom: 1px solid #05D363;
    padding-bottom: 16px;
}

#page-content {
    display: grid;
    width: 100%;
    grid-gap: 32px;
    padding: 64px 0 32px;
    background-color: #fff;
    z-index: 4;
}

.workspace {
    grid-gap: 32px;
}

.secondColour {
    color: #05D363;
}

/* - */

#header {
    display: grid;
    background-color: #028721;
    z-index: 4;
}

.header-inner {
    display: grid;
    width: 100%;
    grid-gap: 16px;
    padding-bottom: 32px;
}

@media(min-width:768px) {
    #header {}
}

@media(min-width:992px) {
    #header {
        grid-template-columns: auto 950px auto;
    }

    .header-inner {
        grid-column: 2;
        grid-template-columns: repeat(3, 33%);
        padding: 32px 0;
        grid-gap: 0;
    }
}

@media(min-width:1200px) {
    #header {
        grid-template-columns: auto 1200px auto;
    }
}

/* - */

.social-container {
    display: grid;
    justify-self: center;
    align-self: center;

    grid-gap: 16px;
    margin-top: 16px;
}

@media(min-width: 992px) {
    .social-container {
        justify-self: start;
        margin: 0;
    }
}

.social-container a {
    color: white;

    grid-row: 1;
}

.social-icon {
    color: white;

    font-size: 40px;
}

#logo-container {
    display: grid;
    align-self: center;
    justify-self: center;
}

#logo {
    max-height: 180px;
    justify-self: center;
}

@media(max-width: 600px) {
    #logo {
        justify-self: center;
        max-width: 320px;
    }

}

.contact-details {
    display: grid;
    justify-content: center;
    grid-gap: 16px;
    align-self: center;
}

.contact-details h4,
.contact-details a {
    overflow-wrap: anywhere;
}

@media(min-width: 992px) {
    .contact-details {
        justify-self: end;
    }
}

/* - */

.contact-details a {
    color: white;

    display: flex;
    /* grid-row: 1; */
    justify-self: center;
    align-content: center;
    grid-gap: 8px;
}

.contact-details-icon {
    grid-row: 1;
    align-self: center;
    color: white;
}

.contact-details h4 {
    grid-row: 1;
    align-self: center;
    color: white;

}

/* - */





























hr {
    width: 80%;
    height: 1px;
    background-color: #05D363;
    border: none;
}

@media(min-width: 768px) {
    hr {
        width: 750px;
    }
}

@media(min-width: 992px) {
    hr {
        width: 950px;
    }
}

@media(min-width: 1200px) {
    hr {
        width: 1200px;
    }
}

/* - */

.btn {
    display: grid;
    justify-self: start;

    background-color: #55AC68;
}

.btn h4 {
    grid-row: 1;
    grid-column: 1;
    z-index: 2;

    border: none;
    color: #fff;
    padding: 16px 32px;
    text-align: center;
    font-size: 16px;
    transition: ease .25s;
}

.btn::before {
    content: "";

    grid-row: 1;
    grid-column: 1;
    z-index: 1;
    background-color: #111;

    width: 0;
    height: 100%;

    transition: ease .25s;

    color: #fff;

    overflow: hidden;

    justify-self: end;
    align-self: center;
}

.btn:hover {
    cursor: pointer;
}

.btn:hover h4 {
    color: #fff;
}

.btn:hover::before {
    height: 100%;
    width: 100%;
}

/* - */

.banner {
    display: grid;
}

#banner-image {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 1;

    width: 100%;
    height: 128px;
    background-size: cover;
    background-image: url('../img/banner-bg.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

#banner-overlay {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 2;

    width: 100%;
    height: 128px;
    background-size: cover;
    opacity: 0.65;

    background-color: #05D363;
}

#banner-container {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 3;

    width: 100%;
    height: 128px;
    align-content: center;
    justify-content: center;
}

@media (min-width: 768px) {
    #banner-image {
        height: 256px;
    }

    #banner-overlay {
        height: 256px;
    }

    #banner-container {
        height: 256px;
    }
}

#banner-container h1 {
    color: #fff;
}

/* - */



/* - */

.contact-items {
    grid-gap: 20px;
}

.contact-icon {
    grid-row: 1;
    color: #05D363;
    align-self: center;
    justify-self: start;
    border-right: solid 1px;
    padding-right: 12px;
    font-size: 20px;
    width: 15px;
    max-width: 15px;
}

.contact-items h3 {
    color: #05D363;
    grid-row: 1;
    margin: 0;

    align-self: center;
    justify-self: start;
}

.contact-items p {
    grid-row: 1;
    margin: 0;

    align-self: center;
    justify-self: start;
}

.contact-items p,
.contact-items a {
    overflow-wrap: anywhere;
}

.contact-items .element {
    align-content: start;
    justify-content: start;
    grid-gap: 16px;
}



.boxycard {
    background-color: #55AC68;
    padding: 16px;
    border-radius: 15px;
}

.boxycard p, .boxycard h3 {
    color: #fff;
}

.boxycard h3 {
    font-size: 1.5em;
}



/* Testimonials */

.testimonial-container {
    display: grid;
    width: 100vw;
    background-image: url('../img/testimonials.png');

    background-position: center center;
    background-color: #111;
    background-repeat: no-repeat;
    background-size: cover;

    min-height: 400px;
}

@media(min-width: 992px) {
    .testimonial-container {
        background-attachment: fixed;
    }
}

.testimonial {
    display: grid;
    align-self: center;
    justify-self: center;

    grid-row: 1;
    grid-column: 1;

    grid-gap: 16px;

    width: 512px;
    max-width: 80vw;

    opacity: 1;

    transition: opacity ease .5s;

    z-index: 3;
}

.opacity-0 {
    opacity: 0 !important;
}

.testimonial h3 {
    color: #fff;
    justify-self: center;
    font-size: 32px;
}

.testimonial p {
    color: #fff;
    justify-self: center;
    text-align: center;
}

.star-container {
    display: grid;
    align-content: center;
    justify-content: center;
}

.star {
    color: #05D363;
    grid-row: 1;
}


.testimonial-controls {
    display: grid;
    z-index: 1;
    grid-row: 2;
    grid-column: 1;
    align-content: center;
    padding: 0 32px;
}

@media(min-width: 992px) {
    .testimonial-controls {
        grid-row: 1;
        grid-column: 1;
    }
}


.testimonial-arrow {
    color: #fff;
    font-size: 32px;
    grid-row: 1;
    grid-column: 1;

    transition: opacity .5s ease;
}

.testimonial-arrow:hover {
    cursor: pointer;
    opacity: 0.5;
}

.testimonial-left {
    justify-self: start;
}

.testimonial-right {
    justify-self: end;
}

.testimonial-dots {
    display: grid;
    grid-gap: 8px;
    justify-content: center;
    justify-self: center;
    align-self: center;
    z-index: 3;

    grid-row: 2;
    grid-column: 1;
}

.testimonial-dot {
    grid-row: 1;
    width: 8px;
    height: 8px;
    border-radius: 16px;
    background-color: #fff;
    align-self: center;
}

.testimonial-dot:hover {
    cursor: pointer;
    background-color: #05D363;
}

.active-testimonial-dot {
    background-color: #05D363;
    /*border: none;*/
}


/* - Table - */

.w100 {
    width: 100%;
}

.elem-table {
    border: 1px solid #fff;
    background-color: #fff;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

thead {
    background-color: #05D363;
    border-bottom: 2px solid #fff;
}

th {
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    border-left: 2px solid #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: solid 1px;

    height: 20px;
}

th h1 {
    font-size: 14px;
}

tr:nth-child(2n) {
    background: rgba(222, 222, 222, 0.30);
}


/*** TABLE STYLING ***/

table {
    border: 1px solid #fff;
    background-color: #fff;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

table td,
table th {
    border: 1px solid #fff;
    padding: 10px 10px;
}

table tbody td {
    font-size: 13px;
}

table thead th:first-child {
    border-left: none;
}

table tfoot td {
    font-size: 14px;
}

table tfoot .links {
    text-align: right;
}

/* Catch-all Centering Class */
.cent {
    justify-self: center;
    text-align: center;
}


.conveyor {
    display: flex;
    height: auto;
    margin: auto;
    overflow: hidden;
    align-items: center;
}

.conveyor:before {
    position: absolute;
    z-index: 1;
    left: 0;
    content: "";
    width: 23.958%;
    height: 300px;
    /* originally 110px */
    background: linear-gradient(-90deg, hsla(0, 0%, 96.9%, 0), #fff);
    /* Last colour code is the shading the image fades to, match to page background colour */
}

.conveyor:after {
    position: absolute;
    right: 0;
    content: "";
    width: 23.958%;
    height: 300px;
    /* originally 110px */
    background: linear-gradient(90deg, hsla(0, 0%, 96.9%, 0), hsla(0, 0%, 96.9%, 0.99) 99%);
}

.conveyor .conveyor-belt {
    display: flex;
    animation: scroll 35s linear infinite;
    -webkit-animation: scroll 35s linear infinite;
    width: calc(240px * 10);
}

.conveyor .package {
    display: flex;
}

.conveyor .package img {
    width: 300px;
    height: 300px;
    /* originally 80px */
    padding: 10px;
    background-color: white;
    cursor: pointer;
    margin: 20px;
    border-radius: 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-240px * 5));
        transform: translate((calc(-240px * 5));
        }
    }

