/* Estilo general */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #dbeaff;
}


/* Estilo Primera parte */
.container {
    position: relative;
    z-index: 1;

    background: white;
    width: 600px;
    padding: 30px;
    margin: 50px auto 20px auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.335);
}

button {
    background: rgb(107, 136, 223);

    color: white;

    border: none;

    padding: 10px 20px;

    border-radius: 5px;

    font-size: 16px;

    cursor: pointer;
}

.delete-button {
    background: crimson;
}

.idea-area {
    margin-top: 20px;
}

.idea-textbox {
    font-family: Arial, sans-serif;
    width: 100%;
    height: 120px;

    padding: 10px;

    font-size: 16px;

    resize: vertical;
}


/* Estilo tarjetas ideas */

.container {
    background: white;
    width: 600px;
    padding: 30px;
    margin: 50px auto 20px auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.335);
}

.ideas-list {
    width: 600px;
    margin: 45px auto 20px auto;
}

.idea-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 5px 20px rgba(0,0,0,.15);
    margin-top: 20px;
}

/*Para la imagen en la esquina*/
.idea-card::before {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    top: -40px;
    left: -40px;

    background-image: var(--decoration-image);
    background-size: contain;
    background-repeat: no-repeat;

    z-index: -1;
}

.idea-card::before {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;
    top: -40px;
    left: -40px;

    background-size: contain;
    background-repeat: no-repeat;

    z-index: -1;
}

.idea-content {
    border: 2px dashed #cfcfcf;
    border-radius: 15px;
    padding: 15px;
}

.idea-text {
    margin: 0;
    white-space: pre-wrap;
}


/*Boton de editar y eliminar dentro de las tarjetas*/
.idea-card-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.card-button {
    padding: 7px 12px;
    font-size: 14px;
}

.edit-card-button {
    background: rgb(204, 147, 114);
}

.delete-card-button {
    background: crimson;
}

.edit-textbox {
    font-family: Arial, sans-serif;
    width: 100%;
    min-height: 80px;
    padding: 10px;
    font-size: 16px;
    resize: vertical;
}

/*Para Miku*/
.corner-character {
    position: fixed;

    right: 10px;
    bottom: 20px;

    width: 150px;

    cursor: pointer;

    user-select: none;

    transition: transform 0.2s ease;
}

.corner-character:hover {
    transform: scale(1.05);
}

.corner-character.bounce {
    animation: character-bounce 0.6s ease;
}

@keyframes character-bounce {
    0% {
        transform: translateY(0) scale(1);
    }

    25% {
        transform: translateY(-20px) scale(1.05);
    }

    50% {
        transform: translateY(0) scale(0.95);
    }

    75% {
        transform: translateY(-10px) scale(1.03);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}
.empty-message {
    text-align: center;
    opacity: 0.75;
}

@media (max-width: 720px) {
    .container,
    .ideas-list {
        width: calc(100% - 40px);
        box-sizing: border-box;
    }

    .corner-character {
        width: 110px;
    }
}
