body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(to bottom, #ff9a9e, #fad0c4); /* More colorful gradient: pink to light orange */
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20px;
    margin: 0;
    color: #333; /* Slightly darker text for better contrast */
}

.container {
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white for better visibility on colorful background */
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 300px;
    text-align: center;
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ff4081; /* Vibrant pink color for main title */
}

h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #3f51b5; /* Indigo color for subtitles */
}

input {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to bottom, #4caf50, #388e3c); /* Green gradient for buttons to make them pop */
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

a {
    color: #ff4081; /* Matching pink for links */
    text-decoration: none;
}

@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 15px;
    }
}

.columns {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.column {
    flex: 1;
    text-align: center;
    padding: 10px;
    max-width: 30%;  /* Для трёх столбцов */
}

.display-img {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 2px solid #ff4081; /* Add a colorful border to images */
}

hr {
    margin: 20px 0;
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fffde7; /* Light yellow for modal background */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.delete-icon {
    color: #f44336; /* Bright red for delete icons */
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
}

.delete-icon:hover {
    color: darkred;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
