/* In this css file you'll find the global css that are applied on the entire site */

/* Default css reset */
html, body, div, section, article, aside, header, hgroup, footer, nav, h1, h2, h3, h4, h5, h6, p, blockquote, address, time, span, em, strong, img, ol, ul, li, figure, canvas, video, th, td, tr {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align:baseline;
	font: inherit;
}
*, *::before, *::after {
	box-sizing: border-box;
}
img{
    max-width: 100%;
}
body{
    font-family: 'Roboto', sans-serif;
    background-color: #F9F9F9;
    color: #333;
}
h2{
    font-size: 2rem;
}
.container{
    width: 80%;
    margin: 3em auto;
}
.stretch{
    width: 100%;
}
#mainNav{
    z-index: 999;
}
/* Top bar styles */
.topBar{
    display: flex;
    width: 100%;
    height: 5em;
    padding: 0 2em;
    justify-content: space-between;
    align-items: center;
}
.topBar img{
    width: 50%;
    max-width: 15em;
}
.topBanner{
    height: 10rem;
    display: flex;
    justify-content: center;
    margin-bottom: 3em;
    margin-top: -20em;
}
.topBanner h1{
    display: flex;
    align-items: center;
    color: #E41E26;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
}
.shadow{
    box-shadow: 1px 1px 4px #363636; 
}
/* Styling the tracking box*/
#trackBox{
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3em;
    background: #E41E26;
    color: #fff;
}

#trackBox h2{
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1em
}
#trackBox form div{
    display: flex;
    justify-content:center;
}
/* Styling the dropdown list*/
.combo, .textBox, .btn{
    border: none;
    border-radius: 5px;
}
.combo{
    padding: 1em 0.5em;
    margin-right: 1em;
}
.textBox{
    width: 50%;
    padding: 0.75em 10px;
    font-size: 1rem;
}
.btn{
    width: 60%;
    margin: 1.7em auto;
    padding: 1em 0;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: -1em
}
.btn:hover{
    background-color: #333;
    color: #fff;
    transition: background 0.2s ease-out;
}

/* Styling any Grid Elements */
.intro{
    text-align: center;
    margin-bottom: 3em;
}
.intro h2{
    font-size: 2rem;
    font-weight: 600;
    padding: 1em 0;
}
.intro p{
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.2rem;
}
.gridElements{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.element{
    width: 15em;
    text-align: center;
    padding: 0.5em;
}
.element h3{
    font-size: 1.2em;
    font-weight: 600;
    padding: 1em 0;
}
.element p{
    line-height: 1.5rem;
}
/* Styling the Call to action section */
aside{
    background: url(../images/Scooter.jpg) no-repeat center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 5em 3em;
}
aside p{
    font-size: 1.5rem;
    width: 100%;
    max-width: 600px;
    margin: 1em auto;
    line-height: 2.5rem;
    margin-bottom: 2.5em;
}
aside a{
    text-decoration: none;
    color: #E41E26;
    background-color: #fff;
    padding: 1em 2em;
    border-radius: 100px;
    box-shadow: 1px 1px 4px #363636;
}
aside a:hover{
    background-color: #333;
    color: #fff;
    transition: background 0.2s ease-out;
}
/* Footer styles */
footer ul{
    list-style: none;
}
footer ul li{
    padding: 0.25em 0;
}
.underLine{
    text-decoration: underline
}
footer h3{
    color: #E41E26;
    text-transform: uppercase;
}
footer a{
    color: #333;
}
.socialIcons a{
    margin: 0 0.5em;
}
.copyRight{
    text-align: center;
    padding: 1em 0 0.5em 0;
    border-top: 1px solid #707070;
    margin-top: 2em;
}
/* Hidding the desktop nav bar */
#desktopNav{
    display: none;
}

/* Stylying the mobile main navigation bar */
#mainNav{
    background: #F9F9F9;
    border: 1px solid #EEE;
    border-left: none;
    border-right: none;
    list-style: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    transform: scale(1,0);
    transform-origin: top;
    transition: transform 0.2 ease-in-out;
}
#mainNav a{
    text-decoration: none;
    color: #000;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}
#mainNav li{
    padding: 1em;
    border: 1px solid #EEE;
    border-left: none;
    border-right: none;
}
#mainNav li:hover{
    background: #E41E26;
    color: #fff;
    transition: background 0.2s ease-in-out;
}
.login{
    background: #E41E26;
    color: #fff;
}
/* Hidding the checkbox */
.navToggle{
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}
/* Positioning the hamburger icon and the "Close Menu" text */
.navToggleLabel, .closeToggleLabel{
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 1em;
    height: 5em;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}
.closeToggleLabel{
    display: none;
}
/* Creating the three lines & the two lines of the closing icon */
.navToggleLabel span,
.navToggleLabel span::before,
.navToggleLabel span::after{
    display: block;
    background: #000;
    height: 2px;
    width: 2em;
    border-radius: 2px;
    position: relative;
}
.navToggleLabel span::before,
.navToggleLabel span::after{
    content: "";
    position: absolute;
}
.navToggleLabel span::before{
    bottom: 7px;
}
.navToggleLabel span::after{
    top: 7px;
}

.navToggle:checked ~ #mainNav {
    transform: scale(1,1);
    transition: transform 0.2s ease-in-out;
}

.navToggle:checked ~ .navToggleLabel{
    display: none;
}
.navToggle:checked ~ .closeToggleLabel{
    display: flex;
}

/* Styling the desktop navigation bar */
@media screen and (min-width: 920px){
    .navToggleLabel, .closeToggleLabel{
        display: none;
    }
    #mainNav{
        display: none;
    }
    #desktopNav{
        display: block;
    }
    #desktopNav ul{
        display: flex;
    }
    #desktopNav li{
        color: #333;
        text-transform: uppercase;
        font-weight: 600;
        list-style: none;
        padding: 1em;
    }
    #desktopNav a{
        text-decoration: none;
    }
    /* Resetting the active state */
    .active{
        background: none;
        color: #000;
    }
    
    /* Adding hover effect */
    #desktopNav li::after{
        content: "";
        display: block;
        height: 5px;
        background: #E41E26;
        transform: scale(0, 1);
        transition: transform ease-in-out 250ms;
    }
    #desktopNav li:hover::after{
        transform: scale(1, 1);
    }
    #desktopNav .login{
        background: #E41E26;
        color: #fff;
        border-radius: 10rem;
    }
    #desktopNav .login::after{
        display: none;
    }
    
    .topBanner{
        margin-top: 0;
    }

}

/* Styling the Tracking box for small screens */
@media screen and (max-width: 500px){
    #trackBox form div{
        flex-direction: column;
        height: 6em;
        justify-content: space-between;
        align-items:center;
    }
    #trackBox .textBox{
        width: 100%;
    }
}






