@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to right, #ffecd2, #fcb69f);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.container {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    overflow: auto;
    max-height: 90vh;
}

h1 {
    font-family: 'Lobster', cursive;
    color: #333333;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.lists {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.list-container {
    flex: 1;
    margin: 10px;
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 250px;
}

.item-list {
    list-style: none;
    padding: 0;
    border: 1px solid #dddddd;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    background: #ffffff;
}

.item-list li {
    padding: 10px 20px;
    border-bottom: 1px solid #dddddd;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    font-size: 1.1em;
    font-weight: 600;
}

.item-list li:last-child {
    border-bottom: none;
}

.item-list li:hover {
    background: #ffe6e6;
}

.item-list li.selected {
    background: #ff6347;
    color: white;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

.btn {
    background: #ff6347;
    color: white;
    border: none;
    padding: 12px 24px;
    margin: 15px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    font-size: 1em;
    font-weight: bold;
}

.btn:hover {
    background: #e5533d;
    transform: scale(1.05);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    .list-container {
        margin: 10px 0;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

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

    h1 {
        font-size: 1.5em;
    }

    .list-container {
        margin: 5px 0;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.8em;
    }
}