@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    padding-top: 50px;
    background: url("../img/preview.jpg") no-repeat center center fixed;
    background-size: cover;
    background-position: top;
}
.fade-out {  
    opacity: 0;  
    transition: opacity 1s ease;  
}
.container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 10%;
    font-size: 150%;
    animation-name: containerMove;
    animation-duration: 1s;
    height: 50%;
    width: 80%;
    transition: 1s;
}
/*响应手机，我真的服了这个字体大小*/
@media (max-width: 767px) {
    .container {
        font-size: 80%;
    }
}
@keyframes containerMove {
    0% {
        opacity: 0;
        transform: translate(0, 40px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}
.container:hover{
    transform: scale(1.03);
}
.container h2{
    color:rgba(0, 0, 0, 0.801);
}
.container .input_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.container .input_box:hover{
    transform: scale(1.01);
}
.container .input_box label{
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.719);
    font-size: 13px;
}
.container .input_box input{
    color: rgba(0, 0, 0, 0.719);
    font-size: 18px;
    height: 35px;
    width: 250px;
    background: rgba(255, 255, 255, 0.788);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    padding: 0 10px;
}
.container .input_box input:focus{
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.container .btn{
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: start;
}
.container .btn button:hover{
    transform: scale(1.03);
}
.container .btn button{
    width: 120px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(99, 153, 216, 0.842);
    color: aliceblue;
    border-radius: 5px;
}
.container .btn button:nth-of-type(2){
    margin-left: 10px;

}
nav {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    animation-name: navDown;
    animation-duration: 1s;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
}
@keyframes navDown {
    0% {
        transform: translate(0, -100px);
    }
    100% {
        transform: translate(0, 0);
    }
}
nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-size: large;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #a8a8a8;
}

.container h2 {
    margin-top: 50px; 
}

.container p {
    color: rgba(0, 0, 0, 0.719);
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: center;
}

.container p a {
    color: rgba(0, 0, 0, 0.842);
    text-decoration: none;
}

.container p a:hover {
    text-decoration: underline;
}
.highlight-text {
    color: #ffffff;
    background-color: #3366FF;
    padding: 2px 5px;
    border-radius: 5px;
}