/* Golobal Style Rules */

body {
    margin: 0%;
    padding: 0%;
    width: 100%;
    font-family: "Slabo 13px", serif;
    font-size: 18px;
}

section {
    padding:3em, 6em, 3em, 6em;
}

.flex-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

img {
    max-width: 100%;
}

/* Headings */
h1, h2, h3 {
    font-family: "Caacupe One", sans-serif;
    font-size: 50px;
    font-weight:normal;
}
h1 {
    margin: 5%;
    font-size: 80px;
}
h2, h3 {
    text-align: center;
    font-size: 60px;
}

/* Links */
a {
    color:white;
    font-weight: bold;
}
/* Button */
button {
    background-color: rgb(209, 0, 0);
    border: 5px solid rgba(0, 0, 0, 0.658);
    border-radius: 20%;
    height: 10%;
    font-size: 20px;
    margin-top: 10px;
}
.btn {
    text-decoration: none;
    font-size: 30px;
    padding-bottom: 10px;
}

/* Home Page Section */
/* Header and Nav Style Rules */
 nav {
    display: flex;
    justify-content: center;
    background-color: #232323;
}
 nav img {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 30%;
    padding-right: 25%;
    color: white;
}
nav ul, li {
    font-size: 25px;
    margin-right: 1em;
    display: flex;
    flex-wrap: nowrap;
}
 nav button{
    margin-right: 10px;
}
 nav a {
    color:white;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Hero Section Styles */
 .hero {
    background-image: url("images/bikePictures/bike_hero.jpg");
    background-size: cover;
    height: 80vh;
    padding: 3em;
}
.hero h1 {
    margin-top: 3%;
    margin-bottom: 30px;
}
/* Button */
.hero button {
    margin-left: 3%;
}

/* How It Works Section */
.how_It_Works_Section {
    /* Paragraphs */
        font-size: 18px;
}
.how_It_Works_Section .flex-container {
    display: flex;
    flex-direction: row;
}
.how_It_Works_Section .flex-item {
    display: block;
    margin: auto;
    padding: 30px;
    display: flex;
    flex-basis: 300px;
    flex-direction: column;
}
/* Icons */
.how_It_Works_Section img {
    display: block;
    margin: auto;
    width: 100%;
}


/* Who We Are Section */
.who_We_Are_Section {
    background-color: #adc5e4;
    font-size: 20px;
    padding-top: 3px;
}
.who_We_Are_Section div {
    display: flex;
    align-items: flex-start;
}
.left {
    padding-left: 3%;
    padding-top: 4%;
    display: flex;
    flex-wrap: wrap;
    flex-basis: 48%;
}
/* Check Marks */
.left li {
    list-style-type: none;
}
.left i {
    color: #dd0000;
    font-size: 1em;
    padding-right: 1em;
}
/* Thumbs-Up Image */
.right {
    margin-right: auto;
    margin-left: auto;
    margin-top: 5px;
    margin-bottom: 5%;
    padding-left: 5%;
}
.right img {
    display: flex;
    flex-basis: 48%;
    /* Border */
    border: 10px solid rgb(209, 0, 0);
    width: 90%;
}

/* Testimonials Section */
.testimonial_Section .flex-container {
    font-size: 1em;
    display: flex;
    align-items: stretch;
    flex-direction: row;
}
.testimonial_Section .flex-item {
    margin: auto;
    padding-right: 3%;
    padding-left:3%;
    padding-bottom: 50px;
    display: flex;
    flex-basis: 48%;
    flex-direction: column;
}
/* Testimonial Images */
.testimonial_Section img {
    width: 800px;
}
/* Quote Icon */
.testimonial_Section i {
    color: #dd0000;
    float: left;
    font-size: 5em;
    margin-right: 25px;
}
/* Customer Names */
.testimonial_Section .ltbold {
    font-weight: bold;
    color: #282828;
}

/* Ready to Sell Section */
.ready_To_Sell_Section {
    background-color: #adc5e4;
    padding-top: 5px;
    padding-bottom: 50px;
    text-align: center;
}
/* Button Height */
.ready_To_Sell_Section button {
    height: 60px;
}

.ready_To_Sell_Section h3 {
    margin-bottom: 20px;
}

/* Brand Logos Section */
.brand_Section {
    background-color: white;
}
.brand_Section .flex-container {
    display: flex;
    flex-direction: row;
}
.brand_Section img {
    width: 10%;
    margin: auto;
    padding-top: 45px;
    padding-bottom: 45px;
} 

/* Footer Styles */
footer {
    background-color: #282828;
    color: white;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 20px;
}

/*Social Media Icons */
footer ul {
    padding-left: 130px;
}
footer li{
    display: inline;
}
footer i {
    color: #dd0000;
    font-size: 4em;
    padding-right: 1em;
}
footer a i:hover {
    color:#aa0000;
}

/* Inventory Page Section */
/* Bike Section */
.bike {
    padding-top: 1.5em;
    padding-right: 2em;
    padding-bottom: 1.5em;
    padding-left: 2em;
    border-bottom: 5px dashed red;
}
.bike .flex-container {
    display: flex;
    flex-direction: row;
    padding-bottom: 20px;
}

/* Bike Table */
.bike table {
    border-collapse: collapse;
    margin: auto;
}
.bike td, th{
    border: 1px solid black;
}

/* Align the table th left */
table th {
    text-align: left;
}

/* Bike Image */
.bike img {
    width: 80%;
}

/* Contact Page Section */
.contact {
    width: 45%;
    margin: auto;
}
.contact h1 {
    text-align: center;
}

.contactspace, .contactspace2{
    background-color: #e9e9e9;
    color: white;
    margin-left: 58px;
    width: 300px;
    height: 20px;
    clear: none;
    position: absolute;
}
.contactspace2 {
    width: 340px;
}

.contactform, contactform2 {
    margin: 3em, auto, 3em, auto;
    background-color: #e9e9e9;
    border: 1px solid black;
    padding-right: 2em;
    padding-bottom: 5%;
    clear: none;
}

.contactform h3 {
 text-align:left; 
 margin-top: -.7em; 
 padding-left: 1em;
 color: #aa0000;
 position: relative;
}

form {
    padding: 0px, 2em, 2em, 2em;
    padding-left: 1em;
    padding-right: 1em;
    margin: 0.5em, 0px, 0.5em, 0px;
}

input[type=text], select, textarea {
    width: 100%;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    color: grey;
}

.contact button {
    margin-top: 20px;
    margin-bottom: 5%;
}



/* Mobile Styles (Come Back To) */
@media only screen and (max-width: 767px) {
    /* Body */
    body {
        font-size: 1em;
    }

    /* Section */
    section {
        padding: 1em;
    }

    /* Flex-container */
    .flex-container, nav {
        display: flex;
        flex-direction: column;
    }
    /* Header and Nav */
    nav img {
        margin: 10px;
        padding-left: 250px;
    }
    nav {
        width: 100%;
    }
    nav ul {
        margin: 0px;
        padding: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    nav li {
        display: block;
        text-align: center;
        border-bottom: 1px, solid, black;
        padding: 0.5em;
    }

    /* Hero Section */
    .hero {
        background-image: url("images/bikePictures/bike_hero.jpg");
        text-align: center;
        height: 120vh;
        padding-top: 1em;
        padding-right: 6em;
        padding-left: 6em;
    }
    .hero h1 {
        font-size: 4em;
        margin-top: 10px;
    }

    /* How it Works */
    .how_It_Works_Section .flex-container {
        display: flex;
        flex-direction: column;
    }


    /*Don't display Brands */
    /*.brand_Section {
        overflow: hidden;
    }*/

    /* Paragraphs */
    p {
        font-size: 1em;
    }

    /* Images */
    img {
        width: 50%;
    }

    /* Footer */
    footer p {
        font-size: 1.5em;
    }
    footer ul {
    padding-left: 50px;
    }
    footer li{
        display: inline;
    }
    footer i {
        color: #dd0000;
        font-size: 4em;
        padding-right: 5px;
    }

    /* Iventory Page Table */
    .bike table {
        display: flex;
        justify-content: center;
        padding-left: 25px;
    }
    .bike .flex-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .bike img {
        padding-left: 80px;
        padding-bottom: 30px;
    }

    /* Contact Page */
    .contactform h3 {
    
    margin-top: -.7em; 
    padding-left: 10px;
    color: #aa0000;
    position: absolute;
    }
    .contactform2 {
        padding-left: auto;
        font-size: 56px;
    }
    .contactspace, .contactspace2{
    background-color: #e9e9e9;
    color: #e9e9e9;
    margin-left:10px;
    width: 300px;
    height: 20px;
    clear: none;
    position: absolute;
    }
    .contactspace2 {
        width: 317px;
    }
    form {
        padding-top: 50px;
    }
}
