* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
    width: 0;
}

.container {
    position: relative;
}

.page1, .page2, .page3, .page4 {
    width: 100%;
    height: 100vh;
    background-size: cover;
}

.page1 {
    background-image: url(./image/bg1.jpg);
}

.page2 {
    background-image: url(./image/bg2.jpg);
}

.page3 {
    background-image: url(./image/bg3.jpg);
}

.page4 {
    background-image: url(./image/bg4.jpg);
}

/* 导航栏样式 */
.navbar {
    height: 60px;
    opacity: 1;
    background-color: #262626;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    transition: opacity .3s ease-in-out,
                height .3s ease-in-out;
}

.navbar.hidden {
    opacity: 0;
    height: 0;
}

.navbar .logo {
    width: 200px;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    user-select: none;
}

/* 菜单 */
.navbar .right {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin-right: 40px;
}

.navbar .right li {
    margin: 0 32px;
    cursor: pointer;
    user-select: none;
}

/*
    侦察兵小d

    设置位置

*/
.little-d {
    position: absolute;
    left: 500px;
    top: 180vh;
    bottom: 0;
    width: 10px;
    background-color: red;
    z-index: -1;
}