﻿@import url('https://fonts.googleapis.com/css?family=BioRhyme&display=swap');
/* font-family: 'BioRhyme', serif; */

body{
    margin: 0;
    padding: 0;
    font-family: 'BioRhyme', serif;
    font-size: 16px;
    background: url(./bg03.jpg);
    background-size: cover;
    background-attachment: fixed;
}

header{
    position: relative;
    max-width: 98%;
    display:flex;
    margin: 2px auto;
    padding: 6px;
    background: rgb(251, 242, 103);
    box-sizing: border-box;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
}

.logo{
    color: #069370;
    height: 50px;
    font-size: 2rem;
    line-height: 4rem;
    padding: 0 0px;
    text-align: center;
    box-sizing: border-box;
    float: left;
    font-weight: 700;
    text-decoration: none;
}

nav{
    float: right;
}

.clearfix{
    clear: both;
}

nav ul{
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li{
    list-style: none;
}

nav ul li a{
    display: block;
    margin: 10px 0;
    padding: 10px 20px;
    text-decoration: none;
    color: #262626;
}

nav ul li a:active, nav ul li a:hover{
    background: #069370;
    color: #fff;
    transition: 0.5s;
}

@media (max-width: 1200px){
    header{
        margin: 2px 20px;
    }
}

@media (max-width: 768px){
    .menu-toggle{
        display: block;
        width: 40px;
        height: 40px;
        margin: 10px;
        1background: #ccc;
        float: right;
        cursor: pointer;
        text-align: center;
        font-size: 1.5rem;
        color: #069370;
    }

    .menu-toggle:before{
        content: '\f0c9';
        font-family: fontAwesome;
        line-height: 40px;
    }

    .menu-toggle.active:before{
        content: '\f00d';
        font-family: fontAwesome;
        line-height: 40px;
    }

    nav{
        display: none;
    }

    nav.active{
        display: block;
        width: 100%;
    }

    nav.active ul{
        display: block;
    }

    nav.active ul li{
        margin: 0;
    }

}