#footer-container {
    padding: 20px;
    text-align: center;
    background: #252932;
}

#newsletter-container {
    padding: 20px 0;
}

#newsletter-title {
    color: whitesmoke;
    text-transform: uppercase;
    margin: 20px 0;
    font-size: 20px;
}

#newsletter-subtitle {
    color: #416163;
    font-size: 20px;
}

#newsletter {
    margin: 20px 0;
}

#newsletter-form {
    background: #FFFFFF;
    width: 425px;
    display: inline;
    color: #a7a7a7;
    border: 1px solid #e9e7e7;
    font-size: 14px;
    margin-right: 0px;
    padding: 16px 20px;
    border-radius: 999px;
}

#newsletter-form:focus {
    outline: none;
}

#newsletter-subscribe {
    filter: none;
    color: white;
    overflow: hidden;
    padding: 18px 28px;
    cursor: pointer;
    font-weight: 500;
    border: none;
    background: #d39c03;
    border-radius: 999px;
}

#newsletter-subscribe:hover {
    background: #ffbc00;
    color: white;
}

.footer-section {
    text-align: left;
    padding: 5px;
    margin-right: 140px;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link {
    text-decoration: none;
    color: thistle;
}

#footer-icons-container {
    display: flex;
}

#rule {
    height:2px;
    border-width:0;
    color:gray;
    background-color:gray;
    margin-top: 32px;
    margin-bottom: 32px;
    width: 85%;
}

#footer-box {
    display: flex;
    padding: 20px 0;
    width: 85%;
    margin: auto;
}

.footer-elem {
    padding: 5px;
}

.footer-link {
    color: #b7bcc8;
}

.footer-link:hover {
    color: #416163;
}

#footer-end {
    display: flex;
    background: #1b1e24;
    justify-content: space-evenly;
    color: #b7bcc8;
    padding: 32px 0;
}

.footer-end-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

#footer-paragr {
    font-size: 13px;
}

.no-link {
    text-decoration: none;
    color: #b7bcc8;
    font-size: 16px;
}

.circle-border {
    border: 2px solid #b7bcc8;
    text-align: center;
    color: #b7bcc8;
    display: block;
    height: 3em;
    line-height: 3em;
    border-radius: 50%;
    width: 3em;
    font-size: 14px;
    transition: 0.6s;
}

.circle-border:hover {
    background-color: #ffbc00;
    color: white;
    border: 2px solid white;
}

#last-paragraph {
        font-size: 14px;
    }

#last-paragraph-underlined {
    border-bottom: 3px solid #ce8a0ce5;
}

@media screen and (max-width: 700px) {
    #footer-box {
        display: block;
    }
    .footer-section {
        text-align: center;
        margin: auto;
        padding: 0;
    }
    .footer-section:first-child {
        margin-bottom: 24px;
    }
    .footer-elem {
        padding: 3px;
    }
    #rule {
        margin-bottom: 0;
        margin-top: 0;
    }
    #newsletter-subtitle {
        font-size: 16px;
        text-transform: none;
    }
    #footer-end {
        display: block;
    }
    .footer-end-grid {
        margin: 20px;
    }
    #footer-icons-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #footer-paragr {
        font-size: 12px;
        margin: 0 12px;
        text-align: center;
    }
    #newsletter {
        width: 100%;
    }
    #newsletter-form {
        width: 88%!important;
        text-align: center;
    }
    #newsletter-subscribe {
        width: 100%;
    }
}