body {

 margin: 0px;
  padding:0;
  height: auto;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: "Arial", Helvetica, sans-serif; /* Fuente*/
  text-align: justify; /* texto justificado */
  color: #fff;



background: linear-gradient(135deg, #CC3333, #FF5733, #0066CC, #000033);
  
  background-repeat: no-repeat;
  background-size: cover;   
  
}
  


  header {
    padding: 20px 0;
    background: linear-gradient(90deg, rgba(10,161,18,1) 0%, rgba(10,161,18,1) 35%, rgba(6,87,8,1) 100%);
    box-shadow: 0 4px 6px rgba(0,0,0,.2);  
  }
  
  .container  {
    padding: 0 20px;
    max-width: 960px;
    margin: 0 auto;
  }

  .logo-box {
    float: left;
    margin-right: 5px;
  }
  
  .logo-box a {
    outline: none;
    display: flex;
  }

  .logo-box img {display: block;}
  
  nav {
    overflow: hidden;
  }

  ul {
    list-style: none;
    margin: 0;
    padding: 0;
    float: auto;
   
  }

  nav li {
    display: inline-block;
    margin-left: 25px;
    height: 70px;
    line-height: 70px;
    transition: .5s linear;
    position:relative;
  }

  nav a {
    text-decoration: none;
    display: block;
    position: relative;
    color: #f7eeee;
    text-transform: uppercase;
  }

  nav a:after {
    content: "";
    width: 0;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 15px;
    background: #f7eeee;
    transition: width .5s linear;  
  }

  nav a:hover:after {width: 100%;}

  

  
  /*CODIGO PARA REDIMENSIONAR LAS IMAGENES*/

  img.redimension {
    border-radius: 20px;
    max-width:30%;
    max-height:30%;
    }
  
    img.redimension2 {
    max-width:20%;
    max-height:20%;
    }  

  .contenedor-imagenes {
	display: flex;
	justify-content: center;
  }

  img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
   
  }

.centrado{
    text-align: center;
    color: #ffffff; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* sombra suave para mejorar contraste */
           }

.izquierda{
    text-align:left;
    color:  #ffffff; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* sombra suave para mejorar contraste */
       }
.justificado{
text-align: justify;
color: #ffffff; 
text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* sombra suave para mejorar contraste */
}

.amarillo-negro {
  text-align: center;
  color:rgb(7, 7, 7);
  background-color:  rgb(245, 245, 10);
              }

.white-link {
  color: #ffffff !important;
  text-decoration: none;
}

.white-link span {
  color: #ffffff !important;
}

/*******************************************/


/******************************************/
/*Codigo Carousel*/
/* Contenedor del carrusel */
.container2 {
  position: relative;
  width: 350px;
  margin: 180px auto 0 auto;
  perspective: 1000px;
}

/* Carrusel en rotación */
.carousel {
  position: relative;
  width: auto;
  height: 310px;
  transform-style: preserve-3d; 
  /* Puedes quitar la siguiente línea para que no rote automáticamente */
  animation: rotate360 180s infinite linear; 
}

/* Cada cara del carrusel */
.carousel__face {
  position: absolute;
  width: 390px;
  height: 200px;
  top: 20px;
  left: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 0 0 2000px rgba(0,0,0,0.3);
  border-radius: 2px;
  overflow: hidden;
}

/* Imagen de fondo */
.carousel__face img {
  width: 390px;
  height: 180px;
  object-fit: cover;
}

/* Texto debajo de la imagen con fondo degradado */
.texto {
  width: 100%;
  padding: 4px;
 background: linear-gradient(45deg, #8b5e3c, #d2b48c);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  font-size: .7rem;
  text-align: center;
  margin: 0;
}


/* Posiciones para 7 caras */
.carousel__face:nth-child(1) {
  transform: rotateY(0deg) translateZ(430px);
}
.carousel__face:nth-child(2) {
  transform: rotateY(51.43deg) translateZ(430px);
}
.carousel__face:nth-child(3) {
  transform: rotateY(102.86deg) translateZ(430px);
}
.carousel__face:nth-child(4) {
  transform: rotateY(154.29deg) translateZ(430px);
}
.carousel__face:nth-child(5) {
  transform: rotateY(205.71deg) translateZ(430px);
}
.carousel__face:nth-child(6) {
  transform: rotateY(257.14deg) translateZ(430px);
}
.carousel__face:nth-child(7) {
  transform: rotateY(308.57deg) translateZ(430px);
}
/* Animación de rotación del carrusel */
@keyframes rotate360 {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(-360deg); }
}
/******************************************/
/*Formato del Formulario*/

/*Cuerpo*/

.cuerpo-form {
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

	form {
	  padding: 50px 55px;	
		 box-shadow: 0 0 20px rgba(0, 0, 0, .7);
		 border-radius: 20px;
		 text-align: center; 
		 width: 340px;
	}

.input-group{
	    display: flex;
			 flex-direction: column;
			 text-align: left;
    }

	.t-letra{
	  color:#ffffff;
      font-size: 20px;
      text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
	}
	
	label{
		 color:#ffffff; 
         text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
		 font-size: 15px;
		 font-weight: 600;
		 margin-bottom: 5px;
	}

	input,textarea{
		padding: 5px 13px;
		border-radius: 25px;
		margin-bottom: 5px;
		background-color: #edfff0;
		border: 2px solid #f0faf1;
		color: #283629;
		outline: none;
 	}

	input::placeholder, textarea::placeholder{
		color: #b5cab6;
	}

	.form-txt{
		margin-bottom: 30px;
		display: flex;
		justify-content: space-between;
		text-align: center;
	}

	.form-txt a{
		color: #ffffff;
		font-size: 14px;
		font-weight: 600;
        text-decoration: none;
	}

	.btn{
		font-size: 16px;
		color:#ffffff;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
		border: 0;
		border-radius: 25px;
		background-color: #51d94c;
		box-shadow: 0 0 20px rgba(25, 254, 0, 0.4);
		cursor: pointer;
	}

	.btn:hover{
		background-color: #50e04b;
	}
	/*Fin del Formato al formulario de Contacto*/
/******************************************/

section.reset {
    clear: both;
  }
/*CODIGO IMAGEN DE FONDO DE PIE DE PAGINA*/
  .flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

#fondo{
    width: 1900px;
    height: 200px;
    background-image: url(Imagenes/Arachis.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#fondo h1{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
}
/***************************************************/

/***********************************************/


  
  @media screen and (max-width: 660px) {
    header {text-align: center;}
    .logo-box {
      float: none;
      display: inline-block;
      margin: 0 0 16px 0;
    }
    ul {float: none;}
    nav li:first-of-type {margin-left: 0;}
  }
  @media screen and (max-width: 550px) {
  nav {overflow: visible;}
  nav li {
    display: block;
    margin: 0;
    height: 40px;
    line-height: 40px;
  }
  nav li:hover {background: rgba(0,0,0,.1);}
  nav a:after {content: none;}
 
  }