/* 确保父级容器处于相对定位 */
.rd-navbar-inner {
    position: relative;
  }
  
  /* 在移动端使用绝对定位，将头像固定在右上角 */
  @media (max-width: 992px) {
    .rd-navbar-inner .d-flex {
      position: fixed; /* 使用固定定位 */
      top:3px;
      right: 10px; /* 根据需要调整具体的 right 值 */
      z-index: 1000; /* 确保头像层级较高 */
    }
  }


html {
    scroll-behavior: smooth;
  }

.scrollTarget{
    scroll-margin-top: 70px;
}

#eventTitle{
    color: white;
    text-align: left;

}

.moreBtn{
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.page-nav{
    font-size: 20px;
    color: #fff;
    position: relative;

}

.page-nav-item{
    padding-bottom: 1rem;
}

.page-nav-link{
    color: white; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.formTitle{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

}

.formArea{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.proposalForm{
    color:white;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 70vw;
}



.formDetail{
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.formDetail textarea {
    background-color: transparent;
    width: 70vw; /* 根据需要调整 */
    margin-top: 1vh;
    border-radius: 8px;
    border:2px solid #888;
    height: 15rem;
    color: white;
    display: flex;
    justify-content: center;
    transition: border 0.6s ease;
}
.formDetail textarea:hover,
.formDetail textarea:focus {
    border: 2px solid #fff;
}

.transparentInput input,
.transparentInput select{
    background-color: transparent;
    width: 70vw; /* 根据需要调整 */
    margin-top: 1vh;
    border-radius: 8px;
    border:2px solid #888;
    height: 5rem;
    color: white;
    display: flex;
    justify-content: center;
    transition: border 0.6s ease;
}
.transparentInput input:hover,
.transparentInput input:focus{
    border: 2px solid #fff;
}





.transparentInput input[type="file"]::-webkit-file-upload-button{
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}


#id_resume {
    display: none;
  }

/* 设定容器为相对定位 */
.inputWithIcon {
    position: relative;
}

/* 图标使用绝对定位放置在输入框左侧 */
.inputWithIcon i {
    position: absolute;
    left: 2rem;             /* 根据图标大小和边距调整 */
    top: 2.5rem;
    transform: translateY(-50%);
    color: #888;            /* 根据需要设置图标颜色 */
    pointer-events: none;   /* 图标不响应鼠标事件 */
}

/* 调整 Django 渲染的输入框，增加左内边距，避免与图标重叠 */
.inputWithIcon input {
    padding-left: 4rem;     /* 根据图标的宽度和 margin 调整 */

}

.inputWithIcon textarea {
    padding-left: 4rem;  /* 具体数值可根据图标宽度和期望留白调整 */
    padding-top: 1rem;
}

.custom-file-upload {
    margin-top: 1vh;
    display: inline-block;
    background-color: transparent;
    color: white;
    height: 5rem;
    border:2px solid #888;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border 0.6s ease;
}
.custom-file-upload:hover,
.custom-file-upload:focus{
    border: 2px solid #fff;
}

.eventTitleBg{
    height: 100%;
    width: 100%;
    position: absolute;
    background: url(../images/slide-1.jpg) no-repeat center center;
    background-size: cover;
    animation: moreBlur 5s forwards;
}

.eventTitleText{
    font-size: 48px;
    font-weight: bolder;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    padding-bottom: 4rem;
    line-height: 7rem;
}
.eventSubTitleText{
    font-size: 20px;
    /* margin-bottom: 2.5vh; */
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.titleBtnArea{
    margin-top: 4rem;
    display: flex;
    justify-content: center;

}

.titleBtn{
    margin:2rem;
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    /* margin-left:4rem */

}

.aboutText{
    font-size: 2vh;
    text-align: left;
}

.bold{
    font-weight: bold;
}
.eventTitle{
    font-size: 2vh;
    padding-bottom: 1vh;
    font-weight: 900;
}

.eventContent{
    padding-bottom: 1vh;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.eventTime{
    padding-bottom: 1vh;
    font-weight: 700;
}
iframe {
    /* width: 80%; */
    height: 70vh;
    border: none;
}
.aboutText{
    font-size: 2vh;
    text-align: left;
}
.goalText{
    font-size: 2rem;
    text-align: left;
    padding-left: 5rem;
    padding-top:1.5vh;
    padding-bottom:1.5vh;
}
.tipsText{
    text-align: left;
    font-style:italic
}
#applyForm{
    width: 70vw;
}

@keyframes moreBlur {
    from{
        filter: blur(1px);
        -webkit-filter: blur(1px);
    }
    to{
        filter: blur(4px) brightness(12%);
        -webkit-filter: blur(4px) brightness(12%); 
    }
}

@media (min-width: 992px) {
    .proposalForm,
    .transparentInput input,
    .formDetail textarea
    {
        width:55vw
    }


}