@charset "UTF-8";

.container{
	width:780px;
	margin-left:auto;
	margin-right:auto;
	margin-top:20%;
}
#team1{
	position: relative;
	width: 220px;
	height: 220px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	float: left;
}

#team2{
	position: relative;
	width: 220px;
	height: 220px;
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 20px;
	padding-right: 20px;
	float: left;
}

#team3{
	position: relative;
	width: 200px;
	height: 200px;
	margin:0 auto;
	padding-left: 20px;
	padding-right: 20px;
	float:left;
}

.card {
	width: 220px; 
	height: 220px;

}
.face {
	position: absolute;

}
.profile1 {
	position: absolute;margin:0 auto;
}
.profile1  h6{
	padding-top:10px;
}
.profile1  p{
	padding-bottom:10px;
}
#ellegi a {
	background-image:url(images/logogrigio.svg);
	background-repeat:no-repeat;
	background-position:center;
		width: 220px; 
	height: 220px;
	display:block;
}
#ellegi a:hover {
	background-image:url(images/logo.svg);
	
}
#kdr a {
	background-image:url(assets/images/K-MX-grigio.png);
	background-repeat:no-repeat;
	background-position:center;
	background-size: contain;
	margin-top: 20px;
		width: 150px; 
	height: 150px;
	display:block;
}
#kdr a:hover {
	background-image:url(assets/images/K-MX.png);
	
}
#cycling a {
	background-image:url(assets/images/K-CYCLING-grigio.png);
	background-repeat:no-repeat;
	background-position:center;
	background-size: contain;
		width: 200px; 
	height: 200px;
	display:block;
}
#cycling a:hover {
	background-image:url(assets/images/K-CYCLING.png);
	
}
.profile1  .back1 h6{
	padding-top:60px;
}
.profile1  img {
	width: 220px;
	height: 220px;
}
footer {
	width:90%;
	margin-left:auto;
	margin-right:auto;
	position:fixed;
	bottom:0%;
}
footer p{
	font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-size:14px;
text-align:center; 
color:grey
}
footer p a{
	text-decoration:none;
color:grey
}
@media only screen and (max-width: 319px) {
.container {
	width: 220px;
	margin-left:auto;
	margin-right:auto;
		margin-top:2%;
}
#team1{
	position: relative;
	width: 220px;
	height: 220px;
	margin: 0 auto;
	padding-left: 99px;
	padding-right: 99px;
	float: left;
}

#team2{
	position: relative;
	width: 220px;
	height: 220px;
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 99px;
	padding-right: 99px;
	float: left;
}

#team3{
	position: relative;
	width: 200px;
	height: 200px;
	margin:0 auto;
	padding-left: 99px;
	padding-right: 99px;
	float:left;
}

}
@media only screen and (min-width: 320px) and (max-width: 479px) {
.container {
	width: 300px;
	margin-left:auto;
	margin-right:auto;
	margin-top:5%;
}
#team1{
	margin-left:auto;
	margin-right:auto;
	float:none;
		padding-left: 40px;
	padding-right: 40px;
}

#team2{
		margin-left:auto;
	margin-right:auto;
	float:none;
		padding-left: 40px;
	padding-right: 40px;
}

#team3{
		margin-left:auto;
	margin-right:auto;
	float:none;
		padding-left: 40px;
	padding-right: 40px;
}

}
@media only screen and (min-width: 480px) and (max-width: 767px) {
.container {
	width: 419px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 8%;
}
#team1{
	margin-left:auto;
	margin-right:auto;
	float:none;
		padding-left: 99px;
	padding-right: 99px;
}

#team2{
		margin-left:auto;
	margin-right:auto;
	float:none;
		padding-left: 99px;
	padding-right: 99px;
}

#team3{
		margin-left:auto;
	margin-right:auto;
	float:none;
		padding-left: 99px;
	padding-right: 99px;
}
}
