* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Avantgarde, TeX Gyre Adventor, URW Gothic L, sans-serif;
}

body {
    background: linear-gradient(70deg, #ae3731, #636363 25% 85% , #ae3731);
    background-size: 100% 100%;
    color: white;
}

.header {
    display: flex;
    width: 97%;
    padding: 20px 10%;
    margin: 1.5%;
    border-radius: 13px;
    background: #ffffff;
    flex-direction: column;
}

.top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    flex-direction: row;
}

.logo {
    width: 225px;
    font-weight: 600;

}

.logo img {
    width: 220px;
}

.info{
    width: 50%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin: 1.5% 0 1.5% 20px;

}

.info p{
    font-size: 20px;
    font-weight: 700;
    padding: 20px;
    color: #191919;
    border-radius: 13px;
    position: relative;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    line-height: 28px;
    overflow: hidden;
    z-index: 1;
    transition: 1s ease;
}
.info p:hover {
    color: #636363;
}

.info p::before{
    content: '';
    position: absolute;
    z-index: 20;
    top: 15%;
    left: -25%;
    width: 150%;
    height: 70%;
    background: #ae3731;
    animation: animate 8s cubic-bezier(0.26, 0.32, 0.64, 0.78) infinite;
    z-index: -1;
}

.info p::after{
    content: '';
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    inset: 5px;
    background: #ffffff;
    border-radius: 10px;
    z-index: -1;
}

@keyframes animate {
    0%
    {
        transform: rotate(0deg);
    }
    100%
    {
        transform: rotate(360deg);
    }
}

.top-contacts a{
    text-decoration: none;
    color: black;
    transition: 0.7s ease;
}

.top-contacts a:hover{
    color: #ae3731;
}

.top-contacts p{
    font-size: 20px;
    padding: 20px;
    letter-spacing: 2px;
    text-align: justify;
    line-height: 28px;
}

.top-contacts i{
    margin-right: 7px;
}

.navbar {
    width: 100%;
    margin-top: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
}

.navbar a {
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 30px 10px;
    color: #e60000;
    font-size: 27px;
    letter-spacing: 2px;
    transition: .7s ease;

}
.navbar button {
    background: transparent;
    border: transparent;
    width: 240px;
    height: 70px;
    font-weight: 700;
}

.navbar a.active,
.navbar a:hover {
    color: #1f1f1f;
    font-size: 29px;
}

.dilevery {
    width: 97%;
    padding: 20px 10%;
    margin: 1.5%;
    margin-top: 0;
    border-radius: 13px;
    background: #ffffff;
    color: black;
    font-size: 20px;
    text-align: center;
}

.dilevery i {
    margin-right: 20px;
}

.footer {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    border-top: 4px solid #2a2a2a;
    background-color: #383838;
    padding: 1% 2.5%;
}

.foot_p{
    width: 100%;
    font-size: 18px;
    text-align: justify;
    text-indent: 20px;
    padding: 5px;
    line-height: 25px;
    color: #d7d7d7;
}

.foot_content_left{
    width: 30%;
    display: flex;
    align-content: center;
    flex-direction: column;
    align-items: flex-start;
}

.foot_content_right{
    width: 40%;
    margin-left: 40px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
}

.foot_catalog{
    display:flex;
}

.foot_catalog_column{
    width: 35%;
}

.foot_content{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.foot-button{
    border: none;
    width: 100%;
    padding: 15px 5px;
    text-align: start;
    background: none;
    color: #191919;
}

.foot-button a{
    color: #ec1111;
    text-decoration: none;
    font-size: 19px;
    transition: 0.7s;
}


.foot-but{
    border: none;
    background: none;
    width: 100%;
    margin: 10px 0;
    padding: 0 5px;
    text-align: start;
}

.foot-but a{
    color: #d7d7d7;
    text-decoration: none;
    font-size: 18px;
    margin-left: 0px;
    transition: 0.7s;
}

.foot-but a:hover{
    color: #ae3731;
}


.CP{
    width: 30%;
    display: flex;
    flex-direction: row;
    padding: 15px 0;
}

.CP p{
    width: 70%;
    font-size: 18px;
    color: #d7d7d7;
    margin-right: 5%;
    line-height: 25px;
}

.footer_logo{
    width: 80px;
    height: 80px;
}


@media(max-width: 1200px){
    .top{
        flex-direction: column;
    }
    
    .info{
        width: 100%;
    }
    
    .top-contacts p{
        letter-spacing: 2px;
        font-size: 25px;
        line-height: 35px;
    }
    
    .navbar{
        margin-top: 0px;
    }
    
    .navbar a{
        margin: 20px 10px;
        font-size: 22px;
        letter-spacing: 1px;
    }
    
    .navbar a.active{
        font-size: 23px;
    }
}


@media (max-width: 810px){
    
     .top-contacts p{
        letter-spacing: 2px;
        font-size: 20px;
        line-height: 28px;
    }
    
    .navbar{
    flex-direction: column;
    }
}

@media (max-width: 780px){
    
    .main_photo{
        width: 100%;
    }
    
    .top{
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .info p{
        font-size: 15px;
        line-height: 20px;
    }
    
     .navbar button{
        height: 50px;
    }
}
@media (max-width: 480px){
    
    .logo a{
       display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
    }
    
    .info{
        width: 95%;
    }
    
    .top-contacts p{
        letter-spacing: 1px;
        font-size: 18px;
        line-height: 28px;
    }
    
    .navbar{
        margin-top: 0px;
    }
    
    .footer{
        flex-direction: column;
    }
    
    .foot_content_left, .foot_content_right, .CP {
        width: 100%;
    }
    
    .foot_p{
        font-size: 14px;
        line-height: 20px;
    }
    
    .foot-but a{
        font-size: 16px;
    }
    
    .foot_content_right{
        margin-left: 0;
    }
    
    .foot_catalog {
        flex-direction: column;
    }
    
    .foot_catalog_column {
        width: 100%;
    }
    
    .CP{
        margin: 20px 5px 0 0;
        justify-content: space-between;
    }
    
    .CP p{
        font-size: 12px;
        line-height: 15px;
    }
    
    .footer_logo {
        width: 50px;
        height: 50px;
    }

}

@media (max-width: 320px){
    
    .logo img {
        width: 70%;
    }
    
    .info p {
        font-size: 12px;
        line-height: 15px;
    }
    
    .top-contacts p {
        letter-spacing: 1px;
        font-size: 15px;    
    }
    
    .content p,
    .dilevery p{
        font-size: 18px;
    }    
    
    }


