@font-face {
    font-family: 'Playfair';
    src: url(../assets/fonts/playfair-display.regular.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
}

/* background */
video {
    object-fit: cover;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.78;
}

/* sidebar */
.nav {
    position: fixed;
    top: 20px;
    left: 20px;
    bottom: 20px;
    width: 70px;
    border-radius: 10px;
    box-sizing: initial;
    border-left: 5px solid #1e2f61;
    background: #1e2f61;
    transition: 0.5s;
    overflow-x: hidden;
}

.nav.active {
    width: 300px;
}

.nav ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-left: 5px;
    padding-top: 75px;
}

.nav ul li {
    position: relative;
    display: block;
    width: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.tooltip {
    display: none;
    position: fixed;
    left: 117px;
    background: #272727;
    padding: 5px 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.tooltip::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #272727;
    transform: rotateZ(45deg);
    top: 7.5px;
    left: -4px;
}

.sidebar-li:hover .tooltip {
    display: block;
}

.nav ul li.active {
    background: #6b99ea;
}

.nav ul li b:nth-child(1) {
    position: absolute;
    top: -20px;
    height: 20px;
    width: 100%;
    background-color: #6b99ea;
    display: none;
}

.nav ul li b:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-bottom-right-radius: 20px;
    background: #1e2f61;
}

.nav ul li b:nth-child(2) {
    position: absolute;
    bottom: -20px;
    height: 20px;
    width: 100%;
    background: #6b99ea;
    display: none;
}

.nav ul li b:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-right-radius: 20px;
    background: #1e2f61;
}

.nav ul li.active b:nth-child(1),
.nav ul li.active b:nth-child(2) {
    display: block;
}

.nav ul li a {
    position: relative;
    display: block;
    width: 100%;
    display: flex;
    text-decoration: none;
    color: #fff;
}

.nav ul li.active a {
    color: #fff;
}

.nav ul li a .icon {
    position: relative;
    display: block;
    min-width: 60px;
    height: 60px;
    line-height: 70px;
    text-align: center;
}

.nav ul li a .icon i {
    font-size: 26px;
    color: #8ad7fe;
}

.nav ul li a .title {
    position: relative;
    display: block;
    padding-left: 10px;
    height: 60px;
    line-height: 60px;
    white-space: normal;
}

.toggle {
    position: fixed;
    top: 40px;
    left: 40px;
    float: left;
}

.toggle.active {
    left: 270px;
}

.genshin-text {
    display: none;
    position: absolute;
    top: 10px;
    width: 180px;
    left: 35px;
}

.toggle span img,
.toggle span i {
    position: absolute;
    color: #8ad7fe;
    width: 34px;
    height: 34px;
    font-size: 34px;
    display: none;
}

.toggle span i {
    top: 12px;
}

.toggle span img.open,
.toggle.active span i.close {
    display: block;
}

.toggle.active span img.open,
.toggle span i.close {
    display: none;
}

/* Map */
iframe {
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
    width: 1000px;
    height: 500px;
    border-radius: 15px;
}

h1 {
    /* color: #000; */
    margin: 1.5rem;
    margin-left: 150px;
    font-size: 52px;
    font-family: 'Playfair';
    color: #fff;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}