body {
    font-family: "Boogaloo", serif;
    width: 100%;
    height: 100%;
    --s: 75px;

    --_c: #0000, #fff 1deg 79deg, #0000 81deg;
    --g0: conic-gradient(from 140deg at 50% 87.5%, var(--_c));
    --g1: conic-gradient(from 140deg at 50% 81.25%, var(--_c));
    --g2: conic-gradient(from 140deg at 50% 75%, var(--_c));
    --g3: conic-gradient(at 10% 20%, #0000 75%, #fff 0);
    background: var(--g0) 0 calc(var(--s) / -4),
    var(--g0) var(--s) calc(3 * var(--s) / 4), var(--g1),
    var(--g1) var(--s) var(--s), var(--g2) 0 calc(var(--s) / 4),
    var(--g2) var(--s) calc(5 * var(--s) / 4),
    var(--g3) calc(var(--s) / -10) var(--s),
    var(--g3) calc(9 * var(--s) / 10) calc(2 * var(--s)),
    repeating-conic-gradient(from 45deg, #a31e39 0 25%, #31570e 0 50%);
    background-size: calc(2 * var(--s)) calc(2 * var(--s));
}

h2 {
    font-family: 'The Santa', sans-serif;
    font-size: xx-large;
    margin: 10px 0px 10px 0px;
}

.chat-box {
    max-width: 80vw;
    min-width: 200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: black solid 4px;
    box-shadow: 10px 10px 2px 0 rgba(0, 0, 0, 0.1);
}

.message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
}


.input {
    border: none;
    border-radius: 15px;
    padding: 15px;
    background-color: #e8e8e8;
    box-shadow: 6px 6px 12px #ffffff, 6px 6px 12px #c5c5c5;
    font-size: medium;
    font-weight: bold;
    width: 70vw;
    resize: none;
    margin: 5px 0px 5px 0px;
}

.input:focus {
    outline-color: white;
}

.sent {
    background:#fae0e0;
    text-align: left;
}

.reply {
    background: #e0f2e0;
    text-align: right;
    margin-top: 5px;
    font-size: 0.9em;
}

.textareaAndButton {
    display: flex;
    align-items: stretch;
}

textarea {
    flex: 1;
    resize: none; 
}

.send-button {
    font-family: "Boogaloo", serif;
    height: auto;
    padding: 0 16px; 
    font-size: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 2px white solid;
    border-radius: 15px;
    padding: 15px;
    margin: 4px 0px 4px 4px;
    background-color: #e8e8e8;
    box-shadow: 6px 6px 12px #ffffff, 6px 6px 12px #c5c5c5;
    font-size: medium;
    font-weight: bold;
}

.send-button:hover{
    border: 2px black solid;
}

#childName {
    width: 200px;
}

/* Modal background overlay */
.modal {
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

/* Hidden by default */
.modal.hidden {
    display: none;
}

/* Modal content box */
.modal-content {
    position: relative;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* Close button (X) */
.close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#pop_up {
    width: 80%;
    aspect-ratio: 1;
    max-width: 500px;
}
