.korz-container{
    margin-top: 40px;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}
img{
    width: 200px;
    height: 200px;
}
.img{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    .img-text{
        margin-top: 20px;
        font-size: 22px;
        font-weight: 700;
        font-family: cursive;
        margin-left: 5px;
    }
}
.acount-form{
    display: none;
    position: fixed;
    bottom: 100px;
    left: 0;
    min-width: 350px; /* Ширина формы */
    width: fit-content;
    background-color: white; /* Фон формы */
    padding: 30px; /* Отступы внутри формы */
    border-radius: 5px; /* Скругление углов */
    flex-direction: column;
    -webkit-box-shadow: 4px 4px 23px -1px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 23px -1px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 23px -1px rgba(34, 60, 80, 0.2);
    .form-text{
        margin-bottom: 20px;
        text-align: center;
        font-size: 20px;
        font-weight: 500;
        font-family: monospace;
    }
    .input{
        padding: 0.375rem 0.75rem;
        font-family: inherit;
        font-weight: 400;
        line-height: 1.5;
        color: #212529;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #bdbdbd;
        border-radius: 0.25rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        margin-bottom: 10px;
        }
    .input:focus {
        color: #212529;
        background-color: #fff;
        border-color: #bdbdbd;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(158, 158, 158, 0.25);
      }
    .input::placeholder {
        color: #212529;
        opacity: 0.4;
      }
}
.buttons{
    display: flex;
}
.button {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    border-radius: 4px;
    color: #555555;
    display:block;
    min-width:200px;
    width: fit-content;
    font-size: 14px;
    text-align:center;
    height: 20px;
    line-height: 20px;
    margin-bottom: 10px;
    padding: 4px 6px;
    vertical-align: middle;
    text-decoration:none;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    font-family: monospace;
    
  }
  .button:hover, .button:focus {
     border-color: rgba(82, 168, 236, 0.8);
     box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.6);
     outline: 0 none;
  }

.buttons-korz{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px;
}
.korzb{
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 15px;
}
.zak{
    color: rgb(1, 78, 1);
}
.log{
    color: rgb(113, 2, 2);
}

.bin{
    margin-left: 55px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center center;
    background-image: url(bin.png);
    border: 0;
    background-color: transparent;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .main-block{
        width: 80% !important;
        margin-left: 30px !important;
    }
  .korz-container {
    margin-top: 20px;
    height: auto;
    flex-direction: column;
    align-items: center;
    min-height: 550px;
  }

  img {
    width: 150px;
    height: 150px;
  }

  .img {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  .img-text {
    margin-top: 15px;
    font-size: 18px;
    margin-left: 0;
  }

  .acount-form {
        position: fixed;
        bottom: 200px;
        left: 25px;
        min-width: 70%;
        width: 70%;
        height: 250px;
  }

  .buttons {
    flex-direction: column;
    margin-top:20px !important;
  }
    
  .button {
    min-width: 100%;
    font-size: 14px;
    margin-bottom: 10px;
    margin-left:0px !important;
  }

  .buttons-korz {
    flex-direction: column;
    margin: 20px 0;
  }

  .korzb {
    font-size: 20px;
    padding: 10px;
    width: 80%;
    text-align: center;
  }

  .bin {
    margin-left: 10px;
    width: 30px;
    height: 30px;
  }

   /* Уменьшаем размер изображений внутри блока */
    .block-img img {
        max-width: 100%;
        height: 100px;
    }
    .block-img{
        height: 100px !important;
        width: 150px !important;
    }

    /* Настраиваем блоки внутри main-блока для двух в ряду */
    .main-blockk {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Каждый блок внутри main-блока */
    .main-blockk > .blockk {
        width: calc(50% - 40px); /* два блока в ряду с отступами */
        margin: 20px;
        box-sizing: border-box;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    /* Размер шрифта для текста в блоке */
    .block-text {
        font-size: 16px !important;
    }

    /* Центрируем содержимое блока */
    .main-blockk {
        justify-content: center;
    }

    /* Дополнительные стили для блока */
    .blockk {
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-left: 0px !important;
        max-height: 300px !important;
        min-height: 200px !important;
        width: 150px !important;
    }

    /* Увеличиваем внутренние отступы для читаемости */
    .block-text {
        padding: 15px;
    }

  /* Кнопки + и - */
  .minus, .plus {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }

}

