/*Доп*/
.footer-dop-link{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 15px;
    max-width: 1400px;
    margin: 15px auto;
}
.footer-dop-link > a{
    height: 160px;
    width: 100%;
    background-position: center;
    background-size: cover;
    border-radius: 5px;
    overflow: hidden;
    display: block;
}
.footer-dop-link > a > h5{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
    margin: 0;
    font-size: 22px;
    background-color: #33333370;
    color: #fff;
    transition: all .5s ease 0s;
}
.footer-dop-link > a:hover{
    text-decoration: none;
}
.footer-dop-link > a:hover > h5{
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--main-color);
}
/*Footer*/
footer{
    color: #ffffff;
}
footer .logo{
    display: flex;
    justify-content: center;
    background-color: var(--main-color);
    padding: 15px;
}
footer .logo .navbar-brand img{
    height: 80px;
}
footer .links{
    list-style: none;
    padding: 15px;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 15px;
    font-size: 16px;
    margin: 0;
    background-color: #ffffff;
}
footer .links a{
    color: #333333;
    text-decoration: none;
    font-weight: 500;
}
footer .links a:hover{
    color: var(--main-color);
}
#author{
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: center;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg, rgb(0, 76, 255) -50%, #F90000 150%);
    transition: all .5ms ease-in-out;
    z-index: 1;
    overflow: hidden;
}
#author::before {
    content: "";
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgb(92, 3, 221) -50%, #00C1D5 150%);
    transition: opacity 0.5s ease-in-out;
    z-index: -1;
}
#author:hover::before {
    opacity: 1;
}
#author small{
    font-size: 11px;
}
footer .dop-info{
    display: flex;
    background-color: #29282f;
    justify-content: space-between;
    padding: 5px;
    gap: 10px;
}
footer .dop-info .requisites{
    font-size: 14px;
    line-height: 1.4;
    margin-left: 5px;
}
footer .dop-info .requisites address{
    margin: 0;
}
@media (max-width: 1200px){
    .footer-dop-link > a{
        height: 150px;
    }
}
@media (max-width: 992px){
    .footer-dop-link{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {

    .footer-dop-link > a > h5{
        font-size: 20px;
    }
    footer .links{
        flex-direction: column;
    }
    footer .dop-info{
       flex-direction: column;
       padding: 10px;
   }
    footer .dop-info .requisites{
        text-align: center;
        margin-left: 0;
    }
}
@media (max-width: 576px){
    .footer-dop-link{
        grid-template-columns: repeat(1, 1fr);
    }
    .footer-dop-link > a > h5{
        font-size: 22px;
    }
}