.contact{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background3);
    margin-top: 2rem;
}

.contact_background{
    max-width: 1250px;
    width: 100%;
    padding: 3rem 3rem 6rem 3rem;
    margin-bottom: 9rem;
}

.contact_header{
    margin-bottom: 1rem;
    text-align: center;
}

.contact_titles{
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.contact_titles h1{
    font-weight: 500;
}

.contact_titles p{
    font-size: var(--fs-title1);
    font-weight: 300;
}

.contact_titles h1, .contact_titles p, .contact_info h6{
    color: var(--background1);
}

.contact_info_container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 4rem;
    margin: 4rem 0;
}

.contact-icon{
    color: var(--primary);
    max-width: 50px;
    width: 100%;
}

.contact_info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.contact_info h6{
    font-weight: 600;
}

.contact_info p{
    font-size: var(--fs-title2);
    color: var(--stroke);
    font-weight: 300;
    word-wrap: break-word;
    word-break: break-all; /* Fuerza el salto en cualquier letra si es necesario */
    overflow-wrap: break-word;
    
    /* Asegura que el enlace no ignore el ancho de su padre */
    max-width: 100%;
    display: inline-block;
}

@media (max-width: 990px) {
    .contact_info_container {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .contact_info_container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .contact_background{
        padding: 3rem 2rem;
    }
}