body {
    background-color: #f8f9fa;
    display: flex;
    /* 纵向排列：卡片与页脚上下相随，页脚才贴得住卡片 */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.certificate-details{
    border: 5px solid #eee;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.certificate-details>h1{
    font-weight: bold;
    color: dodgerblue;
    padding: 20px 0;
}
.certificate-query {
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(2px);
}
.form-control {
    background: rgba(255,255,255,0.5);
}
.certificate-query h1 {
    font-size: 24px;
    margin-bottom: 1rem;
    color: #333333;
}
.certificate-query input {
    border-radius: 25px;
}
.certificate-query button {
    border-radius: 25px;
    background-color: #007bff;
    color: #ffffff;
}
.certificate-query button:hover {
    background-color: #0056b3;
}
.result-message {
    margin-top: 1rem;
    font-size: 16px;
}
.wrap {
    width: 40%;
    height: auto;
    background: url(../img/logo.png) no-repeat 50px / 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 50px;
    border: 10px solid #fff;
    border-radius: 20px;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.5);
}
@media (max-width: 1200px) {
    .wrap {
        width: 60%;
        padding: 40px;
    }
}
@media (max-width: 992px) {
    .wrap {
        width: 80%;
        padding: 30px;
        background-size: 40%;
    }
    .certificate-query {
        max-width: 100%;
        padding: 1.5rem;
    }
}
@media (max-width: 768px) {
    .wrap {
        width: 100%;
        padding: 20px;
        background-size: 30%;
    }
    .certificate-query h1 {
        font-size: 20px;
    }
    .certificate-query {
        padding: 1rem;
    }
}
/* @media (max-width: 576px) {
    body {
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 20px;
        height: 100vh;
    }
    .wrap {
        flex-direction: column;
        width: 100%;
        background-size: 20%;
        padding: 15px;
    }
    .certificate-query {
        max-width: 100%;
        padding: 1rem;
        text-align: left;
    }
} */