@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-block-start: 5em;
  }
  

:root {
    --color-primero: rgb(255, 218, 107);
    --texto: black;
}

body {
    background-color: #ffffff; 
    font-family: 'Roboto Mono', monospace;
}

ol, ul {
    list-style: none;
    width: 100%;
}

li {
    width: 100%;
}

nav {
    width: 100%;
}

ul li img {
    max-width: 90%;
    height: auto;
    align-items: center;   
}

a {
    text-decoration: none;
    color: black;
}

h1 {
  color: #000000;
  font-size:x-large;
  font-weight: bold;
}

h2 {
  color: #000000;
  margin: 0 0 1em 0;
  font-size: 20px;
}

header {
    background-color: #000000;
    text-align: center;
    width: 100%;
}

.contenedora {
    width: min(50rem, 100%);
    margin-inline: auto; 
    padding: 1rem; 
  }

.contenedor a img {
    max-width: 50%;
}

header, footer {
    background-color: black;
    padding: 1em;
    display: block;
}


/*encabezado*/

   header {
    position: sticky;
    top: 0;
    z-index: 8000;
    padding-bottom: 0em;
  }
  
  #logo {
    display: flex; 
    align-items: center; 
    position: relative;
    z-index: 9999;
    padding-bottom: 2em;
  }
  

  #logo img {
    width: 4em;
    margin: -1em .75em -1em 0;
  }
  
  #logo h3 {
    font-weight: 700;
    line-height: 1em;
    margin: 0;
    font-size: 1.1em;
    color: #ffffff;
  }
  
  #logo h3 span {
    display: block;
    padding-top: 1em;
    padding-bottom: 1em;
    font-size: 0.8em;
  }

  .contenedora {
    display: flex;
    max-width: 100%;
    width: min(75rem, 100%);
    margin: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 1em;
  }

/*Menu*/

   nav {
    position: relative;
    }
  
  .menu-btn,
  .menu-fondo {
    border-radius: 60%;
    padding: .75rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    transition: all 0.3s ease-out;
    position: fixed;
    top: 2em;
    right: 2em;
    z-index: 9000;
  }
  
  .menu-fondo {
    background: rgb(255, 218, 107);
    z-index: 8000;
  }
  
  .menuVisible .menu-fondo {
    background: rgb(255, 218, 107);;
    border-radius: 0;
    width: 100%;
    height: 100%;
    inset: 0 0 auto auto;
  }
  
  .menu-btn .btn-linea {
    width: 25px;
    height: 3px;
    margin: 4px 0 4px 0;
    background: rgb(0, 0, 0);
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 9000;
  }
  
  .menuVisible .menu-btn .btn-linea {
    transform: rotate(180deg);
  }

  .menuVisible .menu-btn .btn-linea:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
  }
  .menuVisible .menu-btn .btn-linea:nth-child(2) {
    opacity: 0;
  }
  .menuVisible .menu-btn .btn-linea:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
  }
  
  nav ul {
    opacity: 0; 
    visibility: hidden; 
    position: absolute;
    right: 1rem;
    top: calc(100% + 4rem);
    z-index: 9999;
    transition: all .5s ease;

  }
  
  .menuVisible ul {
    visibility: visible;
    opacity: 100%;
    transition: all .5s .2s ease; 
  }
  
  nav ul li a {
    border-bottom: solid 4px transparent;
    color: rgb(0, 0, 0);
    display: block;
    font-size: 1.5rem;
    text-align: center;
    padding: .9rem;
    text-decoration: none;
    align-items: center;
  }
  
  nav ul li a:hover {
    border-bottom: solid 4px hsl(0 0% 100% / 0.5);
    transition: all .3s;
  }
  
  .menuVisible ul li:last-of-type :is(a:hover, a:active)::before {
    content: "otra página ";
  }

@media(min-width: 40em) {

    header nav {
      position: relative;
    }
      
    .menu-btn {
      display: none;
    }
  
    header nav ul {
      display: flex;
      position: relative;
      opacity: 1;
      visibility: visible;
    }
      
    header nav ul li {
      margin: .25em 0 .25em .25em;
    }
  
    header nav ul li a {
      background-color: rgb(255, 218, 107);
      color: black;
      font-size: 1rem;
      width: auto;
      padding: .25em .5em .1em;
      text-align: center;
      display: block;
    }
  
    header nav ul li a:hover {
      background-color: white;
      color: rgb(255, 218, 107)
    }
}

/*PRODUCTOS FAMOSOS*/

.productosfamosos{
  margin: 48px 0 0 36px;
}

.productodestacado video{
  max-width: 100%;
}

.productodestacado P{
    margin-left: 2em;
    margin-right: 2em;
}

.productodestacado h2{
  margin-left: 1.7em;
  margin-bottom: 0;
}

.productodestacado{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-right: 10em;
  }

  .descripcionauto{
    margin-top: 1.7em;
  }

  .descripcionauto h2{
    margin-bottom: 1em;
  }

  @media(max-width: 1024px) {
  
    .productodestacado{
      flex-direction: column;
      align-items: center;
      margin: 0em;
    }

    .descripcionauto{
      margin-top: 0em;
    }
    
    }



  
  /*galeria de imagenes*/
  
  .galeria {
    padding: 2em;
    margin-top: 1.7em;
  }

  
  .slider {
    width: 100%;
    height: max(500px, 40vh);
    position: relative;
    overflow: hidden;
    margin-top: 1.7em;
  }
  
  .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all 0.5s;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .slide figcaption {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 1em;
    text-transform: uppercase;
    font-weight: 700;
    position: absolute;
    inset: auto 1em 1em 1em;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: .5em;
  }
  
  .slide figcaption span {
    display: block;
    font-size: .85em;
    color: #ddd;
    text-transform: none;
  }

  
  .slide a::after {
    content: " →";
  }
  
  .slide a:hover {
    background-color: black;
    box-shadow: 0 .25em .25em hsl(0 0% 0% / 0.25);
    color: hsl(0 0% 90%);
  }
  
  @media (min-width: 20em) {
    .productodestacado video {
      padding: 2em;
    }

    .galeria{
      padding: 2em;
    }
  }
  

  @media (min-width: 30em) {
    .slide figcaption {
      font-size: 1.1em;
      inset: 2em 50% 2em 2em;
      gap: 1em;
      padding: 1.5em;
      transition: .5s;
    }
  }

  @media (min-width: 40em) {
    .slide figcaption {
      font-size: 1.25em;
      inset: auto 50% 2em 2em;
    }
  }
  
  
  .btn {
    position: absolute;
    z-index: 10;
    top: 1em;
    width: 2.5em;
    border: none;
    cursor: pointer;
    background-color: rgba(255, 218, 107, 0.75);
    color: rgb(0, 0, 0);
    font-size: 1.1em;
    opacity: .75;
  }
  
  .btn:active,
  .btn:hover {
    opacity: .9;
    border: solid 1px white;
  }
  
  .btn-prev {
    left: calc(100% - 6.25em);
  }
  
  .btn-prox {
    right: 1em;
  }

/* articles */

article {
    margin: 1em;
    padding: 1em;
}

/* footer */

footer {
    padding: 1em;
    background-color: #000000;
    color: hwb(0 100% 0%);
}

footer p {
    font-size: 12px;
}

/* Quienes somos */

.titulo h1{
  padding-top: 0.6em;
}

.introducción img{
  max-width: 100%;
  margin-left: 2em;
}

.descripcionplanta P{
    margin-left: 2em;
    margin-right: 2em;
}


.introducción{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-right: 7em;
    margin-top: 1em;
  }

  

  .descripcionplanta span{
    font-weight: bold;
  }
  

  @media(max-width: 1024px) {
  
    .introducción{
      flex-direction: column;
      align-items: center;
      margin: 2em;
    }

    .introducción img {
      max-width: 100%;
      margin: 0;

    }

    .descripcionplanta{
      margin-top: 0em;
    }

    .descripcionplanta p{
      margin: 0;
      padding-top: 1em;
    }
    
    }

.botonerainicio ul li {
  background-color: rgb(255, 218, 107);
}

.botonerainicio li a {
  display: block;
  margin: 1em 0 1em 0;
  padding: .3em;
  text-align: center;
  align-items: center;
}

.botonerainicio li p {
  color: rgb(0, 0, 0);
  margin: 0 0.4em 0 0;
}

.botonerainicio {
  justify-content: center;
  display: flex;
  gap: 1em;
  margin: 16px;
}

.botonerainicio ul {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1em;
}


.botonerainicio ul li a img:hover {
      filter: blur(2px);
      transition: all .3s;
  }  



@media(max-width: 1024px) {

.botonerainicio{
  grid-template-columns: column;
  align-items: center;
  margin: 1em;
  justify-content: center;
  padding: 1em;
  flex-wrap: wrap;
  gap: 2em;
}


.botonerainicio ul {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2em;
}

}



/*HISTORIA*/

.historia h1 {
    margin-left: 1.5em;
    margin-top: 2em;
    align-items: center;
}

.historia h2 {
  margin-left: 1.8em;
}

.lineadetiempo picture{
    filter: blur(0px);
    transition: all .3s;
}

.lineadetiempo img {
    max-width: 100%;
}

.lineadetiempo h2 {
    font-size: 4em;
    margin: 0
}

.historianormal h2 {
  margin-left: 40px;
  display: block;
  background-color: rgb(255, 218, 107);
}

.historianormal p {
  margin-left: 40px;
  padding-top: 1em;
}

.historianormal img {
  max-width: 500px;
}

.historianormal {
  display: flex;
}

.historiainvertida {
  display:flex;
  flex-direction:row-reverse;
}

.historiainvertida h2 {
  margin-right: 40px;
  display: block;
  background-color: rgb(255, 218, 107);
}

.historiainvertida p {
  margin-right: 40px;
  padding-top: 1em;
}

.historiainvertida img {
  max-width: 500px;
}


@media(max-width: 850px) {

.historianormal {
  display:block
}

.historianormal p {
  margin-left: 0;
  padding-top: 1em;
}

.historianormal img {
  max-width: 100%;
}

.historianormal h2 {
  margin-left: 0;
  display: block;
  background-color: rgb(255, 218, 107);
}

.historiainvertida {
  display:block
}

.historiainvertida p {
  margin: 0;
  padding-top: 1em;
}

.historiainvertida img {
  max-width: 100%;
}

.historiainvertida h2 {
  margin: 0;
  display: block;
  background-color: rgb(255, 218, 107);
}
}

/* CONTACTO */

.contactoh {
  margin: 48px 0 0 36px;
}

.btnuno-prox {
  right: 1em;
}

.contactotodo {
  display: flex;
  margin: 2em;
  gap:1em;
}

.contenedorContacto {
  display: flex;
  max-width: 90%;
  width: min(75rem, 100%);
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 1em;
  border-bottom: 16px rgb(255, 255, 255) solid;
  gap: 3em;
}

.formulario{
  display: flex;
  flex-direction: column;
}


input {
  background-color: #fbfbfb;
  width: 100%;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(255, 218, 107);
  margin-top: 10px;
  padding: 10px;
  margin-bottom: 20px;
}


textarea {
  background-color: #fbfbfb;
  width: 100%;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(255, 218, 107);
  margin-top: 10px;
  padding-left: 10px;
  margin-bottom: 20px;
  padding-top: 15px;
}

button {
  height: 45px;
  padding-left: 5px;
  padding-right: 5px;
  margin-bottom: 20px;
  margin-top: 10px;
  background-color: rgb(255, 218, 107);
  border-color: rgb(255, 218, 107);
  border-style: solid;
  width: 100%;
  cursor: pointer;
}

button p {
  color: black;
}


.formulario input:focus {
  outline: 0;
  border: 1px solid black;
}

.formulario textarea:focus {
  outline: 0;
  border: 1px solid black;
}

.contenedorContacto h3{
  margin-block-end: 10px;
}

.ubicacion {
  display: flex;
  max-width: 100%;
  width: min(75rem, 100%);
  height: auto;
  margin: 0 auto;
  justify-content: center;

}

.contenedor-ubicacion h2 {
margin-bottom: 8px;
}
.contenedor-ubicacion p {
margin-bottom: 8px;
}

.contenedor-ubicacion {
max-width: 90%;
width: min(75rem, 100%);
height: auto;
margin: 0 auto;
justify-content: center;
padding: 1em;
background-color: rgb(255, 218, 107);
gap: 1em;
margin-top: 32px;
margin-bottom: 32px;
}

.formulario h1 {
  padding-bottom: 1em;
}

@media(max-width: 1080px) {

  .contactotodo {
    display: block;
    margin: .7em;
  }
}
  
/* INSTITUCIONES */
.institucionesh {
  margin: 48px 0 0 36px;
}



.ContenedorInstituciones ul li {
  background-color: black;
}

.ContenedorInstituciones h2 {
  margin: 0 0 0 0;
}

.ContenedorInstituciones li a {
  display: block;
  margin: 1em 0 1em 0;
  padding: 0;
  align-items: center;
  text-align: center;
}

.ContenedorInstituciones li p {
  color: white;
  margin: 0 0 0.4em 0;
}

.ContenedorInstituciones li h3 {
  color: white;
  margin: 0 0 .4em 0;
}

.ContenedorInstituciones {
  display: flex;
  width: min(100%, 100%);
  
  margin: 0;
  flex-direction: column;
  justify-content: center;
  padding: .1em;
  gap: 1em;
}

.fotoinstitucion {
  width: 4000px;
}

.ContenedorInstituciones ul {

  display: flex;
  justify-content: center;
  gap: 1em;
  padding-top: 1em;
  margin-left: 2em;
  padding-right: 2em;
}

.ContenedorInstituciones img {
  max-width: 100%;
  width: min(100%, 100%);
}

.ContenedorInstituciones ul li img {
      max-width: 60%;
      padding: 0;
  }  

 .Sitiooficial {
    display: block;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 20px;
    margin-top: 10px;
    background-color: rgb(255, 218, 107);
   margin-left: 2em;
  }
  
 .Sitiooficial p {
    color: black;
    font-weight: bold;
    padding: 1em;
    text-align: center;
  }

.ulsegundo {
  max-width: 50%;
  width: min(70%, 70%);
}

DESDE ACAAAA

.institucionart img{
  max-width: 80%;
}

.institucionart P{
    margin-left: 2em;
    margin-right: 2em;
}

.institucionart h2{
  margin-left: 1.7em;
  margin-bottom: 0;
}

.institucionart {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-right: 2em;
  }

  .descripcioninstitucio {
    margin-top: 0;
    margin-right: 2em;
  }

  .descripcioninstitucion h2{
    margin-bottom: .5em;
    
  }

  @media(max-width: 1024px) {
  
    .institucionart{
      flex-direction: column;
      align-items: center;
      margin: 0;
      padding: 2em;
    }

    .descripcioninstitucion{
      margin: 0;
    }

    .descripcioninstitucion h2{
      margin: 0 0 .5em 0;
    }

    .descripcioninstitucion p {
      margin: 0em;
    }

    .fotoinstitucion {
      width: 100%;
    }

  

    .ContenedorInstituciones ul {
      width: 100%;
      justify-content: center;
      gap: 1em;
      padding-top: 1em;
      margin: 0 0 0 0;
    }
    
    }

    HASTA ACAAAAA




@media {

    .contenedor {
      display: flex;
      flex-direction: row;
    }

      
    .contenedor {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        max-width: 50em;
    }

}
