/*
CSS3.
	Regla del 0,0
	Carga de fuentes
	Body
	Contendor
	Contenido
	
Colores:


*/

/*Regla del 0,0*/
* {
	margin:0px;
	padding: 0px;
	text-decoration: none;
	list-style: none;
	box-sizing: border-box;
	color: #000;
	font: menu;
	font-size: 16px;
}
/*Se quitan todos los bordes a las imagenes, para Internet Explorer*/
img {
    border:none;
}

/* Cargamos las fuentes para mostrar la pagina*/


/*Le damos un color al fondo y una fuente para toda la pagina*/
body {
	background-color:white;	
}




.secTratamientos{
	margin-top: 1%;
	margin-bottom: 1%;
	display: flex;	
	flex-direction:row;
	justify-content: center;
	align-items:center;
	padding-left: 1px;
	font-size: 18px;
	
}

.secTratamientos ul{
	width:80%;	
	display:grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
	justify-items: center;
}


.tratamiento{
	position:relative;
}
.tratamientoData{
	width: 100%;
	height: 100%;
	margin-top: -20%;
	text-align:center;
	font-size: 18px;
	color: white;
	width:100%;
	font-weight: bold;
}
h1{
	font-size: 18px;
	font-weight: bold;
}


.overlay div{
	text-align: center;
	gap: 16px;
}

.enlaceMasInfo{
	background-color: black;
	color:white;
	border-radius: 2px;
	padding: 2px;
	margin-top: 10px;
}

h1 {
	margin-bottom: 10px;
}

.imgTratamiento{
	max-width:100%;
	aspect-ratio: 1/1;
	object-fit: cover;	
	z-index:-10;
	max-height:400px;
}

.tratamiento:hover, .tratamiento:focus  {
	border: none;
}



/*************** MOVILES***************************** */
@media (max-width: 858px){
	.secTratamientos{
		margin-top: 2%;
		margin-bottom: 5%;
	}
}
/************************************************************** */

