@import url('https://fonts.googleapis.com/css2?family=Anek+Tamil:wght@100..800&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}
img{
    max-width: 100%;
}

.hidden {
    display: none;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.popup-content {
    text-align: center;
}
.popup form input, .popup form select{
    padding: 5px;
    border: none;
    outline: none;
    border-radius: 3px;
    background-color: #e6f2ff;
    margin-bottom: 10px;
}
.popup h3{
    margin-bottom: 10px;
}
.popup button{
    padding: 4px 15px;
    border: none;
    outline: none;
    background-color: #009933;
    color: #fff;
    margin: 5px;
    border-radius: 3px;
}

#children-list {
    list-style: none;
    padding: 0;
}

#children-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 6px;
    border-radius: 3px;
}

#children-list li:nth-child(odd){
    background-color: #e6f2ff;
}

#children-list li button{
    padding: 4px 16px;
    border-radius: 3px;
    border: none;
    background-color: #009933;
    color: #ffffff;
    cursor: pointer;
}

.content_page_kids header{
    padding: 10px;
}
.content_page_kids header h1{
    margin-bottom: 15px;
}
.content_page_kids header p{
    margin-bottom: 20px;
}

#save-name-form{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

@media(max-width: 500px){
    #children-list li{
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    #children-list li .child-name, #children-list li .saved-name{
        width: 50%;
        padding: 8px;
    }
    .head_kids_name, .head_adult_name{
        width: 50%;
    }
    .head_action{
        display: none;
    }
    #children-list li .head_adult_name{
        text-align: right;
    }
    #children-list li .saved-name{
        text-align: right;
        margin-bottom: 10px;
    }
}