/* top row */
.main-footer-top{
    background-color: #EFEFEF;
    padding-block: 42px 54px;
    margin-bottom: 6px;
}

/* newsletter first row */

.newsletter-row{
    margin-bottom: 42px;
}
.newsletter.btn{
    margin-inline: auto;
}

/* One third for footer logos */
.one-third{width: 33.33% !important;; width: calc(100%/3) !important;;}

/* websites list second row */

.main-footer .websites-list{
    border-top: 6px solid #fff;    
    border-bottom: 6px solid #fff;
    padding-block: 42px;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;    
    margin-bottom: 20px;
}

.main-footer .website-logos{
    width: 276px;
    padding-inline: 1rem;
    margin-bottom: 6px;
}
.main-footer .website-logos img{
    margin-inline: auto;
}

/* social and app  third row */

.social-app-row{
    align-items: center;
    font-size: 1rem;
}

.social-app-row > div{
    width: calc((100% - 160px) / 2);  
    text-align: center;
}
.social-app-row .brand-logo{
    width: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.footer-social-wrapper{
    max-width: 335px;
    margin-inline: auto;
}

.footer-social-wrapper .social-header{
    margin-bottom: 24px;   
    line-height: 19.2px; 
}

.footer-app-wrapper{
    max-width: 365px;
    margin-inline: auto;
}

.footer-app-wrapper .footer__app-heading{
    font-size: 26px;
    line-height: 22.1px;
    margin-bottom: 8px;
}

.footer-app .app-logos{
    justify-content: space-around;
    max-width: 330px;
    margin-inline: auto;
    margin-top: 20px;
}

@media screen and (max-width: 980px) {  
    .main-footer .website-logos{
        width: 180px;
    }
}
@media screen and (max-width: 920px) { 
    .social-app-row{
        display: block;
    }
    .social-app-row .brand-logo,
    .social-app-row > div{
        width: 100%;
    }
    .social-app-row .brand-logo > img{
        margin-inline: auto;
    }
} 
@media screen and (max-width: 680px) {  
    .main-footer-top{
        padding-block: 47px 32px;
    }
    .newsletter-row{
        margin-bottom: 30px;
    }
    .main-footer .websites-list{
        display: none;
    }
    .footer-social-wrapper{
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 480px) {  
    .footer-social-wrapper{
        max-width: 247px;
    }
    .footer-social-wrapper .social li{
        margin-right: 26px;
    }
    .footer-app-wrapper .footer__app-heading{ margin-bottom: 0;}
    .footer-app-wrapper p{
        display: none;
    } 
    .footer-app .app-logos{
        flex-direction: column;
    }
    .footer-app .app-logos > .app-logo:first-of-type{
        margin-bottom: 16px;
    }
}


/* bottom row */

.main-footer-bottom{
    background-color: #F6F6F6;
    padding-block: 32px 42px;
    font-size: 14px;
    line-height: 17.5px;
}

.footer-nav-header{
    margin-inline: auto;
    width: fit-content;
    position: relative;
    transform: translateY(4px);
}

/* .footer-nav-header::before, */
.footer-nav-header::after{
    content: "";
    position: absolute;
    width:20px;
    height: 8px;
    background-color: #f6f6f6;
    bottom: -2px;
    z-index: -1;
}

.footer-nav-header::after{ left: -7px;}

.footer-nav{
    justify-content: space-between;
    font-size: 14px;
    line-height: 23.8px;
    margin-bottom: 20px;
    padding-top: 30px;
    border-top: 4px solid #DCE1E7;
}

.footer-info .small-logo{
    margin-inline: auto;
    width: fit-content;
    margin-bottom: 24px;
}

.footer-info-links-wrapper > *{
    margin-bottom: 10px;
}

.footer-info-links li{
    padding-inline: 1ch;
}

.footer-info .developer{
    font-size: 12px;
    line-height: 13.8px;
    font-weight: 600;
    align-items:  center;
}
@media screen and (max-width: 920px) {
    .footer-nav-header, 
    .footer-nav{
        display: none;
    }
}   
@media screen and (max-width: 580px) {
    .footer-info-links{
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-info-links > li{
        margin-bottom: 8px;
    }
}