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

body{
    margin: 0;
    padding: 0;
    scroll-behavior:smooth;

}
.container{

    display: grid;
    grid-template-columns:1fr;
    grid-template-rows: 120px 60px 1fr 250px;
    min-height:100vh;

    grid-template-areas: 
        "header"
        "sidebar"
        "content"
        "footer "         
        ;

}
.container header{
    display: grid;
    grid-area: header;
    height: auto;  
}

.container aside{
    display: grid;
    /* background-image:linear-gradient(rgba(226, 159, 13, 0.904)10%  , rgba(231, 225, 225, 0.438)); */
    grid-area: sidebar;
    width: 100%;
    align-content: center;
}
.menu-container {
  display: grid;
  grid-template-columns: auto ;
  align-items: center;
  width: 100%;
  height: 100%;  
}
.hamburger {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}
.menu-list{
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}
.menu-list.active{
    max-height: 100%;    
}
.item a:hover{
   text-decoration: underline;
   color: rgb(87, 107, 31);
   /* background-color: rgba(218, 200, 45, 0.699); */
   padding: 5px 14px; 
   margin: 12px;
   border-radius: 10px;
   text-shadow: 5px 5px 20px rgba(218, 200, 45, 0.699);
   transition: 0.4s ease-out;
  }


.item a{

  text-decoration: none;
  color: #000000;
  font-weight: bold;
  
}

.logo{
    display: grid;
    background-image: url(Imagenes/Barraca.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.container main{

    background-color: rgba(248, 248, 247, 0.842);
    grid-area: content;
    margin: 0;
    /* padding: 1px; */
    padding-bottom: 16px;
    border-top: 1px solid black;
    box-shadow: 0px -1px 8px rgba(0, 0, 0, 0.603);
}
.container footer{

    background-color: rgba(92, 59, 19, 0.877);
    grid-area: footer; 

}

/*CONTENEDORES*/
.contenedor{
    display: grid;
    justify-items: center;
}
.Hero{
    display: grid;
    height: 250px;
    width: 100%;
    grid-column: 1 / -1;
    align-items: end;
}
.cnt-1{
    display: grid;
    width: auto;
    height:auto;
    padding: 8px;
   
}

.cnt-2{

    display: grid;
    width: auto;
    height:auto;
    padding: 10px;
}


.cnt-3{
    display: grid;
    width: auto;
    height:auto;
    padding: 10px; 
}

.subcnt{

    display:grid;
    width: auto; 
    justify-items: center;
    text-align: justify;
}

.subcnt h2{    
           
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    color: rgba(31, 24, 3, 0.986);
    margin: 20px;
    padding: 20px;
    align-content: center;         

}
.subcnt p{
          
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    line-height: 25px;
    word-spacing: 4px;
    overflow:auto;
    margin: 20px;
    align-content: left;          
}

/*FORMULARIO*/
.formulario{
    display: grid;
    justify-items: center;
    box-shadow: 1px 3px 15px black;
    margin: 0 5px;
    
}

.formulario {
    
    position: static;
    top: 10px;
    right: 1px;
    bottom: 10px;  
    height: 700px;
    background-color: rgba(131, 131, 34, 0.795);
    border: 1px ;
    padding: 20px;
    z-index: 1000;
    margin-top: 2px;
    margin-bottom: 2px;
    align-items: center;
    align-content:center;
    flex-direction: column;
}
label{

    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: rgba(68, 48, 4, 0.945); 
    
}

h4{
    margin-top: 1px;
    margin-bottom: 30px;
    font-size: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgba(68, 48, 4, 0.945);
    text-align: center;
}
.controls{

    margin-bottom: 10px;
    width: 100%;
    border: 2px ;
    border-color: black;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 3px;
    color:  rgba(68, 48, 4, 0.945);
}
input{
    height:23px;
}

/* Whatsapp en Hero */

.Boton{
    display: flex;
    height: 40px;
    width:80px ;
    background: linear-gradient(135deg, rgba(187, 106, 13, 0.842),rgba(29, 20, 1, 0.568));
    border-radius: 12%;
    margin: 40px 30px;
    border: 0;
    box-shadow: 0 1px 3px 0.3px rgb(77, 67, 10);
    z-index: 2;    
}

.Hero a{
    align-content: center;
    text-align: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    padding: 5px;
}
/* Fin Whatsapp en Hero */
/* Boton Whatsapp en Formulario */
.botons{

    width:100%;
    height: 40px;
    border: 2px;
    font-size: 15px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    box-shadow: 1px 2px 10px rgba(121, 75, 6, 0.795) ;
    color: rgb(255, 255, 255);
    background-color: rgb(63, 53, 6);
    align-self: center;
    margin-top: 10px;
    
}
textarea{
    width: 100%;
}

/* CARRUSEL EN HERO */
.slider{
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

/* Contenedor imágenes */
.slides{
    position: relative;
    width: 100%;
    height: 250px;
    box-shadow: 0 2px 8px black;
    margin-bottom: 5px;   
}

/* Imágenes */
.slide{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;    
}

/* Imagen visible */
.slide.active{
    opacity: 1;
}

/* Indicadores */
.indicators{
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;    
}

.dot{

    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 5px;
    background: rgba(109, 98, 2, 0.815);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;  
}

.dot.active{
    background: rgb(65, 57, 14);
    transform: scale(1.3);
}


/* HOMEUP */
.homeup{
    
    background-color: rgb(62, 66, 6);
    position: fixed;
    border-radius: 50%;
    bottom: 10px;
    right: 5px;
    width: 100;
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
    scroll-behavior: smooth;
}
.homeup.show{
    opacity: 1;
    visibility: visible;
}
.homeup:hover{
    scale: 1.1;
    transition: 0.3s ease-out;
}
.homeup img:hover{
    transform: translateY(-3px);
    transition: 0.2s ease-out;
}
.homeup :active{
   background-color:  rgb(209, 151, 24);
   transition: 7ms ;
   border-radius: 50%;
   transform: translateY(3px);
}
/* Whatsapp */
.Whatsapp{
    display: grid;
    width: 100%;
    justify-items: center;
}
.Whatsapp img{
    
    width: 40px;
    height: 40px;
}
.Whatsapp-1:hover{
    scale: 1.1;
    transition: all 0.4s ease-in-out;
    text-shadow: 1px 2px 10px rgb(65, 57, 14);
}

/* Redes Sociales */
.RS{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;

}
.rds img{
    width: 40px;
    height: 40px;
}
.rds img:hover{
    scale: 1.2;
    transition: all 0.3s ease-in-out;
}


/* Pie de Pagina */

.foot{
    display: grid;
    height: 500px;
    grid-template-columns: 1fr;
        grid-template-areas: 
        "cn1"
        "cn2"       
        ;
}
.foot .cfoot{
    display: grid;
    grid-area: cn1;
    height: auto;
    border-bottom: 2px solid rgba(0, 0, 0, 0.493);
}
.foot .cfoot2{
    display: grid;
    grid-area: cn2;
    height: auto;

}

.cfoot{
    font-size: 15px;
    font-weight: bold;
    align-items: center;
    justify-items: center;
    padding: 20px;
}
.cfoot p{
    text-align: center;
}
.cfoot2{
    font-size: 18px;
    font-weight: bold;
    justify-items: center;
    padding: 15px;
    
}
.cfoot2 p{
    
    line-height: 25px;
    text-align: center;
    padding-bottom: 20px;
    
}

/* Mapa */

.map{
    border: 1.5px solid rgba(0, 0, 0, 0.699) ;
    border-radius: 5px;

}



/* RESPONSIVE DEVICES */

@media(width >500px){
    .Hero{
        height: 340px;
    }
    .slides{
        height: 340px;
    }
}
@media(width > 760px){
.container{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 100px 1fr 250px;

        grid-template-areas:  
        "header sidebar"
        "content content"
        "footer footer" 
        
        ;

}    
.contenedor{

    display: grid;
    grid-template-columns: 1fr 1fr;   
    justify-items: center;

}

/*  Responsive Escritorio Hero*/
.Hero{
   
    height: 580px;
    width: 100%;
    grid-column: 1 / -1;
    margin-bottom: 15px;
    margin-top: 0;
    padding: 0;
}
.Boton{
    width: 150px;
    height: 80px;
    margin: 90px 120px;
}
.Boton a{
    font-size: 20px;
}

.slides{
        height: 580px;
        
    }
.slides img{
    width: 100%;
}
.dot{
    height: 18px;
    width: 18px;
}
/* Fin del Hero */
.cnt-1{
    
    grid-column: 1/ 2;
    align-items: center;

}
.cnt-2{
    
    grid-column: 1 /2;
    align-items: center;
}
.cnt-3{
    grid-column: 1/ 2;
    align-items: center;
}

.formulario{
    grid-column: 2 / -1;
    grid-row: 2/ 5 ;
    position: sticky;
    align-content: center;
    min-width: 200px;
    max-width: 400px;
}

.container aside{

    justify-content: center;
}
.subcnt{
    text-align: justify;
}
.subcnt h2{
    font-size: 30px;
    justify-items: center;
     min-width: 100px;
     max-width: 400px;
   
}
  .subcnt p{
    
        min-width: 200px;
        max-width: 300px;
        
    }
.container footer{
    height:250px;
}
.foot{
    display: grid;
    grid-template-columns: 1fr 2fr;
        grid-template-areas: 
        "cn1 cn2"
        ;
}
.cfoot2{
    grid-template-columns: 1fr 1fr;
    align-items: center;
    /* gap: 40px; */
}

}


@media(width > 1024px){
    .container{
        grid-template-columns: repeat(3,1fr) ;
        grid-template-rows: 130px 1fr 250px;

        grid-template-areas: 
            "header sidebar sidebar"
            "content content content"
            "footer footer footer" 
                
        ;
    }
    .contenedor{

    display: grid;
    grid-template-columns: 2fr 1fr;  
    
    }
    .formulario{
        min-width: 320px;
        max-width: 400px;
    }

    .subcnt{
        grid-template-columns: auto auto; 
        text-align: justify;
        
    }
    .subcnt h2{
        font-size: 25px;
        min-width: 305px;
        max-width: 400px;
        margin: 0;
        padding: 10px;
    }
    .subcnt p{
    
        min-width: 300px;
        max-width: 500px;
        margin: 5px;
        padding: 10px;
        
    }

    .Whatsapp{
        grid-column: 2 / -1;
    }
    .RS{
        grid-column: 2/ -1;
    }

}

/* Barra de Navegacion */
@media (max-width: 760px) {

  .hamburger {
    display: block;
    background-color: rgba(61, 25, 5, 0.527);

  }

  .menu-list {
    display: none;
    flex-direction: column;
    background-color: #f3f3f3;
    padding: 1rem;
    position: absolute;
    width: 100%;
    text-align: center;
    gap: 1.3rem;
    z-index: 100;
    border-radius: 5px;

  }

  .menu-list.active {
    display:flex;

  }

  .item a:hover{
    transition: none;
  }


 
}
