.headerInfo {
    width: 100%;
    height: 743px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.6s;
}

.headerInfo p {
    font-size: 48px;
    font-weight: bold;
    color: #FFFFFF;
}

.headerHiddenPicture {
    display: none;
}

@media (max-width: 650px) {
    #headerInfo {
        max-width: calc(100% - 20px);
        margin: 40px auto;
        background-image: url(../../images/gallery/portfolio_mob.webp) !important;
        background-size: cover;
        background-repeat: no-repeat;
        border-radius: 10px;
        height: auto !important;
        aspect-ratio: 600/808;
    }
}

@media (max-width: 550px) {
    .headerInfo p {
        font-size: 28px;
        line-height: 129%;
    }
}
