@charset "UTF-8";

/**********************************************************************
 * File: base.css
 * Date: 13 March 2020
 * Modified: 
 * Written by: KotaroW
 * Description:
 *      Base style
**********************************************************************/

body {
    font-size: 100%;
    margin: 0;
    -webkit-font-size-adjust: none;
    font-family: "Quattrocento", serif;
}

img#k-logo {
    display: block;
    position: absolute;
    left: 10px;
    width: 10%;
    max-width: 150px;
    z-index: 50;
    transition: all 500ms ease-in-out;
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
}

h1 {
    font-size: 5vw;
    font-family: "Libre Baskerville, sefif";
    line-height: 0.2;
    color: #aaa;
    text-transform: capitalize;
    text-align: center;
}

h2 {
    font-size: 5vw;
    /*color: #818469;*/
    color: #882b33;
    /*text-transform: uppercase;*/
    text-align: center;
    letter-spacing: 0.1rem;
}
#customer-bulletin h2 {
    color: #ddd;
}
p {
    font-size: 1.125em;
    line-height: 1.5;
    color: #333;
}

a {
    color: #8b572a;
    text-decoration: none;
}

/***** navigation *****/
#nav {
    background: #882b33;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 20;
}

#nav ul {
    list-style: none;
    max-width: 58em;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-around;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
}

#nav a {
    font-size: 1.125em;
    color: #ddd;
    text-decoration: none;
    display: inline-block;
    padding: 0.5em;
    transition: all 1s ease-in-out;
}

#nav a:hover {
    color: #777;
}

#nav ul li:first-of-type {
    display: none;
}

#nav ul.monkey-magic {
    height: 237px; /* change this value OK */
}

#menu-toggle {
    display: inline-block;
    width: 1.125em;
    padding: 0.5em;
    cursor: pointer;    
}

.bar1, .bar2, .bar3 {
    display: block;
    width: 100%;
    background: #fff;
    height: 1px;
    margin: 0.25em 0;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}
.change .bar1 {
    transform-origin: 95%;
    transform: rotate(-39deg);
    -webkit-transform-origin: 95%;
    -webkit-transform: rotate(-39deg);
}
.change .bar3 {
	transform: rotate(39deg);
    transform-origin: 95%;
	-webkit-transform: rotate(39deg);
    -webkit-transform-origin: 95%;
}
.change .bar2 {
    opacity: 0;
}

@keyframes Monkey-Magic {
    0% {
        height: 39.5px;
    }
    100% {
        height: 237px;        
    }
}


/***** this one masks the main photo *****/
div.mask {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    opacity: 0.8;
    z-index: 1;
}
/***** mask ends *****/

/***** footer *****/
#footer {
    padding: 2% 0;
    background: #232322;
    position: sticky;
    position: -webkit-sticky;
    bottom: 0;
    left: 0;
    z-index: -1;
}

#footer div {
    color: #bbb;
    max-width: 78em;
    padding: 0 1em;
    margin: 0 auto;
}

#footer span {
    display: block;
    font-size: 0.9em;
    text-align: center;
}


/***** media query *****/
@media screen and (min-width: 1200px) {
    h1 {
        font-size: 60px;
    }
    h2 {
        font-size: 60px;
    }
}

@media screen and (max-width: 1000px) {
    img#k-logo {
        min-width: 55px;
    }
    
    #nav ul {
        max-width: 36em;
    }
} 

@media screen and (max-width: 700px) {
    #nav ul {
        display: block;
    }
    
    #nav ul li {
        text-align: center;
    }
    
    #nav ul li:first-of-type {
        display: block;
    }
    
    #nav ul {
        height: 39.5px;
        overflow-y: hidden;
    }
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 30px;
    }
    
    h2 {
        font-size: 30px;
    }
}


