* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #333333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#image-container {
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none;
}

.neon-border {
    position: relative;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.neon-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff, #00ffff);
    background-size: 400% 400%;
    z-index: -1;
    animation: neonGlow 3s ease infinite;
    border-radius: 15px;
}

#dynamic-image {
    display: block;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

@keyframes neonGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Orientation-based styling */

@media (orientation: portrait) {
    #image-container {
        width: 90%;
        max-width: 90vw;
    }
    #dynamic-image {
        width: 100%;
        height: auto;
    }
}

@media (orientation: landscape) {
    #image-container {
        height: 90vh;
        width: auto;
    }
    #dynamic-image {
        height: 100%;
        width: auto;
        max-height: 90vh;
    }
}

/* Responsive adjustments for different screen sizes */

@media (min-width: 1200px) {
    .container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .neon-border {
        padding: 10px;
    }
}