* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #1a1a1a; 
}

.bouncing-images {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bouncing-image {
    position: absolute;
    width: 100px;
    height: 100px;
    object-fit: contain;
    pointer-events: none;
    transition: none;
}

.input-section {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

#foodInput {
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
    width: 300px;
    outline: none;
}

#foodInput::placeholder {
    color: #666;
    font-size: 16px;
}

#submitBtn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#submitBtn:hover {
    background: #45a049;
    transform: scale(1.1);
}

#submitBtn:active {
    transform: scale(0.95);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .input-section {
        width: 90%;
        max-width: 350px;
    }
    
    #foodInput {
        width: 250px;
        font-size: 14px;
    }
    
    .bouncing-image {
        width: 80px;
        height: 80px;
    }
}