@media (max-width: 700px){
.header {
    position: relative;
    background-color: rgb(255, 255, 255);
    height: 25vh;
    min-height: auto;
    width: 100%;
    overflow: hidden;
  }
}
header{
      position: relative;
      background-color: rgb(255, 255, 255);
      height: 85vh;
      min-height: auto;
      width: 100%;
      overflow: hidden;
}
  
  
  header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 100%;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }
  
  header .container {
    position: relative;
    z-index: 2;
  }
  
  header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: rgb(0, 0, 0);
    opacity: 0.1;
    z-index: 1;
  }
hr{
  width:1;
  border-color:transparent;
  height: 2rem;
  
}


  
  
  html{
    font-size: 72.5%; /* Reset para REMS - 62.5% = 10px de 16px*/
}
/*Globales*/
body{
    font-family:'Montserrat', sans-serif;
}
p{
    font-size: 1.8rem;
}
.contenedor {
    max-width: 1200px;
    margin: 0 auto 0 auto; /* Centra el contenedor principal*/
}

h1{
    font-size: 3.6rem;
}
h2{
    font-size: 3.4rem;
}
h3{
    font-size: 3rem;
}
h4{
    font-size: 2.6rem;
}

/* Utilidades */
.seccion{
    margin-top: 2rem;
    margin-bottom: 2rem;

}

/*Header*/
.site-header.inicio {
    background-image: url(../img/);
    background-position: center center;
    background-size: cover;/* Forza todo el tamaño disponible de la imagen sin distorcionarla */
    height: 100vh; /* Toma la medida de la pantalla*/
    min-height: 600px;/* Medida minima establecida*/
}
.contenido-header {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
.contenido-header h1{
    color: green;
    padding-bottom: 2rem;
    max-width: 60rem;
    line-height: 2;
}
.barra{
    display: flex;/* Barra separada*/
    justify-content: space-between;/* Alinea los contenidos de la barra hacia los lados*/
    align-items: flex-start;
    padding-top:5px; /* Agrega una separaion con la parte superior */
    
}
.barra2{
    display: flex;/* Barra separada*/
    justify-content: space-between;/* Alinea los contenidos de la barra hacia los lados*/
    align-items: center;
    padding-top:5px; /* Agrega una separaion con la parte superior */
    color:rgb(255, 254, 254);
    text-decoration: none;/* Quita las lineas debajo del Texto*/
    font-size: 16px;
    margin-right: 25px;
    text-align: center;
}


.contenedorInicial a:hover{
    color:green; /* color que se muestra al pasar el cursor por los enlaces*/
}
/*Navegacion*/
.navegacion a{
    color:rgb(21, 110, 40);
    text-decoration: none;/* Quita las lineas debajo del Texto*/
    font-size: 17px;
    margin-right: 25px;
    font-family:Saira;
    
    
    
}
.navegacion a:hover{
    color:rgb(136, 136, 136); /* color que se muestra al pasar el cursor por los enlaces*/
}
.navegacion a:last-of-type{
    margin: 0;
}


.inf{
  background-image: url(../img/pie8.png);
  background-repeat: round;
  background-size: cover;  
}

  
.justificar{
  text-align: justify;
}
.puntos{
  color: rgb(0, 0, 0);
  text-anchor: unset;
}
.fondodiv{
  background-color: rgb(255, 255, 255);
  color: rgb(7, 6, 6);
}
.fondoautoma{
  background-image: url(../img/circuito.png); 
  padding: 3%;

}
.fondoinv{
  background-color:white;
  opacity: 0.7;
  padding: 2%;
}
.imgsize{
  width: 400px;
  height: 300px;
}
.inv{
    background-image: url(../img/invernaderos.png);
    background-size: 100% auto;
    background-repeat: no-repeat; 
    backface-visibility: hidden;    
}
.div-imagen {
  display:inline-block;
  position:relative;
  transition: all 300ms;
}

.div-imagen > div {
  position:absolute;
  top:0;
  left:0;
  z-index:-1;
  padding:10px;
  margin:0;
  

}
.content-txt{ /* Sirve para el texto en las imagenes */
  position: absolue;
  top: 0;
  width: 90%;
  padding: 10px;
  z-index: 10;
  color: black;
  text-align: center;
  margin-top: 10%;

}
.conten-txt h2{
  font-size: 30px;
  opacity: 0;
  -webkit-transform: scale(0.2);
  transform: scale(0.2);
  -webkit-transition: all 300ms;
  transition: all 300ms;


}
.conten-txt p{
  font-size: 20px;
  margin-top: 10px;
  opacity: 0;
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
  -webkit-transition: all 500ms;
  transition: all 500ms;
  
}

.desvanecer:hover {
  opacity: 0.1; 
  -webkit-transition: all 300ms;
  transition: all 300ms;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  
}

.desvanecer:hover h2{
  opacity: 1;
  -webkit-transition: all 300ms;
  transition: all 300ms;
  -webkit-transform: scale(1);
  transform: scale(1);

}
.desvanecer:hover p{
  opacity: 1 ;
  -webkit-transition: all 500ms;
  transition: all 500ms;
  -webkit-transform: scale(1);
  transform: scale(1);

}
.centrar{
    text-align: center;    
}
.fondocontact{
    background-color: rgb(2, 165, 24);
    
}
.textoblanco{
  color: rgb(255, 255, 255); 
}
.fondo2{
    background-color: rgb(255, 255, 255);
}
.sistemas-riego{
  background-color: rgba(255, 255, 255, 0.774);
}
.geomembranas{
  background-color: rgb(255, 255, 255);
}
textarea {
  display : block;
  padding : 75px;  
  width   : 400px;
  height  : 200px;
  resize  : auto;
  overflow: hidden;
}

/* Modal */
.modal{
	display: none;
	position: fixed;
	z-index:1;
	overflow: auto;
	left: 0;
	top:0;
	width: 100%;
	height:100%;
	background: rgb(255, 255, 255);
}

.contenido-modal{
	position: relative;
	margin: auto;
	width: 100%;
	box-shadow: 0 0 6px 0 rgba(0, 0, 0, .4);
	animation-name: modal;
	animation-duration: 1s;
}
@keyframes modal{
	from{top:-330px; opacity:0;}
	to{top:0; opacity:1;}
}
.close{
	color: #ffffff;
	font-size:30px;
	font-weight: bold;
}
.close:hover{
	color:#04d84a;
	text-decoration: none;
	cursor: pointer;
}

.modal-header, .footer{
	padding: 8px 16px;
	background: #04b34d;
	color:#ffffff;
}

.modal-body{
	padding: 20px 16px;
}

@media screen and (max-width:900px){
	.contenido-modal{
		width: 100%;
	}
	.textos{
		padding: 150px;
	}
}

@media screen and (max-width:500px){
	.textos{
		padding:50px;
	}
}
.controladores{
  background-image: url(../img/panal.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2%;

}
.te{
  font-size: 1.4rem;
}

