body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #ffebee;
}

.strawberry-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="5" fill="%23ff8a80" opacity="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.2;
    z-index: -1;
}

.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.1);
}

h1, h2 {
    font-family: 'Pacifico', cursive;
    color: #d32f2f;
    text-align: center;
}

.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.2);
}

.node {
    background-color: #ffcdd2;
    border: 2px solid #ef9a9a;
    border-radius: 25px;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
    width: 220px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.node:hover {
    background-color: #ef9a9a;
    transform: scale(1.05);
}

.node.llm {
    background-color: #ef5350;
    border-color: #d32f2f;
    color: #fff;
}

.node.update {
    background-color: #fce4ec;
    border-color: #f48fb1;
}

.node.data {
    background-color: #ffffff;
    border-color: #ffcdd2;
}

.arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ef9a9a;
    margin: 5px 0;
}

.explanation {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.2);
    margin-top: 30px;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 205, 210, 0.9);
}

.popup-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 2px solid #ef9a9a;
    width: 80%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(244, 67, 54, 0.2);
}

.close {
    color: #ef5350;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #d32f2f;
}

.popup-body {
    display: flex;
    justify-content: space-between;
}

.input-output {
    width: 48%;
    background-color: #ffebee;
    padding: 10px;
    border-radius: 10px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.node {
    animation: float 4s ease-in-out infinite;
}
