#footer .footer-right a:focus {
    outline: auto 2px #fff;
}
#footer {
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 14px;
    padding: 40px 0 0;
}
hr.footer-divider {
    border: none;
    border-top: 2px solid #F5EFD7;
    margin: 0 auto;
    width: 95%;
}

#footer h2{
    color: #FFAA00;
    font-family: var(--secondary-font);
    font-size: 20px;
    margin: 10px 0;
    font-weight: 400;
}
#footer p.phone{
    margin-bottom: 0;
}
#footer p a{
    color: #fff;
    text-decoration: none;
}
#footer p a:hover{
    text-decoration: underline;
}
#footer .school-info {
    padding: 30px 0;
}

#footer .school-info .container {
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 40px;
}

#footer .footer-left{
    align-items: flex-start;
}
#footer .footer-branches .branches{
    display: grid; /*3 columns*/
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

#footer .footer-branches .branches .branch.west-hollywood { grid-area: 1 / 1 / 2 / 2; }
#footer .footer-branches .branches .branch.burbank { grid-area: 2 / 1 / 3 / 2; }
#footer .footer-branches .branches .branch.pasadena { grid-area: 1 / 2 / 2 / 3; }
#footer .footer-branches .branches .branch.westwood { grid-area: 2 / 2 / 3 / 3; }
#footer .footer-branches .branches .branch.santa-monica { grid-area: 1 / 3 / 3 / 4; }

#footer .footer-branches .branches .branch-name {
    margin-bottom: 0;
    font-weight: bold;
}
.footer-right {
    align-self: center;
    margin-left: auto;
}
.footer-right a {
    display: flex;
    justify-content: flex-end;
}

#footer .footer-right p {
    font-size: 18px;
}
#footer .footer-right img {
    max-width: 250px;    
    width: 75%;
    height: auto;
    object-fit: contain;
}

.footer-right .socials {
    margin-top: 15px;
}

#footer .school-info .social-links {
    max-width: 27px;
    width: 100%;
    display: inline-block;
}
 #footer a.social-links:focus {
    outline: thin dotted;
    outline-color: #000;
}

#footer .school-info .social-links img {
    width: 100%;
}

#footer .footer-copyright {
    background-color: var(--secondary-color);
    padding: 8px 0;
    text-align: right;
    height: 40px;
    color:#FFAA00;
}

#footer .footer-copyright a {
    color: #fff;
}


#footer .footer-menu-container {
    background-color: #F5EFD7;
    padding: 15px 0;
    display: flex;
    align-items: center;
    
}
#footer .footer-menu-container > .container{
    display: flex;
    justify-content: flex-start;    
}
#footer .footer-menu-container .footer-nav{
    display: flex;
    justify-content: center;    
    margin: 0;
}
#footer .footer-menu-container .footer-nav ul{
    list-style: none;
    display: flex;
    gap: 50px;
    margin: 0;    
    text-transform: uppercase;
    align-items: center;
}
#footer .footer-menu-container .footer-nav ul a{
    font-family: var(--secondary-font);
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}
#footer .footer-menu-container .footer-nav ul a:hover{
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 2px;
}
#footer .footer-menu-container .socials{
    margin-left: auto;
    display: flex;
    gap: 15px;
}
#footer .socials .social-links img {
    height: 20px !important;
}

@media screen and (max-width: 999px) {
    #footer .school-info .container {
        flex-direction: column;
    }
    #footer .footer-branches .branches{
        display: block;
    }

    #footer .footer-right {
        padding-left: 0;
        margin: 0 auto;
        border-left: none;
        text-align: center;
        order: 1;
    }
    #footer .footer-branches {
        order: 3;
        text-align: center;
        margin: 0 auto;
        margin-top: 50px;
    }
    #footer .footer-branches .branches .branch-name {
        margin-top: 15px;
    }
    #footer .footer-left h2,
    #footer .footer-left p,
    #footer .footer-left a{
        margin: 0 auto;
    }
    #footer .footer-left h2{
        margin-top: 50px;
        margin-bottom: 10px;
    }
    #footer .footer-left {
        order: 2;
        text-align: center;
        margin: 0 auto;
    }
    #footer .footer-menu-container {
        padding: 50px 0;
    }
    #footer .footer-menu-container .footer-nav ul{
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    hr.footer-divider {
        width: 85%;
    }
    #footer .footer-menu-container > .container {
        flex-direction: column;
        align-items: flex-start;
    }
    #footer .footer-menu-container .socials {
        margin-top: 15px;
    }
    
}