body {
    /* 渐变背景 */
    background-color: rgb(16, 24, 33);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    font-family: 'MyFont';
    list-style: none;
    font-size: 25px;
    color: white;
}

a {
    background: none;
}

@font-face {
    font-family: 'MyFont';
    src: url('../SmileySans-Oblique-2.ttf') format('truetype');
}

/* 背景===================================================================================================================== */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* 标题============================================================================ */
.title-text {
    height: 70px;
    width: 300px;
    margin: 0 auto;
    font-size: 30px;
    color: yellow;
    font-weight: bold;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 过度 */
    transition: all 0.3s ease-in-out;
}

.title-text:hover {
    /* 手形 */
    cursor: pointer;
    transform: scale(1.5);
}

/* 顶部导航栏=================================================================== */
.top-box {
    background-color: rgba(0, 0, 0, 0.5);
    height: 70px;
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    min-width: 1200px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s ease-in-out;
}

.top-box:hover {
    box-shadow: rgba(255, 255, 255, 0.7) 0px 0px 50px 0px;
}

.logo {
    width: 100px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 30px;
    transition: 0.5s;
}

.logo:hover img {
    transform: scale(1.5);
    box-shadow: rgba(255, 255, 255, 0.7) 0px 0px 50px 0px;
    cursor: pointer;
}

.nav {
    width: 60%;
    height: 100%;
    margin-right: 50px;
    display: flex;
    justify-content: flex-end;
}

.nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nav>.item {
    width: 20%;
    height: 100%;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.list {
    position: absolute;
    z-index: 999;
    top: 100%;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: all 0.5s ease-in-out;
    border-radius: 0 0 10px 10px;
    background-color: rgba(0, 0, 0, 0.5);
}

.item2 {
    height: 70px;
    transition: all 0.1s ease-in-out;
}

.nav>.item:hover {
    background-color: #124B91;
}

.nav>.item:hover>.list {
    border-radius: 0 0 10px 10px;
    max-height: 100vh;
    box-shadow: rgb(65, 133, 252) 0px 10px 0px 0px;
}

.nav>.item>a {
    transition: all 0.1s ease-in-out;
}

.nav>.item:hover>a {
    transform: scale(1.5);
    color: yellow;
}

a {
    text-decoration: none;
}

.item2:hover {
    background-color: #124B91;
}

/* 底部栏=================================================================================== */
.footer {
    width: 100%;
    min-width: 1000px;
    height: 300px;
    position: relative;
    transition: all 0.5s ease-in-out;
}

.footer>img {
    position: absolute;
    top: 0;
    height: 300px;
    width: 100%;
}

.footer-text-box {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    color: white;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-text-box>a {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

.footer-text-box>a:hover {
    color: yellow;
    transform: scale(1.5);
}