.right_column {
    background-color: #f4f4f4;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#day-container {
    font-size: 18px;
    margin: 10px;
    font-weight: bold;
}

#user-container {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.schedule_list {
    display: flex;
}

.name_day {
    margin-top: 20px;
    font-weight: bold;
    margin-right: 20px;
    color: white;
}

.monday,
.tuesday,
.wednesday,
.thursday,
.friday,
.saturday {
    flex: 1;
}

.schedule-block {
    min-width: 160px;
    max-width: 160px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 10px 0 10px;
    margin-bottom: 10px;
    background-color: #fff;
    min-height: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Изменено на normal для переноса текста на новую строку */
    cursor: pointer;
    display: flex;
    flex-direction: column; /* Добавлено для корректного выравнивания элементов в блоке */
}

.day-number {
    background-color: #f2f2f2;
    border: 1px solid #474A51;
    border-radius: 50%;
    width: 30px;
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.schedule-subject {
    font-weight: bold;
    margin: 0; /* Добавлено для сброса отступов */
    overflow-wrap: anywhere;
}

.schedule-classroom {
    color: #666;
    margin: 0; /* Добавлено для сброса отступов */
}

.schedule-description {
    font-style: italic;
    color: #888;
    margin: 0; /* Добавлено для сброса отступов */
    display: none;
    transition: max-height 0.3s ease-out;
    overflow: hidden;
    text-align: left;

}

.schedule-block.active .schedule-description {
    display: block; /* Добавлено для показа описания при активном состоянии */
}

.arrow-symbol {
    font-size: 30px;
}
@media screen and (max-width: 768px) {
  .description p{
      font-size: 1.2rem;
  }
  /* Увеличиваем ширину .schedule_subject */
  .schedule-block  {
    min-width: 200px; /* Измените на желаемую ширину */
    min-height: 130px;


  }
  .schedule-description {
    font-size: 14px;
  }
}