body {
    font-family: 'Nunito', 'Open Sans', sans-serif;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: black;
}

@keyframes shrinkAndDisappear {
    0% {
        /* margin: 40px 0; */
        /* height: 0; */
        transform: scale(1);
        opacity: 1;
    }
    100% {
        margin: 0;
        transform: scale(0);
        opacity: 0;
        display: none;
    }
}

@keyframes growAndAppear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes growAndAppearContent {
    0% {
        transform: scale(0.8);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes animateButtons {
    0% {
        box-shadow: 0px 0px 0px #ffffffff;
        color: #000000ff;
    }
    100% {
        box-shadow: 0px 0px 10px 5px #00000015;
        color: #00000099;
    }
}

.explainer.disappear {
    animation: shrinkAndDisappear 0.7s ease-in-out forwards;
}

.example-container {
    scroll-behavior: smooth;
}

.example-interface.appear {
    display: flex;
    animation: growAndAppear 0.7s ease-in-out forwards;
}

#selected-symbol-name {
    border: 1px solid rgba(0, 0, 0, 0.108);
    color: #00000066;
    border-radius: 20px;
    padding: 2px 20px;
    margin-right: 10px;
    cursor: pointer;
}

#selected-symbol-name:hover {
    background: #00000005;
}   

.header {
    text-align: center;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.explainer {
    font-size: 1.2rem;
    text-align: center;
    width: 70%;
    max-width: 1000px;
    margin: 0.5rem
}

.explainer div {
    margin: 0.3rem 0;
}

.subtext {
    font-size: 0.8rem;
    font-weight: 300;
    /* font-style: italic; */
    text-align: center;
    width: 70%;
    max-width: 1000px;
    margin: 0.5rem
}

.contact-login {
    font-style: normal;
    font-weight: 300;
    font-size: 0.6rem;
    margin: 10px;
}

img {
    width: 80%;
    max-width: 1200px;
}

#tv-chart {
    margin: 10px 0;
    width: clamp(300px, calc(100vw - 100px), 1000px); 
    height: clamp(300px, calc(100vh - 400px), 800px); 
    position: relative;
    border: 1px solid #efefef;
    border-radius: 10px;
    padding: 3px;
    box-shadow: 0px 0px 10px #00000020;
}

.tv-lightweight-charts {
    position: absolute;
    z-index: 1;
}

.tv-chart-legend {
    font-size: 1.3rem;
    position: absolute;
    margin: 10px;
    z-index: 2;
    width: inherit;
}

.timeframe-switcher {
    font-size: 1rem;
    cursor: pointer;
    pointer-events: all;
    position: absolute;
    z-index: 9999;
}
.timeframe-switcher:hover {
    background: #00000010;
    padding: 5px;
    border-radius: 10px;
}

div.sentiment-pane-legend {
    color: #00000060;
    width: fit-content;
    max-width: 150px;
    position: absolute;
    inset-inline: 0px;
    margin: 10px;
    z-index: 9999;
    pointer-events: all;
}

div.sentiment-pane-legend .symbol-info {
    opacity: 0.9;
    width: fit-content;
}

.example-interface {
    display: none;
}

#example-placeholder {
    font-size: 1.2rem;
    color: #00000030;
    /* font-style: italic; */
    padding: 10px 40px;
    /* border: 1px solid rgba(0, 0, 0, 0.1); */
    /* border-radius: 20px; */
    /* box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); */
    cursor: pointer;
}

#example-placeholder.clickable {
    font-weight: bold;
    color: #000000aa;
    animation: animateButtons 2s ease-in-out infinite alternate;
    /* font-style: italic; */
    /* box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); */
}

#example-placeholder.clickable:hover{
    background: #00000005;
}

#example-interface,
#example-placeholder {
    border: 1px solid #00000010;
    border-radius: 10px;
    box-shadow: 3px 3px 3px #00000006;
    margin: 10px 20px;
    /* padding: 20px; */
    /* display: flex; */
    align-items: center;
    gap: 30px;
    max-width: 800px;
}

#example-placeholder {
    display: flex;
}

#previous-example,
#next-example {
    text-align: center;
    font-size: 1rem;
    background-color: #ffffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.05);
    padding: 5px 10px;
    width: 80px;
    cursor: pointer;
}

#previous-example:hover,
#next-example:hover {
    background: #00000005;
}

.example-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
}

.example-navigation {
    /* display: none; */
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.example-header {
    font-size: 1.2rem;
    font-weight: bold;
    /* text-align: center; */
    margin: 5px 0;
    /* display: none; */
    display: flex;
}

.example-content {
    font-size: 1.1rem;
    /* text-align: center; */
    margin: 2px 0;
    /* display: none; */
    display: flex;
}

.example-subtext {
    font-size: 0.65rem;
    text-align: center;
    margin-top: 3px;
    max-width: 800px;
    margin: 0 40px;
    color: #00000080;
}

#example-count {
    font-size: 0.7rem;
    text-align: center;
    margin: 0;
}

#example-header {
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
}

.content-appear {
    animation: growAndAppearContent 0.5s ease-in-out forwards;
}

.animated-button {
    animation: animateButtons 2s ease-in-out infinite alternate;
}


