.background {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #89ac76;
}

.road {
    width: 105px;
    height: 100%;
    position: relative;
    background-color: #bebebe;
    left: 50%;
    transform: translateX(-50%);

    @media (max-width: 360px) {
        width: 80px;
    }
}

.line {
    width: 3px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-image: linear-gradient(white 60%, rgba(255, 255, 255, 0) 0%);
    background-position: right;
    background-size: 3px 30px;
    background-repeat: repeat-y;
}

.road-content {
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    flex-direction: column;
}

.road-content-arrows {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
}

.road-content-buttons {
    z-index: 100;
}


.arrow-down {
    top: 10%;
    position: absolute;
    margin-left: calc(50% - 33px);
}

.arrow-up {
    bottom: 10%;
    position: absolute;
    margin-left: calc(50% + 20px);

    @media (max-width: 360px) {
        margin-left: calc(50% - 27px);
    }

    @media (max-width: 360px) {
        margin-left: calc(50% + 16px);
    }
}

.between-arrows {
    top: 15%;
    bottom: 15%;
    width: 100%;
    position: absolute;

    .traffic-light-left {
        top: 0;
        position: absolute;
        margin-left: calc(50% - 135px);
        
        display: flex;
        align-items: center;
        flex-direction: column;

        width: 80px;
    }

    .traffic-light-right {
        bottom: 0;
        position: absolute;
        margin-left: calc(50% + 55px);

        display: flex;
        align-items: center;
        flex-direction: column;

        width: 80px;
    }
}

.invert {
    transform: rotateX(180deg);
}