.container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

/* #FOOTER */
footer {
    width: 100%;
    height: 100%;
    background: #303030;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
}

.footer-item {
    padding: 30px 0;
}

.footer-item:nth-child(1) h3 {
    color: #fff;
    font-weight: normal;
    font-size: 16px;
}

.footer-item:nth-child(1) p {
    margin: 10px 0;
    color: #979797;
    font-size: 14px;
}

.footer-item:nth-child(1) a {
    color: #40aed7;
    font-size: 14px;
    text-decoration: none;
}

.footer-item:nth-child(2) h3 {
    color: #fff;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-item:nth-child(2) p {
    margin-top: 10px;
    color: #979797;
    font-size: 14px;
}

.footer-item:nth-child(2) ul {
    list-style: none;
}

.footer-item:nth-child(2) ul li {
    padding-top: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #404040;
}

.footer-item:nth-child(2) ul li a {
    color: #40aed7;
    font-size: 14px;
    text-decoration: none;
}

.footer-item:nth-child(3) h3 {
    color: #fff;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 25px;
}

.footer-item:nth-child(3) p {
    margin-top: 10px;
    color: #979797;
    font-size: 14px;
}

.footer-item:nth-child(3) a {
    color: #f27d97;
    font-size: 14px;
    text-decoration: none;
}

.footer-item:nth-child(4) h3 {
    color: #fff;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 21px;
}

.footer-item:nth-child(4) input, textarea {
    width: 225px;
    height: 35px;
    background: #fff;
    border: none;
    outline: none;
    margin-top: 10px;
    padding: 10px;
    font-family: 'kanit';
}

.footer-item:nth-child(4) textarea {
    height: 100px;
}

.footer-item:nth-child(4) input[type="submit"] {
    background: #f27d97;
    border-radius: 5px;
    text-transform: uppercase;
    color:#fff
}

/* #COPYRIGHT */
.copyright {
    width: 100%;
    height: 65px;
    background: #2b2b2b;
}

.copyright-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 65px;
    color: #979797;
}

.copytext {
    justify-self:flex-start;
    align-self: center;
}

.footer-logo-social {
    justify-self:flex-end;
    align-self: center;
}

@media only screen and (max-width: 900px) {
    footer {
        height: auto;
    }
    .footer-grid {
        text-align: center;
        grid-template-columns: 1fr 1fr;
    }
    .footer-item:nth-child(1) {
        padding: 2rem 2rem;
    }
    .footer-item:nth-child(3) {
        padding: 2rem 2rem;
    }
    .footer-item:nth-child(1) h3 {
        text-align: center;
    }
    .footer-item:nth-child(2) h3 {
        text-align: center;
    }
    .footer-item:nth-child(3) h3 {
        text-align: center;
    }
    .footer-item:nth-child(4) h3 {
        text-align: center;
    }
    .copyright {
        padding: 1rem 0;
        height: auto;
    }
    .copyright-grid {
        grid-template-columns: 1fr; 
    }
    .copytext {
        justify-self: center;
        font-size: .8rem;
    }
    .footer-logo-social {
        justify-self: center;
        font-size: .8rem;
        line-height: 50px;
    }
}

@media only screen and (max-width: 768px) {
    footer {
        height: auto;
    }
    .footer-grid {
        text-align: center;
        grid-template-columns: 1fr 1fr;
    }
    .footer-item:nth-child(1) {
        padding: 2rem 2rem;
    }
    .footer-item:nth-child(3) {
        padding: 2rem 2rem;
    }
    .copyright {
        padding: 1rem 0;
        height: auto;
    }
    .copyright-grid {
        grid-template-columns: 1fr; 
    }
    .copytext {
        justify-self: center;
        font-size: .8rem;
    }
    .footer-logo-social {
        justify-self: center;
        font-size: .8rem;
        line-height: 50px;
    }
}

@media only screen and (max-width: 480px) {
    footer {
        height: auto;
    }
    .footer-grid {
        text-align: center;
        grid-template-columns: 1fr;
    }
    .footer-item:nth-child(1) {
        padding: 2rem 2rem;
    }
    .footer-item:nth-child(3) {
        padding: 2rem 2rem;
    }
    .copyright {
        padding: 1rem 0;
        height: auto;
    }
    .copyright-grid {
        grid-template-columns: 1fr; 
    }
    .copytext {
        justify-self: center;
        font-size: .8rem;
    }
    .footer-logo-social {
        justify-self: center;
        font-size: .8rem;
        line-height: 50px;
    }
}