@font-face {
	font-family: "Gotham-Book";
  	src: url("../fonts/Gotham-Book.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
		url("../fonts/Gotham-Book.otf") format("opentype"), /* Open Type Font */
    	url("../fonts/Gotham-Book.svg") format("svg"), /* Legacy iOS */
    	url("../fonts/Gotham-Book.ttf") format("truetype"), /* Safari, Android, iOS */
    	url("../fonts/Gotham-Book.woff") format("woff"), /* Modern Browsers */
    	url("../fonts/Gotham-Book.woff2") format("woff2"); /* Modern Browsers */
  	font-weight: normal;
  	font-style: normal;
}

body {
	width: 100%;
	height: auto;
	font-family: 'Gotham-Book', sans-serif;
	background-color: lightgray;
	margin-top: 0px;
	padding-top: 0px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

header{
	width: 960px;
	height: 530px; /* You must set a specified height */
	background-image: url("../img/img-back-header.jpg"); /* The image used */
	background-color: #ffffff; /* Used if the image is unavailable */
	background-position: center; /* Center the image */
	background-repeat: no-repeat; /* Do not repeat the image */
	background-size: cover; /* Resize the background image to cover the entire container */
	padding-top: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

img {
	max-width: 100%;
	height: auto;
  }
  
.centrar_img{
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

#contacto{
	background-color: #ffffff ;
	width: 960px;
}

#gracias{
	padding-top: 100px;
	padding-bottom: 100px;
	color: black;
	text-align: center;
}

form {
	/* Centrar el formulario en la página */
	margin: 0 auto;
	width: 800px;
	/* Esquema del formulario */
	padding: 1em;
	border-radius: 1em;
	color: black;
  }

  .formato_input{
	  width: 95%;
	  font-size: 18px;
	  padding: 5px;
  }

textarea {
	width:95%;
	height:100px;
	border: 2px;
  }

  input[type=submit] {
	background-color: #772583;
	border: none;
	color: white;
	padding: 16px 64px;
	text-decoration: none;
	font-size: 32px;
	margin: 4px 2px;
	margin-left: 35%;
	cursor: pointer;
  }

  #final{
	margin-top: 60px;
	margin-bottom: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
  }

  #cta-final{
	  width: 500px;
	  border-style: solid;
	  border-width: 1px;
	  border-color: #00ffff;
	  padding: 30px;
	  text-align: center;
	  color: white;
	  font-size: 18px;
  }



@media all and (min-width: 600px) and (max-width: 1023px) {

	body {
		width: 95%;
		font-family: 'Gotham-Book', sans-serif;
		background-color: lightgray;
		margin-top: 0px;
		padding-top: 0px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	header{
		width: 95%;
		height: 400px;
		background-image: url("../img/img-back-header.jpg"); /* The image used */
		background-color: #006da8; /* Used if the image is unavailable */
		background-position: center; /* Center the image */
		background-repeat: no-repeat; /* Do not repeat the image */
		background-size: cover; /* Resize the background image to cover the entire container */
		padding-top: 40px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
	}
	
	img {
		max-width: 90%;
		height: auto;
	  }
	  
	.centrar_img{
		text-align: center;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
	#contacto{
		background-color: #white ;
		width: 95%;
	}
	
	form {
		/* Centrar el formulario en la página */
		margin: 0 auto;
		width: 90%;
		/* Esquema del formulario */
		padding: 1em;
		border-radius: 1em;
		color: black;
	  }
	
	  .formato_input{
		  width: 90%;
		  font-size: 18px;
		  padding: 5px;
	  }
	
	textarea {
		width:95%;
		height:100px;
		border: 2px;
	  }
	
	  input[type=submit] {
		background-color: #772583;
		border: none;
		color: white;
		padding: 16px 64px;
		text-decoration: none;
		font-size: 32px;
		margin: 4px 2px;
		margin-left: 35%;
		cursor: pointer;
	  }
	
	  #final{
		margin-top: 60px;
		margin-bottom: 60px;
		display: flex;
		flex-direction: column;
		align-items: center;
	  }
	
	  #cta-final{
		  width: 80%;
		  border-style: solid;
		  border-width: 1px;
		  border-color: #00ffff;
		  padding: 30px;
		  text-align: center;
		  color: white;
		  font-size: 18px;
	  }
}





@media all and (max-width: 599px) {

	body {
		width: 95%;
		font-family: 'Gotham-Book', sans-serif;
		background-color: white;
		margin-top: 0px;
		padding-top: 0px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	header{
		width: 100%;
		height: 550px;
		background-image: url("../img/img-back-header-movil.jpg"); /* The image used */
		background-color: #006da8; /* Used if the image is unavailable */
		background-position: center; /* Center the image */
		background-repeat: no-repeat; /* Do not repeat the image */
		background-size: cover; /* Resize the background image to cover the entire container */
		padding-top: 40px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	
	img {
		max-width: 100%;
		height: 300px;
	  }
	  
	.centrar_img{
		text-align: center;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
	#contacto{
		background-color: white ;
		width: 95%;
	}
	
	form {
		/* Centrar el formulario en la página */
		margin: 0 auto;
		width: 90%;
		/* Esquema del formulario */
		padding: 1em;
		border-radius: 1em;
		color: black;
	  }
	
	  .formato_input{
		  width: 95%;
		  font-size: 18px;
		  padding: 5px;
	  }
	
	textarea {
		width:95%;
		height:100px;
		border: 2px;
	  }
	
	  input[type=submit] {
		background-color: #772583;
		border: none;
		color: white;
		padding: 16px 64px;
		text-decoration: none;
		font-size: 32px;
		margin: 4px 2px;
		margin-left: 35%;
		cursor: pointer;
	  }
	
	  #final{
		margin-top: 60px;
		margin-bottom: 60px;
		display: flex;
		flex-direction: column;
		align-items: center;
	  }
	
	  #cta-final{
		  width: 80%;
		  border-style: solid;
		  border-width: 1px;
		  border-color: #00ffff;
		  padding: 30px;
		  text-align: center;
		  color: white;
		  font-size: 18px;
	  }

}