/* General styles for icons */
.icon {
    position: relative; /* Keep relative positioning for better alignment */
    width: 10%; /* Increase size for larger screens */
    max-width: 150px; /* Allow larger icons */
    transform: rotate(0deg); /* Default rotation */
    margin: 0; /* Remove auto-centering */
    display: inline-block; /* Ensure icons align inline with text */
    vertical-align: middle; /* Align icons with the text vertically */
}

/* Specific styles for each icon */
#gamepad-icon {
    transform: rotate(15deg);
}

#alien-icon {
    transform: rotate(-15deg);
}

#explosion-icon {
    transform: rotate(15deg);
}

#tween-icon {
    transform: rotate(10deg);
}

#speaker-icon {
    transform: rotate(0deg);
}

#joystick-icon {
    transform: rotate(0deg);
}

@media (max-width: 768px) {
    .icon {
        width: 15%; /* Increase size for smaller screens */
        max-width: 100px; /* Limit the maximum size */
    }
}

@media (min-width: 1200px) {
    .icon {
        width: 8%; /* Slightly smaller size for very large screens */
        max-width: 200px; /* Allow larger icons */
    }
}
