.main{
    width: 100vw;
    height: 100vh;
    background-color: black;
    background-image: url("./image.png");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: white;
    height: 100px;
    width: 100%;
    transition: background-color 0.35s ease-in-out;
}

.menu:hover{
    background-color: rgba(0, 0, 0, 1);
}

.logo{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 5%;
}

.logo h2{
    margin-left: 10px;
    font-size: 30px;
}

.logo img{
    width: 50px;
    height: 50px;
}

.links{
    display: flex;
    flex-direction: row;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease-in-out, visibility 0.35s ease-in-out;
    margin-right: 5%;
}

.links a{
    text-decoration: none;
    color: white;
    margin-right: 50px;
    font-size: 30px;
}

.links a:hover{
    color: pink;
}

.menu:hover .links {
    opacity: 1;
    visibility: visible;
}

.content{
    align-items:center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.info{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: min(5vh, 5vw);
}

.info img{
    width: min(20vh, 20vw);
    height: min(20vh, 20vw);
}

.card{
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    margin: min(5vh, 5vw);
    padding: 10px min(5vh, 5vw);
    border-radius: 10px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card h1{
    font-size: min(5vh, 5vw);
    margin: 20px;
}

.items{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: min(1vh, 1vw);
    margin-bottom: 10px;
}

.items button{
    outline: 1px;
    outline-color: white;
    outline-style: solid;
    font-family: Arial, Helvetica, sans-serif;
    font-size: min(2vh, 2vw);
    padding: 10px min(3vh, 3vw);
    border-radius: min(3vh, 3vw);
    margin: 20px;
    text-decoration: none;
}

.items button:hover{
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(0, 0, 0);
}

.items input {
    margin: 20px;
    text-align: center;
    font-size: min(2vh, 2vw);
    padding: 10px min(3vh, 3vw);
    background-color: rgba(0, 0, 0, 0);
    border-radius: min(3vh, 3vw);
    color: white;
    border: 2px solid white;
}
.items input:focus {
    color: rgb(255, 255, 255);
    outline-color: rgb(255, 255, 255);
    box-shadow: -3px -3px 15px rgb(255, 255, 255);
    transition: .1s;
    transition-property: box-shadow;
}

@font-face {
    font-family: 'font';
    src: url('./font.otf') format('opentype');
}

body::-webkit-scrollbar {
    display: none; /* 对于 WebKit 浏览器 */
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    body {
        font-family: 'font', sans-serif;
    }
}
