* {
    margin: 0;
    box-sizing: border-box;
}

address span {
    font-size: 1rem;
}

body {
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
    color: white;
}
button {
    margin: 5px 0 10px 10px;
}

div.tableRow {
    display: table-row;
}

div.tableRow label, div.tableRow input {
    display: table-cell;
}

div.tableRow label {
    text-align: right;
}

fieldset {
    padding: 20px;
    margin: 35px;
    background-color: #ededed;
}

footer {
    background-color: #000040;
    font-size: .8rem;
    padding: 5px;
}

footer a {
    color: white;
}

form {
    display: table;
}



header {
    background-color: #000040;
    height: 76px;
    font-family: "Times New Roman", serif;
}

input, textarea {
    margin: 10px 5px 20px 10px;
}

legend {
    border: 1px solid black;
    padding: 10px;
    font-weight: bold;
    font-size: 1.2em;
    background-color: #4286f4;
    color: #fff;
}





.current {
    background-color: #4286f4;
    color: white;
}

.banner {
    background-image: url("../images/SplashBanner.jpg");
    background-size: cover;
    background-position: center center;
    height: 300px;
}

.banner h2, .banner p {
    width: 80%;
    margin: auto;
    padding-top: 60px;
}

.banner h2 {
    font-size: 2rem;
}

.hp {
    display: none;
}

.intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #111111;
    background-image: url("../images/bg-texture.jpg");
    background-size: cover;
    height: 400px;
    width: 100%;
}

.item {
    color: black;
    margin: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.item img {
    margin: 30px;
}

.desc {
    display: block;
}

.product {
    text-align: center;
    font-weight: bold;
    padding: 20px 50px;
}

.product img {
    border: solid 1px black;
}

.categories {
    color: black;
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
}

.responsive {
    /*max-width: 327px;*/
    height: auto;
}

.returnForm {
    color: #000;
    padding: 20px;
    width: 80%;
    margin: 30px;
}

.returnForm h1 {
    padding-bottom: 10px;
}

.topnav {
    background-color: #000040;
    overflow: hidden;
    float: right;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 28px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav .icon {
    display: none;
}

.warning {
    color: red;
    text-align: center;
    margin-top: 10px;
}

#company h1 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: lightskyblue;
}

#company {
    width: 60%;
    height: 360px;
    background-color: rgba(0,0,0,.85);
    border: solid 2px #505050;
    padding: 20px 40px;
    margin: 20px 100px;
}

#company p {
    padding: 10px 0;
}

#copy {
    float: right;
}

#products {
    color: black;
    text-align: center;
    padding: 20px;
}

#sale {
    max-width: 200px;
}


/*    MEDIA QUERIES    */
@media screen and (max-width: 1066px) {
    .topnav.responsive {
        position: absolute;
        z-index: auto;
        right: 0;
        top: 0;
    }
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .topnav a {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
    .topnav a.icon:hover {
        background-color: #000040;
        color: #ddd;
    }
    .intro {
        height: 100%;
    }
    #company {
        width: 60%;
        margin: 20px auto 20px;
        height: 100%;
    }
}

@media screen and (max-width: 600px) {
    fieldset {
        padding: 10px;
        margin: 20px 0;
    }
    form {
        display: block;
    }

    #company {
        width: 80%;
    }
    #copy {
        float: none;
        padding-bottom: 20px;
    }
    #sale {
        margin: auto;
        padding-bottom: 20px;
    }
    .responsive {
        max-width: 270px;
    }
    .returnForm {
        padding: 10px;
        width: 100%;
        margin: 0;
    }
    textarea {
        width: 90%;
    }

    div.tableRow {
        display: block;
    }

    div.tableRow label {
        display: block;
        text-align: left;
    }

    div.tableRow input {
        display: inline-block;
        width: 90%;
    }
}
