/*HTML*/
html {
    font-family: Helvetica, Arial, sans-serif;
}
.nav li a:hover {
    background-color: transparent;
}
/*Body*/
body {
    background-color: gray;
}
/*Header*/
header {
    background-color: gray;
}
.jumbotron {
    background-image: url(../images/healthy-foods.jpg);
    background-repeat: no-repeat;
    color: white;
    margin-bottom: 0px;
}
h1 {
    padding-top: 7.7%;
    padding-right: 18.1%;
}
header h2 {
    padding-top: 2.2%;
    font-size: 4rem;
    display: inline-block;
}
ul {
    padding-top: 2.2%;
    float: right;
}
ul li a {
    color: white;
    font-size: 1.5rem;
}
ul li a:hover{
    color: white;
    
}
#current {
    background-color: #7F8164;
}
#current:hover {
    color:black
}
/*Main*/
main {
    background-color: gray;
    font-size: 20px;
    color: white;
}
main .container h2 {
    font-size: 2.5rem;
    padding-top: 20px;
}
main .container p {
    font-size: 2rem;
}
main div.row {
    width: 1110px;
    margin: 0;
}
main .container {
    text-align: center;
    width: 1110px;
    padding: 0;
}
.myCarousel h3 {
    padding-right: 25px;
}
main nav.navbar-sticky-top {
    text-align: right;
}
/*Footer*/
footer .container {
    padding: 0;
    width: 1110px;
    height: 85px;
    color: white;
    background-color: black;
}
footer .container p {
    font-size: small;
    width: 10%;
    float: right;
    margin-right: 2.5%;
    padding-top: 2%;
    display: block;
}

@media only screen and (max-width: 1200px){
    main div.row {
        width: 930px;
    }
    main .container {
        width: 930px;
    }
    footer .container {
        width: 930px
    }
}

@media only screen and (max-width: 992px) {
    header h2 {
        font-size: 3rem;
    }
    header h1 {
        font-size: 3.5rem !important;
    }
    main div.row {
        width: 690px;
    }
    main .container {
        width: 690px;
    }
    footer .container {
        width: 690px
    }
    main .container h2 {
        font-size: 2rem;
    }
    main .container p {
        font-size: 1.5rem;
    }
    footer .container p {
        width: 14%;
    }

}
@media only screen and (max-width: 768px) {
    header h2 {
        font-size: 2rem;
    }
    header h1 {
        font-size: 2.5rem !important;
    }
    header ul li a {
        font-size: 1rem;
    }
    main div.row {
        width: 510px;
    }
    main .container {
        width: 510px;
    }
    footer .container {
        width: 510px;
    }
    main .container h2 {
        font-size: 1.5rem;
    }
    main .container p {
        font-size: 1rem;
    }
    div#S-container h3 {
        font-size: 1.5rem; 
    }
    footer .container p {
        width: 14%;
        font-size: 75%;
    }
}
@media only screen and (max-width: 575px) {
    main div.row {
        width: 470px;
    }
    main .container {
        width: 470px;
    }
    footer .container {
        width: 470px;
    }
    header .container {
        width: 500px;
    }
    div#S-container {
        width: 500px;  
    }
    div#S-container h3 {
        font-size: 1rem; 
    }
    header div.jumbotron {
        width: 470px;
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
    footer .container p {
        width: 14%;
        font-size: 75%;
    }
    button.navbar-toggler {
        margin-right: 1.5%;
    }
}


@media only screen and (max-width: 500px) {
    main div.row {
        width: 345px;
    }
    main .container {
        width: 345px;
    }
    footer .container {
        width: 345px;
    }
    header .container {
        width: 375px;
    }
    header div.jumbotron {
        width: 345px;
    }
    div#S-container {
        width: 375px;  
    }
    div#S-container h3 {
        font-size: 1rem; 
    }
    main .container h2 {
        font-size: 1.25rem;
    }
    main .container p {
        font-size: .75rem;
    }
    .navbar-nav .nav-link {
        padding-right: 10px;
        padding-left: 10px;
        text-align: center;
        font-size: 50%;
    }
    footer .container p {
        width: 20%;
    }
}