
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*LIDER IMG*/

.mod-lider{
    padding: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    align-content: center;

}
.lider-img, .lider-name, .lider-position, .lider-contact{
    place-items: center;
}

.lider-img{
    background: transparent;
    position: relative;
    display: grid;
    clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 100% 0, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 0 100%, 0% 85%);    
    cursor: pointer;
    overflow: hidden;
}

.lider-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0px; 
    z-index: 2;   
}

.lider-img::before{
    position: absolute;
    content: '';
    width: 50%;
    height: 180%;
    transform: rotate(45deg);
    background: repeating-conic-gradient(#00385e 0%, #00385e 5%, transparent 5%, transparent 40%, #00385e 50%);
    opacity: 0;
    transition: 0.5s;

}

.lider-img:hover::before{    
    animation: animatimg 4s linear infinite;
    transition: 0.5s;

}

.lider-img::after{
    position: absolute;
    content: '';
    inset: 5px;

    background: #fff ;
}
@keyframes animatimg{
    from
    {
        transform: rotate(0deg);
        opacity: 1;
    }
    to
    {
        transform: rotate(360deg);
        opacity: 1;

    }

}
.lider-name{
    padding: 0px 30px;
    height: 4em;
    margin-top: 15px;
}
.lider-name h3{
    font-size: 1.5em;
    font-weight: 700;
    color: #1e3076;
    font-family: "Alegreya Sans", sans-serif;
    line-height: 1.2;
}

.lider-position{
    padding: 0px 30px;
    height: 4em;
}

.lider-position h4{
    font-size: 1.1em;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-weight: 300;
    color: #2f2f2f;
}


.lider-contact{
    padding: 10px 100px;
    text-align: center;
}

.lider-contact a{
    text-decoration: none;
}

.lider-contact:hover{
    transform: scale(0.95);
    transition: 0.5s;
}
button.lid-btn{
    width: 100%;
    padding: 15px;    
    border: none;    
    background: #CE0E2D;
    filter: drop-shadow(3px 3px 4px rgba(0,0,0,.5));
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden
}

button.lid-btn i{
    color: #fff;
    font-size: 1.5em;
    z-index: 2;

}

button.lid-btn::before{
    position: absolute;
    content: '';
    width: 30%;
    height: 300%;
    background: #fff;
    transform: rotate(45deg);
    opacity: 0;
}


.lid-btn:hover::before{    
    animation: animabtn 4s linear infinite;
}

@keyframes animabtn{
    from
    {
        transform: rotate(360deg);
        opacity: 1;
    }
    to
    {
        transform: rotate(0deg);
        opacity: 1;
    }

}

.lid-btn::after{
    position: absolute;
    content: '';
    inset: 3px;
    background: #CE0E2D ;
}




@media (min-width: 1100px) and (max-width: 1199px){

    .lider-name{
        padding: 0px 10px;
        height: 4em;
        margin-top: 15px;
    }

    .lider-name h3{
        font-size: 1.5em;
    }
    .lider-position{
        padding: 0px 10px;
    }
    .lider-position h4{
        font-size: 1em;
    }

    .lider-contact{
        padding: 10px 70px;
        text-align: center;
    }
}

@media (min-width: 992px) and (max-width: 1099px){
    .mod-lider{
        padding: 30px 10px;    
    }

    .lider-name{
        padding: 0px 10px;
    }

    .lider-position{
        padding: 0px 10px;
    }

    .lider-contact{
        padding: 10px 75px;
    }
    button.lid-btn i{
        font-size: 1.4em;
    
    }
}

@media (min-width: 768px) and (max-width: 991px){

    .mod-lider{
        padding: 30px 20px;
    
    }
}

@media (min-width: 576px) and (max-width: 767px){

    .mod-lider{
        padding: 10px;
    
    }

    .lider-name{
        padding: 0px 10px;
    }

    .lider-name h3{
        font-size: 1.3em;
    }

    .lider-position{
        padding: 0px;
    }

    .lider-position h4{
        font-size: 1em;
    }

    .lider-contact{
        padding: 10px 50px;
    }

    
button.lid-btn i{
    font-size: 1.2em;
}
}


@media (max-width: 575px){

    .mod-lider{
        padding: 30px 0px;    
    }

    .lider-name{
        padding: 0px 10px;
        height: auto;
    }

    .lider-name h3{
        font-size: 1.7em;
    }

    
.lider-position{
    padding: 0px 10px;
    height: auto;
}

.lider-position h4{
    font-size: 1.3em;
}
.lider-contact{
    padding: 10px 30px;
}

button.lid-btn::before{
    width: 80%;
    height: 400%;
}

}
/*
.animated_card{
    height: 500px;
    width: 350px;
    background: #222;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
}

.animated_card span{
    color: #fff;
    opacity: 0.1;
    font-size: 11em;
    z-index: 1;
}

.animated_card::before{
    position: absolute;
    content: '';
    width: 50%;
    height: 180%;
    background: #ff0800;
    transform: rotate(45deg);

}


.animated_card:hover::before{
    animation: animati 2s linear infinite;

}

@keyframes animati{
    from
    {
        transform: rotate(0deg);
    }
    to
    {
        transform: rotate(360deg);
        filter: hue-rotate(-360deg) saturate(1000%);
    }

}

.animated_card::after{
    position: absolute;
    content: '';
    inset: 10px;
    background: #000 ;
}*/