/*
* footer.CSS
***************************************************************************** */
footer {
    display: block;
    background-color: rgb(62,26,78);
}

footer a {
    text-decoration: none;
    color: #FEFEFE;
}

/* -------------------------------------------------------------------------- */
.footer-container {
    background: transparent;
    width: 58%;
    padding-top: 1rem;
    margin: 0 auto;
}

.footer-text { font-size: 16px; }

/* Footer Grid (site map, images, social media links) */
.footer-container-columns {
    display: grid;
    grid-template-columns: repeat(2, 50%);
}

.footer-container-columns-section {
    font-size: 15px;
    font-weight: 300;
    color: #FEFEFE;
}

/* Footer - 1st row - left column */
.footer-link:hover { color: #eed66e; }

.footer-about { margin-bottom: 10px; }

/* Footer - 1st row - right column */
.footer-right { text-align: right; }

/* Social Media links */
.footer-connect {
    padding-bottom: 8px;
    padding-right: 11%;
    margin: 0;
    color: #fff;
}

.footer-social-links {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.footer-social-links li { list-style: none; }

.footer-social-links li a {
  position: relative;
  width: 35px;
  height: 35px;
  display: block;
  text-align: center;
  margin: 0 10px;
  border-radius: 50%;
  padding: 9px;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 0 10px 15px rgba(0,0,0,0.3);
  background: linear-gradient(0deg, #ddd, #fff);
  transition: 0.5s;
}

.footer-social-links li a:hover {
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  text-decoration: none;
}

/* "Stay Connected" righthand section */
.footer-social-links li a .fab {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(0deg, #fff, #ddd);
  border-radius: 50%;
  line-height: 16px;
  font-size: 16px;
  color: #262626;
  transition: 0.5s;
}

/* Facebook */
.footer-social-links li:nth-child(1) a:hover .fab { color: #3b5998; }

/* Twitter */
.footer-social-links li:nth-child(2) a:hover .fab { color: #00aced; }

/* LinkedIn */
.footer-social-links li:nth-child(3) a:hover .fab { color: #007bb6; }

/* Instagram */
.footer-social-links li:nth-child(4) a:hover .fab { color: #e4405f; }

/* Center logo */
.footer-logos {
    grid-column: 1/-1;
    justify-self: center;
    align-self: center;
}

/* Copyright statement */
.footer-copyright {
    font-size: 12px;
    text-align: center;
    padding-bottom: 5px;
    margin-top: 10px;
    margin-bottom: 0;
    color: #FEFEFE;
}
.footer-copyright a:hover { color: #eed66e !important; }

/* ========================================================================== */
/* Media Breakpoints */
/* ========================================================================== */
@media screen and (max-width: 1200px), (max-device-width: 1200px) {
    .footer-container { width: 75%; }
}

@media screen and (max-width: 992px), (max-device-width: 992px) {
    .footer-container { width: 85%; }

    .footer-connect { padding-right: 12.5%; }
}

@media screen and (max-width: 768px), (max-device-width: 768px) {
    .footer-container { width: 90%; }

    .footer-connect { padding-right: 15%; }
}

@media screen and (max-width: 576px), (max-device-width: 576px) {
    .footer-social-links { justify-content: center; }

    .footer-container-columns {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .footer-container-columns-section {
        margin-bottom: 15px;
        text-align: center;
    }

    .footer-right { text-align: center; }

    .footer-connect {
        margin-left: auto;
        margin-right: auto;
        padding-right: 0;
    }

    .footer-about { margin-bottom: 10px; }
}
