@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.3em;
    line-height: 100%;
    font-weight: 400;
    margin-bottom: 0px;
}


h4{
      font-family: "effra", sans-serif;
    font-size: 1.5em;
    line-height: 1.6;
    margin-top: 12px;
    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;
}

#chart3 {
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;
    height:80%;
}

.left-top {
    grid-column: 1;
    grid-row: 1;
    background-color: #F2EBE5;
    border-radius: 10px;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    display:grid;
grid-auto-flow: column;
align-items: center;   
justify-items: center;

}
.box-title{
    width: 100%;
    margin: 0 auto;
}

.box-title h4{
margin-bottom: 10%;
}
.box-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row: 1;
grid-gap: 15%; 
}

.box-content h3,
.box-content h2 {
    white-space: nowrap; 
}
.left-top h4{

    padding: 5px 10px 5px 10px;
background: linear-gradient(90deg, rgba(246, 242, 238, 0.00) 0%, #FBFAF8 50%, rgba(246, 242, 238, 0.00) 100%);    border-radius: 20px;
}
.left-bottom h4{
     padding: 5px 10px 5px 10px;
background: linear-gradient(90deg, rgba(246, 242, 238, 0.00) 0%, #FBFAF8 50%, rgba(246, 242, 238, 0.00) 100%);    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;

    align-items: center;
    justify-content: center;
    flex-direction: column;
 display:grid;
grid-auto-flow: column;
justify-content: space-evenly;
align-items: center

}

.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: 30%;
  height: clamp(45px, 5vh, 50px);
  border-radius: 0;
  border: none;
  border-bottom: 3px solid #4D45FF;
  background: transparent;
  color: #000000;
  font-size: 1.1rem;
  padding: 0 36px 0 12px;
  appearance: none;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%230B388E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: 22px;
  background-position: right 10px center;
  background-repeat: no-repeat;


}
#ySelect-small {
    width: 30%;
  height: clamp(45px, 5vh, 50px);
  border-radius: 0;
  border: none;
      font-family: "effra", sans-serif;

  border-bottom: 3px solid #4D45FF;
  background: transparent;
  color: #000000;
  font-size: 1.1rem;
  padding: 0 36px 0 12px;
  appearance: none;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%230B388E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: 22px;
  background-position: right 10px center;
  background-repeat: no-repeat;


}

#ySelect option {
    margin-left: 10px;
}
#ySelect-small option{
        margin-left: 10px;

}


.selection {
    -webkit-box-align: center;
    cursor: default;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    height: 20px;

}
.selection3 {
    -webkit-box-align: center;
    cursor: default;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    height: 20px;

}

.ship-size-selectors {
    display: flex;
    flex-wrap: wrap;
    margin-left: 20px;
    margin-top: 20px;
    min-height: 42px;
    width: 40%;

}

.ship-size-btn {
    height: 2rem;
    min-height: 42px;
    border-radius: 50px;
    border: 1px solid #4D45FF;
    background: #fff;
    color: #000000;
    font-size: clamp(13px, 0.95vw, 15px);
    padding: 0 20px;
    opacity: 0.5;
    margin: 0 6px 0 0;
}

.facet-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 14px;
    font-size: 13px;
    color: #000000;
    cursor: pointer;
    user-select: none;
}

.facet-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #4D45FF;
    cursor: pointer;
}

.ship-size-btn:hover {
    opacity: 1;
    color: #000000;
}

.ship-size-btn.active {
    background: #4D45FF;
    color: #fff;
    opacity: 1;
    height: 2rem;
    min-height: 42px;
}

.tooltip-wrap {
    position: relative;
    display: inline-block;
}

.ship-tooltip {
    display: none;
    height: auto;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 50;
    width: 500px;
    max-width: 80vw;
background: rgba(246, 242, 239, 0.80);
    border: 1px solid #e5ded6;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tooltip-wrap:hover .ship-tooltip {
    display: block;
}

.ship-tooltip img {
    width: 100%;
    height: 150px; 
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 8px;
}

.ship-tooltip p {
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
    color: #333;
    text-align: left;
}

.selector2 {
    -webkit-box-align: center;
    cursor: default;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    display: grid;
    padding-top: 20px;
    margin-left: 20px;

}

#ySelect2 {
    width: 30%;
  height: clamp(45px, 5vh, 50px);
  background: #fff;
  color: #000000;
    font-size: 1.1rem;
  padding: 0 36px 0 12px;
  appearance: none;
  border-radius: 0;
  border:none;
     border-bottom: 3px solid #4D45FF;
  background: transparent;
    font-family: "effra", sans-serif;

  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%234D45FF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: 22px;
  background-position: right 10px center;
  background-repeat: no-repeat;

}



.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%;
    }
}

#chart,
#chart3,
#chart_2 {
    height: 600px;
    box-sizing: content-box;
}

#chart iframe,
#chart3 iframe,
#chart_2 iframe {
    height: 100% !important;
}

#chart_2 {
    height: 750px;
}

@media (max-width: 600px) {
    #chart,
    #chart3 {
        height: 520px;
    }
    #chart_2 {
        height: 650px;
    }
}

.box,
.right,
.center {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#chart3 {
    transition: opacity 0.3s ease;
}
