*{
	margin: 0;
	padding: 0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing: border-box;
}

/* Posición y orientación de la barra de redes sociales */
.redes{
	position: fixed;
	left: 25%;
	top: 75px;
	z-index: 2000;
	transform: rotate(90deg);

}

h1{
	margin-left: -30%;
}

hr{
	width: 160%;
	margin-left: -45%;

}

.redes ul 
{
	list-style: none;

}

.redes ul li a{
	display: inline-block;
	color: #fff;
	background: #000;
	padding: 55px 55px;
	text-decoration: none;
	-webkit-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition: all 500ms ease;
}

.redes ul li .icon-facebook2 
{
	background:#3b5998;
  transform: rotate(270deg);
}

.redes ul li .icon-instagram 
{
	background:#833AB4;
  transform: rotate(270deg);
}
.redes ul li .icon-mail2 
{
	background:#FD1D1D;
  transform: rotate(270deg);
}

.redes ul li a:hover {
	padding: 65px 65px;
	transform: scale(1.3,1.4);
	background:#000; 
	transform: rotate(-90deg); /*Giro completo */
	
}

 
 body {

        background-image: url("../img/contacto2.PNG");
        background-position: top center;
        margin-left: 350px;
        height: auto;
        background-size: 100% 860px;
        background-repeat: no-repeat;

}

.btn-regresar{
	margin-left: -24%;
	font-family: calibrí;
	font-size: 135%;
	text-decoration: none;
}


/* Diseño responsivo */
@media only screen and (min-width: 320px) and (max-width: 480px) {


.redes ul li a{
	padding: 43px 43px;
}


.redes{
	left: 44%;
	top: 7%;
	margin-top: 30px;
 
}


h1{
	margin-left: -325%;
	color: blue;
}

hr{
	width: 1800%;
	margin-left: -1205%;

}

body{

	background-size: 100% 1000px;
	background-image: url("../img/contactop.PNG");
	background-position: top center;


}

.redes ul li a:hover {
	padding: 47px 47px;
	transform: scale(1.3,1.4);
	background:#000; 
	transform: rotate(-90deg); /*Rotación a 270° */
	
}

.btn-regresar{
	margin-left: -328%;
	font-size: 120%;
}



}

@media only screen and (min-width: 481px) and (max-width: 768px) {


.redes{
	left: 18%;
	top: 18%;
	
}

h1{
	margin-left: -75%;
}

hr{
	width: 200%;
	margin-left: -90%;

}

.redes ul li a{
	padding: 37px 37px;
}

body{

	margin-left: 350px;
	background-size: 125% 880px;


}

.redes ul li a:hover {
	padding: 43px 43px;
	transform: rotate(-90deg); 
		
}

.btn-regresar{
	margin-left: -80%;
	font-size: 120%;
}

}

@media only screen and ( orientation: landscape) and (min-width: 769px) and (max-width: 900px)   {

.redes ul li a:hover {
	padding: 50px 50px;
	transform: scale(1.1,1.2);	
	transform: rotate(-90deg); 
	
}

.redes{
	left: 18%;
	top: 17%;
	
}

h1{
	margin-left: -75%;
}

hr{
	width: 200%;
	margin-left: -90%;

}

.redes ul li a{
	padding: 40px 40px;
}

body{

	margin-left: 350px;
	background-size: 125% 880px;


}

.btn-regresar{
	margin-left: -65%;
	font-size: 120%;
}


}

@media only screen and ( orientation: landscape) and (min-width: 900px) and (max-width: 1100px)   {


.redes{
	left: 17%;
	top: 14%;
	
}

h1{
	margin-left: -62%;
}

hr{
	width: 200%;
	margin-left: -90%;

}

.redes ul li a{
	padding: 48px 48px;
}

body{

	margin-left: 350px;
	background-size: 130% 880px;

}

.redes ul li a:hover {
	padding: 55px 55px;
	transform: scale(1.1,1.2);	
	transform: rotate(-90deg); 
	
}

.btn-regresar{
	margin-left: -55%;
	font-size: 125%;
}