#footer {
    width: 80%;
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;

}

#footer h1{
    width: 40%;
}

#footer h1:nth-child(2){
    text-align: right;
}

#footer-menu {
    position: relative;
    width: 80%;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 40px;
}

#footer-menu #menu {
    position:relative;
    top: 10px;
    font-family: Tahoma;
    font-size: 11px;
    color: #4c4c4c;
}

#footer-menu a {
    color: #4c4c4c;
    clear:both;
    margin-bottom:30px;
}

#footer-menu a.stopka:hover {
    color: #4c4c4c;
    border-bottom: 1px dotted #4c4c4c;
}

#footer-menu span {
    margin-left: 10px;
    margin-right: 10px;
}

#footer-menu #division {
    position: relative;
    float: right;
    margin-left: 3px;
    font-family: Tahoma;
    font-size: 10px;
}


@media screen and (max-width: 1000px){
    #footer, #footer-menu{
        width: 100%;
    }

    #footer, #footer-menu{
        padding: 0 1rem;
        box-sizing: border-box;
        margin: 0;
    }  
}

@media screen and (max-width: 450px){
    #footer{
        margin-top: -3rem !important;
    }
    
    #footer h1{
        width: 40%;
        font-size: .8rem !important;
    }

    #footer h1:nth-child(2){
        font-size: .6rem !important;
    }
    
    #footer-menu #menu {
        font-size: 9px;
        max-width: 40%;
    }

    #footer-menu #menu .stopka{
        padding: .3rem 0;
        display: inline-block;
        margin-bottom: 0;
    }
    
    #footer-menu #division {
        position: relative;
        float: right;
        margin-left: 3px;
        font-family: Tahoma;
        font-size: 10px;
    }
}

