/*-----------------------------------------------------ESTO ES DEL INICIO-------------------------------------------------------------*/
#Main_P /*Este es el main de la página Web*/
{
    width: 96%;
}

#Contenedor /*Es el div en general*/
{
    max-width: 1800px;
    margin: 0px auto;
    padding-left: 3%;
    margin-top: 30px;
}

#seccion /*Exactamente no se que es pero es lo que esta en blanco*/
{
    float: left;
    width: 100%;
    border-radius: 10px;
    padding-top: 2%;
    padding-bottom: 2%;

   
}


/*Cosas del video*/
.video1
{
    float: left;
    margin-left: 8%;
   

}

/**********************************************FORMULARIO**********************************************************************************/
form {
    /* Centrar el formulario en la página */
    margin: 0 auto;
    width: 40%;
    /* Esquema del formulario */
    padding: 1.5em;
    border: 1px solid rgb(172, 170, 170);
    border-radius: 1em;
    background-image: linear-gradient(to right, rgb(243, 221, 193), rgb(166, 212, 233));
  }
  
  #listaF {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  form li + li {
    margin-top: 1.5em;
  }
  
  label {
    /* Tamaño y alineación uniforme */
    display: inline-block;
    width: 8.2em;
    text-align: right;
  }
  
  input, 
  textarea {
    /* Para asegurarse de que todos los campos de texto tienen la misma configuración de letra
       Por defecto, las áreas de texto tienen un tipo de letra monoespaciada */
    font: 1em sans-serif;
  
    /* Tamaño uniforme del campo de texto */
    width: 18em;
    box-sizing: border-box;
  
    /* Hacer coincidir los bordes del campo del formulario */
    border: 1px solid #999;
  }
  
  input:focus, 
  textarea:focus {
    /* Destacado adicional para elementos que tienen el cursor */
    border-color: #000;
    
  }
  
  textarea {
    /* Alinear los campos de texto multilínea con sus etiquetas */
    vertical-align: top;
  
    /* Proporcionar espacio para escribir texto */
    height: 7em;
    width: 68%;

    /*Color de fondo*/
    background-image: linear-gradient(to right, rgb(209, 236, 235), rgb(211, 240, 211));
  }
  
  .button {
    /* Alinear los botones con los campos de texto */
    padding-left: 50%; /* mismo tamaño que los elementos de la etiqueta */
  }
  
  button {
    /* Este margen adicional representa aproximadamente el mismo espacio que el espacio
       entre las etiquetas y sus campos de texto */
    margin-left: .5em;
  }

  input
    {
      width: 68%;
    }

    input:invalid:required {
      background-image: linear-gradient(to right, pink, lightgreen);
    }

    
    input:valid {
      border: 2px solid black;
    }

    #name, #apellido, #mail, #edad
    {
      height: 35px;
    }
/*******************************************************************CONVERSOR DISEÑO************************************************************/
.Conversion {
  display: grid;                    /* cuadrícula */
  grid-template-columns: 50% 50%;   /* 2 columnas iguales */
  margin-bottom: 1%;
  background-image: linear-gradient(to right, rgb(192, 201, 255), rgb(218, 231, 197));
  color: rgb(7, 7, 7);
}

.nombre, .valor{
  padding: 3.5%;
  font-size: 1.3em;
  align-self: center;  /* alinear elemento al centro en altura */
  text-align: center;  /* alinear texto al centro en ancho */
}

#Utility {
  font-family: sans-serif;
  max-width: 55%;
  margin: 3% auto;
}


/********************************************OTRO CONVERSOR*******************************************/

.valor2{
  padding: 3.5%;
  font-size: 1.3em;
  align-self: center;  /* alinear elemento al centro en altura */
  text-align: center;  /* alinear texto al centro en ancho */
}

#onzas
{
  background-color: white;
  font-size: 1.3em;
  align-self: center;  /* alinear elemento al centro en altura */
  text-align: center; 
  max-width: 60%;
  height: 39%;
  border: 2px solid #000000;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
  /* On smaller screens, decrease text size */
  @media only screen and (max-width: 300px) {
    .text {font-size: 11px}
  }


  /************************************SLIDE DE LA PÁGINA PRINCIPAL*************************/


  img {
    vertical-align: middle;

  }
  
  /* Position the image container (needed to position the left and right arrows) */
  .container {
    position: relative;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Add a pointer when hovering over the thumbnail images */
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Container for image text */
  .caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side */
  .column {
    float: left;
    width: 16.66%;
  }
  
  /* Add a transparency effect for thumnbail images */
  .demo {
    opacity: 0.6;
    height: 150px;
    width: 50%;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }