
/*Footer*/

.footer{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 70px;
    align-items: center;
    justify-content: center;
    padding-right: 10px;
    padding-left: 10px;
    border-top: 1px solid #E79E2C;
}

.footer-container a {
    text-decoration: none;
    color: black;       
}

.footer-container{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding-top: 10px;
}

.footer-links a {
    text-decoration: none;
    color: black;
    position: relative;
}

.footer-links a:not(:last-child)::after {
    content: "|";          /* add separator */
    margin-left: 8px;
    margin-right: 8px;
    color: black;          /* same color as link */
}

.footer-contact, .footer-links, .footer-logos, .icon-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.footer-contact{
    gap: 20px;
}

.footer-logos{
    gap: 20px;
}

.icon-container{
    gap: 5px;
}

.footer-text{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 12px;
}

/* Media Querys */
@media (max-width: 1024px) {

    .footer{
        margin-top: 50px;
        font-size: 14px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .footer-logo-item img{
        height: auto;
        width: 100px;
    }

    .footer-container{
        font-size: 13px;
    }

    .footer-container .icon-container svg {
        width: 22px;   /* smaller than current (30px) */
        height: auto;  /* keeps proportions */
        flex-shrink: 0; /* prevents squishing inside flexbox */
    }

}

@media (max-width: 768px) {

   .footer{
        margin-top: 30px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .footer-container {
        flex-direction: column;
        gap: 10px;
    }

    .footer-links{
        width: 100%;
    }

    .footer-links a:not(:last-child)::after {
        margin-left: 8px;
        margin-right: 8px;

        display: inline-flex;
        align-items: center;
        
    }

    .footer-links a{
        display: flex;
        flex-direction: row;
        width: fit-content;
        max-width: max-content;
        font-size: 13px;
    }

    .footer-contact{
        gap: 10px;
        text-align: left;
    }

    .footer-logos{
        gap: 10px;
    }

    .icon-container{
        gap: 5px;
    }

    .footer-text{
        font-size: 12px;
    } 

    .footer-logo-item img {
        transform: scale(0.8);  
        display: block;
    }

    .footer-container .icon-container svg {
        width: 22px;   /* smaller than current (30px) */
        height: auto;  /* keeps proportions */
        flex-shrink: 0; /* prevents squishing inside flexbox */
    }
}

@media (max-width: 567px) {
    .hm {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hm-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        place-items: center;
    }

    .hm-container .item {
        text-align: center; /* Centers the content within each item */
    }

}


@media (max-width: 425px) {

    .footer{
        margin-top: 30px;   
        justify-content: center;     
    }

    .footer-container{
        flex-direction: column;  
        gap: 10px;      
    }

    .footer-contact{
        flex-direction: row;
    }

    .footer-links{
        max-width: 100%;
    }

    .footer-links a {
        display: flex;
        flex-direction: row;
        max-width: 100%;
        white-space: nowrap; 
        font-size: 12px;
    }

}

@media (max-width: 320px) {

    .footer-links a:not(:last-child)::after {
        margin-left: 4px;
        margin-right: 4px;
    }

    .icon-container img{
        transform: scale(0.9);
    }

    .icon-container{
        font-size: 14px;
    }
}
