﻿/* Reset */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.37, 0, 0.45, 0.99);
}

    *:before,
    *:after {
        box-sizing: inherit;
    }

img {
    max-width: 100%;
    height: auto;
}

/* Default Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Helvetica Neue", sans-serif;
    line-height: 1.75;
    background-color: #fafafa;
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

/* Animation */
@keyframes driving {
    0% {
        transform: translateY(-650px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Hero Title */
.hero__title {
    padding: 3em 2rem;
    text-align: center;
    color: #2c0a8a; /* Equivalent to darken(#6c38de, 50%) */
    position: relative;
    z-index: 2;
}

/* GPS Background */
.gps-bg {
    background-color: #ac8dff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    perspective: 500px;
    overflow: hidden;
}

    .gps-bg:after {
        content: '';
        background-color: #fafafa;
        position: absolute;
        width: 200%;
        height: 5em;
        bottom: 0;
        transform: skewY(-2deg);
        z-index: 1;
    }

.gps-bg__guts {
    position: absolute;
    transform: rotateX(45deg);
    width: calc(100% + 1000px);
    height: 100%;
    left: -500px;
}

.gps-bg__bg {
    height: 1300px;
    background-image: url('http://www.rastrac.com/hubfs/roads.svg');
    background-position: 50%;
    background-size: 25%;
    position: absolute;
    top: -162px;
    width: 100%;
    transform: translateY(-650px);
    animation: driving 10000ms linear 0ms infinite;
}

.gps-bg__route {
    width: 2em;
    background-color: #fff;
    position: absolute;
    top: -162px;
    bottom: -162px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 13px 5px rgba(47, 12, 137, 0.25); /* Equivalent to rgba(darken(#6c38de, 30%), 0.25) */
}

    .gps-bg__route:after {
        content: '';
        width: 60%;
        background-color: #6c38de;
        position: absolute;
        top: 0;
        bottom: 35%;
        left: 50%;
        transform: translateX(-50%);
    }

.gps-bg__fade {
    background-image: linear-gradient(to bottom, #ac8dff 10%, rgba(172, 141, 255, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 1;
}

.gps-bg__marker {
    height: 6em;
    width: 6em;
    background-color: #fff;
    border-right: 1px solid #ddd;
    border-bottom: 3px solid #ddd;
    border-left: 1px solid #ddd;
    border-radius: 100%;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0.125em 10px 3px rgba(47, 12, 137, 0.25); /* Equivalent to rgba(darken(#6c38de, 30%), 0.25) */
}

    .gps-bg__marker:after {
        content: '';
        border-left: 1.5em solid transparent;
        border-right: 1.5em solid transparent;
        border-bottom: 3em solid #6c38de;
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
    }
@media (max-width: 768px) {
    body {
        background-color: lightblue;
    }
}

.container {
    display: flex;
    flex-wrap: wrap;
}

.container {
    width: 80%;
}
