
html {
    scroll-behavior: smooth;
    font-family: Metro-Police, Verdana, Geneva, Tahoma, sans-serif;
    
}
@font-face {
    font-family: Metro-Police;
    src: url('images/metropolice.woff2') format('woff2');
}


.container {
    max-width: 98rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 1.5rem;
}

.nav-list {
    display: flex;
    list-style: none;
    position: relative;
}

.nav-item {
    min-width: 10rem;
    text-align: center;
    padding-block: 1rem;
}

.logo {
    max-width: 200px;
    max-height: 200px;
}

.nav-link {

    text-transform: uppercase;
}

.active-bar {
    position: absolute;
    bottom: -1rem;
    height: 2px;
    width: 10rem;
    background-color: #000;
    transition: transform 0.2s;
}

.nav-item:nth-child(2):hover ~ .active-bar {
    transform: translateX(10rem);
}
.nav-item:nth-child(3):hover ~ .active-bar {
    transform: translateX(20rem);
}
.nav-item:nth-child(4):hover ~ .active-bar {
    transform: translateX(30rem);
}

.logo {
    font-size: 50px;
}

a {
    text-decoration: none;
    color: #000;
}

ul {
    display:inline-block;
    padding-left: 20px;
}

label {
    margin-top: 12px;
    position: relative;
    width: 45px;
    height: 22px;
    border: 2px solid;
    border-radius: 20px;


}

label:before{
    position: absolute;
    content: '';
    width:20px;
    height: 20px;
    left: 1px;
    top: 1px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    transition: 0.4s;
}
label.active:before{
    left: 24px;
    background: #fff;
}

body.night{
    background: #000000;
    color: #fff;
}

.night a {
    color: #fff;
}

.night .active-bar {
    background-color: #fff;
}