
:root{
    --fondo:#858383; /* color de fondo para pagina y menu */
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

 body{
    font-family:Arial, Helvetica, sans-serif;

 }

.container{
    display: grid;
    align-items: center;
    justify-content: center;
}

/* estilo del contenedor de la pagina */
.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;

}

/* estilos del header */
header{
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom,
    rgba(211, 135, 20, 0.284),
    rgba(18, 96, 8, 0.244),
    rgba(4, 76, 10, 0.204)
    ), url(../img/baner-coca.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    z-index: 30;
}

/* estilos del contenedor del menu */
nav{
    width: 100%;
    position: fixed;
    box-shadow: 0 0 10px 0 rgb(0,0,0,.5);
    z-index: 30;
}

.nav1{
    background: fixed;
    height: 80px;
    color: #fff;
    z-index: 30;
}

.nav2{
background: var(--fondo);
height: 100px;
color: black;
z-index: 30;
}

/* estilos del menu del contenedor */
.contenedor-nav{
    display: flex;
    margin: auto;
    width: 90%;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    height: inherit;
    overflow: hidden;
    z-index: 30;

}

nav .enlaces a{
    display: inline-block;
    padding: 5px 0;
    margin-right: 17px;
    font-size: 17px;
    font-weight: 300;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    color: inherit; /* tomar el color del nav1 y nav2 segun su posicion */
    /*font-weight: bold;  tomar el espesor */
    z-index: 30;
}

nav .enlaces a:hover{
    border-bottom: 3px solid #070707;
    transition: 0.6s;
    /* font-weight: bold; pone el texto mas grande*/
    z-index: 30;
}

/* estilos el logo del menu */
.logo, .logo img{
    height: 80px;
    z-index: 30;
}

/* estilos el icono del menu hambueguesa */
.icono{
    display: none;
    font-size: 24px;
    padding: 23.5px 20px;
    z-index: 30;
}


/* ancho del contenido de los titulos y espacio del emcabezado con el menu */
.contenido-tabs{

    min-height: 100vh;
    box-sizing: border-box;
    padding-top: 5vh; /* espacio entre el menu y el titulo */
    padding-bottom: 10vh;
    /* font-weight: 300; */
    line-height: 1.5; /* espacio entre lineas */
    max-width: 60rem;
    margin: 0 auto;

}


/* estilos para el acordeon */
.contenedor-acordeon{
    width: 100%;
    max-width: 960px;
    margin: auto;
    margin-top: 20px;
}

/* estilo para el encabezado del arcodeon */
.contenedor-acordeon h2{
    text-align: center;
    font-size: 30px;
    margin-bottom: 25px;
    /* text-shadow:4px 4px 5px #27650b; */
    /* box-shadow: 2px 2px 6px rgb(6, 85, 3); */
}

.acordeon{
    background: #fff;
    /* box-shadow: 2px 2px 6px rgb(169, 170, 169); */
}
.acordeon label{
    display: block;
    padding: 20px;
    font-size: 20px;
    background: #1c1c1c;
    color: #fff;
    cursor: pointer;
    margin-bottom: 2px;
    transition: all 300ms ease;
}

.acordeon label:hover{
    background: #2e2e2e;
}
.acordeon .contenido-acordeon{
    padding: 0px;
    margin: 0px 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 300ms ease;
}

/* ancho del acordeon del contenido */
.btn-acordeon:checked ~ .contenido-acordeon{
    max-height: 650px;
    padding: 15px 0px;
}

.btn-acordeon{
    display: none;
    
}

.contenido-acordeon p{
    text-align: justify;
}

.contenido-acordeon img{
    float: left;
    padding-right: 10px;
    width: 500px;
    height: 300px;
}


/* estilos para la direccion */
footer{
    background: #08731def;
    padding: 20px 0 20px 0;
    margin: auto;
    overflow: hidden;
    /* margin-top: 300px; espacio entre el foot y galeria */
}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.content-foo{
    text-align: center;
}

/* estilo para la linea que separa los datos de contacto */
.content-foo h4{
    color: #080808;
    border-bottom: 3px solid #fafcfb;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p{
    color: #060606;
}

/* estilo para el texto de derecho de autor */
.titulo-final{
    text-align: center;
    font-size: 20px;
    margin: 20px 0 0 0;
    color: #000000;
}



/* responsive */

@media screen and (max-width:700px) {

    .nav2{
        color: #fff;
    }

    .icono{
        display: block;
        cursor: pointer;
        font-size: 27px;
    }

    .logo img{
        height: 70px;
    }

    .enlaces{
        position: fixed;
        top: 80px;
        background: #2c3e50;
        left: 0;
        height: 100%;
        transition: 1s;
        width: 0;
        overflow: hidden;
    }

    .enlaces a{
        display: block;
        width: 100%;
        height: 50px;
        padding: 20px;
        text-align: center;
        background: #34495e;
        color: #020202;
    }


/* direccion */
   .contenedor-footer{
    flex-direction: column;
    border: none;
   }

   .content-foo{
    margin-bottom: 15px;
    text-align: center;
   }

   .content-foo h4{
    border: none;
   }

.content-foo p{
    color: #060606;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 15px;
   }

.titulo-final{
    font-size: 13px;
   }


}

@media (max-width: 45em) {
    /* ancho del contenido de los titulos y espacio del emcabezado con el menu */
.contenido-tabs{
    padding-top: 8vh; /* espacio entre el menu y el titulo */
  
}
    /* estilo del titulo del acordeon */
    /* margin: abriba-abajo-izquierda-derecha, lo mismo aplica para el pading */
    .contenedor-acordeon h2{
        text-align: center;
        font-size: 20px;
        margin: -20px 15px  15px 15px;
        
    }
/* ancho del acordeon */
    .contenedor-acordeon{
        width: 80%;
        
       
    }

    .acordeon label{
       
        padding: 20px;
        font-size: 18px;
        /* text-transform: uppercase; convierte texto en mayuscula */
    }
/* ancho del texto de acordeon */
    .btn-acordeon:checked ~ .contenido-acordeon{
        max-height: 1650px;
        
    }

    .contenido-acordeon img{
        width: 258px;
        height: 200px;
    }


  }