/* css file for the eco company html page */
.main_div{
     /* adds padding below the nav div */
    max-width: 1000px;
    margin: 0 auto;
    display: grid; /* creates a grid */
    grid-gap: 5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* makes items responsisve */
    padding-bottom: 8rem;
}

.item{
    /* indidivual items in grid */
    color: white;
    padding: 1rem;
    height: 10rem;
    /* width: 25rem; */
}

img{
    max-width: 100%; /* allows images to fit the size of the div  */
    max-height: 100%;
    object-fit: cover;
    display: block; /* remove extra space below image */
}

.column#zoomIn img { /* hover animation on the image */
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.column#zoomIn:hover img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}

.column { /* text under images  */
	display: inline-block;
	text-align: center;
    color: black;
}

#title{
    padding-top: 2rem;
    text-align: center;
}

#sauce{
    text-align: center;
    padding-bottom: 2rem; /* adds padding before the contact div */
}