
: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 de l contenido de los titulos */
.contenido-tabs{
    
    min-height: 100vh;
    box-sizing: border-box;
    padding-top: 10vh;
    padding-bottom: 10vh;
    font-weight: 300;
    line-height: 1.5;
    max-width: 60rem;
    margin: 0 auto;
    

}

/* Tabs */
.tabs {
    display: flex;
    flex-wrap: wrap; /* Tabs */
  }

  /* estilo a los encabezado, mision, vision, otro */
  .tabs label {
    order: 1; /*// Put the labels first*/
    display: block;
    padding: 1rem 2rem;
    margin-right: 0.2rem;
    cursor: pointer;
    background: #1c1c1c;
    font-weight: bold;
    transition:ease 0.2s; /*// background ease 0.2s; */
    text-align: center;
    font-size: 18px;
    color: #f2f2f2;
  }
  
  /* estilo para el contenedor del texto de los emcabezados */
  .tabs .tab {
    order: 99; /*// Put the tabs last */
    flex-grow: 1;
    width: 100%;
    display: none;
    padding: 1rem;
    /* background: #9d0000; color del fondo*/
    box-shadow: 1px 1px 5px black;
    
  }

  .tabs h1{
    text-align: center;
    font-size: 20px;
  }

  .tabs p{
    text-align: justify;
    padding-left: 3%;
    padding-right: 3%;
    font-size: 16px;
    
  }

  .tabs span{
    font-weight:bold;
    font-size: 14px;
    float: right;
    text-decoration:overline;
  }

  /* estilos de la imagen */
  .tabs img{
    width: 500px;
    height: 300px;
    float: left; /* pone la imagen a la izquierda */
    padding-left: 3%;
    padding-right: 2%;
    padding-top: 10px;
    padding-bottom: 10px;
    
  }

  .tabs .img-acredita img{
    width: 300px;
    height: 150px;
    
  }

  .tabs .img-acredita a{
    color: #016401ef;
    text-shadow: 1px 2px 7px #000000;
    font-weight: 100;
  }

  .tabs input[type="radio"] {
    display: none;
  }

  /* estilos de los encabezado, mision, vision, otros */
  .tabs input[type="radio"]:checked + label {
    background: #08731def;
    color: #000000;
  }

  .tabs input[type="radio"]:checked + label + .tab {
    display: block;
  }
  
/* 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) {
    .tabs .tab,
    .tabs label {
      order: initial;
    }

    /* LOS LABEL Y TABS DE TODO EL CONTENIDO */
    .tabs label {
      width: 100%;
      box-shadow: 0px 0px 6px black; /* cambia el sombreado de los titulo */
      /* border: 1px solid #000000; borden para los encabezzados*/
      font-size: 19px;
      text-align: left;
      /* margin-bottom: 10px; */
    }

    .tab {
        margin-bottom: 15px; /* deistancia entre el amcabezado y otro */
        /* border-bottom: 1px solid #000000; */
    }

    .tabs .tab{
        background: #ffffff;
        box-shadow: 2px 2px 6px black;
    }
    
    .tab h1{
        padding-bottom:3px;
        border-bottom: 1px solid #000000;
        font-size:17px;
    }

    .tabs p{
        font-size: 14px;
        line-height:1.5;
      }


    /* PARA EL MARGEN DEL DIV QUE CONTIENE TODO EL CONTENIDO */
    .tabs{
        margin-left: 10%;
        margin-right: 10%;
    }

    .tabs img{
        width: 250px;
        height: 220px;
        padding-left: 3%;
        padding-top: 10px;
        padding-bottom: 10px;
        
      }

      .tabs span{
        text-decoration:none;
        font-size:11px;
        text-align:center;
    }

      .tabs .img-acredita img{
        width: 250px;
        height: 130px;
        
      }



  }