html{
    scroll-behavior: smooth;
}
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body{
    margin: 0;
	padding: 0;
	background-color: #fff;
    line-height: normal;
	box-sizing: border-box;	
}

.cuerpo {
  	
  	text-align: left;
  	font-size: 14px;
  	color: #000;
  	font-family: Inter;
	margin-left: 10px;
	margin-right: 10px;
  	
}

nav{ 
    background-color: lightgrey;
    border-bottom: 2px solid grey;
}
nav ul{
    display: flex;
    list-style: none;
}
nav .lista_home{
    margin-right: auto;
}
nav li{
    display: flex;
}
nav a{
    display: flex;
    text-decoration: none;
    color: black;
    padding: 0.5em 2em;
	transition: background-color 150ms ease;
}
nav a:hover{
    background-color: ivory;
}
nav a.active-link{
    border-bottom: 2px solid whitesmoke;
}
#abrir-boton-menu{
  display: none;
  background: none;
  border: none;
  padding: 1em;
  margin-right: auto;
  cursor: pointer;
}
#abrir-boton-menu:hover{
  background-color: lightgray;
}
#cerrar-boton-menu{
  display: none;
  background: none;
  border: none;
  padding: 1em;
  cursor: pointer;
}
#cerrar-boton-menu:hover{
  background-color: ivory;
}
#overlay{
  background: rgba(211, 211, 211, 0.726);
  position: fixed;
  inset: 0;
  z-index: 9;
  display: none;
}
.seccion-1 {
	margin-top: 5px;
  	height: auto;
		
	.linea-1 {
	margin-left: -5px;
	margin-right: -5px; 
  	border-top: 2px solid #000;
	
  	}
	.ltexto-1 {
  	margin-top: 14px;
	font-size: 20px;
	}
	.ltexto-2 {
  	margin-top: 14px;
	}
	.linea-2 {
  	margin-top: 21px;
  	border-top: 2px solid rgba(0, 0, 0, 0.2);
	margin-left: auto;
	margin-right: auto;
  	max-width: calc(100% - 20px);
	/* margin-bottom: 5px; */
  	}
}
.seccion-2 {
  	height: auto;

	.ltexto-3 {
  	margin-top: 8px;
	font-weight: lighter;
	}

	.slider {
  	margin-top: 9px;
  	display: flex;
  	flex-direction: row;
  	align-items: center;
  	justify-content: flex-start;
  	height: 32px;
  	/* gap: 16px; */
	
	  .track {
  	  flex: 1;
  	  border-radius: 4px;
  	  background-color: rgba(120, 120, 128, 0.16);
	  height: 6px;
	  max-width: calc(100% - 28px);
	  margin-left: auto;
	  margin-right: auto;
	  z-index: 0;
	   .knob5 {
		box-shadow: 0px 0.5px 4px rgba(0, 0, 0, 0.12), 0px 6px 13px rgba(0, 0, 0, 0.12);
		border-radius: 100px;
	  	background-color: #fff;
		width: 28px;
		height: 28px;
		transform:  rotate(180deg);
		transform-origin: 7px 8px;
	   }
	  }
	}
	.linea-3 {
  	/* margin-top: 9px; */
	margin-left: -5px;
	margin-right: -5px; 
  	border-top: 1px solid lightgrey;
	
  	}
		
}
.seccion-3 {
  	height: auto;

	.cuadro-ima {
  	margin-top: 27px;
  	margin-left: auto;
	margin-right: auto;
  	/* background-color: #f5f5f5; */
	background: repeating-linear-gradient(-45deg,
	        ghostwhite,
			ghostwhite 20px,
			grey 20px,
			grey 25px
			);
  	border: 1px solid #000;
  	width: 243px;
  	height: 218px;
	display: flex;
  	flex-direction: row;
  	align-items: center;
	justify-content: center;
	  .cuadro-text {
  	    background-color: #fff;
  	    border: 1px solid #000;
  	    width: 124px;
  	    height: 28px;
		line-height: 28px;
		text-align: center;
        } 
    }
}
.seccion-4 {
  	margin-top: 26px;
  	
	.grid-container{
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		gap: 10px;
		justify-content: center;
		.cuadro-sensor {	
  	background-color: #fff;
  	border: 1px solid rgba(0, 0, 0, 0.2);
  	box-sizing: border-box;
	border-radius: 5px;
  	height: 84px;
	display: flex;
  	flex-direction: row;
	align-items: center;
	padding-left: 15px;
	padding-right: 15px;
	.estado-del-sistema {
  	
	font-weight: bold;
} 
.toggle1{
	order: 2;
    border-radius: 28px;
  	background-color: rgba(120, 120, 128, 0.16);
  	width: 51px;
  	height: 28px;
    margin-left: auto;
	z-index: 0;
	  .knob1 {
		height: 27px;
		box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.04), 0px 3px 8px rgba(0, 0, 0, 0.15), 0px 3px 1px rgba(0, 0, 0, 0.06);
  	border-radius: 100px;
  	background-color: #fff;
  	width: 28px;
	transform:  rotate(180deg);
		transform-origin: 14px 14px;

}

    
    
    
}
}
}
}
.seccion-5 {
  	margin-top: 20px;
  	height: auto;
	display: flex;
  	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	gap: 30px;
	.subcont-1{
	
  .texto-5 {
	text-align: center;
        }
		.sub-ima {
			  	    margin-top: 5px;
					display: flex;
					flex-direction: row;
	                justify-content: center;
  	        .luz-verde {
				order: 1;
				

			}
			.luz-roja {
				order: 2;
				

			}
		}
  

}
.subcont-2{
  
    .texto-6 {
	text-align: center;
        }
		.toggle1{
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
  	max-width: calc(100% - 20px);
    border-radius: 28px;
  	background-color: rgba(120, 120, 128, 0.16);
  	width: 51px;
  	height: 28px;
    
	z-index: 0;
	  .knob1 {
		height: 27px;
		box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.04), 0px 3px 8px rgba(0, 0, 0, 0.15), 0px 3px 1px rgba(0, 0, 0, 0.06);
  	border-radius: 100px;
  	background-color: #fff;
  	width: 28px;
	transform:  rotate(180deg);
		transform-origin: 14px 14px;

}

    
    
    
}
  

}

}
footer {
  	background-color: black;
	color: white;
	font-size: 20px;
}
@media (min-width: 600px) {

	.cuerpo{
		text-align: center;
		align-content: center;
	}
}
@media (max-width: 600px) {
	#abrir-boton-menu, #cerrar-boton-menu{
        display: block;
    }
    nav{
        position: fixed;
        top: 0;
        left: -100%;
		/* left: 0; */
        height: 100vh;
        width: min(15em, 100%);
        z-index: 10;
        border-right: 1px solid black;
        transition: right 300ms ease-out;
    }
    nav ul{
        width: 100%;
        flex-direction: column;
    }
	nav .lista_home{
		margin-right: unset;
	}
    nav.show{
        left: 0;
    }
    nav.show ~ #overlay{
        display: block;
    }
    nav a{
        width: 100%;
        padding-left: 2.5em;
    }
}
	