@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

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

:root{
    --colorPrimary: #0A172E ;
    --colorSecondary: #61BB46;
    --colorActive:rgb(52, 73, 94);
}

body{
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background: linear-gradient(135deg, #0A172E 0%, #1a2a4e 100%);
    min-height: 100vh;
}

header{
    width: 100%;
    height:70px;
    position: fixed;
    overflow: hidden;
    color:#fff;
    text-align: center;
    z-index: 200;
}

header .textos{
    margin-top: 152px;
}

header .titulo{
    font-size: 85px;
    font-weight: 700;
}

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-color:var(--colorPrimary);
    height: 70px;
    color: #fff;
    position: fixed;
    width: 100vw;
    transition: width 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav_bg{
    background: var(--colorPrimary);
}

.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(100% 0, 100% 0, 100% 100%, 100% 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: 100px;
    height: 50px;
    object-fit: cover;
}

.active{
    color: var(--colorSecondary);
}

.active::after{
    background: var(--colorSecondary);
}

.contenedor{
    margin: auto;
    padding-top: 100px;
    padding-bottom: 80px;
    width: 93%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:20px;
    overflow-y:auto;
    overflow-x: hidden;
    flex-wrap: wrap;
}

.tabla{
    width: 18%;
    min-width: 280px;
    height: 520px;
    text-align: center;
    border-radius: 25px;
    padding:40px 30px;
    flex-grow: 1;
    color: var(--colorPrimary);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Gradiente animado en el borde */
.tabla::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tabla:nth-child(2)::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tabla:nth-child(3)::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.tabla:nth-child(4)::before {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.tabla:nth-child(5)::before {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* Efecto de brillo */
.tabla::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(97, 187, 70, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.tabla:hover::after {
    width: 500px;
    height: 500px;
}

.conTabla{
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.tabla > h2,
.conTabla > h2{
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tabla img,
.conTabla img{
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transition: transform 0.3s ease;
}

.tabla:nth-child(2) img,
.tabla:nth-child(2) .conTabla img {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 5px 20px rgba(240, 147, 251, 0.4);
}

.tabla:nth-child(3) img,
.tabla:nth-child(3) .conTabla img {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
}

.tabla:nth-child(4) img,
.tabla:nth-child(4) .conTabla img {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 5px 20px rgba(250, 112, 154, 0.4);
}

.tabla:nth-child(5) img,
.tabla:nth-child(5) .conTabla img {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    box-shadow: 0 5px 20px rgba(168, 237, 234, 0.4);
}

.tabla:hover img,
.tabla:hover .conTabla img{
    transform: scale(1.1) rotate(5deg);
}

.tabla > h3,
.conTabla > h3{
    margin-bottom: 20px;
    font-size: 48px;
    font-weight: 800;
    color: var(--colorPrimary);
}

.tabla > h3 sup,
.conTabla > h3 sup{
    font-size: 24px;
    vertical-align: super;
}

.tabla span{
    font-size: 12px;
}

.tabla > p,
.conTabla > p{
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    color: #666;
    font-weight: 400;
}

.tabla > p:nth-child(6){
    display: block;
    margin-bottom: 20px;
    font-size: 13px;
}

.boton{
    display: inline-block;
    width: 100%;
    padding: 14px 30px;
    background: var(--colorSecondary);
    text-decoration: none;
    color:#fff;
    border-radius: 50px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    margin-top: auto;
    box-shadow: 0 5px 15px rgba(97, 187, 70, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.boton:hover{
    background: #4fa838;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(97, 187, 70, 0.4);
}

.tabla:hover{
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}

.tabla:hover::before {
    opacity: 1;
}

/* Ocultar las burbujas del area */
.area {
    display: none;
}

footer{
    position: relative;
    bottom: 0;
    background: #414141;
    padding: 20px 0 15px 0;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100vw;
}

.footer__social {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.footer__img {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

.footer__img:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.titulo-final {
    color: var(--colorSecondary);
    font-size: 1.3em;
    font-weight: 600;
}

.content-foo{
    text-align: center;
    transition: 0.5s all;
    padding: 20px;
    text-decoration: none;
}

.titulo-patrocinadores {
    color:var(--colorPrimary);
    text-align: center;
    font-size: 1.8em;
    margin-top: 48px;
    margin-bottom: 64px;
}

@media screen and (max-width:1205px){
    .contenedor{
        padding:100px 20px 80px;
    }

    .tabla{
        width: 29%;
        min-width: 250px;
    }
}

@media screen and (max-width:965px){
    .tabla{
        width: 45%;
        min-width: 280px;
    }

    .nav_logo{
        width: 75px;
        height: 40px;
    }
}

@media screen and (max-width:660px){
    h2{
        font-size: 1.3em;
    }

    .tabla{
        width: 90%;
        min-width: auto;
        height: auto;
        min-height: 480px;
    }

    .none{
        display: none;
    }

    .nav_label{
        display: block;
        cursor:pointer;
        align-items: center;
        padding-top:5px;
    }

    .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: 30px;
        height: 30px;
    }

    .nav_imgBig{
        position: relative;
        top:10px;
        width: 50px;
        height: 50px;
    }

    .nav_logo{
        width: 65px;
        height: 35px;
        object-fit: cover;
    }

    footer{
        position: relative;
    }

    .conTabla > h2{
        font-size: 20px;
    }

    .conTabla > h3{
        font-size: 40px;
    }
}