html, body {
    height: 100%;
    margin: 0;
}

/*Footer*/

#Vector1 {

    max-width: 195px;
    max-height: 70px;
}

#Vector2 {
    
    width: 202px;
    height: 56px;
}

#Vector3 {
    
    width: 191px;
    height: 27px;
}

#Vector4 {
    
    width: 205px;
    height: 64px;
}

.So-picture{

    display: flex;
    flex-direction: row;
    justify-content: space-between;

    width: 430px;
}

.So-picture img{

    width: 230px;
}

.lo-co-so{

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    overflow: hidden;
    height: 155px;

}

.social {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;

    width: 150px;
    padding-bottom: 40px;
}

.logo_copiright {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;

    width: 350px;
    padding-bottom: 40px;
}

.logo_copiright p{
    
    margin: 0;
    font-family: Jost;
    font-size: 14px;
}

.color_text {
    color: #F8B90B;
}

.footer_text{

    display: flex;
    flex-direction: row;
    justify-content: space-between;

    font-family: Jost;
    font-size: 16px;
    
}

.footer_text p {

    width: 190px;
    margin: 0;
}


footer {

    background-color: #1D1D1B;
    height: 350px;
    width: 100%;
    color: white;
    margin-top: 200px;

}

footer h1 {
    
    font-family: Prosto One;
    font-size: 20px;
    margin: 0;
    padding: 50px 0;
}


/* Скролл */
.btn-up {
    position: fixed;
    background-color: rgba(215, 211, 207, 0.3);;
    right: 20px;
    bottom: 40px;
    border-radius: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
  }
  
  .btn-up::before {
    content: "";
    width: 25px;
    height: 25px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17V4M3 10l7-7 7 7'/%3E%3C/g%3E%3C/svg%3E");
  }

.btn-up_hide {
  display: none;
}

.btn-up_hiding {
    opacity: 0;
  }

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: #F8B90B; /* цвет заднего фона при наведении */
  }
}


/* Шапка */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 10000;
}

.header_body{
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 70px;
    align-items: center;
}

.logonav{
    display: flex;
    justify-content: flex-start;
}

.logonav a:hover {
    color: #DE1010;
}

/* Ограничения шапки */
.container {

    max-width: 1332px;
    margin: 0px auto;
    padding: 0px 16px;
}


/* Список ссылок */
.list {
    display: flex;
    position: relative;
    z-index: 10000;
}

/* Каждый пункт ссылок */
.list li {
    width: max-content;
    list-style:none;
    margin-left: 20px;
}

/* Стили ссылок a href */
.link {
    color: #1D1D1B;
    text-decoration: none;
    font-family: Jost;
    font-size: 16px;
}

/* Стиль логотипа */
.logo {
    flex: 0 0 95px;
    overflow: hidden;
    position: relative;
    z-index: 10001;
}

/* Стиль изображения логотипа */
.logo img{
    max-width: 100%;
    display: block;
    padding-top: 4px;
}

/* Скрытое бургерное меню */
.burger {
    display: none;
}

/* Корзина и пользователь */

.SVG{
    display: flex;
    width: 58px;
    justify-content: space-between;
}


#SVG2 {

    width: 20px;
    height: 22.5px;
    z-index: 10001;
    position: relative;
    background-image: url(Picture/user.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 22.5px;
}

#SVG1 {

    width: 20px;
    height: 22.5px;
    z-index: 10001;
    position: relative;
    background-image: url(Picture/basket.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 22.5px;
}

#SVG1:hover {

    background-image: url(Picture/basket_hover.svg);
}

#SVG2:hover {

    background-image: url(Picture/user_hover.svg);
}


.title_main{

    padding-top: 100px;
    padding-bottom: 40px;
}

/* Ссылка в заголовке */
.title_main a{

    font-family: Jost;
    font-size: 14px;
    color: #595454;
    text-decoration: none;
    
    margin: 0;
  }

  .title_main a:hover{

    color: #1D1D1B;
  }

  /* Сам заголовок */
  .title_main h1{

    font-family: Prosto One;
    font-size: 32px;
    color: #1D1D1B;
    text-decoration: none;

    padding-top: 10px;
    margin: 0;
    
  }

  .left_SVG_N_name{
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.login_name{
    z-index: 10001;
    align-self: center;
}

.login_name p{
    font-family: Jost;
    font-size: 16px;
    color: #1D1D1B;
    margin: 0;
}

@media screen and (max-width: 990px) {
    .login_name p{
        text-align: right;
        line-height: 18px;
    }
}

@media screen and (max-width: 690px) {
    .login_name p{
        font-size: 14px;
    }
    
    .list{
        padding-left: 10px !important;
    }

    .list li {
        margin-left: 10px !important;
    }

    .SVG {
        width: 48px !important;
    }
}

.SVG {
    align-items: center;
}

  /* Меньше 470 пикселей появляется бургер меню */
@media screen and (max-width: 470px) {

    /* Бургер меню */
    body.lock{
        overflow: hidden;
    }

    .burger {
        display: block;
        position: relative;
        width: 20px;
        height: 16px;
        z-index: 10001;
    }

    .burger::before,
    .burger::after {
        content: '';
        background-color: #1D1D1B;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        transition: all 0.3s ease 0s;
    }

    .burger::before{
        top: 0;
    }

    .burger::after{
        bottom: 0;
    }

    .burger.active::before{
        transform: rotate(45deg);
        top: 7px;
    }

    .burger.active::after{
        transform: rotate(-45deg);
        bottom: 7px;
    }

    .burger.active span {
        transform: scale(0);
    }

    .burger span{
        position: absolute;
        background-color: #1D1D1B;
        left: 0;
        width: 100%;
        height: 2px;
        top: 7px;
        transition: all 0.3s ease 0s;
    }

    .menu{
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 295px;
        transition: all 0.5s ease 0s;
        background-color: white;
        box-shadow: 0px 4px 20px #D7D3CF;
        padding: 60px 10px 20px 0px;
    }

    .menu.active {
        top: 0;
    }

    .header_body{
        height: 60px;
        justify-content: space-between;
        align-items: center;

    }

    .logo {
        flex: 0 0 60px;
        padding-bottom: 4px;
        padding-left: 10px;
    }

    .list {
        display: block;
        padding-top: 40px;
    }

    .list li{
        margin-bottom: 15px;
        font-family: Jost;
        font-size: 20px;
    }

    .logonav {
        width: 60px;
    }
}

@media  (max-width: 1332px) {

    .container {
        max-width: 975px;
    }

    .footer_text {
        max-width: 975px;
        margin: auto;
        padding: 0 16px;
    }

    #Vector1 {

        display: none;
    }
    
    #Vector2 {
        
        width: 202px;
        height: 56px;
    }
    
    #Vector3 {
        
        width: 191px;
        height: 27px;
    }
    
    #Vector4 {
        
        display: none;
    }

    Footer > .container {
        margin-top: 13px;
    }
}

@media (max-width: 990px) {

    .logo_copiright p{
        width: 250px;
    }

    #So-picture-maskot {
        display: none;
    }
    
    .So-picture {
        justify-content: end;
    }

    #Vector2 {
        
        display: none;
    }
    
    #Vector3 {
        
        display: none;
    }

    .footer_text {
        max-width: 640px;
        margin: auto;
        padding: 0 16px;
    }

    .container {
        max-width: 640px;
    }
  }

  @media (max-width: 690px) {


    /* Каждый пункт ссылок */
    .list li {
        margin-left: 15px;
    }
     .list {
        padding-inline-start: 10px;
     }
    /* Стили ссылок a href */
    .link {
        font-size: 14px;
    }
    
        .footer_text p {
    
            font-size: 12px;
        }
    
        .logo_copiright p{
            display: none;
        }
    }

    @media (max-width: 470px) {

        footer {
    
            height: 100px;
        }
    
        .lo-co-so {
            height: 100px;
        }
    
        #make_an_order {
    
            display: none;
        }
    
        .footer_text {
    
            display: none;
        }
    }

