/*styleSheet.css
 *@Patryck Brenner
 *@Vanessa Lyra
 *@Christianne Peña
 */

 * {
	font-family: Bookman, URW Bookman L, serif; /* got this font-family on: https://www.w3.org/Style/Examples/007/fonts.en.html */
	text-decoration: none;
    text-align: center;
	box-sizing: border-box; /*for a responsive grid, padding and border included in the total height/width */
	line-height: normal;
	font-size: 16px;	
	}

body {
	background-color: #f5f1ee;
	width: 100%;
	height: auto;
	margin: auto;
	max-width: 1800px;
    min-width: 400px;
}




/*------------------Header------------------*/

#header{
	margin: auto;
    padding: 1%;
    width: 100%;
}




/*------------------Navegation menu------------------*/

.topnav {
	overflow: hidden;
	width: 100%;
	background-color: #069;
	border: 1px solid #ccc;
	
}

.topnav ul {
	display: flex;
}

.topnav li {
	list-style: none;
	padding: 2%;
	width: 16.66%;	
	position: relative;
}

.topnav a {
	text-align: center;
	float: left;
	text-decoration: none;
	color: white;
	transition: 1s;	
	display: block;
	font-size: 1.3em;
	font-family:Impact, fantasy;
}

.topnav a:Hover { 
	transform: scale(1.2);

}


#page_active {
	transform: scale(1.4);
}



/*------------------ This is for the whole page  ------------------*/

.container{
	width:100%;
	margin: auto;
	padding: 1%;
	line-height:normal;
	overflow: auto;
}


/*--- Gives to the main header of each page an uppercase look and justify all the paragraphs in the page ---*/

h2 {
	padding: 2% 0 3% 0;
	text-transform: uppercase;
	border-bottom: 2px solid;
	font-style:italic;
	font-size: 2.22vw;
	font-weight: bold;
}

p {
    text-align: justify;
}


/*------------------ Makes the submit buttom bigger and nicer ------------------*/

.container input#submit
{
margin:7px;
padding-left:15px;
padding-right:15px;
padding-top:7px;
padding-bottom:7px;
}



/*------------------Display the total price box in green when the function totalPrice() is called------------------*/
#totalPrice
{
	margin-top: 7px;
    padding:12px;
    font-weight:bold;
    background-color:green;
}

/*------------------ Gallery ------------------*/

.gallery {
	margin-top: 2%;
	margin-bottom: 5%;
}

.gallery img {
	padding: 1%;
	transition: 0.5s;
	box-shadow: 0px 0px 3px 0px #888888;
}

.gallery img:hover {
	transform: scale(1.2);
}

#link1{
	position: relative;
	left: 400px;
	padding-top: 1em;
}

.side{
	flex: 33.33%;
	padding: 20px;
}

.responsiveimg{
	max-width: 100%;
	height: auto;
}

/*------------------ Footer ------------------*/

.footer {
    background-color: #f5f1ee;
	color: black;
    padding: 0;
	text-align: center;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.footer p{
	text-align: center;
}


/*------------------ Form ------------------*/

#contact_details{
	margin: 5% auto 0;
	display: inline-block;
	text-align: center;	
	
}

#contact_details table td {
	text-align: left;
    padding: 1%;

}

legend{
	text-transform: uppercase;
	font-weight:bold;
	font-style:italic;
    padding-bottom:10px;
}

/*------------------ @media  ------------------*/

/* for 1200px or less */
@media screen and (max-width:1200px) {
.container {width:780px;}
}

/* for 740px or less */
@media screen and (max-width: 740px) {

.container {width:550px;}

.topnav ul {
	height:auto;
	list-style:none;
	margin: 0 auto;
}

.topnav ul li {
	display:block;
	text-align:center;
	width:100%;
	margin-left:0%;
} 
	
.topnav ul li a {
	padding: 2px;
}


#footer {text-align:center;}
}

/* for 680px or less */
@media screen and (max-width: 680px) {
#header {
	height: auto;
}

.topnav ul{
	text-align:center;
	
}
.topnav li{
	display:list-item;
	text-decoration:none;
	list-style:none;
}

#content {
	width:150px;
}

#contact_details table, tr, td, #content {
    clear: both;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    resize: both;
}

/* for 530px or less */
@media screen and (max-width:530px) {
    
body {
width: 100%;
margin: 0 auto;
min-width: 370px;
}

.topnav ul li{
    font-size: 10px;
    padding: 3px;
 
}

#header {font-size: 20px}

#content {width:75px;}

#contact_details table, tr, td, #content {
    clear: both;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    resize: both;
}
 
}