html{

    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.link{
    text-decoration: none;
    color: black;
}

.link-white{
    text-decoration: none;
    color: white;
}

body{
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #E0E0E0;
}

header{
    width: 100%;
    padding: 20px 40px;
    display: flex;
    flex-direction: row;
    gap: 5%;
    align-items: stretch;
}

header .block-buttons{
    display: flex;
    flex-direction: row;
    gap: 50px;
}

header .button{
    font-size: 40px;
    border-radius: 25px;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
    font-weight: 800;
    
}

header .button p{
    margin: 0;
    padding: 0;
}

header .contact{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

header .adress {
    font-size: 30px;
    font-weight: 800;
}

header .phone{
    text-decoration: underline;
    font-size: 30px;
    font-weight: 800;
}

.main-screen{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.column-image{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: stretch; */
}

.column-image .image{
    display: inline-block; /* Обнимает, как питон, но без угрозы жизни */
    width: auto;           /* Растягивается и сжимается, как йог */
    height: auto; 
}

#one_main_img{
    width: 671px;
    transform: rotate(-47.97deg);
    margin-top: -15%;
}

#two_main_img{
    width: 671px;
    transform: rotate(-24.01deg);
    margin-top: -30%;
    margin-left: 30%;
}

#three_main_img{
    width: 671px;
    transform: rotate(5.74deg);
    margin-top: -18%;
}

#four_main_img{
    width: 600px;
    transform: rotate(19.63deg);
    margin-top: -20%;
}

.centered-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    z-index: 9999; /* Разместить поверх всех элементов */
}

.book-a-table{
    width: 540px;
    height: 120px;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    z-index: 9999; /* Разместить поверх всех элементов */
    font-size: 48px;
    font-weight: 400;
    background-color: #414141A8;
    border-radius: 39px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.book-a-table p{
    color: #FFFFFF;
}

.block-menu{
    background-color: #E0E0E0;
    width: 100%;
    height: 1080px;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    align-items: end;
}

.menu-img{
    margin-right: 15%;
    width: 617px;
}

.menu{
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 50px;
    margin-top: -5%;
    margin-right: 5%;
}

.menu-row{
    display: flex;
    flex-direction: row;
}

.card{
    padding: 0px 5px;
    width: 340px;
    height: 358px;
    border-radius: 47px;
    border: 4px solid black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card img{
    /* margin-top: -30px; */
    height: 150px;
    width: auto;
}

.card .title{
    margin: 0;
    padding: 0;
    /* margin-top: -35px; */
    font-size: 36px;
    font-weight: 400;
    text-align: center;
}

.card .desc{
    text-align: center;
    margin: 0;
    padding: 0;
    /* margin-top: -10px; */
    font-size: 20px;
    font-weight: 400;
}

.card .price{
    margin: 0;
    padding: 0;
    /* margin-top: -5px; */
    font-size: 36px;
    font-weight: 400;
}

.card img{
    width: 264px;
}

.block-book-a-table{
    background-color: white;
    width: 100%;
    height: 1080px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-book-a-table h1{
    margin-top: 50px;
    font-size: 64px;
    font-weight: 800;
}

.stoly{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.stoly .stol{
    padding: 50px;
    width: 700px;
    height: 588px;
    border-radius: 99px;
    border: 1px solid black;
}

.stoly .stol-c{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 50px;
    width: 700px;
    height: 588px;
    border-radius: 99px;
    border: 1px solid black;
    gap: 70px;
}

.akva{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 134px;
    height: 119px;
    border-radius: 25px;
    border: 1px solid black;
}

.akva p{
    font-size: 24px;
    font-weight: 400;

}

.stoly .stol .row-stol{
    display: flex;
    flex-direction: row;
    gap: 70px;
    
}

.column-stol{
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    
}

.stoly .stol img{
    width: 129px;
}

.stol-info{
    width: 420px;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
}

.stol-block{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zal{
    font-size: 48px;
    font-weight: 400;
}

#kuch{
    width: 326px;
    height: 290px;
    border-radius: 18px;
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#kuch p{
    font-size: 32px;
    font-weight: 400;
}

.zap_btn{
    width: 405px;
    height: 121px;
    background-color: #EBEBEBEB;
    border-radius: 36px;
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.zap_btn p{
    font-size: 48px;
    font-weight: 400;
}

@media (max-width: 1600px) {
    header{
        padding-bottom: 10%;
    }

    header .block-buttons{
        gap: 30px;
    }

    header .button{
        font-size: 25px;
        border-radius: 15px;
        padding: 0px 10px;
    }

    header .contact{
        gap: 10px;
    }
    
    header .adress {
        font-size: 18px;
    }
    
    header .phone{
        font-size: 18px;
    }

    #one_main_img{
        width: 400px;
        margin-top: -30%;
        margin-left: 50%;
    }
    
    #two_main_img{
        width: 400px;
        margin-top: -30%;
        margin-left: 60%;
    }
    
    #three_main_img{
        width: 400px;
        margin-top: -42%;
        margin-left: -50%;
    }
    
    #four_main_img{
        width: 380px;
        margin-top: -10%;
        margin-left: -40%;
    }
    
    .centered-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 70%;
        max-height: 70%;
        z-index: 9999; /* Разместить поверх всех элементов */
    }
    
    .book-a-table{
        width: 300px;
        height: 80px;
        position: absolute;
        top: 75%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 100%;
        z-index: 9999; /* Разместить поверх всех элементов */
        font-size: 28px;
        font-weight: 400;
        background-color: #414141A8;
        border-radius: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .block-menu{
        width: 100%;
        height: 100%;
        padding-bottom: 10%;
    }
    
    .menu-img{
        margin-right: 20%;
        width: 320px;
    }
    
    .menu{
        gap: 25px;
        margin-top: -5%;
        margin-right: 5%;
    }
    
    .menu-row{
        display: flex;
        flex-direction: row;
    }
    
    .card{
        padding: 0px 5px;
        width: 250px;
        height: 260px;
        border-radius: 47px;
        border: 2px solid black;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .card img{
        /* margin-top: -30px; */
        height: 120px;
    }
    
    .card .title{
        margin: 0;
        padding: 0;
        /* margin-top: -35px; */
        font-size: 25px;
        font-weight: 600;
        text-align: center;
    }
    
    .card .desc{
        text-align: center;
        margin: 0;
        padding: 0;
        /* margin-top: -10px; */
        font-size: 15px;
        font-weight: 400;
    }
    
    .card .price{
        margin: 0;
        padding: 0;
        /* margin-top: -5px; */
        font-size: 24px;
        font-weight: 400;
    }
    
    .card img{
        width: 200px;
    }

    .block-book-a-table{
        height: 100%;
        padding-bottom: 10%;
    }
    
    .block-book-a-table h1{
        margin-top: 50px;
        font-size: 50px;
        font-weight: 800;
    }
    
    .stoly .stol{
        padding: 50px;
        width: 500px;
        height: 400px;
        border-radius: 50px;
    }
    
    .stoly .stol-c{
        padding: 50px;
        width: 500px;
        height: 400px;
        border-radius: 50px;
        border: 1px solid black;
        gap: 70px;
    }
    
    .akva{
        width: 90px;
        height: 80px;
        border-radius: 15px;
    }
    
    .akva p{
        font-size: 16px;
        font-weight: 400;
    
    }
    
    .stoly .stol .row-stol{
        gap: 70px;
        
    }
    
    .column-stol{
        margin-top: 15px;
        gap: 35px;
        
    }
    
    .stoly .stol img{
        width: 80px;
    }

    .stoly .stol-c img{
        width: 80px;
    }
    
    .stol-info{
        width: 300px;
        font-size: 30px;
        font-weight: 400;
    }
    
    .zal{
        font-size: 36px;
        font-weight: 400;
    }
    
    #kuch{
        width: 240px;
        height: 200px;
        border-radius: 18px;
    }
    
    #kuch p{
        font-size: 32px;
        font-weight: 400;
    }
    
    .zap_btn{
        width: 300px;
        height: 80px;
        border-radius: 20px;
    }
    
    .zap_btn p{
        font-size: 30px;
        font-weight: 400;
    }
}
