body,
h1,
h2,
p {
    margin: 0;
    padding: 0;
}

body {
    background-color: #e0f2e9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: normal;
    align-items: center;
    height: 100%;
}

header {
    background-color: #e0f2e9;
    color: #555;
    padding: 10px;
    padding-left: 20px;
    text-align: left;
    position: fixed;
    top: 0;
    width: 100%;
    margin-left: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    font-size: 120%;
}

a {
    color: #555;
    text-decoration: underline;
}

a:visited {
    color: #555;
}

#status_messages {
    margin: 30vh 3vw 1vh 3vw;
}

@media (max-width: 600px) {
    #status_messages {
        margin: 16vh 3vw 1vh 3vw;
    }

    #title_msg {
        font-size: 200%;
    }

    #subtitle_msg {
        font-size: 150%;
    }

    #about_msg {
        font-size: 120%;
    }

    .ticker_up,
    .ticker_down,
    .ticker_highvol {
        font-size: 120%;
    }

    #subscribe_msg {
        font-size: 120%;
    }
}


#title_msg {
    font-size: 250%;
    text-align: center;
    margin-bottom: 2vh;
    color: #363;
}

/* Style the subtitle message */
#subtitle_msg {
    font-size: 200%;
    text-align: center;
    margin-bottom: 2vh;
    color: #555;
}

#about_msg {
    font-size: 150%;
    text-align: center;
    margin: 4vh 3vw 22vh 3vw;
    color: #777;
}

#movements {
    margin-top: 4vh;
}

.ticker_up,
.ticker_down,
.ticker_highvol {
    background-color: #f0f5e2;
    width: 100vw;
    padding: 1vh 0vw 1vh 0vw;
    /* margin: 2vh; */
    border-radius: 0px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    font-size: 180%;
}

.ticker_up {
    color: #4CAF50;
}

.ticker_down {
    color: #F44336;
}

.ticker_highvol {
    color: #2196F3;
}

/* Modal container */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    width: 100%;
    max-width: 420px;
    height: 100%;
}

.close {
    position: absolute;
    top: 22px;
    right: 64px;
    cursor: pointer;
    font-size: 200%;
}

iframe {
    border: none;
    margin: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
}

footer {
    background-color: #c8e6d9;
    color: #000;
    padding: 0.5vh 1vw 0.5vh 1vw;
    text-align: center;
    position: fixed;
    bottom: 2px;
    margin: 0;
    width: 100%;
    height: fit-content;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

#subscribe_msg {
    font-size: 160%;
    color: #555;
    margin-bottom: 6px;
}

.copyright_str {
    margin: 2px;
    color: #777;
    text-align: center;
    font-size: 84%;
}

.copyright_str a {
    color: #777;
    text-decoration: underline;
}
.copyright_str a:visited {
    color: #777;
}

.about_text {
    font-size: 130%;
    text-align: left;
    margin: 20px;
    color: #777;
    /* Even lighter gray text color */
}

.about_text a {
    color: #777;
    text-decoration: underline;
}
.about_text a:visited {
    color: #777;
}

.about_h1 {
    font-size: 200%;
    text-align: center;
    /* Pushes the other text below the title */
    margin: 20px;
    color: #363;
    /* Dark gray text color */
}

.about_h2 {
    font-size: 150%;
    text-align: center;
    /* Pushes the other text below the title */
    margin: 20px;
    color: #363;
    /* Dark gray text color */
}

#about_content {
    background-color: #e0f2e9;
    /* Light green background color */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Font stack for readability */
    justify-content: center;
    align-items: center;
    height: 100vh;
    display: block;
    margin-top: 10vh;
    max-width: 800px;
}