.container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.title {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.1em;
}

.title p {
    font-family: "Montserrat";
    font-size: 4.2rem;
    font-weight: 700;
}

.text {
    height: 265px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cards {
    width: 100%;
    display: flex;
    gap: 24px;
    padding: 8px;
    padding-left: 0;
    flex-wrap: wrap;
}


.elements {
    height: 24em;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 20em;
}



.medium {
    flex: 2.7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.medium img {
    height: 90%;
}

.bottom {
    flex: 1;
    top: 0;
}

.Topic {
    line-height: 24px;
}

.size {
    width: 90%;
}

.back {
    border-radius: 24px;
    margin-top: 5px;
    width: 91.5%;
    height: 80%;
    background-color: #FBFBFC;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.profiles-contact {
    display: flex;
    gap: 24px;
    flex-direction: row;
    position: relative;
    min-width: 100%;
}

.profile {
    flex: 1;
}

.contact {
    flex: 2;
    position: relative;
    display: flex;
}

.contact-det{  
    font-family: "Integral CF Regular";
    font-size: 2.9em;    
    position: absolute;
    width: 65%;
    bottom: 3vh;
    left: 3vh ;
}

.contact-det span{
    font-family: "Integral CF Regular";
    color: #FF8E25;

}

@media (max-width: 1091px) {

    .title p {
        font-size: 3.6em;
    }

}

@media (max-width: 990px) {
    .title p {
        font-size: 3.4em;
        text-align: center;
    }
    .title img{
        height: 5.8em;
    }
}

@media (max-width: 788px) {
    .profile {
        flex: 2;
    }
    .profiles-contact {
        flex-direction: column;
        height: 400px;
    }
    .title{
        gap: 0;
    }

    .title img{
        height: 5.8em;
    }
    .title p{
        font-size: 2.4em;
    }

}


@media (max-width: 520px) {

    .contact-det {
        font-size: 2em;
        width: 65%;
    }
}

@media (max-width: 442px) {

    .title img{
        height: 3.8em;
    }

    .title p{
        font-size: 2em;
    }

}
    
@media (max-width: 359px) {

    .title img{
        height: 3.5em;
    }

    .title p{
        font-size: 1.7em;
    }

}
    