*{
    margin:0px;
    padding:0px;
    box-sizing: border-box;
}

body{
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
}

html{
    scroll-behavior: smooth;
}

header{
    width: 100%;
    height:750px;
    background-image: url(../img/imgbg.png);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    color:#fff;
    text-align: center;
    opacity: 1.1;
}


header .textos{
    margin-top: 152px;
}

header .titulo{
    font-size: 85px;
    font-weight: 700;
    animation-duration: 1s;
    animation-name: slidein;
}

header .subtitulo{
    font-size:42px;
    font-weight: 300;
    margin-bottom: 32px;
}

header .boton{
    display: inline-block;
    padding: 6px;
    width: 128px;
    border:1px solid #fff;
    color:#fff;
    font-size: 19px;
    text-align: center;
    text-decoration: none;
    border-radius:16px;
}

.nav{
    background: transparent;
    height: 70px;
    color: #fff;
    position: fixed;
    width: 100vw;
    z-index: 15;
    transition: all 0.3s;
}

.nav_bg{
    background: #293241;
}

.nav_container{
    display: flex;
    height: 100%;
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}


.nav_menu{
    display: grid;
    grid-auto-flow: column;
    gap:3em;
}

.nav_item{
    color:#fff;
    text-decoration: none;
    --clippy: polygon(0 0, 0 0, 0 100%, 0% 100%);
    font-size: 20px;
    font-weight: 400;
    
}

.nav_item::after{
    content: "";
    display: block;
    background: #fff;
    width:99%;
    margin-top:3px;
    height: 3px;
    clip-path: var(--clippy) ;
    transition: clip-path .4s;
}

.efectReduce{
    transform: scale(.5, .5);
}

.nav_item:hover{
    --clippy: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    
}

.nav_input:checked + .nav_menu{
    background-image: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
}

#menuIcon{
    transition: all .5s ease;
}

.nav_label,
.nav_input{
    display: none;
}

.nav_logo{
    width: 45px;
    height: 45px;
    object-fit: cover;
}

.sesgoabajo{
    z-index: 10;
    position:absolute;
    bottom: 0;
    left: 0;
    border-width: 0 0 35vh 100vw;
    border-style: solid;
    border-color:  transparent transparent #fff transparent;
}

.sesgoarriba{
    z-index: 10;
    position:absolute;
    top: 0;
    left: 0;
    border-width: 35vh 100vw 0 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent ;
}

.contenedor{
    width: 90%;
    max-width: 1000px;
    margin:auto;
    overflow: hidden;
    padding: 52px 0;
}

.sobre-nosotros{
    text-align: center;
    font-size: 56px;
    margin-bottom: 10px;
    font-weight: 600;
}

.slogan{
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 24px;
}

.parrafo{
    margin-bottom: 13px;
    font-weight: 300;
    text-align: justify;
    line-height: 24px;
    color: rgb(24, 16, 16);
}

.textCenter{
    text-align: center;
}

.acerca-de .boton{
    display: inline-block;
    padding: 6px;
    width: 128px;
    font-weight: 300;
    border:1px solid rgba(24, 16, 1, .7);
    color:rgb(24, 16, 16);
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius:16px;
    margin-bottom: 24px;
}

.galeria{
    width:100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    position: relative;
}

.imagenes{
    width:20%;
    height:500px; 
    overflow: hidden;
    position: relative;
}

.imagenes img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.encima{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 73, 94, 0.818);
}

.encima h2{
    position: relative;
    top:45%;
    text-align: center;
    color:#fff;
}

.encima div{
    position: relative;
    display: block;
    top:46%;
    width:40px;
    height: 5px;
    background: #fff;
    margin:auto;
}

.cards{
    width: 100%;
    margin:auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card{
    margin:20px 0px;
    width:30%;
    height: 250px;
    text-align: center;
    padding: 20px;
    box-shadow:0px 0px 4px 0 rgba(52, 73, 94, 0.849);
    transition:all 0.3s;
    /* transition-timing-function: ease-out; */
}

.card a{
    text-decoration: none;
    color: #fff;
}
.cards img{
    width: 140px;
    height: 140px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 83% 12%, 100% 43%, 94% 78%, 68% 100%, 32% 100%, 6% 78%, 0% 43%, 17% 12%);
  
}

.subtitulo-card{
    font-style: italic;
    font-size: 13px;
}

.card:hover{
    transform: scale(1.1);
    cursor: pointer;
}

.fondo{
    min-height: 900px;
    position: relative;
    background-image: url(../img/imgredes.png);
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    padding-top: 130px;
}

.sesgoabajo-unico{
    z-index: 10;
    position:absolute;
    bottom: 0;
    left: 0;
    border-width: 0 0 35vh 100vw;
    border-style: solid;
    border-color:  transparent transparent #2c3e50 transparent;
}

.titulo-patrocinadores {
    color:#fff;
    text-align: center;
    font-size: 56px;
    margin-top: 48px;
    margin-bottom: 64px;
}

.especial{
    box-shadow: none;
}

.especial img{
    clip-path: circle(50% at 50% 50%);
}

footer{
    background: #2c3e50;
}

.titulo-footer, .subtitulo-footer, .subtitulo-footer-end{
    color:#fff;
    text-align: center;
    font-size: 56px;
}

.subtitulo-footer{
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
}

.contenedor > a{
    display: inline-block;
    padding: 6px;
    width: 200px;
    border:1px solid #fff;
    color:#fff;
    font-size: 19px;
    text-align: center;
    text-decoration: none;
    border-radius:16px;
    margin-bottom: 55px;
    
}

.contEspecial{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.infoRedes{
    width: 100%;
    height: 40%;
    text-align: center;
    margin-bottom: 50px;
}

.infoRedes > a{
    color:#fff;
    font-size: 19px;
    text-decoration: none;
}

.subtitulo-footer-end{
    font-size: 16px;
    font-style: italic;
    margin-bottom: 24px;
}

.enlacesInteres{
    min-height: 900px;
    position: relative;
    overflow: hidden;
    padding-top: 10px;
    background: #003049;
}

.sesgoabajo-unico2{
    z-index: 10;
    position:absolute;
    bottom: 0;
    left: 0;
    border-width: 0 0 35vh 100vw;
    border-style: solid;
    border-color:  transparent transparent #003049 transparent;
}

.enlacesContenedor{
    width: 100%;
    margin:auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.enlace_{
    min-height: 210px;
    width: 45%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.botonEnlace{
    display: inline-block;
    padding:12px;
    text-decoration: none;
    color:#fff; 
    border-radius: 100px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin:auto;
    margin-bottom: 10px; 
    --clippy: polygon(0 0, 0 0, 0 100%, 0% 100%);
    --clippy2: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

.botonEnlace:hover{
    --clippy: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    --clippy2: polygon(100% 0, 0 0, 0 100%, 100% 100%);
}

.botonEnlace::after{
    content: "";
    display: block;
    background: #fff;
    width:100%;
    margin-top:3px;
    height: 3px;
    clip-path: var(--clippy) ;
    transition: clip-path .4s;
}

.botonEnlace::before{
    content: "";
    display: block;
    background: #fff;
    width:100%;
    margin-top:3px;
    height: 3px;
    clip-path: var(--clippy2) ;
    transition: clip-path .4s;
}

.enlace_ img{
    height: 350px;
    transition: all 0.5s;
    animation-duration: 2s;
    animation-name: slidein;
}

.enlace_:hover img{  
    transform: scale(1.09);
}

.card >.cta{
    color: #ff3d00;
    font-weight: 700;
}

.modal{
    position: fixed;
    background-color: #333;
    z-index: 100;
    top:0;
    bottom:0;
    left:0;
    right: 0;
    display: flex;
    --opacity: 0;
    --pointer:none;
    opacity: var(--opacity);
    pointer-events: var(--pointer);
    transition: opacity .5s;
}

.modal:target{
    --opacity: 1;
    --pointer:unset;
}


.modal_container{
    margin: auto;
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 90%;
    overflow: hidden;
    text-align: center;
    padding: 2.5em 1.5em;
    border-radius: 1em;
}

.modal:target .modal_container{
    animation: show 1s .1s backwards;
}

.modal:target .modal_picture{
    animation: scale .5s .7s backwards;
}

@keyframes show {
    0%{
        transform: translateY(-150vh);
    }  
}

@keyframes scale {
    0%{
        transform: scale(0);
    }  
}
.modal_picture{
    width:90%;
    margin: 0 auto;
    max-width: 400px;
    margin-bottom: 2em;
}
.modal_img{
    width: 100%;
    display: block;
    transition: transform .5s;
}

.modal_img:hover{
    transform: scale(1.1);
}

.modal_title{
    font-size: 2.5rem;
    font-weight: 500;
    color:#ff3d00;
}

.modal_title--bold{
    font-weight: 700;
}

.modal_paragraph{
    margin-bottom: 1em;
    margin-bottom: 1em;
    line-height: 1.5;
}

.modal_close{
    display: inline-block;
    border:1px solid ;
    padding: 1em 2em;
    text-decoration: none;
    font-weight: 700;
    color: #1a237e;
    border-radius: .4em;
    box-shadow: 0 5px 10px -5px rgb(0 0 0 / 30%);
    transition: transform .5s;
}

.modal_close:hover{
    transform: scale(1.1);
    background-color: #1a237e;
    color: #fff;
}

@media screen and (max-width:985px){
    .enlace_:nth-child(2){
        margin-bottom: 200px;
    }

}

@media screen and (max-width:900px){

    .enlace_ img{
        height: 270px;
    }

    .card{
        width:45%
    }

    .especial{
        width: 30%;
    }

    .titulo-patrocinadores{
        font-size: 40px;
    }
}

@media screen and (max-width:628px){
    .modal_title{
        font-size: 1.7rem;
    }
    .tpat{
        margin-top: 5px;
        margin-bottom: 44px;
    }

    .enlace_ img{
        height: 200px;
    }

    .enlace_:nth-child(2){
        width:90%;
        /* margin-bottom: 200px; */
    }


    .titulo-patrocinadores{
        font-size: 35px;
    }

    .imagenes{
        flex-grow: 1;
    }

    .none{
        display: none;
    }

    .especial{
        width: 45%;
    }

    .especial:nth-child(3){
        margin-bottom: 100px;
    }

    .fondo{
        min-height: 1000px;
    }

    .sobre-nosotros{
        font-size: 46px;
    }

    .nav_label{
        display: block;
        cursor:pointer;
        align-items: center;
        padding-top:30px;
    }

    .nav_menu{
        position: fixed;
        top:70px;
        bottom:0;
        background-image: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
        width: 100%;
        left: 0px;
        display: flex;
        justify-content: start;
        flex-direction: column;
        align-items: center;
        clip-path: circle(0 at center);
        transition: clip-path 0.5s;
        padding-top: 30px;
    }

    .nav_input:checked + .nav_menu{
        clip-path: circle(100% at center);
    }

    .nav_img{
        width: 60px;
        height: 60px;
    }

    .nav_logo{
        width: 35px;
        height: 35px;
        object-fit: cover;
    }

}

@media screen and (max-width:500px){


    .titulo-patrocinadores{
        
        font-size: 30px;
    }

    .card{
        width: 90%;
    }

    .fondo{
        min-height: 1400px;
        height: 1400px;
    }

    

    
}

@media screen and (max-width:400px){

    header{
        background-size:auto;
    }

    .titulo-patrocinadores{
        font-size: 25px;
    }

    .nav_item{
        font-size: 25px;
    }
    
}

@keyframes slidein {
    from {
        transform: scale(0.5);
      
    }
  
    to {
        transform: scale(1);
      
    }
  }
  