html {
    scroll-behavior: smooth;
}
body{
    height:100%;
    /* background-color:white; */
    padding: 0;
    margin: 0;

    /* overflow-x: hidden; */
}

a{
    cursor: pointer;
    color: var(--flower-orange);
    font-weight: 400;
    text-indent: 0 !important;
}
p{
    text-indent: 1em;
    padding: 0 10px;
    line-height: 30px;
}
h3{
    margin: 10px;
}
header{
    width: 100vw;
}
.overview,.conclusion{
    min-width: 500px;
    max-width: 80%;
    height: fit-content;
    margin: 20px 0;
    background-color: #d2ecf9;
    border-radius: 10px;
    box-shadow: 4px 4px 18px rgb(0,0,0,0.4);
    opacity: 0;
}
.overview p,.conclusion p{
    padding:  15px 15px 0 10px;
    color: var(--dark-blue);
    font-family: 'Louis';
    font-size: 2.6vh;
}

.overview p:last-child,
.conclusion p:last-child {
    padding-bottom: 15px;
}

.container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background-color: #e1e6eb;
    border: 2px solid #253b6e;
    width: 100%;
    height: fit-content;
    border-radius: 20px;
    box-shadow: 9px 6px 12px rgb(0,0,0,0.3);
    margin: 50px 0;

    animation-duration: 1.5s;
    transition: ease-out;
    opacity: 0;
    }
.in-container{
    width: fit-content;
    border:2px solid #3f73af;
    border-radius: 15px;
    margin: 20px auto;
}
.navp {
    width: 100%;
    height: auto;
    padding: 0px 10px;
    background: #253b6e;
    color: #e6e6e6;
    font-size: 5vh;
    font-weight: 500;
    letter-spacing: 2px;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    font-family: 'Poppins';
}
.in-navp{
    text-align: center;
    width: 100%;
    font-size: 4.3vh;
    font-weight: 500;
    color: #253b6e;
    margin: auto;
    font-family: 'Quicksand-bold';
    margin-top: 60px;
}
.in-navp::before,
.in-navp::after{     
        width: 100px;
        height: 1px;
        border: 4px double #253b6e; 
        content: "";
        display:block;
        margin: 20px auto;
    }
.in-in-navp{
    border-bottom:3px solid #1f5f88;
    height: fit-content;
    font-size: 3.5vh;
    margin-left: 30px;
    text-align: center;
    margin: auto;
    margin-top: 40px;
    font-family: 'Quicksand';
}
button{
    cursor: pointer;
}
.text{
    margin: 20px auto;
    font-weight: 400;
    font-family: 'Louis';
    font-size: 2.8vh;
    text-align: justify;
}
.text-card{
    width: 250px;
    height: fit-content;
    background-color: var(--white);
    border-radius: 15px;
    padding: 10px;
    margin: 20px;
    cursor: default;
    font-family: "Louis";
    color: #253b6e;
}
.text-pic{
    display: flex;
    flex-direction: column;
    margin: 30px;
}
.text-pic img{
    width: 100%;
    box-shadow: 6px 6px 8px rgb(0,0,0,0.4);
}
.text-pic span,.flex-container~span{
    margin: 10px 0 10px 0;
    color: darkgray;
    font-size: 2.8vh;
    text-align: center;
    font-family: 'Louis';
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
}
.blow-up{
    cursor: zoom-in;
}
#outerdiv{
    position:fixed;
    top:0;
    left:0;
    background:rgba(0,0,0,0.7);
    z-index:999;
    width:100%;
    height:100%;
    cursor:zoom-out;
    display:none;
}

.ref-container{
    width: 80%;
    margin: 40px auto;
    height: fit-content;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 8px 9px 18px rgb(0,0,0,0.6);
}
.ref-container>p{
    font-family: 'Louis';
    color: #253b6e;
    font-weight: bold;
    text-indent: 0;
    text-decoration: underline;
}
.ref-container .refer{
    width: 90%;
    color: rgb(75, 75, 75);
    font-family:Consolas;
    font-style: italic;
    font-size: 1.5vh;
}

/* -----sidebar.css------ */
.main-content{
    height: fit-content;
    display: flex;
    width: 100%;
}
.sidebar {
    position: sticky;
    top: -15px;
    height: 100vh;
    display: flex;
    align-items: center;
    width: 25%;
    font-family: 'Louis';
    
}
.sidebar .left-box{
    position: relative;
    top: 50px;
    left: .5vw;
    width: 80%;
    color: #d2ecf9;
    opacity: 0;
    transition:  ease-out;
    animation-duration: 1s;
    animation-delay: 0.8s;

}
.main-content .right-box {
    position: relative;
    height: fit-content;
    width: 70%;
}
.sub-menu{
    display: flex;
    flex-direction: column;
    height: 0;
    transition:  1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.sub-menu.active {
    height: fit-content;
}
.sub-btn {
    position: relative;
    left: 25px;
    font-size: 3vh;
    transition: .6s cubic-bezier(0.075, 0.82, 0.165, 1);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    width: fit-content;
}
.sub-btn span{
    display: list-item;
}
.sub-btn span::marker {
    content: "⭐";
    -webkit-transition-property: transform;
    transition-property: transform;
}
.sub-btn.active span::after {
    content: "🌟";
    position: absolute;
    z-index: 1;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.sub-item {
    position: relative;
    left: 30px;
    overflow: hidden;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 2.5vh;
    width: fit-content;
  }

.sub-item:last-child{
    margin-bottom: 20px;
}

  .sub-item:hover{
    font-weight: 900;
  }
.sub-item.active{
    text-decoration:underline;
    text-decoration-color: rgba(255, 191, 0);
    -moz-text-decoration-color: rgba(255, 191, 0); /* 针对 Firefox 的代码 */
}
/* sidebar的animation */
@keyframes sidebar{
    from {transform: translateX(-60px);opacity: 0;}
    to {transform: translateX(0);opacity: 1;}
}

@keyframes Container {
    from {transform: translateY(100px);opacity: 0;}
    to {transform: translateY(0);opacity: 1;}
}
/* ----------pdf.css----------- */
.pdf-tip{
    width: 100%;
    text-align: center;
    font-family: 'Quicksand-bold';
    margin-bottom: 20px;
    color: #253b6e;
    margin-top: 20px;
}
.pdf-tip::before,.pdf-tip::after{
    content: "·";
}
.pdf-tip~span{
    font-family: 'Louis';
    color: #253b6e;
    font-size: 2.3vh;
    text-align: center;
    margin: 0 auto;
}
.pdf-container{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 20px 0;
}
.pdf{
    width: 45%;
    position: relative;
 /* all cubic-bezier(0, 1, 0.95, 1.05) */;
    
  }
  .pdf h4{
    width: fit-content;
    border-radius: 1rem;
    background-color: rgba(185, 218, 255, 0);
    padding: 10px;
    font-family: 'Quicksand-bold';
    color: #1f5f88;
    border: #1f5f88 3px dashed;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;    
  }
  .pdf .content-wrapper {
        height: 0;
        overflow: hidden;
        width: 80%;
        cursor: pointer;
        transition: ease-in .07s;
        opacity: 0;
       }
       body.noscroll {
            overflow: hidden;
       }
  .pdf~a{
    font-family: 'Quicksand-bold';
    font-size: 2.8vh;
    border: var(--flower-orange) 3px dashed;
    padding: 10px;
    border-radius: 10px;
  }
       /* active */
       .pdf.active {
            transform-origin: 50% 0;
            border-radius: 0;
            z-index: 9999;
            width: 100vw;
            display: flex;
            align-items: center;
            flex-direction: column;
            margin: 0;
            background-color: rgb(0, 0, 0,0.7);
            position: relative;
            cursor: pointer;
       }
  
       .pdf.active .content-wrapper {
            height: 80vh;
        opacity: 1;
       }

       .pdf.active h4{
        color: #fff;
        background-color: rgba(0, 0, 0, 0);
        border: none;
       }
/*-------------百叶窗-------------- */
.louver {
    position: relative;
    background-color: #fff;
    padding: 0 20px 20px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
    cursor: pointer;
}

.louver input {
    appearance: none;
}
.louver .in-louver {
    display: flex;
    z-index: -1;
}
.louver input:checked~.in-louver {
    flex-direction: column;
}
.louver label::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 2em;
    color: rgb(0, 0, 0, 0.1);
    transition: transform 1s;
}

.louver:hover label::after {
    color: #333;
}

.louver input:checked ~ label::after {
    transform: rotate(135deg);
}

.louver label h2 {
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.25em;
    border-radius: 5px;
    margin-right: 10px;
    background: linear-gradient(135deg, #8FBDD3, #7882A4);
}

.louver input:checked ~ label h2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.2);
    font-size: 8em;
    justify-content: flex-end;
    
}

.louver label h3 {
    position: relative;
    font-weight: 500;
    color: #333;
    z-index: 10;
    transition: .5s;
    font-family: 'Poppins';
    cursor: pointer;
}

.louver input:checked ~ label h3 {
    background-color: #fff;
    padding: 10px 20px;
    width: 90%;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgb(0, 0, 0, 0.05);
}

.louver label .content {
    display: none;
    transition: all .6s;
    overflow: hidden;
    font-family: 'Louis';
    font-size: 2.3vh;
    cursor: pointer;
}

.louver input:checked~label .content {
    display: block;
    height: fit-content;
    animation: content-lvr 2s;
    transform: translateY(20px);
}
.louver .content h5{
    font-size: 1.1em;
}
.louver .content h6{
    text-indent: 2em;
    font-size: 1.1em;
}
.louver .content h7{
    display: block;
    text-indent: 2em;
    font-style: italic;
    font-weight: bold;
}
@keyframes content-lvr{
    from{
        opacity: 0;
        transform: translateY(0px);
    }
    to{
        opacity: 1;
        transform: translateY(20px);
    }
}
.louver label .content{
    position: relative;
    padding: 10px 0;
    color: #333;
    z-index: 10;
}

.louver input:checked~label .content{
    color: #fff;
}

/* 饼图 */
.pies-container {
    width: 350px;
  }
  
  .info-pie,
  .info-piesecond {
    position: relative;
    display: block;
    max-width: 350px;
    height: 300px;
  }
  .info-pie svg,
  .info-piesecond svg {
    max-width: 350px;
    max-height: 350px;
    position: relative;
  }
  .info-pie svg path,
  .info-piesecond svg path {
    cursor: pointer;
    transform-origin: center center;
    transition: 0.3s ease;
  }
  .info-pie svg path:hover,
  .info-piesecond svg path:hover {
    transform: scale(1.2);
  }
  /* .info-pie__slide,
  .info-piesecond__slide {
    max-width: 400px;
    width: 100%;
    box-shadow: 5px 5px 30px #aaa;
    padding: 1em;
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    opacity: 0;
    z-index: -1;
    transition: 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 3px;
    transform: translateX(0%) scale(0);
  } */
  .info-pie__slide--isActive,
  .info-piesecond__slide--isActive {
    opacity: 1;
    transform: translateX(110%) scale(1);
  }
  .info-pie__slide--isActiveToTop,
  .info-piesecond__slide--isActiveToTop {
    opacity: 1;
    transform: translateY(-100%) scale(1);
    z-index: 1;
  }
  .info-pie__slide--isActiveToBottom,
  .info-piesecond__slide--isActiveToBottom {
    opacity: 1;
    transform: translateY(100%) scale(1);
    z-index: 1;
  }
  .info-pie__label,
  .info-piesecond__label {
    font-size: 1.5em;
    margin: 0.5em 0;
  }
  
  @keyframes path_animation {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  /* 这里是sidebar临时写的css */



/* ---------hover css 改---------- */
.hvr-underline-from-left:before,
.hvr-underline-from-center:before{
    background: var(--flower-orange) !important;
    height: 2px !important;
    bottom: .5vh !important;
}
.hvr-underline-reveal:before{
    height: 2px !important;
}

.math {
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
.math .left {
  width: 100%;
  display: flex;
  justify-content: center;
}

.element::-webkit-scrollbar {
    display: none; 
}
