/* 创建一个Flex容器 */
.menu-flex-container {
    display: flex;
    flex-wrap: wrap; /* 允许自动换行 */
    gap: 10px; /* 项目之间的间隙 */
    width: 80%; /* Flex容器宽度占据页面宽度的80% */
    margin: 0 auto; /* 居中显示 */
}

/* 创建Flex项目 */
.menu-flex-item {
    height: auto; /* 高度自适应 */
}

.menu-flex-item-3 {
    flex: 0 0 calc(33% - 10px); /* 每行显示5个项目，计算每个项目的宽度 */
    max-width: calc(33% - 10px); /* 设置最大宽度以避免溢出 */
}

.menu-flex-item-5 {
    flex: 0 0 calc(20% - 10px); /* 每行显示5个项目，计算每个项目的宽度 */
    max-width: calc(20% - 10px); /* 设置最大宽度以避免溢出 */
}

/* 图片样式 */
.menu-flex-item img {
    max-width: 100%;
    height: auto;
}



/* 超链接样式 */
.menu-flex-item a {
    text-decoration: none;
}

/* video */

.video{
    margin-top: 30px;
    margin-bottom: 40px;
}


.shake:hover {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.7s;
  
    /* When the animation is finished, start again */
    /* animation-iteration-count: infinite; */
  }
  
@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

body {
    /* background: #111; */
    padding-bottom: 50px;
    overflow-x: hidden;
}

body:before {
    /* content: 'FeFighterS';
    font-style: italic;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10em;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px #555; */
}

section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

section h2 {
    margin-left: 200px;
    font-size: 4em;
    color: #111;
    margin-bottom: 20px;
    text-align: center;
}

section h3 {
    margin-left: 200px;
    font-size: 2em;
    color: #111;
    margin-bottom: 20px;
    text-align: center;
}

section .container {
    position: relative;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section:nth-child(even) .container {
    flex-direction: row-reverse;
}

section .container .imgBx {
    position: relative;
    width: 800px;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.1);
}

section .container .imgBx img {
    position: absolute;
    left: 0;
    top: 0;
    /* width: 100%;
    height: 100%;
    object-fit: cover; */
}

section .container .content {
    position: absolute;
    right: 0;
    margin-top: 200px;
    margin-bottom: 40px;
    padding: 40px;
    background: #9192b1;
    z-index: 1;
    max-width: 400px;
    color: #fff;
    box-shadow: 0 25px 35px #2e2f4b;
    border-bottom: 8px solid #686984;
}

section:nth-child(even) .container .content {
    left: 0;
}

#chart{
    margin: 0 auto;
    height: 650px;
    width: 900px;
    max-width: 90%;
    max-height: 90%;
}

.center-main-text{
    text-align: center; 
    line-height: 10vh;
    font-weight: 700;
    font-size: 2rem;
    font-family: "Poppins";
}

.Explore-project{
    font-family: 'Archivo Black';
    font-style: normal;
    font-weight: 400;
    text-align: center;
    color: #102f54;
    text-shadow: 2px 8px 6px rgba(52, 109, 213, 0.2), 0px -3px 20px rgba(255,255,255,0.4);
}

.full-center{
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.death-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: -30px;
}

.death-container > img{
    min-width: 400px;
}

.death-text{
    font-size: 20px;
    width: 25%;
    min-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Young Serif' !important;
    color: rgb(56, 1, 1);
    font-weight: bold;
    letter-spacing: 2px;
}

.death-numbers{
    font-size: 50px;
    font-family: 'Young Serif' !important;
    font-weight: bold;
    color: rgb(131, 9, 9);
    -webkit-text-stroke: 2px rgb(131, 9, 9);
    letter-spacing: 7px;
    text-shadow: 2px 8px 6px rgba(128, 32, 51, 0.2), 0px -3px 20px rgba(96, 17, 33, 0.2);
}