@font-face {
    font-family: Litera;
    src: url(fonts/litera-regular.ttf);
}
@font-face {
    font-family: Simpsons;
    src: url(fonts/simpsons.ttf);
}

body{
	font-family: "Litera","Lucida Grande","Helvetica Neue","Helvetica","Arial","Verdana","sans-serif";
	color: #4d4e53;
	margin: 0;
	background-color: #FFFFE6;
}

header h1{
	font-family: "Simpsons","Lucida Grande","Helvetica Neue","Helvetica","Arial","Verdana","sans-serif";
	background-image: url("../img/homer.gif");
	background-repeat: no-repeat;
	background-color: #FFD733;
	background-position: 100px -160px;
	color: #fff;
	margin: 0;
	padding: 30px;
	text-align: center;
	font-size: 2.5em
}
header img{
	background-repeat: no-repeat;
    border-radius: 50%;
    height: 100px;
}

section{
	clear: both;
}
section h2{
	background-color: #FFFF99;
	color: rgba(0,0,0,.87);
	margin: 0;
	padding: 15px 30px;
	font-size: 2em;
}
section h3{
	color: #757575;
	font-size: 1.5em;
}

article{
	padding: 10px 40px;
	text-align: justify;
	clear: both;
}

article img{
	float: left;
    width: 23%;
    height: 200px;
    margin: 5px;
    border: 1px solid #CCCCCC;
	border-bottom: 5px solid #FFD733;
	object-fit: contain;
	background-color: white;
}

article iframe{
	width: 45%;
	height: 300px;
	float: left;
	margin: 1%;
}

.frames{
	width: 45%;
	margin: 5px;
	height: 300px;
	border: 1px solid #CCCCCC;
	border-left: 5px solid #FFD733;
}

footer{
	background-color: #333;
	color: #FFD733;
	margin: 0;
	padding: 30px;
	text-align: center;
	font-size: 2em;
	font-family: "Simpsons","Lucida Grande","Helvetica Neue","Helvetica","Arial","Verdana","sans-serif";
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
    -moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
    box-shadow: 0px 0px 10px rgba(0,0,0,.8);
    clear: both;
}

#superficie{
	background-image: url("../img/homerbbq.jpg");
	background-repeat: no-repeat;
	width: 575px;
	height: 425px;
	border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border: 0px solid;
	margin: 10px;
	margin-left: auto;
	margin-right: auto;
}

#superficie input{
	float: right;
	margin: 5px;
	margin-right: 20px;
	clear: both;
}

#superficie span{
	float: right;
	margin: 5px;
	margin-right: 20px;
	clear: both;
	color: #FFFF99;
	font-size: 1.5em;
	text-align: right;
	background-color: rgba(203, 179, 179, 0.4);
}

input, textarea, select, button {
  width : 150px;
  height: 23px;
  margin: 0;

  -webkit-box-sizing: border-box; /* For legacy WebKit based browsers */
     -moz-box-sizing: border-box; /* For legacy (Firefox <29) Gecko based browsers */
          box-sizing: border-box;
}