@media screen and (max-width: 1121px) {
    .second-nav {
        margin-left: 2rem;
    }
}

@media screen and (max-width: 1025px) {
    .gallery-card img {
        max-width: 420px;
        min-width: 300px;
    }
}

@media screen and (max-width: 821px) {
    .profile-img-div img#profile {
        max-width: 350px;
        min-width: 320px;
    }
    .gallery-card img {
        max-width: 350px;
        min-width: 250px;
    }
}

@media screen and (max-width: 435px) {
    .share-container {
        margin-top: 1rem !important;
    }
    .share-div button {
        width: 95%;
        padding: 5px 10px !important;
    }
    .reviewby-div #blogby, .reviewby-div #reviewby {
        padding: 4px 8px !important;
      }
    .content-container {
        flex-direction: column;
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        gap: 1.5rem;
    }
    .profile-img-div img#profile, .gallery-card img {
        max-width: 300px;
        min-width: 250px;
    }
    .gallery-img-container {
        justify-content: center;
    }
}

@media screen and (max-width: 376px) {
    .detail-info h2 {
        font-size: 1.5rem !important;
    }
    .detail-info h4 {
        font-size: 1.2rem !important;
    }
    .detail-info #reviews-text {
        font-size: 1rem;
    }
    .profile-img-div img#profile, .gallery-card img {
        max-width: 250px;
        min-width: 200px;
    }
}