body {
font-family: "Noto Sans TC", sans-serif;
margin: 0;
padding: 20px;
background-color: #f3f3f3;
}


input[type='text'],
input[type='number'],
input[type='email'],
input[type='password'],
input[type='date']
{
font-size: 16px;
border: 1px solid #EAEAEA;
background-color: #FFFFFF;
box-sizing: border-box;
width: 100%;
outline: none;
padding-top: 8px;
padding-right: 12px;
padding-bottom: 8px;
padding-left: 12px;
gap: 10px;
border-radius: 4px;
border-width: 1px;
}

button
{
margin: 4px;
background-color: transparent;
border: 0px; 
border-radius: 8px;
padding: 10px 20px;
font-size: 16px;
color:#ffffff;
background: var(--Primary, #1256d4);
cursor: pointer;
transition: border-color 0.3s ease, background-color 0.3s ease;
}

button:hover 
{
color: rgb(255, 255, 255);
}

.timeline {
position: relative;
max-width: 800px;
margin: auto;
padding: 10px 0;
}

.timeline::before {
content: '';
position: absolute;
left: 4px;
top: 0;
bottom: 0;
width: 4px;
background-color: #ccc;
}

.year-section {
position: relative;
margin: 30px 0 30px 40px;
}

.year-section::before {
content: attr(data-year);
position: absolute;
left: -60px;
top: 0;
font-weight: bold;
font-size: 18px;
color: #333;
}

.alumni-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 10px;
}

.alumni 
{
background: white;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
padding: 10px;
width: 160px;
text-align: center;
cursor: pointer;
}

@media (max-width: 1200px)
{
.alumni 
{
width:40%;
}
}

.alumni img {
width: 60%;
aspect-ratio: 1;
border-radius: 50%;
object-fit: cover;
border: 2px solid #ddd;
}

.alumni .name {
font-weight: bold;
margin-top: 8px;
}

.alumni .title {
font-size: 0.9em;
color: #777;
}


.blackcontent-container
{
position:relative;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:999;
display:flex;
text-align:center;
align-items:center;
overflow: hidden;
background: #00000033;
}


.blackcontent-item
{
display:flex;
flex-direction: column;
align-items: center;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:100%;
max-width: 450px;
height:100%;
max-height:650px;
background-color:#FFFFFE;
box-shadow: 0px 0px 15px 0px #B0B0B033;
border-radius: 8px;
overflow-y: auto;
padding: 0px 20px;
margin:0px;
}

.blackcontent-item::-webkit-scrollbar 
{
display: none;
}

@media (max-width: 1200px)
{
.blackcontent-item
{
min-width:100vw;
width:100vw;
max-width: 100vw;
min-height:80vh;
height:80vh;
max-height:80vh;
}
}

.blackcontent-item .bannar
{
text-align: right;
font-size: 16px; 
cursor: pointer;
margin:6px;
}

.blackcontent-item .avatar 
{
width: 300px;
aspect-ratio: 1;
border-radius: 50%;
overflow: hidden;
border: 2px solid #ddd;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
display: inline-block;
}

.blackcontent-item .avatar img 
{
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}


.blackcontent-item .title
{
font-size: 28px; 
}

.blackcontent-item .info
{
font-size: 20px; 
}


.blackcontent-item .contact
{
font-size: 16px; 
}

.edit
{
font-size:20px;
width:100%;
}

.hidden
{
display:none;
}

.note
{
font-size: 14px;
color:#9D9D9D;
margin:0px;
padding:0px;
}


#loading 
{
display:none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.8);
justify-content: center;
align-items: center;
z-index: 9999;
}

.spinner 
{
width: 200px;
height: 200px;
background-image: url('https://mclab.info/assets/icon/submarine.gif');
background-size: cover;
background-repeat: no-repeat;
}
