/* Efecto de cambio button */
.button {
    color: #fff;
    border: transparent;
    background-color: #3e60d5;
    font-size: 1rem;
    line-height: 2.5rem;
    width: 100%;
    position: relative;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    transition: all 1s ease-in;
}

.button:hover {
    color: #3e60d5;
    background-color: transparent;
}

.button svg {
    height: 40px;
    left: 0;
    top: 0; 
    position: absolute;
    width: 100%; 
}

.button rect {      
    fill: none;
    stroke: #3e60d5;
    stroke-width: 2;
    stroke-dasharray: 450, 0;
    transition: all 0.5s linear;
}

.button:hover rect {
    stroke-width: 5;
    stroke-dasharray: 20, 300;
    stroke-dashoffset: 48;
    stroke: #3e60d5;
    transition: all 2s cubic-bezier(
        0.22, 1, 0.25, 1
    );
}

/* fin efecto */

/* galeria */
.card_galery {
    position: relative;
    left: 0;
    width: 9rem;
    height: 10rem;
    background-color: #3C343D;
    border-radius: 0.5rem;
    transition: 1000ms all;
    transform-origin: center left;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5);
    outline: 1px solid #3C343D;
    overflow: hidden;
}

.card_galery img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border-radius: 0.25rem;
}

.card_galery:hover {
    cursor: pointer;
    transform: scale(1.15);
}

@keyframes cardFade {
    from {
        opacity: 0;
    } to {
        opacity: 1;
    }
}

.card_galery:hover figcaption {
    animation: cardFade 0.3s ease-in-out;
    font-size: 0.6rem;
    position: absolute;
    height: 5rem;
    width: 10rem;
    display: flex;
    align-items: end;
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    color: white;
    left: 0;
    bottom: 0;
    padding-left: 0.75rem;
    padding-bottom: 0.65rem;
}

.card_galery:hover ~ .card {
    font-weight: bold;
    cursor: pointer;
    transform: translateX(1.3rem);
}
/* fin galeria */


/* efecto vision de usuario */
.profile {
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0 auto;
    gap: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.profile__highlight__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    width: 100%;
    flex-grow: 1;
    font-size: 17px;
}

.profile__highlight {
    padding: 0.4rem;
    border-radius: 0.5rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.profile__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    gap: 0.75rem;
}

.profile__name {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}

.profile__name h2 {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    gap: 0.5rem;
}

.profile__name p {
    font-size: 1.05rem;
    color: #878789;
}

.profile__avatar {
    flex-grow: 3;
    max-width: 8rem;
    min-width: 5rem;
}

.profile__avatar img {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 1rem;
    margin: 0 auto;
    margin-top: -50%;
}
/* fin vision de usuario */
