@import url("https://use.typekit.net/pnq5gyb.css");

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "effra", sans-serif;
    font-weight: 400;
    font-style: normal;
}


#main-code {
    background-color: #F8F3EF;
}

.main-content {
    background-color: #F8F3EF;
}



h1 {
    font-size: 2.1rem;
    color: black;
    letter-spacing: 1px;
    text-align: left;
    font-family: "effra", sans-serif;
    font-weight: 400;
    margin: 0;
    line-height: 100%;
}

h2 {
    font-size: 3.25rem;
    margin-bottom: 0px;
    margin-top: 0px;
}

h3 {
    font-family: "effra", sans-serif;
    font-size: 1.6em;
    line-height: 0;

    font-weight: 400;
    margin-bottom: 0px;
}


p {
    font-family: "effra", sans-serif;
    font-size: 1.5em;
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 0px;
}





section.title {
    align-items: center;
    text-align: center;
    display: grid;
    padding: 2%;
    background-color: #F8F3EF;
    border-radius: 10px 10px 0px 0px;
    gap: 10px;
    justify-content: left;
    margin: 0 auto;
    font-size: 2.25rem;
    padding-left: 30px;

}

.wrapper__90 {
    max-width: 90%;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
    display: flex;
}

.wrapper__100 h1 {
    align-items: center;
}

.wrapper__100 img {
    width: 100%;
    margin: 0 auto;
    object-fit: cover;
    overflow: hidden;
    height: 600px;
}

.wrapper__100 {
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.wrapper__90 .wrapper__grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    padding: 20px;


}

.wrapper__90 .wrapper__grid div {
    color: #fff;
    padding: 30px;
    text-align: center;
    border: 1px solid #E7E7E7;
    border-radius: 20px;
    font-family: 'DM Sans', sans-serif;

}

#mapContainer,
#dataContainer {
    display: none;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    display: none;
}




#dataContainer {
    display: block;

    margin-top: 20px;
    border-radius: 20px;
}

#priceContainer {
    display: none;
    text-align: center;
    margin-top: 20px;
    border-radius: 20px;
    padding: 20px;
}


.graph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    border: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#chart_2 {
    width: 90%;
}


.graph.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

 button {
    font-family: "effra", sans-serif;
    background-color: transparent;
    padding: 10px 20px;
    color:black;
    font-size: 18px;
    border: 0px solid #FF8754;
    cursor: pointer;
    opacity: 0.5;
    margin: 3px;
}


button:hover {
    opacity: 1;
    color: hwb(0 0% 100%);
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FF8754;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}



.selected {
    opacity: 1;
    color: #000000;
    border-bottom: 0.2rem solid #FF8754;

}

.selectors {
    padding-top: 20px;
    margin-left: 20px;
}



.wrapper__50 {
    margin: 0 auto;
    width: 100%;
    grid-template-columns: 50% 50%;
    display: grid;
    gap: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;

}

.wrapper__50__group {
    margin: 0 auto;
    width: 100%;
    grid-template-columns: 65% 45%;
    display: grid;
    gap: 0px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #F2EBE5;
}

.wrapper__25 {
    margin: 0 auto;
    width: 100%;
    grid-template-columns: 33% 33% 33%;
    display: grid;
    gap: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;

}

.wrapper__25__group {
    margin: 0 auto;
    width: 100%;
    grid-template-columns: 33% 33% 33%;
    display: grid;
    gap: 0px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #F2EBE5;
}


.flourish-embed.flourish-map {

    background-color: #F2EBE5;
    border-radius: 10px;
    padding: 10px;
}

.flourish-embed.flourish-table {

    background-color: #F2EBE5;
    border-radius: 10px;
    padding: 10px;

}

.flourish-embed.flourish-chart {

    border-radius: 10px;
    background-color: #F2EBE5;

    padding: 10px;
}

.flourish-embed.flourish-scatter {
    border-radius: 10px;
    background-color: #F2EBE5;

    padding: 10px;
}

#chart {
width:100%;
padding-top: 10px;
}

.wrapper__number {
    border-radius: 10px;
    background-color: #F2EBE5;

}

.wrapper__number h2 {
    font-family: "effra", sans-serif;
    font-weight: 600;
}

.wrapper__25_number {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    border-radius: 10px;

}

.left-top {
    grid-column: 1;
    grid-row: 1;
    background-color: #F2EBE5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.left-top p {

    padding: 5px 10px 5px 10px;
    background-color: #F6F2EE;
    border-radius: 20px;
}

.left-top h2 {
    font-family: "effra", sans-serif;
    font-weight: 600;
}

.left-bottom h2 {
    font-family: "effra", sans-serif;
    font-weight: 600;
}

.left-bottom {
    grid-column: 1;
    grid-row: 2;
    background-color: #F2EBE5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;


}

.download {
    width: 40px;
    padding-left: 20px
}

.left-bottom p {

    padding: 5px 10px 5px 10px;
    background-color: #F6F2EE;
    border-radius: 20px;
}

.right {
    grid-column: 2;
    grid-row: 1 / 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    background-color: #F2EBE5;
    border-radius: 10px;

}

.center {
    gap: 10px;
    background-color: #F2EBE5;
    border-radius: 10px;
}

#ySelect {
    width: 250px;
    color:black;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(165, 165, 165);
    min-height: 42px;
    border-radius: 0.75rem;
    box-shadow: none;
    box-sizing: border-box;
    padding: 0.25rem;
    outline: 0px !important;
    font-size: 1rem;
    align-items: center;
    font-family: "effra", sans-serif;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%0A%3E%3Cpath stroke='%234D45FF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 9l6 6 6-6' %3E%3C/path%3E%3C/svg%3E");
    background-size: 24px;
    background-position: right 12px center;
    background-repeat: no-repeat;
    appearance: none;
    text-indent: 10px;


}

#ySelect option {
    margin-left: 10px;
}


.selection {
    -webkit-box-align: center;
    cursor: default;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    height: 20px;

}

.selector2 {
    -webkit-box-align: center;
    cursor: default;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    display: grid;
    padding-top: 20px;
    margin-left: 20px;

}

#ySelect2 {
    width: 300px;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(165, 165, 165);
    min-height: 42px;
    color:black;
    border-radius: 0.75rem;
    box-shadow: none;
    box-sizing: border-box;
    padding: 0.25rem;
    outline: 0px !important;
    font-size: 1rem;
    align-items: center;
    font-family: "effra", sans-serif;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%0A%3E%3Cpath stroke='%234D45FF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 9l6 6 6-6' %3E%3C/path%3E%3C/svg%3E");
    background-size: 24px;
    background-position: right 12px center;
    background-repeat: no-repeat;
    appearance: none;
    text-indent: 10px;

}



.select__indicators {
    -webkit-box-align: center;
    align-items: center;
    align-self: stretch;
    display: flex;
    flex-shrink: 0;
    box-sizing: border-box;
    color: rgb(77, 69, 255);
}


@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#chart-container {
    width: 100%;
    max-width: 900px;
    margin: auto;
    height: 400px;
}

svg {
    width: 100%;
    height: 100%;
}


@media (max-width: 600px) {

    .wrapper__100 .wrapper__grid {
        display: flex;
        flex-direction: column;
    }

    .wrapper__50 {
        display: flex;
        flex-direction: column;
    }

    .title h1 {
        font-size: 1.8rem;
    }

    .wrapper__25_number {

        display: flex;
        flex-direction: column;
    }

    .left-top,
    .left-bottom {
        flex: 1;
    }

    .left-top {
        display: flex;
        padding: 20px
    }

    .left-top h2 {
        font-size: 3rem;
    }

    .left-top h3 {
        line-height: 1.3rem;
        font-size: 1.2rem;
        font-weight: 700;
        margin: 0;
    }

    .left-top p {
        margin-bottom: 10px;
        margin: 0px;
        padding: 5px;
        font-size: 1.2rem;

    }

    #ySelect2{
        width: 100%;
    }


    .left-bottom {

        display: flex;
        padding: 20px
    }

    .left-bottom h2 {
        font-size: 3rem;
    }

    .left-bottom h3 {
        line-height: 1.3rem;
        font-size: 1.2rem;
        font-weight: 700;
        margin: 0;
    }

    .left-bottom p {
        margin-bottom: 10px;
        margin: 0px;
        padding: 5px;
        font-size: 1.2rem;
        ;

    }

    .right {
        width: 100%;
        display: flex;
        flex-direction: column;
    }




    .wrapper__50__group {
        display: flex;
        flex-direction: column;
    }

}



@media (max-width: 500px) {

    section.title {
        padding: 10%;
    }
}