a{
    text-decoration: none;
    color: inherit;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

body{
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: #272727;
 
 }
 

.header {
    background-color: #fff;
    padding: 30px 0;
    font-size: 16px;
    line-height: 24px;
    color: #717171;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav{
    display: flex;
/*height: 75px;*/
}

.menu{
    display: flex;
    justify-content: space-between;
   flex-grow: 1;
    flex-basis: 0;
    align-items: center;
}

.menu-item{
    
    padding-right: 100px;
    color: #272727;
    font-size: 16px;
}

.logo {
    color: #4A1D1F;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 2.7px;
}

.menu-btn{
    display: none;
}

.logo-btn{
    display: none;
}

.headline{
    background-image: url(../images/background.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.headline-text{
    min-height: 662px;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    
}

.title,
.title-span{
    color: #4A1D1F;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.title{
    font-size: 50px;
    letter-spacing: 2.7px;
}

.title-span{
    font-size: 30px;
 }

 .headline-span{
    font-size: 24px;
    font-weight: 400;
    max-width: 598px;
    margin-bottom: 200px;
}
   

     .about{
        margin-top: 100px;
     }

     h2{
        color: #4A1D1F;
        font-size: 48px;
        font-weight: 600;
     }

     h3{
        color: #4A1D1F;
        text-align: center;
        font-size: 22px;
        font-weight: 600;
        margin: 0;}

     
     .about-info{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 40PX;
     }
     .about-image{
        border-radius: 10px;
        box-shadow: 10px 10px 10px rgba(32, 2, 2, 0.2);
        
     }

     .specials{
        margin-top: 100px;
     }

     .specials-title{
        text-align: center;
     }

    
     .specials-list{
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
        max-width: 370px;
     }
     .specials-item img{
       width: 370px;
       height: 328px;
       margin-bottom: 20px;
      border-radius: 30px;
      box-shadow: 10px 10px 10px rgba(32, 2, 2, 0.2);
     }


     .specials-item p{
        margin: 0;
        padding: 20px;
        text-align: start;
    }

     .karte{
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }

    .karte-title{
        padding: 50px;
        border-radius: 30px;
        background: #F6EBDA;
        box-shadow: 10px 10px 10px rgba(32, 2, 2, 0.2);
        
    }



    .follow{
        margin-top: 100px;
    }

    .follow-us{
        border-radius: 30px;
        background: #F6EBDA;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 10px 10px 10px rgba(32, 2, 2, 0.2);
    }
  
    .follow-us p{
       padding-top: 0;
       padding-left: 100px;
       padding-bottom: 0;
       padding-right: 100px;

    }
    .social{
        margin-bottom: 24px;
    }

    .contacts{
        margin-top: 100px;
    }
    

    .contact-list{
        display: flex;
        justify-content: space-between;
        text-align: center;
     }

     .order-info{
       margin-top: 50px;
        font-size: 24px;
       font-weight: bold;
       text-align: center;
       color: #4A1D1F;
     }

     .footer{
        background-color: #F6EBDA;
        margin-top: 100px;
        height: 280px ;
    }

    .footer-inner{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
       
        padding-top: 58px;

}
.footer-menu{
    display: flex;
        flex-direction: row;
        justify-content: space-between;
}

.fotter-menu-item{
    padding-right: 50px;
}

.footer-social img{
width: 40px;
height: 40px;
margin-left: 30px;
margin-bottom: 60px;

}

     .line {
        border-bottom: 1px solid #4A1D1F; 
        opacity: 50%;/* Параметры линии */
       }

       .rights{
        display: block;
       text-align: center;
       margin-top: 28px;
       margin-bottom: 45px ;
       }

       #to-top {
        position: fixed;
        right: 30px;
        bottom: 30px;
        z-index: 1000;
        width: 60px;
        height: 60px;
        border-radius: 30%;
        background-color: #F6EBDA;
        box-shadow: 10px 10px 10px rgba(32, 2, 2, 0.2);
        text-align: center;
        line-height: 60px;
        text-transform: uppercase;
        font-weight: bold;
        cursor: pointer;
        opacity: 0;
        pointer-events: none;
        transition: opacity 200ms ease-in-out, transform 200ms linear;
        
    }
    
    #to-top:hover {
        transform: translateY(-10%);
    }
    
    #to-top.show {
        opacity: 1;
        pointer-events: auto;
    }
    

@media (max-width: 1200px){
    .headline{
    background-image: none;
    background-color: #F6EBDA;
   }
   .headline-text{
    min-height: 500px;
}
.headline-span{
    max-width: 1000px;
    margin-bottom: 150px;
}

   .about-info{
            flex-direction: column;
        }
        
        .about-title{
            text-align: center;
        }

        .specials-list{
            flex-wrap: wrap;
            max-width: none;
        }

        .specials-item img{
         float: left;
         margin: 0 40px;
       }

        .specials-item h3{
            padding-top: 10px;
        }
        }



        @media (max-width: 900px){

            .nav{
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .menu-btn{
                display: inline-block;
                width: 50px;
                height: 50px;
                background-color: transparent;
                border: none;
                cursor: pointer;
                order: 1;
                position: relative;
                z-index: 50;
            }



            .btn-line{
                position: absolute;
                left: 0;
                width: 100%;
                background-color: #272727;
                height: 2px;
                transition: .3s ease;
            }

            .btn-line:nth-child(1){
                top: 0;
            }
            .btn-line:nth-child(2){
                top: 20px;
            }
            .btn-line:nth-child(3){
                top: 20px;
            }
            .btn-line:nth-child(4){
                top: 40px;
            }

            .menu-open .btn-line:nth-child(1){
                transform: scaleX(0);
            }
            .menu-open .btn-line:nth-child(2){
                transform: rotate(45deg);
            }
            .menu-open .btn-line:nth-child(3){
                transform: rotate(-45deg);
            }
            .menu-open .btn-line:nth-child(4){
                transform: scaleX(0);
            }

            .menu{
                position: absolute;
                left: 0;
                top: 0;
                bottom: 0;
                right: 0;
                background-color: #fff;
                display: flex;
                justify-content: center ;
                align-items: center;
                flex-direction: column;
                transform: translateY(-100%);
                transition: .3s ease;
            }

           .menu-open .menu-item:nth-child(1){
                order: 1;
            }
            .menu-open .menu-item:nth-child(2){
                order: 2;
            }
            .menu-open .menu-item:nth-child(3){
                order: 5;
            }
            .menu-open .menu-item:nth-child(4){
                order: 3;
            }
            .menu-open .menu-item:nth-child(5){
                order: 4;
            }
           
            .menu-open .menu{
                transform: translateY(0%);
            }




            .menu-item{
                padding:40px 0;
                font-size: 25px;

            }

            .logo-link{
                display: none;
            }

            .logo-btn{
                display: flex;
                position: relative;
                z-index: 50;
            }

            
            
            .footer-inner{
                flex-direction: column;
                align-items: center;
              
            }
            .footer-menu{
                flex-direction: column;
                align-items: center;
            }
            .fotter-menu-item{
                padding-right: 0;
            }

            .footer-social img{
                margin: auto ;
            }

            .rights{
                margin: auto;
                font-size: 10px;

            }

        }
      

        
        @media (max-width: 700px){
            .headline-text{
                min-height: 400px;
            }
            .headline-span{
                margin-bottom: 70px;
            }

            .karte-title{
                line-height:100%;
            }

    .follow-us p{
        padding-left: 30px;
        padding-right: 30px;
     }

     .contact-list{
        flex-wrap: wrap; 
        justify-content: center;
     }
        }

        @media (max-width: 450px) {
            
            .headline-span{
                margin-bottom: 30px;
            }

            h2{
            line-height: 100%;
            font-size: 35px;
            }
            

            .about,
            .specials,
            .follow {
                margin-top: 50px;
             }

             .about-info{
                gap: 20PX;
             }

             .specials-list{
                max-width: 100%;
            }

        


          .specials-item img{
                max-width: 100%;
                margin: 0 0 10px 0;
              }

             

                .specials-item p{
                   padding: 10px;
               }
        }
