html {
    overflow-x: hidden;
    height: 100vh;
    font-size: 12px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: lightgoldenrodyellow;
    height: 100%; 
    display: flex;
    flex-direction: column;
    flex: 1;
    /* overflow-x: hidden; */
}

* {
    box-sizing: border-box;
}

/* Holographic Effect */
/* header {
    display: flex;
    justify-content: center;
    padding: 1em;
    background: linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0, #ee82ee, #98fb98);
    background-size: 200% 200%;
    animation: hologram 8s linear infinite;
    margin: 0 auto;
}

@keyframes hologram {
    0% { background-position: 0% 0%; filter: hue-rotate(0deg); }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; filter: hue-rotate(90deg); }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; filter: hue-rotate(0deg); }
} */

/* Animated Rainbow Gradient */
header {
    display: flex;
    justify-content: center;
    width: 100vw;
    padding: 1em;
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    background-size: 400% 400%;
    animation: rainbow 12s ease infinite;
    margin: 0 auto;
    margin-bottom: 2em;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Subtle Neon Swirl */
/* header {
    display: flex;
    justify-content: center;
    padding: 1em;
    background: radial-gradient(circle at 20% 50%, #00ffff 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, #ff00ff 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, #ffff00 0%, transparent 50%),
                #1a1a1a;
    animation: swirl 8s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes swirl {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
} */

/* Pulsing Neon Border Effect */
/* header {
    display: flex;
    justify-content: center;
    padding: 1em;
    background: #000;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff, #06ffa5, #ffbe0b);
    background-size: 300% 300%;
    animation: pulse 2s ease infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
} */

header img {
    height: 33vh;
}

main {
    display: flex;
    justify-content: center;
    flex: 1;
}

/* Restrict main width at 900px and above */
@media (min-width: 500px) {

    html {
        font-size: 14px;
    }

    main {
        width: 66vw;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Panels */

.action-panel, .output-panel {
    line-height: 1.4em;
    display: flex;
    height: 350px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin: 1.5em 2em;
}

.output-panel {
    display: none;
    justify-content: flex-start;
    border: 2px solid;
    padding: 1em 2em;
}

.loading-panel {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    height: 400px;
    text-align: center;
}

.output-panel p{
    overflow-y: scroll;
}

/* text */

h2 {
    text-align: center;
    font-weight: 400; 
    margin-top: -26px;
    background-color: #f6f6f6;
    padding: 0 10px;
    font-size: 18px;
    margin-bottom: 0;
}

p.tag-line {
    font-family: 'Comic Neue';
    font-weight: 700;
    font-size: 14px;
}

.ticker-choice-display {
    display: flex;
    align-items: center;
    height: 3em; 
}

/* controls */

form {
    width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

label {
    text-align: center;
    padding: .43em;
    font-size: 15px;
    margin-bottom: 1em;
    width: 80%;
}

.form-input-control {
    display: flex;
    width: 70%;
}

input[type="text"] {
    padding: 1em;
    border: 2px solid black;
    border-right: none;
}

/* Buttons */

.add-ticker-btn {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    font-size: 3em;
    padding: 0 .35em;
    cursor: pointer;
    border: 2px solid;
}

.add-ticker-btn:hover {
    background-color: #d2d2d2;
}

.add-ticker-svg {
    width: 14px;
}

.generate-report-btn {
    width: 70%;
    padding: 1em 1.5em;
    cursor: pointer;
    font-family: 'Poppins', sans;
    border: 2px solid #000000;
    background-color: #46ff90;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .09em;
    font-size: 105%;
}

/* ticker display (ensure comma separated) */

.ticker {
    margin: 0 .1em;
    content: '';
}

.ticker:after {
    content: ',';
}

.ticker:last-child::after {
    content: '';
}

/* footer */

footer {
    background-color: #000000;
    color: whitesmoke;
    font-size: 14px;
    text-align: center;
    margin: 0;
    padding: 1em 0;

}

/* stop ugly scroll bar on some browsers */
.output-panel p::-webkit-scrollbar {
    display: none;
}

.output-panel p::-moz-scrollbar {
    display: none;
}