header {
    display: block;
    width: 100%;
    height: 100px;
    padding: 0 7%;
    background: aliceblue;
    border-bottom: 1px solid #ddd;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    transition: .2s linear;
}

.night header {
    background: #222;
    border-bottom: 1px solid #333;
}

header.hidden {
    display: none;
}

.logo {
    display: inline-block;
    vertical-align: middle;
    width: 34px;
    height: 34px;
    border-radius: 1px;
    cursor: default;
}

.title {
    display: inline-block;
    vertical-align: middle;
    line-height: 50px;
    font-size: 25px;
    font-family: Poppins-Medium, sans-serif;
    font-weight: 600;
    color: #444;
    margin-left: 15px;
    text-shadow: 0 0 5px rgba(0,0,0,.1);
    transition: .3s linear;
}

.night .title {
    color: #bbb;
}

.menu {
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    margin-left: 35px;
    border-left: 1px solid #ddd;
    font-size: 0;
}

.night .menu {
    border-left: 1px solid #333;
}

.menu-list {
    display: inline-block;
    vertical-align: middle;
    width: 93px;
    height: 100px;
    font-size: 0;
    padding: 25px 0;
}

.menu-list.active {
    background: rgba(0,0,0,.1);
}

.night .menu-list.active {
    background: rgba(0,0,0,.15);
}

.menu-list:hover {
    background: rgba(0,0,0,.1);
}

.night .menu-list:hover {
    background: rgba(0,0,0,.15);
}

.ml-vector {
    display: block;
    width: 25px;
    height: 25px;
    margin: 0 auto;
}

.ml-object {
    stroke: #444;
    fill: none;
}

.ml-object.fill {
    fill: #444;
}

.night .ml-object {
    stroke: #aaa;
}

.night .ml-object.fill {
    fill: #aaa;
}

.menu-list span {
    display: block;
    line-height: 25px;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: #444;
    text-align: center;
    font-size: 12px;
}

.night .menu-list span {
    color: #aaa;
}

#reading-modes,
#temp-scales {
    display: inline-block;
    vertical-align: middle;
    width: 80px;
    height: 34px;
    overflow: hidden;
    float: right;
    margin-top: 31px;
    position: relative;
    border: 2px solid #444;
    border-radius: 25px;
    font-size: 0;
    outline: 0;
    background: #444;
    transition: .3s linear;
}

.night #reading-modes,
.night #temp-scales {
    border: 2px solid #444;
    background: #444;
}

.reading-mode {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    height: 100%;
    position: relative;
    z-index: 10;
}

.temp-scale {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    position: relative;
    z-index: 10;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: #ddd;
    font-size: 14px;
    text-align: center;
}

.night .temp-scale {
    color: #ddd;
}

.reading-mode svg {
    display: block;
    width: 18px;
    height: 18px;
    margin: 6px auto;
}

.reading-mode svg circle,
.reading-mode svg line {
    fill: #eee;
    stroke: #eee;
    stroke-width: 2;
}

.reading-mode svg path {
    fill: #eee;
    stroke: none;
}

.reading-mode-identifier,
.temp-scale-identifier {
    display: block;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
    background: rgba(255,255,255,.1);
    border-radius: 25px;
    transition: .2s ease-out;
}

.day .reading-mode-identifier {
    left: 0;
}

.night .reading-mode-identifier {
    left: 50%;
}

#temp-scales[data-scale=c] .temp-scale-identifier {
    left: 0;
}

#temp-scales[data-scale=f] .temp-scale-identifier {
    left: 50%;
}

.menu-btn {
    display: none;
    vertical-align: middle;
    width: 34px;
    height: 34px;
    float: right;
    margin: 23px 0 0 10px;
    border: 0;
    border-radius: 50%;
    outline: 0;
    position: relative;
    background: #444;
    transition: .3s linear;
}

.menu-btn span {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: #ddd;
    margin: 3px auto;
    position: relative;
    top: 0;
    left: 0;
    transform-origin: center;
    transition: transform .3s linear;
}

.menu-visible .l1 {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -1px 0 0 -7px;
    transform: rotate(45deg);
}

.menu-visible .l2 {
    opacity: 0;
}

.menu-visible .l3 {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -1px 0 0 -7px;
    transform: rotate(-45deg);
}

@media only screen and (max-width: 1200px){
    
    header {
        padding: 0 40px;
    }
    
    .menu-list {
        width: 90px;
    }
    
    @media only screen and (max-width: 1000px){
        
        header {
            height: 80px;
            overflow: hidden;
        }
        
        header.menu-visible {
            height: 100%;
            overflow: auto;
        }
        
        .title {
            line-height: 80px;
        }
        
        .menu-visible .title {
            line-height: 120px;
        }
        
        .menu {
            display: block;
            width: 100%;
            height: auto;
            margin: 0 0 50px 0;
            border-left: 0;
            padding: 40px 0 0 0;
            border-top: 1px solid #ddd;
        }
        
        .night .menu {
            border-left: 0;
            border-top: 1px solid #333;
        }
        
        .menu-list {
            display: inline-block;
            vertical-align: middle;
            width: 47%;
            height: 80px;
            text-align: left;
            margin: 0 0 40px 0;
            padding: 0 30px;
            border: 1px solid #ddd;
        }
        
        .night .menu-list {
            border: 1px solid #333;
        }
        
        .day .menu-list.active,
        .night .menu-list.active {
            border: 0;
        }
        
        .menu-list:nth-child(even){
            margin-left: 6%;
        }
        
        .ml-vector {
            display: inline-block;
            vertical-align: middle;
            width: 30px;
            height: 30px;
            margin-right: 20px;
        }
        
        .menu-list span {
            display: inline-block;
            vertical-align: middle;
            width: auto;
            line-height: 80px;
            font-size: 16px;
        }
        
        #reading-modes,
        #temp-scales {
            margin-top: 23px;
        }
        
        .menu-btn {
            display: inline-block;
        }
        
        .menu-visible #reading-modes,
        .menu-visible #temp-scales,
        .menu-visible .menu-btn {
            margin-top: 43px;
        }
        
        @media only screen and (max-width: 700px){
            
            header {
                height: 60px;
                padding: 0 20px;
            }
            
            .logo {
                width: 30px;
                height: 30px;
            }
            
            .title {
                line-height: 60px;
                font-size: 18px;
                margin-left: 10px;
            }
            
            .menu-visible .title {
                line-height: 100px;
            }
            
            #reading-modes,
            #temp-scales {
                margin-top: 13px;
            }
            
            .menu-btn {
                margin: 13px 0 0 7px;
            }
            
            .menu-visible #reading-modes,
            .menu-visible #temp-scales {
                margin-top: 33px;
            }
            
            .temp-scale {
                font-size: 13px;
            }
            
            .menu-visible .menu-btn {
                margin: 33px 0 0 7px;
            }
            
            .menu {
                padding-top: 20px;
            }
            
            .menu-list {
                width: 48.5%;
                height: 60px;
                margin-bottom: 20px;
                padding: 0 20px;
            }
            
            .menu-list:nth-child(even){
                margin-left: 3%;
            }
            
            .ml-vector {
                width: 25px;
                height: 25px;
            }
            
            .menu-list span {
                line-height: 60px;
                font-size: 14px;
            }
            
            @media only screen and (max-width: 500px){
                
                .menu-list {
                    display: block;
                    width: 100%;
                }
                
                .menu-list:nth-child(even){
                    margin-left: 0;
                }
                
            }
            
        }
        
    }
    
}