@media screen and (max-width: 435px)
{
    .benefits, .copyright
    {
        font-size: 12px;
    }
    .perfect-match-description
    {
        font-size: 12px;
    }
    .benefits li span::before
    {
        width: 10px;
        height: 10px;
        background-size: contain;
        vertical-align: middle;
    }
}
@media screen and (max-width: 360px)
{
    .main-section-heading
    {
        font-size: 35px;
    }
}
@media screen and (max-width: 409px)
{
    .submit-box
    {
        margin: 0 !important;
    }
    .form-row input[type="submit"]
    {
        padding: 10px 68px;
    }
}
@media screen and (max-width: 377px)
{
    .logo-description
    {
        font-size: 8px;
    }
}
@media screen and (max-width: 315px)
{
    .form-row
    {
        font-size: 12px;
    }
    .form-row input[type="submit"]
    {
        padding: 8px 47px;
    }
}
@media screen and (max-width: 1200px)
{
    .custom-btn, .custom-nav-link
    {
        font-size: 12px;
    }
    .main-section-heading, .carousel-heading
    {
        font-size: 40px;
    }
    .person-card
    {
        width: 900px;
    }
}
@media screen and (max-width: 991px)
{
    .map-container .card-body
    {
        width: 600px;
    }
}
@media screen and (max-width: 767px)
{
    .footer-mobile
    {
        text-align: left !important;
    }
    .main-section-heading, .carousel-heading
    {
        font-size: 30px;
    }
    .map-container .card-body
    {
        width: 500px;
    }
}
@media screen and (max-width: 597px)
{
    .main-section-heading, .carousel-heading
    {
        font-size: 20px;
    }
    .carousel-indicators
    {
        display: none;
    }
    .carousel-caption
    {
        top: 30px;
    }
    .person-card
    {
        width: 380px;
        font-size: 12px;
    }
    .card-title, .card-text, #contacts, footer h6
    {
        font-size: 12px;
    }
    .map-container .card-body
    {
        width: 400px;
    }
}
@media screen and (max-width: 430px)
{
    .map-container .card-body
    {
        width: 300px;
    }
}
@media screen and (max-width: 397px)
{
    .main-section-heading, .carousel-heading, .other-headers
    {
        font-size: 15px;
    }
    .carousel-caption
    {
        top: 20px;
    }
    .card-title, .card-text, #contacts, footer h6
    {
        font-size: 13px;
    }
    .person-card
    {
        width: 280px;
        font-size: 12px;
    }    
}
