@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
.profiles{
    position: relative;
    display: flex;
    gap: 20px;
    z-index: 3;
    height: 60vh;
    overflow: hidden;
}

.card_img{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card_img img {
    width: 20vw;
    height: 60vh;
    object-fit: cover;
    border-radius: 10px;
    border-radius: inherit;
    transition: transform 0.3s ease;
    display: block;
}

.card_img img:hover {
    transform: scale(1.05);
    filter: blur(2px);
}

.info {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    margin-left: 10px;
    background: rgba(0, 0, 0, 0.25);
    padding: 0;
    border-radius: 10px;
    
}

.card_img.active .info {
    max-width: 20vw;
    opacity: 1;
    padding: 15px;
    height: 60vh;
}

.info h3 {
    margin-top: 0;
    color: #fafafa;
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
}

.info p {
    color: #c8c8c8;
    font-family: 'Lato', sans-serif;
    /* font-size: .8rem; */
    font-size: clamp(0.7rem, 2vw, .8rem);
}

.info_text_services h2{
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    text-align: center;
    color: #e0e0e0;
    
}


.info_text_services{
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 3;
    margin-top: 20vh;
}

.info_text_services hr{
    width: 8vw;
    border-color: rgba(58, 146, 209, 1);
}

.hover_img{
    width: 20vw;
    height: 60vh;
    position: absolute;
    inset: 0;
    border-radius: 10px;
    box-sizing: border-box;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(40, 40, 40, 0.11) 100%);
    opacity: 0;
    transition: ease .3s;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 2vw;
    padding-right: 2vw;
    flex-direction: column;
    text-align: right;
}

.hover_img h4{
    color: #fafafa;
    font-family: 'Lato', sans-serif;
}
.hover_img p{
    color: #c8c8c8;
    font-family: 'Lato', sans-serif;
}

.card_img:hover .hover_img{
    transform: scale(1.06);
    opacity: 1;
}

@media (max-width: 768px) {
    .profiles {
        flex-direction: column;
        width: 90vw;
        height: auto;
    }
    
    .card_img {
        flex-direction: column;
    }
    .card_img img {
        width: 90vw;
        height: 40vh;
        object-fit: cover;
    }
    .card_img.active .info {
        max-width: 90vw;
        opacity: 1;
        padding: 15px;
        max-height: 300px;
    }
    
    .info {
        margin-left: 0;
        margin-top: 10px;
        max-height: 0;
    }
    .info_text_services {
        margin-top: 10vh;
    }
    
    .hover_img {
        width: 90vw;
        height: 40vh;
        padding-right: 30px;
    }
    
    .info p {
        width: 90vw;
        font-size: 1em;
    }
}

@media (max-width: 400px) {
    .info p {
        font-size: 0.9rem;
    }
}