html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    font-family: "Open Sans", serif;
    /* font-family: sans-serif; */
    background: #eee;
}

.middle-body{
    background: #eee;
}

body {
    color: #646464;
}

header{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    height: 0px;
  }
  
  .logo{
    color: white;
  }
  
  .nav a{
    color: #003366;
    background: #dddddd;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 16px;
    transition: 300ms;
    border-radius: 1px;
  }
  
  .user-form-group a{
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
  }

.signup{
    border: rgba(100, 200, 255, 0.6) 2px solid;
    background: linear-gradient(135deg, 
        rgba(15, 32, 64, 0.8) 0%, 
        rgba(25, 50, 100, 0.7) 50%, 
        rgba(35, 70, 140, 0.8) 100%);
    backdrop-filter: blur(15px);
    padding: 16px 24px;
    position: absolute;
    right: 3%;
    top: 3%;
    border-radius: 50px;
    transition: all 300ms ease;
    font-size: 18px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(100, 200, 255, 0.5);
    box-shadow: 
        0 0 20px rgba(100, 200, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}
.signup:hover{
    border: rgba(100, 200, 255, 0.9) 2px solid;
    background: linear-gradient(135deg, 
        rgba(100, 200, 255, 0.2) 0%, 
        rgba(60, 150, 255, 0.3) 50%, 
        rgba(30, 120, 255, 0.2) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 
        0 0 30px rgba(100, 200, 255, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 15px rgba(100, 200, 255, 0.8);
}

.ccheader{
    display: flex;
    flex-direction: row;
    position: absolute;
    height: 100px;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: right;
    align-items: center;
    background-color: rgba(254, 254, 254, 0.0); 
    overflow-x: hidden;
    top: 0;
    right: 0;
    /* background-image: url("../images/emblem.png");
    background-size: auto 90%;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 2%; */
}

.nav{
    background-color: rgb(236, 241, 236,0.2); 
    float: center;
    /* margin-top: +2rem; */
    /* margin-right: 20%; */
}

/* .nav a{
    color: #003366;
    background: #dddddd;
    text-decoration: none;
    font-weight: 600;
    font-size: 26px;
    padding: 8px 16px;
    margin-right: 50%;
    transition: 300ms;
    border-radius: 99px;
  } */

.register:hover{
    background: black;
    color: white;
  }
  
.ccmenu li {
    list-style: none;
    display: inline-block;
    margin-right: 15px; /* add spacing between items */
    float: none;
    /* background-color: #eee; */
}  

/* @media screen and (max-width: 720px) {
    .ccmenu li {
        display: block;
        float: none;
    }
} */

.ccmenu a {
    text-decoration: none;
    font-size: 24px;
    color: #003366;
    border-bottom: 1px solid #003366;
    font-weight: bold;
}

.ccmenu a:hover{
    color:#996600;
    /* background-color: #eeeeee; */
    border-bottom: 3px solid orange;
    /* font-weight: bold; */
}

/* 动画定义 */
@keyframes reveal-banner {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
}

@-webkit-keyframes reveal-banner {
    0% {
        opacity: 0;
        -webkit-transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0.8;
        -webkit-transform: translate(-50%, -50%) scale(1);
    }
}

@-moz-keyframes reveal-banner {
    0% {
        opacity: 0;
        -moz-transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0.8;
        -moz-transform: translate(-50%, -50%) scale(1);
    }
}

.banner-div {
    position: relative;
    display: block;
    width: 100%;
    height: 50vh; /* 限制banner容器高度为视窗高度的50% */
    overflow: hidden; /* 隐藏超出部分 */
    z-index: 998;
    margin: 0;
    padding: 0;
}

.banner-div p {
    margin: 0;
    padding: 0;
}

.banner-div p img {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.inner p {
    font-size: 150%;
    font-weight: 600;
    color: #e0f0ff;
    text-shadow: 
        0 0 10px rgba(100, 200, 255, 0.5),
        0 0 20px rgba(60, 150, 255, 0.3);
    margin: 20px 0;
    letter-spacing: 1px;
    line-height: 1.5;
}

.banner{
    width: 100vw;
    height: 50vh; /* 设置banner图片高度为视窗高度的50% */
    object-fit: cover; /* 保持图片比例，裁剪多余部分 */
    /* margin-top: +5.1rem; */
    overflow: auto;
}

.inner {
    background: linear-gradient(135deg, 
        rgba(15, 32, 64, 0.95) 0%, 
        rgba(25, 50, 100, 0.9) 25%, 
        rgba(35, 70, 140, 0.85) 50%, 
        rgba(45, 90, 180, 0.9) 75%, 
        rgba(55, 110, 220, 0.95) 100%);
    border: 2px solid rgba(100, 200, 255, 0.4);
    color: #ffffff;
    display: inline-block;
    opacity: 1;
    padding: 2.5em 3em;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 0 40px rgba(100, 200, 255, 0.3),
        0 0 80px rgba(60, 150, 255, 0.2),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
    font-family: 'Open Sans', sans-serif;
    z-index: 10;
    overflow: hidden;
    min-width: 800px; /* 确保容器有足够宽度 */
    max-width: 90vw; /* 限制最大宽度避免超出屏幕 */
}

.inner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(100, 200, 255, 0.3), 
        transparent, 
        rgba(60, 150, 255, 0.2), 
        transparent);
    border-radius: 22px;
    z-index: -1;
}

.bigbannert1 {
    font-size: 80px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(100, 200, 255, 0.3);
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 3px;
    position: relative;
    white-space: nowrap; /* 强制标题在一行显示 */
}

.text-center {
    text-align: center;
}

/* 响应式设计 for inner */
@media screen and (max-width: 1440px) {
    .bigbannert1 {
        font-size: 60px;
        letter-spacing: 2px;
    }
    
    .inner {
        padding: 2em 2.5em;
        opacity: 1;
        min-width: 650px; /* 中等屏幕的最小宽度 */
    }
    
    .inner p {
        font-size: 130%;
    }
}

@media screen and (max-width: 768px) {
    .bigbannert1 {
        font-size: 28px; /* 稍微减小字体以适应小屏幕 */
        letter-spacing: 1px;
    }
    
    .inner {
        padding: 1.5em 1.5em; /* 减少内边距为更多空间留出 */
        margin: 0 10px; /* 减少外边距 */
        border-radius: 15px;
        min-width: 350px; /* 移动设备的最小宽度 */
        max-width: 95vw; /* 移动设备的最大宽度 */
    }
    
    .inner p {
        font-size: 100%; /* 稍微减小字体大小 */
        letter-spacing: 0.5px;
    }
    
    .banner-div {
        height: 40vh; /* 在移动设备上稍微减小高度 */
    }
    
    .banner {
        height: 40vh; /* 移动设备上的banner高度 */
    }
}

@media screen and (max-width: 480px) {
    .bigbannert1 {
        font-size: 22px; /* 更小的字体适应很小的屏幕 */
        letter-spacing: 0.5px;
    }
    
    .inner {
        padding: 1.2em 1em;
        margin: 0 5px;
        min-width: 290px; /* 最小屏幕的最小宽度 */
        max-width: 98vw;
    }
    
    .inner p {
        font-size: 90%;
        line-height: 1.3;
    }
}

.section-line {
    border: 0;
    height: 3px;
    background: linear-gradient(to right, transparent 30%, #cccccc 50%, transparent 70%);
}

.program-line{
    border: 1;
    margin: 0;
    color: #eee;
}

.organizer-line{
    border: 0;
    height: 2px;
    margin: 10px 0;
    background: linear-gradient(to right, transparent 25%, #3498db 50%, transparent 75%);
}

.talk-title{
    font-family: "Open Sans", serif;
    font-size: 24px;
    font-weight: bold;
}

.talker{
    font-family: "Open Sans", serif;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.talker-without-chair{
    font-family: "Open Sans", serif;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: -2rem;
}

.chair{
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    font-weight: 100;
    margin-bottom: -2rem;
}

.schedule{
    background-color: rgba(0,191,255, 0.2);
    padding: 5px;
    /* margin-left: 2%; */
    border-radius: 5px;
    display: inline;
    font-family: "Open Sans", serif;
}

.block-line {
    border: 0;
    padding-top: 1px;
    background: linear-gradient(to right, transparent 5%, #666666 50%, transparent 95%);
}

.section{
    color: #003366;
    margin-top: 5rem;
    font-size: 36px;
    /* text-transform: uppercase; */
    font-family: "Open Sans", serif;
    /* font-family: sans-serif; */
    text-align: center;
}

.section-org{
    color: #003366;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 26px;
    /* text-transform: uppercase; */
    font-family: "Open Sans", serif;
    /* font-family: sans-serif; */
    text-align: center;
    display: flex;
    flex-direction: column;
}

.section-org:first-child{
    margin-top: 0.5rem;
}

.description{
    margin-top: 5%;
    margin-bottom: 5%;
    margin-left: 5%;
    margin-right: 5%;
    font-size: 16px;
    color: #555555;
    background: #fff;
}

.speakercontainer{
    border: solid 3px red;
    margin-top: +1rem;
    display: block;
    grid-template-rows: repeat(auto-fill, 450px);
    grid-template-columns: repeat(auto-fill,200px);
    column-gap:20px ;
    row-gap: 20px;
    justify-content: center;
}

.speaker {
    border: solid 3px blue;
    width: auto;
    height: 200px;
    margin-right: 2%;
    margin-bottom: 2%;
    float: left;
    justify-content: center;
    align-items: center;
    border: 0px solid;
}

.speaker img {
    float: left;
    max-width: 100%;
    max-height: 100%;
    border-radius: 15px;
}

h2 {
    /* text-transform: uppercase; */
    font-weight: 800;
    font-size: 20px;
    color: #333;
}

.talkdetail {
    border: solid 0px red;
    height: auto;
    margin-top: 5%;
    margin-left: 5%;
    margin-right: 5%;
    font-size: 16px;
    line-height: 1.5;
}

.name{
    border: solid 0px red;
    display: flex;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 1%;
}

.bio{
    border: solid 0px green;
    font-size: 16px;
    line-height: 1.5;
}

.portrait{
    margin-left: 10%;
    margin-right: 10%;
    background-color: #ffffff;
    border: 5px solid white;
}

.photo{
    /* border: solid 1px orange; */
    margin: 5%;
    /* margin-top: +5rem;
    margin-bottom: +5rem;
    margin-left: 5%;
    margin-right: 5%; */
    display: grid;
    /* flex-direction: row;
    flex-flow: row wrap; */
    grid-template-rows: repeat(auto-fill, auto);
    grid-template-columns: repeat(4, 1fr);
    column-gap: 50px;
    row-gap: 30px;
    justify-content: center;
}

.photo-organiser{
    border: solid 0px orange;
    margin: 1% 5% 3% 5%;
    /* margin-top: +5rem;
    margin-bottom: +5rem;
    margin-left: 5%;
    margin-right: 5%; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    column-gap: 40px;
    row-gap: 30px;
    justify-content: center;
    justify-items: center;
}

.photo-detail {
    /* border: solid 2px green; */
    height: auto;
    margin-top: 5%;
    margin-left: 5%;
    margin-right: 5%;
    font-size: 16px;
    line-height: 1.5;
}

.photo-card{
    border: solid 0px red;
    margin-top: 10%;
    /* margin: 3%; */
    /* position: sticky; */
    width: 100%;
    max-width: 210px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* grid-template-rows: repeat(auto-fill, 450px);
    grid-template-columns: repeat(auto-fill,200px);
    column-gap:20px ;
    row-gap: 20px; */
    /* justify-content: center; */
}

.photo-card-org{
    border: solid 0px red;
    /* margin-top: 10%; */
    /* margin: 3%; */
    /* position: sticky; */
    width: 210px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* grid-template-rows: repeat(auto-fill, 450px);
    grid-template-columns: repeat(auto-fill,200px);
    column-gap:20px ;
    row-gap: 20px; */
    /* justify-content: center; */
}

.map-container{
    border: solid 0px orange;
    margin: 3%;
    margin-top: 1%;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
}

.map-container img {
    border: solid 1px #003366;
    /* margin: 1%; */
    max-width: 100%;
    height: auto;
    /* width: 100%; */
    object-fit: contain
}

.position {
    color: #003366;
    font-size: 20px;
    text-align: center;
}

.photo-name{
    /* border: solid 1px blue; */
    display: flex;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 1%;
}

.name-title {
    /* position: absolute;
    top: 60%;
    width: 80%; */
    width: 115%;
    max-width: 280px;
    height: 135px;
    /* margin-bottom: 0px; */
    padding: 15px;
    line-height: 1.4;
    margin-top: -2.5rem;
    /* float: left; */
    /* justify-content: center; */
    /* align-items: center; */
    border: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* text-align: center; */
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.name-title:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.name-title b {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.name-title a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.name-title a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.dis-speaker {
    width: auto;
    height: 240px;
    /* float: inline-start; */
    margin-top: 0px;
    margin-bottom: 15px;
    /* justify-content: left; */
    /* align-items: center; */
    border: 0px solid blue;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dis-speaker img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 15px;
}

.dis-title{
    /* border: solid 1px orange; */
    margin-left: 5%;
    font-size: 16px;
    line-height: 1.5;
}

.keynote{
    margin-left: 10%;
    margin-right: 10%;
    background-color: #ffffff;
}


.sponsor{
    height: 300px;
    margin-top: -5rem;
    margin-bottom: +2rem;
    margin-left: +1rem;
    width: auto;
    float: center;
}

.organizers{
    height: auto;
    margin-bottom: +3rem;
    margin-top: +3rem;
    width: 300px;
    float: center;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .photo{
        grid-template-columns: repeat(3, 1fr);
        column-gap: 30px;
        row-gap: 25px;
    }
}

@media (max-width: 768px) {
    .portrait{
        margin-left: 5%;
        margin-right: 5%;
    }

    .photo{
        grid-template-columns: repeat(2, 1fr);
        column-gap:20px ;
        row-gap: 20px;
    }

    .name-title {
        max-width: 200px;
        padding: 12px;
        font-size: 14px;
        margin-top: -2rem;
    }

    .name-title b {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .photo-organiser {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        column-gap: 20px;
        row-gap: 20px;
        margin: 1% 3% 3% 3%;
    }

    .ccheader{
        /* display: flex;
        flex-direction: row; */
        position: fixed;
        height: 120px;
        width: 100vw;
        z-index: 999;
        justify-content: right;
        /* align-items: center; */
        background-color: rgba(254, 254, 254, 0.0); 
        /* border: 5px solid blue; */
        overflow-x: hidden;
    }

    .ccheader .signup{
        /* border: rgba(255, 255, 255, 0.5) 2px solid; */
        /* background: red; */
        /* position: absolute; */
        position: absolute;
        right: 3%;
        bottom: 15%;
        padding: 10px 10px;
        margin-right: 10px;
        margin-top: 20px;
        font-size: 16px;
    }
    .signup:hover{
        /* border: #003366 2px solid; */
        font-size: 20px;
    }
}

.program-boundary{
    /* border: solid 1px black; */
    margin-top: +1rem;
    margin-bottom: +3rem;
    margin-left: 5%;
    margin-right: 5%;
}

/* 打开和关闭手风琴面板的样式 */
.accordion {
    background-color: #fff;
    color: #003366;
    cursor: pointer;
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: auto;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 18px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
  }

.accordion-no-collapse {
    background-color: #fff;
    color: #003366;
    cursor: pointer;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 18px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    min-height: auto;
  }
 
/* 设置点击和鼠标移到选项上面时（悬停）的样式 */
.active, .accordion:hover {
    background-color: #ddd;
  }
 
/* 为手风琴面板设计样式。 默认隐藏 */
.panel {
  padding: 0 1%;
  font-size: 16px;
  background-color: rgba(254, 254, 254, 0.5);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  text-align: left;
  position: relative;
  z-index: 1;
  margin-top: 0;
}
/* 设置 +、- 标志 */
.accordion:after {
  content: '\002B';  /* Unicode 字符 + 号 */
  margin-right: 5%;
  color: #999;
  font-weight: bold;
  font-size: 30px;
  float: right;
  margin-left: 5px;
  position: absolute;
  right: 1px;
  bottom: 1px;
  transform: none;
}
 
.active:after { 
  content: "\2212";  /* Unicode 字符 - 号 */
}


/* .footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    background-color: #f2f2f2;
    border-top: 1px solid #ddd;
    padding: 20px 0;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100vw;
    max-width: 1200px;
    margin-top: 50px;
    padding: 0 30px;
}

.footer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 10px;
}



.footer-box p {
    margin: 5px 0;
    color: #003366;
    text-align: left;
}  */

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #f2f2f2;
    border-top: 1px solid #ddd;
	color: #003366;
	text-align: center;
	padding: 15px;
    margin-top: 5rem;
    font-size: 16px;
    justify-items: center;
}

.footer-box {
    max-width: 100%;
    height: auto;
}

/* Speaker avatar in accordion buttons */
.speaker-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    right: 20%;
    bottom: 20%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Organizer specific name-title styling */
.name-title-org {
    /* position: absolute;
    top: 60%;
    width: 80%; */
    width: 150%;
    max-width: 350px;
    height: 60px;
    /* margin-bottom: 0px; */
    padding: 15px;
    line-height: 1.4;
    margin-top: -2.5rem;
    /* float: left; */
    /* justify-content: center; */
    /* align-items: center; */
    border: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* text-align: center; */
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.name-title-org:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.name-title-org b {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.name-title-org a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.name-title-org a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive styling for organizer name-title */
@media (max-width: 768px) {
    .name-title-org {
        max-width: 200px;
        padding: 12px;
        font-size: 14px;
        margin-top: -2rem;
    }

    .name-title-org b {
        font-size: 16px;
        margin-bottom: 6px;
    }
}
