/* Background of pages */
#fullpage #Landing {
    background-image: url('../image/BG8.png');
    background-size: cover;
}

.section {
    background-color: #2f282e;
    overflow: hidden;
}

#fullpage #Team {
    background-image: url('../image/bridge1.png');
    background-size: cover;
    overflow: hidden;
}

/* Navigation Points */
#fp-nav ul li a.active span{
    background-color: transparent;
    border-style: solid;
    border-color: #e47811;
    border-width: 2px;
    box-shadow: 1px 2px 100px rgba(255,255,255,1);
    transition: all 0.5s ease;
}

#fp-nav ul li a span {
    background: #fff;
}

#fp-nav.right {
    position: absolute;
    right: 0px;
}

/* Menu */
#menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 7%;
    text-align: center;
    padding-right: 5px;
    background: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    box-shadow: 1px 2px 100px rgba(255,255,255,0.04);
}

#menu li {
    margin-right: 25px;
    font-size: 15px;
}

#menu li:last-child {
    margin-right: 0; /* No margin for the last item */
}

#menu li a {
    display: block;
    color: rgba(255,255,255,0.6);
    position: relative;
    top: 14px;
    text-align: center;
}

#menu a {
    font-family: "Josefin Sans", sans-serif;
    font-size: 16px;
    position: absolute;
    border-bottom: 2px solid transparent;  /* 使用透明边框保持常态和激活态尺寸一致 */
    padding-bottom: 3px; /* 默认状态下的内边距 */
    transition: font-weight 0.3s ease, border-bottom 0.3s ease;
}

#menu-pages {
    display: flex;
    position: absolute;
    right: 20px;
}

#menu .active a {
    text-shadow: 0 2px 5px rgba(255,255,255,0.5);
    font-weight: bold;
    border-bottom: 2px solid #e47811;
    padding-bottom: 1px;  /* 减少内边距以保持总体尺寸不变 */
    color: white;
}


/* Landing Title */
#landing-title {
    font-family: "Platypi", serif;
    color: white;
    text-align: center;
    position: relative;
    bottom: 40px;
    font-weight: bold;
    font-style: italic;
    text-shadow: 3px 3px 2px rgba(228,120,17,0.1);
    background: linear-gradient(to top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: block;
    animation: floatAnimation1 5s ease-in-out infinite;
}

@keyframes floatAnimation1 {
    0%, 100% {
        transform: translateY(20px);
    }
    50% {
        transform: translateY(-20px);
    }
}

#landing-title:hover {
    animation-play-state: paused;
}

#landing-title1 {
    font-size: 110px;
    margin-bottom: 0px;
}

#landing-title2 {
    font-size: 50px;
}

@keyframes fadeIn1 {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeIn2 {
    0% { opacity: 0; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

#landing-title3-1 {
    text-align: center;
    color: white;
    font-family: "EB Garamond", serif;
    font-size: 18px;
    position: relative;
    top: 170px;
    opacity: 0;
    animation: fadeIn1 1s linear 1 forwards;
}

#landing-title3-2 {
    text-align: center;
    color: white;
    font-family: "EB Garamond", serif;
    font-size: 18px;
    position: relative;
    top: 170px;
    opacity: 0;
    animation: fadeIn2 2s linear 1 forwards;
}


/* Explore Button */
#button-explore {
    background: rgba(255,255,255);
    position: absolute;
    left: 45%;
    bottom: 25%;
    border-radius: 20px;
    width: 120px;
    height: 35px;
    color: #3D3D3D;
    font-size: 15px;
    font-family: "EB Garamond", sans-serif;
    font-weight: bold;
}

#a-button-explore {
    display: block;
}

#button-explore:hover {
    background-color: rgb(226,118,15,0.2);
    border-color: rgb(255,255,255,0.5);
    border-width: 1.5px;
    font-weight: 500;
    transition: font-weight 0.3s ease, background-color 0.2s ease;
    color: white;
}

/* Introduction */
#container-intromap {
    width: 100% !important;
    height: 100%;
    position: relative;
    z-index: 1;
}

#container-intromap iframe {
    width: 100%;
    height: 100%;
}

/* Part 1 UHI Map */
#container-UHImap {
    width: 100% !important;
    height: 100%;
    position: relative;
    z-index: 1;
}

#container-UHImap iframe {
    width: 100%;
    height: 100%;
}

.next a {
    color: white;
    font-family: "Raleway", serif;
    font-size: 15px;
    z-index: 1000;
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    text-shadow: 2px 1px 5px rgba(255,255,255,0.8); 
    animation: floatAnimation2 5s ease-in-out infinite;
}

@keyframes floatAnimation2 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.next a:hover {
    color: white !important;
    text-decoration: none;
    text-shadow: 3px 3px 8px rgba(255,255,255,1); 
    animation-play-state: paused;
}

/* Part 2 UHI Charts */
.container1 {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    height: 100vh;
}

#container-UHIcharts {
    display: flex;
    flex-direction: column;
    width: 60%;
    height: 100%;
    position: relative;
    left: 1%;
}

#container-UHIcharts iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.description {
    color: white;
}

#description-UHIcharts {
    position: absolute;
    right: 5%;
    top: 15%;
    width: 30%;
    text-align: right;
}
        
#description-UHIcharts h1 {
    font-family: "Georgia", sans-serif;
    font-weight: bold;
    font-size: 35px;
    font-style: italic;
    text-shadow: 3px 3px 2px rgba(234,129,87,0.6);
    line-height: 45px;
}

#description-UHIcharts h5 {
    font-family: "EB Garamond", serif;
    width: 105%;
    position: relative;
    right: 5%;
    font-weight: bold;
    border-bottom: 0.5px dotted;
    padding-bottom: 5px;
    margin-bottom: 10%;
}
        
.description p {
    background-color: rgba(255,255,255,0.3);
    padding: 5%;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    margin-top: 15px;
    font-family: "EB Garamond", serif;
    line-height: 1.3;
}

/* Part 3 Factor Map */
#container-factormap {
    width: 100% !important;
    height: 100%;
    position: relative;
    z-index: 1;
}

#container-factormap iframe {
    width: 100%;
    height: 100%;
}

/* Part 4 Future Charts */
#container-futurecharts {
    width: 100% !important;
    height: 100%;
    position: relative;
    z-index: 1;
}

#container-futurecharts iframe {
    width: 100%;
    height: 100%;
}

/* Part 5 Policies */
#description-policies {
    position: absolute;
    width: 60%;
    top: 11%;
    left: 5%;
    text-align: left;
    font-family: "Georgia", sans-serif;
    font-style: italic;
    text-shadow: 2px 2px 1px rgba(217,174,107,0.5);
    z-index: 10;
}

#description-policies h1 {
    font-size: 35px;
    font-weight: bold;
    
}

#description-policies h5 {
    font-size: 25px;
    font-weight: bold;
}

#container-policies iframe {
    width: 95%;
    height: 535px;
    position: absolute;
    top: 17%;
}


/* Part 6 Team */
.container {
    display: grid;
    place-items: center;
}

#container-team {
    width: 100%;
    height: 70%;
}

#description-team {
    position: relative;
}

#h1-team-title {
    color: white;
    text-align: center;
    width: 100%;
    position: relative;
    right: 2%;
    bottom: auto;
    font-family: "Josefin Sans", sans-serif;
    font-size: 40px;
    text-shadow: 2px 2px 2px rgba(255,255,255,0.5);
}

#p-team-subtitle {
    text-align: center;
    color: white;
    background-color: #EFA25C;
    font-size: 15px;
    font-family: "Josefin Sans", sans-serif;
    text-align: center;
    width: 60%;
    height: 30px;
    padding-top: 5px;
    position: relative; 
    left: 20%;
}

.profile {
    display: flex;
    width: 100%;
    position: relative;
    align-items: center; /* 垂直居中 */
    justify-content: center;
}

.photo {
    width: 230px;
}

.photo img{
    width: 230px;
    height: auto;
    position: relative;
}

.info {
    color: white;
    font-family: "EB Garamond", serif;
    position: relative;
    width: 100%;
}

.info h3 {
    font-family: "Platypi";
    font-style: italic;
    font-size: 23px;
    color: #EFA25C;
    margin-bottom: 20px;
    text-shadow: 2px 2px 2px rgba(255,255,255,0.2);
    border-bottom: 0.1px solid rgba(255,255,255,0.5);
    padding-bottom: 8px;
}

.info h5 {
    width: 100%;
}

.info p {
    margin-bottom: 3px;
}

.profile span{
    position: relative;
    top: 7px;
    margin-right: 8px;
}

#github {
    width: 23px;
    height: auto;
    margin-right: 10px;
}

.foot {
    height: auto;
    color: white;
    background-color: rgba(255,255,255,0.2);
    position: relative;
    top: 30%;
    text-align: center;
    width: 100%;
}

.foot p {
    margin-left: 20px;
    margin-bottom: 0px;
    font-size: 13px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.container a {
    color: white !important;
    text-decoration: underline !important;
}

.container a:hover {
    color: #A399B7 !important;
}