footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  gap:30px;
  padding:30px;
}

footer .logo{
    display: flex;
    gap: 20px;
}

footer .logo span{
    font-size: 14px;
    max-width: 120px;
    width: 100%;
}

footer .top-footer, footer .bottom-footer{
    display: flex;
    max-width: 1440px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    align-items: center;
}

footer .bottom-footer{
    border-top:1px solid rgb(219, 219, 219);
    padding-top: 20px;
}

footer nav ul{
    display: flex;
    gap: 20px;
}

footer nav ul li a{
    text-decoration: none;
    color: #222;
}

footer .bottom-footer a, footer .top-footer a{
    text-decoration: none;
    color: #222;
}

footer .phone{
    font-size: 20px;
    font-weight: 800;
}


@media screen and (max-width:1200px){
    footer{
        width: 100%;
        padding-left: 20px;
        padding-right: 20px; 
    }
}

@media screen and (max-width:1200px){
    footer nav{
        display: none;
    }
    footer .logo span{
        display: none;
    }
}

@media screen and (max-width:500px){
    footer .bottom-footer{
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    footer .bottom-footer p{
        text-align: center;
        font-size: 14px;
    }
}