.mainheader {
    top: 0;
    position: sticky;
    display: flex;
    height: fit-content;
    width: 100vw;
    background-color: #101010;
    color: white;
    justify-content: left;
    align-items: center;
    border-bottom: 2px solid #2C2C2C;
    font-size: 1rem;
    z-index: 1;
}

.mainheader h2 {
    font-size: 1.5vw clamp(1rem, 5vw, 3rem);
    margin-top: 1%;
    margin-bottom: 1%;
}

.Title {
    margin-top: 1vh;
    color: white;
    font-size: 3rem;
}

.paragraphdiv {
    margin-top: 1vh;
    color: white;
    text-align: center;
    font-size: 1.4rem;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #000000;
    align-items: center;
    min-height: 100vh;
}

body > div {
    flex: 0;
}

main {
    flex: 1;
    text-align: center;
    color: white;
    font-size: 1.4rem;
}

.bodydiv {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.mhd1 {
    justify-content: left;  
    padding-left: 1vw;
}

.mhd2 {
    position: relative;
    justify-content: right;
    align-items: center;
    padding-right: 2vw;
    gap: 1vw;
}

div {
    display: flex;
    flex: 1;
}

a {
    color: white;
}

.hma {
    position: relative;
}

.hma::after {
    content: "";
    position: absolute;
    background-color: white;
    width: 100%;
    height: 5%;
    transform-origin: center;
    transform: translateX(-50%) scaleX(0);
    left: 50%;
    bottom: 0;
    transition: transform 0.3s ease;
}

.hma:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.social-icon {
    font-size: 1.25em;
}

.menu-dropdown {
    display: flex;
    text-wrap: nowrap;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    background-color: rgba(34, 34, 34, 0.2);
    width: 15vw;
    height: 17.5vh;
    transform: translateX(-100%) scaleY(0);
    transform-origin: top;
    left: 100%;
    top: 150%;
    transition: transform 0.3s;
    overflow: hidden;
}

.menu-icon:hover .menu-dropdown {
    transform: translateX(-100%) scaleY(100%);
}


.menu-icon {
    position: relative;
}

.menu-dropdown ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    row-gap: 10%;
}

.menu-dropdown ul li {
    transition: all 0.3s;
    width: 100%;
    list-style: none;
    display: flex;
}

.menu-dropdown ul li a {
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1rem;
}

.menu-dropdown ul li a:hover {
    padding-left: 5%;
}

.main-footer {
    transform-origin: top;
    color: #353535;
    width: 100vw;
    bottom: 0;
    font-size: .75rem;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #020202;
}

.chartlist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    width: 70vw;
}

.chartdiv {
    position: relative;
    aspect-ratio: 1/1;
    flex: 0 0 auto;
    width: 10vw;
    border-radius: 50%;
    animation: animateChart 1s cubic-bezier(.33,.2,0,1);
    animation-fill-mode: forwards;
    background: conic-gradient(
        transparent 0% var(--move-to),
        white var(--move-to) 100%
    );
    margin-bottom: 8vh;
}

.chartdiv::before {
    content: var(--rate);
    border-radius: 50%;
    width: 80%;
    height: 80%;
    position: absolute;
    background-color: #000000;
    top: 50%;
    left: 50%;
    display: flex;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 100%;
}

.chartdiv::after {
    position: absolute;
    color: white;
    content: var(--desc);
    transform: translateX(-50%) translateY(-50%);
    left: 50%;
    top: 115%;
    font-size: 1.2rem;
    white-space: nowrap;
}

@media (max-width:932px) {
    .chartlist {
        min-height: 55vw;
        flex-direction: column;
        justify-content: space-evenly;
    }
    .chartdiv {
        width: 40vw;
        margin-bottom: 10vh;
    }
    .mhd2 {
        gap: 3vw;
        margin-right: 3vw;
    }
    .menu-dropdown {
        text-wrap: nowrap;
        width: fit-content;
    }
}

@keyframes animateChart {
    0% {
        --move-to: 100%;
    }
    100% {
        --move-to: var(--percent);
    }
}

@property --move-to {
    syntax: "<percentage>";
    initial-value: 0%;
    inherits: false;
}

.form-div {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    aspect-ratio: 1/1;
    width: 3vw;
    height: 3vw;
    right: 1vw;
    bottom: 1vw;
    background-color: white;
    border-radius: 50%;
    transition: width .5s cubic-bezier(.33,.2,0,1), height .5s cubic-bezier(.33,.2,0,1), border-radius .5s cubic-bezier(.33,.2,0,1);
}

.form-button {
    background-color: white;
    width: 3vw;
    height: 3vw;
    border: none;
    border-radius: 50%;
    transition: background-color .15s linear;
}

.form-button:enabled:hover {
    background-color: rgb(221, 221, 221);
}