html {
    font-size: 16px;
    color: #1C2141;
    line-height: 1.4;
    -webkit-text-size-adjust: 100%; /* 2 */
}

body {
    margin: 0;
    font-family: 'Karla', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
    font-family: 'Viga', sans-serif;
    letter-spacing: 0.5px;
    margin:0;
}

h1 {
    font-size:3rem; /*2.4*/
}

h2 {
    font-size: 1.6rem;
    padding-bottom: 1rem;
}

p {
    line-height: 1.5rem;
}

img {
  border-style: none;
}

summary {
  
}

img,
svg {
    vertical-align: middle;
}

img {
    max-width: 100%;
}


main {
    display: block;
}

header .container {
    padding-top: 0px; /*2rem*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #1C2141;
    color: #fff;
    padding: 0.2em 0;
    display: none;
}

.logo-header {
    width: 250px;
    position: relative;
    top: 0px;
    right: 0px;
}

.logo {
    width:450px;
}

.hero-image {
    background-image: url('../photos/truck-1.jpg');
    height: 100vh;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
}

.container {
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 1rem;
}

.carousel {
    padding: 3rem 0;
    text-align: center;
    max-width: 900px;
}

.arrow {
    background-image: url('../img/toggle.svg');
    background-size: 60px 42px;
    display: block;
    height: 42px;
    width: 60px;
}

.header-summary {
    font-size:1.2rem;
    padding-bottom: 1rem;
}

.contact {
    font-weight: bold;
    font-size:1.5rem;
    text-decoration: none;
}

.phone {
    color: #3DA8B6;
}

.email {
    color: #E26C6C;
}

.email:focus,
.email:hover,
.phone:focus,
.phone:hover {
    border-bottom: 1px solid;
}

.box {
    color: #fff;
    border-radius: 3px;
    padding: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.box-1 {
    background: #1C2141;
}

.box-2 {
    background: #E26C6C;
}

.box-3 {
    background: #3DA8B6;
}

.box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 1rem;
    margin-top:-50vh;
}

@media all and (-ms-high-contrast:none) {
    .box {
        margin-bottom: 16px;
    }
}

.glide__arrow {
    background: #1C2141;
    height: 100px;
    width: 100px;
    border-radius:100px;
    border: none;
}

.glide__arrow--right {
    right: 0.5rem;
}

.glide__arrow--right .arrow {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
    margin-left: 12px;
}

.glide__arrow--left {
    left: 0.5rem;
}

.glide__arrow--left .arrow {
    margin-left: 6px;
}

footer {
    background: #1C2141;
}

footer .container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    color: #fff;
    padding-top:4rem;
}

footer h3 {
    font-size: 1.5rem;
    padding-bottom: 1rem;
}

.footer-info{
    margin-left: 2rem;
}

.footer-copyright {
    color: #515365;
}


/* Mobile */
@media only screen and (max-width: 1023px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size:1.5rem;
    }

    header .container {
        display: block;
        text-align: center;
    }

    h1.headtitle {
        display: none;
    }
    div.desktop-details {
        display: none;
    }

    div.logo-header {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    #logo img {
        max-width: 90%;
        height: auto;
    }


    .box-grid {
        display: block;
        margin-top:-10vh;
    }

    .box {
        margin-bottom: 1rem;
    }

    .hero-image {
        background-size: cover;
        height:50vh;
    }

    footer .container {
        display: block;
        text-align: center;
    }

    .glide__arrow {
        display: none;
    }

    .footer-info{
        margin-left: 0;
    }
}

/* Big Screen */
@media only screen and (min-width: 1024px) {
    .hero-image {
        height:70vh;
        background-size: cover;
    }

    .box-grid {
        margin-top:-20vh;
    }
    div.mobile-details {
        display: none;
    }
}
