body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: MyFont;
}

.bg {
    background: rgb(233,141,118) url('../img/bg.png') repeat;
    min-height: 100vh;
    position: relative;
    padding-bottom: 50px;
}

.shapka {
    width: 100%;
    background: rgb(250, 228, 185);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    height: 100px;
    width: 150px;
    position: absolute;
    left: 20px;
}

.menu-center {
    width: 100%;
    text-align: center;
}

.shapka_a {
    color: rgb(233, 141, 118);
    text-decoration: none;
    font-size: 40px;
    margin: 0 50px;
    font-family: MyFont;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    transition: 0.5s;
    border: 2px solid rgb(233, 141, 118);
}

.shapka_a:hover {
    transform: scale(1.2);
    background: rgb(233,141,118);
    color:rgb(250, 228, 185);
}

.cart {
    width: 30px;
    height: 30px;
    padding: 20px;
    border: 2px solid rgb(233,141,118);
    border-radius: 30px;
    color:rgb(233,141,118);
    transition: 1s ease-in-out;
}

.cart:hover {
    transform: scale(1.2);
    background: rgb(233,141,118);
    color:rgb(250, 228, 185);
}

.review-form {
    background: rgb(250, 228, 185);
    border: 2px solid rgb(233, 141, 118);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.review-item {
    background: white;
    border: 2px solid rgb(233, 141, 118);
    padding: 20px;
    margin-top: 20px;
    border-radius: 15px;
    font-size: 18px;
}

h1, h2 {
    color: rgb(250, 228, 185);
    text-align: center;
    font-family: MyFont;
    font-size: 36px;
    margin-bottom: 20px;
}

.form-group {
    margin-top: 15px;
}

.form-group input, .form-group textarea {
    padding: 10px;
    width: 100%;
    max-width: 600px;
    border: 2px solid rgb(233, 141, 118);
    border-radius: 10px;
    font-size: 16px;
}


textarea {
    resize: vertical;
    min-height: 100px;
}

.stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
    gap: 5px;
}

.stars input {
    display: none;
}

.stars label {
    font-size: 32px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    color: darkgoldenrod;
}

.send-order-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: rgb(233, 141, 118);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.send-order-btn:hover {
    background: rgb(210, 120, 100);
}

@font-face {
    font-family: 'MyFont';
    src: url('../fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@media (max-width: 768px) {


    .review-form, .review-item {
        padding: 15px;
    }

    .form-group input, .form-group textarea {
        max-width: 100%;
    }

    h1, h2 {
        font-size: 28px;
    }
}
@media (max-width: 768px) {
    body {
        padding-top: 140px; /* отступ от фиксированной шапки */
    }

    .shapka {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 12px;
        height: 20%;
        
    }

    .logo {
        display: none;
    }

    .menu-center {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .shapka_a {
        display: block;
        width: 100%;
        font-size: 10px;
        margin: 2px 0;
        padding: 3px;
        text-align: center;
        border-width: 2px;
    }

    .cart {
        width: 10px;
        height: 10px;
padding:5px;
        margin: 8px auto 0;
    }
}

