@import url('https://fonts.googleapis.com/css2?family=Karla:wght@200;400&family=Montserrat:wght@200;300;400;500;600&family=Raleway:wght@300;400;500;600&display=swap');
@font-face {
    font-family: 'bradley';
    src: url('../fonts/bradhitc.woff2') format('woff2'),
         url('../fonts/bradhitc.woff') format('woff'),
         url('../fonts/bradhitc.ttf') format('ttf'),
         url('../fonts/bradhitc.otf') format('otf');
    font-weight: normal;
    font-style: normal;

}
/*Normalizacion*/
body,html{
  margin: 0;
  padding: 0;
  font-family: 'bradley', sans-serif;
  overflow-x: hidden;
font-size:22px
}
section {
  height: 100vh;
}
/*HEADER*/
    #headertop{
        width: 100%;
        color:white;
        background: #000;
        top:0;
        font-size: 12px;
        display: flex;
        position: fixed;
        align-items: center;
        transition: top 0.5s;
        -webkit-transition: top 0.5s;
        -moz-transition: top 0.5s;
        -ms-transition: top 0.5s;
        -o-transition: top 0.5s;
        animation: fadeInRight;
        animation-duration: 1s;

    }
/*Menu ppal*/
    nav{
        font-family: 'bradley';            
        background-color: #921637;
        animation: fadeInLeft;
        animation-duration: 1s;
        animation-delay: 1s;
    }
    nav a{
        font-weight: 400;
        color: white;
    }
    nav a:hover{
        color: white;
        font-weight: bold;
    }
    .nav-border{
        border-right:solid thin;
        border-color: #e0e1e2;
    }
/*Imagen Principal*/
#img_index{
    width:100%;
    padding: 0;    
    text-align: center;
    margin: auto;
    margin-top:20px;
    background-color:#33365A;
} 
/*-----------------------------------------------------SECCIONES------------------------------------*/
.content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
    opacity: 1;
    transform: translate(0, 0);
    transition: all 1s;
  }
    .content > div {
    margin: 0 auto;
    width: 90%;
    grid-area: 2 / 2 / 5 / 5;
  }
  
  .fadeRight {
    opacity: 0;
    transform: translate(10vh, 0vh);
    transition: all 1s;
  }
  
  .fadeLeft {
    opacity: 0;
    transform: translate(-10vh, 0vh);
    transition: all 1s;
  }  
  .visible {
    opacity: 1;
    transform: translate(0, 0);
  }
 .tth{
    font-family: 'bradley';
    font-weight: bold;
    font-size: 2rem;
    padding-bottom: 20px;
    /*
    margin-bottom: 50px;*/
} 
/*MISION*/

#vision{
    /*background-image:linear-gradient(rgba(0, 60, 151, .5),rgba(255, 255, 255, 0.2)),url('../imgs/gca_1.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: bottom;
    color:white;
    font-family: 'bradley';
    font-size:1.5rem;
    text-shadow: #000 0px 2px 2px;*/
    height: 75vh;
    justify-content: center;
    align-items: center;
    display: flex;
}

#aliados{
        background:white;
        color:white;
        font-family: 'bradley';
        font-size:1.5rem;
        text-shadow: #000 0px 2px 2px;
        height: 50vh;
        justify-content: center;
        align-items: center;
        display: flex;
}
    #aliados img{
        width: 100%;
        opacity: 0;
        transition: opacity 1s;
    }
    #aliados img:hover{
        opacity: 1;
    }
    #afs{
        background: url(../imgs/afs_bn.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        box-shadow: #fff 0 2px 2px;
        transition: all 1s;
    }
    #afs:hover{
        box-shadow: #000 0 2px 2px;
    }
    #phi{
        background: url(../imgs/phidias_bn.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        box-shadow: #fff 0 2px 2px;
        transition: all 1s;

    }
    #phi:hover{
        box-shadow: #000 0 2px 2px;
    }
    #papaz{
        background: url(../imgs/papaz_bn.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        box-shadow: #fff 0 2px 2px;
        transition: all 1s;
    }
    #papaz:hover{
        box-shadow: #000 0 2px 2px;
    }
    #pue{
        background: url(../imgs/pue_bn.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        box-shadow: #fff 0 2px 2px;
        transition: all 1s;
    }
    #pue:hover{
        box-shadow: #000 0 2px 2px;
    }
    #libros{
        background: url(../imgs/librosylibros_bn.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        box-shadow: #fff 0 2px 2px;
        transition: all 1s;
    }
    #libros:hover{
        box-shadow: #000 0 2px 2px;
    }

    #bolivar{
        background: url(../imgs/segurosbolivar_bn.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        box-shadow: #fff 0 2px 2px;
        transition: all 1s;
    }
    #bolivar:hover{
        box-shadow: #000 0 2px 2px;
    }

#proyectos{
    background-image:linear-gradient(rgba(0, 61, 194, 0.5),rgba(255,255,255,.1)),url('../imgs/deportes_3.jpg');
     background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
    color:white;
    font-family: 'bradley';
    font-size:2rem;
    height: 75vh;
    justify-content: center;
    align-items: center;
    padding-top: 75px;
    display: flex;
}
#proyectos img{
    width: 100%;
    height: auto;
    padding: 1rem;
}
.cajaproyectos{
    border-bottom:white .5rem solid;
    background: rgba(255,255,255,.3);
    border-radius: 20px;
    color: white;
    text-shadow: none;
    margin:0 .5rem;
    font-size: 1rem;
    line-height: .9;
    font-weight: 400;
    padding-bottom: 5px;
    transition: all 1s;
}
.cajaproyectos:hover{
    background: rgba(255,255,255,1);
    color: #921637;
    border-bottom:#921637 .5rem solid;
    font-weight: bold;
}
#donde{
    height: auto;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    display: flex;
}
#donde > div{
    width: 100%;
}
footer{
    background: #33365a;
    color:#ffffff;
    padding: 50px 0;
    font-size:1rem;
    font-family: "bradley";
    font-weight: 400;
}
footer .title{
    font-size: 2rem;
}
footer .dir{
    font-size:1.1rem;
}
footer img{
    width:90%;
    max-width: 180px;
    margin: auto;
}
footer .menu{
    border-top: grey solid thin;
    border-bottom:none;
}
footer .menubt :last-child{
    border-bottom: #e0e1e2 solid thin;
    border-top: none;
}
footer details{
    margin:5px 0;
    padding:3px;
    transition: top 0.5s;
    -webkit-transition: top 0.5s;
    -moz-transition: top 0.5s;
    -ms-transition: top 0.5s;
    -o-transition: top 0.5s;
}
footer label{
    display: none;
}
footer input, footer textarea{
    background: #363857;
    width: 100%;
    padding: 2px;
    border-top:0;
    border-left:0;
    border-right:0;
    border-bottom:grey solid thin;
    box-shadow: none;
    outline: none;
    color: rgb(201, 201, 201);
}
::-webkit-input-placeholder { /* Edge */
    color: #f2f3f5;
  }
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #f2f3f5;
  }
  
  ::placeholder {
    color: #f2f3f5;
  }
  footer .boton{
    background: none;
    color:white;
    padding: 2px 10px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border:grey solid thin;
}
  footer .boton :hover{
    border:white solid thin;
    background: red;
  }
#subir{
    background: #921637;
    opacity: .5;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    right:1rem;
    bottom: 1rem;
    color:white;
    position:fixed;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
#subir:hover{
    opacity: 1;
}
#whatsapp{
    width: 2.5rem;
    height: 2.5rem;
    right:3.5rem;
    bottom: 1rem;
    color:white;
    position:fixed;
    text-align: center;
    align-items: center;
    justify-content: center;
}
/*Galeria de Imagenes*/
  
#galeria {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2px;
    max-width: 100%;
    min-width: 400px;
    padding: 0 10px;
    margin: auto;
    top: 100%;
    /*left: 50%;
    transform: translate(-50%, -50%);*/
  }
.cajagaleria{
width:300px;
height:300px;
display:inline-block;
border:#fff solid 2px
}
  
  #galeria img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
  }
  
  #img-activa {
    width: 100%;
    height: auto;
  }
  
  /*Contenedor Principal del Lightbox*/
  
  #contenedor-principal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.55);
    display: none;
    justify-content: center;
    align-items: center;
  }
  
  /*Contenedor interno del Lightbox*/
  
  #contenedor-interno {
    border: 2px #f3f3f3 solid;
    padding: 2px;
    background: #3f3f3f;
    max-width: 500px;
    min-height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
  }
  
  /*Botones*/
  
  button {
    cursor: pointer;
    background: transparent;
    border: none;
    color: #f3f3f3;
  }
  
  #btn-cierra {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 3rem;
    outline: none;
  }
  
  #btn-retrocede {
    position: absolute;
    top: 50%;
    left: 0;
    font-size: 3rem;    
    outline: none;
  }
  
  #btn-adelanta {
    position: absolute;
    top: 50%;
    right: 0;
    font-size: 3rem;    
    outline: none;
  }
@media (min-width:760px) and (max-width: 980px) {
    .tth{
    font-size: 1.8rem;
    padding-bottom: 18px;

    }
    #vision{
        font-size: 1.2rem;
    }
    #aliados img{
        width: 100%;
    }
    footer{
        padding: 30px 0;
        font-size:.9rem;
    }
    footer .dir{
        font-size:.8rem;
    }
    footer img{
        width:80%;
        max-width: 150px;
    }
    footer h5{
        font-size: 1rem;
    }
  }
@media (min-width: 480px) and (max-width: 760px) {
    #vision{
        font-size: 1rem;
    }
    #proyectos, #aliados{
        height:auto;
        display: block;
    }
    .tth{
        margin-top:30px
    }
    #aliados img{
        width: 80%;
        max-width: 350px;
        opacity: 1;
    }
    #afs,#papaz,#phi,#papaz,#pue,#libros,#bolivar{
        margin:3px 0;
    }
    .cajaproyectos{
        color: white;
        margin:.5rem;
        font-size: 1rem;
        line-height: 1;
        padding-bottom: 5px;
        width: 50%;
    }
    #proyectos img{
        width: 50%;
    }
}
@media  (max-width: 480px) {
    #vision{
        font-size: 1rem;
    }
    #proyectos, #aliados{
        height:auto;
        display: block;
    }
    #aliados img{
        width: 90%;
        opacity: 1;
    }
    .cajaproyectos{
        color: white;
        margin:.5rem;
        font-size: 1rem;
        line-height: 1;
        padding-bottom: 5px;
        width: 80%;
    }
    #proyectos img{
        width: 90%;
        opacity: 1;
    }/*
    #afs,#papaz,#phi,#papaz,#pue,#libros,#bolivar{
        margin:3px 0;
    }*/
}