@import url("../../root.css");

html {
    height: 800vh;
}

body {
    background-color: var(--primary-color);
    height: 100%;
    top: 0;
}

body, html {
    pointer-events: auto;
}

.container {
    pointer-events: auto;
}

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

.main h1, h2, span {
    display: inline-block;
    margin: 1rem 20vw 1rem;
}

div.container-eda {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

div.container-globe {
    width: 90%;
    display: flex;
    justify-content: center;
}

div.container-language {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    flex-direction: column;
}

.container-language .charts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

svg.language-bar-chart,
svg.movement-bar-chart {
    width: clamp(320px, 45vw, 600px);
    height: 500px;
}

div.container-top-influencers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

div.container-eda .eda, 
.time-distribution {
    width: clamp(320px, 90vw, 600px);
}

.top-influencers {
    width: clamp(320px, 90vw, 600px);
}

svg.temporal-graph {
    width: clamp(480px, 95vw, 1200px);
    height: clamp(600px, 70vh, 800px);
}

button {
    background-color: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    border-radius: 5px;
}

button:hover {
    transition: 0.5s font-weight;
    font-weight: 700;
}

@media (max-width: 1280px) {
    .main h1, h2, span {
        margin: 1rem 5vw 1rem;
    }
}