/* 定义一个名为"blink"的关键帧动画 */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}





.header_content h1 {
    font-size: 36px;
    text-align: center;
    color: #ffffff;
    background-color: #080606;
    border-radius: 20px;
    padding: 15px;
    margin: 20px auto 40px auto;
    width: 80%;
}
.header_content a {
    color: aqua;
    text-decoration: none;
}

.header_content a:hover {
    text-decoration: underline;
}


.main_content h1 {
    font-size: 32px;
    text-align: center;
    color: #6b2c2c;  
    margin-bottom: 20px;
}
.main_content ul{
    margin-left: 8%;
}
 .header button {
    background-color: #4a73d9;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    animation: blink 2s infinite
 }

 .header button:hover {
    background-color: #3b5bb5;
 }
.main_content p {
    font-size: 18px;
    line-height: 1.6;
    color: #444444;
    width: 80%;
    margin: 0 auto 20px auto;
    text-align: left;
}


.main_content span {
    color: #f09e05;
    font-weight: bold;
}


.main_content a {
    color: #4a73d9;
    text-decoration: none;
}


.header{
    background-color: rgba(184, 181, 12, 0.788);
    border-radius: 25px;
}


.header_link {
    border: 2px solid #241002;      
    border-radius: 50px;           
    background: #fffbe6;          
    padding: 10px 0;               
    margin: 16px auto;             
    width: 90%;                     
    display: flex;
    justify-content: center;
    gap: 32px;                     
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
}
.header_link a {
    font-weight: bold;
    color: #1a237e;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}
.header_link a:hover {
    background: #ff82cf;
    animation: blink 1s infinite
}


.picture {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}
.picture img {
    border-radius: 15px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    
}
    
.header_picture {
    width: 100%;
    height:150px;
    border-radius: 20px;
    background-repeat: repeat-x;
    background-image: url('images/title.jpg');
    background-size: auto 100%;
    background-position: 0 0;
    animation: scrollRight 10s linear infinite;
    
}

@keyframes scrollRight {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.main_row {
    display: flex;
    align-items: flex-start; 
    gap: 40px; 
    width: 100%;
}
.main_content {
    flex: 1; 
}

@media (max-width: 600px) {
    .header_link {
        flex-direction: column;
        gap: 12px;
        width: 98%;
        padding: 10px 0;
    }
    .main_content h1 {
        font-size: 24px;
    }
    .header_content h1 {
        font-size: 24px;
        width: 98%;
        padding: 10px;
    }
    .main_content p {
        font-size: 16px;
        width: 98%;
    }
}
@media (max-width: 400px) {
    .header_content h1 {
        font-size: 20px;
        width: 98%;
        padding: 8px;
    }
    .main_content h1 {
        font-size: 20px;
    }
    .main_content p {
        font-size: 14px;
        width: 98%;
    }
}