@import url('footer.css'); 
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik+Doodle+Shadow&display=swap');

    :root{ --categorias: #303634; }
    html {
        scroll-behavior:smooth;
        overflow-x: hidden;
    }
    *{
        color: black;
        margin: 0;
        padding: 0;
        font-family: "Barlow", sans-serif;
        font-size: 22px;
        text-decoration: none;
    }
    body{
        max-width: 100%;
        min-height: 100vh;
        /* position: relative; */
    }

    /* HEADER */

    header{
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #303634;
        padding: 0.8rem;
    
        .logo{ width: clamp(11rem, 2vw + 1rem, 12rem); }
    
        .articulos{
            position: relative;
            display: flex;
            gap: 1rem;
            p{ font-size: 0.7rem; padding: 0.6rem; position: relative; }
            .categoria::after, .categoria:hover::after{
                content: "";
                position: absolute;
                border: solid 0px;
                width: 0;
                bottom: 0;
                left: 50%;
                transform: translate(-50%, -50%);
                transition: all 0.25s linear;
            }
            .nosotros::after, .categoria:hover::after{
                border: solid 1px;
                width: 100%;
            }
            .nosotros, .categoria:hover{ font-weight: bold; }
            .fa-bars{ font-size: 1.3rem; }
        }
        .sidebar{
            position: fixed;
            top: 0;
            right: 0;
            height: 100vh;
            width: 180px;
            z-index: 999;
            background-color: rgba(255, 255, 255, 0.5);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
            display: none;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
    
            p{ width: 100%; }
            a{ width: 100%; }
        }
    }
    
    .nosotros_titulo{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 0;

        .info_titulo{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2.5rem 2rem;
            gap: 1.2rem;
            width: 60%;
            background: white;
            border: 3px solid transparent;
            background-clip: padding-box;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            position: relative;

            &::before {
                content: '';
                position: absolute;
                inset: 0;
                padding: 3px;
                background: linear-gradient(135deg, lightblue, #B8E5C1, lightgreen);
                -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                -webkit-mask-composite: xor;
                mask-composite: exclude;
                pointer-events: none;
                border-radius: 20px;
            }
            
            h1{
                font-size: 2rem;
                font-weight: 900;
                font-family: 'Rubik Doodle Shadow', system-ui;
                text-align: center;
                background: linear-gradient(120deg, lightblue, lightgreen);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                letter-spacing: 2px;
                text-transform: uppercase;
                line-height: 1.2;
                filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
            }
            /* p{ font-size: 0.8rem; text-align: center; } */
            p{ 
                font-size: 0.9rem;
                text-align: center;
                color: #555;
                line-height: 1.7;
                max-width: 90%;
                font-weight: 400;
            }
        }
    }
    .seccion_nosotros{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem 0;
        /* background-color: red; */

        .CEO{
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 0.7rem;
            padding: 1.2rem 1rem;
            border-radius: 20px;
            width: 280px;
            background-color: #fff;
            transition: 0.3s;
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
            position: relative;

            img{
                width: 180px;
                height: 180px;
                border-radius: 50%;
                object-fit: cover;
                position: relative;
                box-shadow: 0 0 10px 5px rgba(100, 100, 100, 0.8);
            }
            h3{ font-size: 0.9rem; }
            p{ font-size: 0.8rem; font-style: italic; }
        }

        .CEO::before{
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            padding: 3px;
            background: linear-gradient(to right, lightblue, lightgreen);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        .CEO:hover, .CEO:active{
            transform: translateY(-8px);
            box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
        }

        .equipo{
            display: grid;
            gap: 1.5rem;
            width: 80%;
            justify-content: center;
            align-items: center;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

            .integrante{
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 0.7rem;
                padding: 1.2rem 1rem;
                box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
                border-radius: 20px;
                transition: 0.3s;
                position: relative;

                img{
                    width: 180px;
                    height: 180px;
                    object-fit: cover;
                    border-radius: 50%;
                    box-shadow: 0 0 10px 5px rgba(100, 100, 100, 0.8);
                }
                h3{ font-size: 0.9rem; }
                p{ font-size: 0.8rem; font-style: italic; text-align: center; }
            }
            .integrante::before{
                content: '';
                position: absolute;
                inset: 0;
                border-radius: 20px;
                padding: 3px;
                background: linear-gradient(to right, lightblue, lightgreen);
                -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                -webkit-mask-composite: xor;
                mask-composite: exclude;
                opacity: 0;
                transition: opacity 0.3s ease;
            }

            .integrante:hover, .integrante:active{
                transform: translateY(-8px);
                box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
            }
            .integrante:hover::before{ opacity: 1; }
        }
    }

    @media (max-width: 800px){ /* tablets */
        html, body{ overflow-x: hidden; }
        .Nav_compu{ display: none; }
    }
    @media (min-width: 801px) and (max-width: 900px){
        body, html{ overflow-x: hidden; }
        .Nav_compu{ display: block; }
        .barra{ display: none; }
    }
    @media (min-width: 901px) and (max-width: 1200px) { /* Computadoras */
        body, html{ overflow-x: hidden; }
        .barra{ display: none; }

    }
    @media (min-width: 1133px) { /* Televisiones */
        body, html{ overflow-x: hidden; }
        .barra{ display: none; }

        .equipo{ .integrante:last-child{ grid-column: 2 / 3; } }
    }
    @media (min-width: 1524px){
        .equipo{
            .integrante:nth-child(9){ grid-column: 1 / 3; } 
            .integrante:last-child{ grid-column: 3 / 5; } 
        }
    }