*{
    box-sizing: border-box;
}
html, body{
    height:100vh;
    width:100%;
    position:relative;
    text-align:center;
}
body{
    height:100vh;
    font-family:Arial;
    color:white;
    padding:0;
    margin:0;
    background-size:cover;
    background-repeat:no-repeat;
    min-width:320px;
    overflow:auto;
}
ul, li{
    text-align:left;
    font-weight:bold;
    font-size:16px;
}

ul>li>ul>li{
    font-weight:normal;
    font-size:12px;
}

.ul-parent{
    width:94%;
    margin-left:3%;
}

a{
    text-decoration:none;
    color:white;
    display:block;
}
h1, h2, h3, h4, h5, h6{
    margin:0;
    display:inline-block;
    font-weight:normal;
}
h1{
    letter-spacing:6px;
    font-variant: small-caps;
    font-weight:bold;
}
h4.test-auth{
    margin-top:12px;
    font-style: italic;
}

div#contact-links{
    position:fixed;
    top:0;
    left:0;
    z-index: 1000;
    display:flex;
    flex-direction:row;
    height:50px;
    width:100%;
    align-items:center;
}
.g-recaptcha{
    width:90%;
    display:flex;
    justify-content:center;
}
div#contact-links>div{
    display:flex;
    justify-content: flex-start;
    width:50%;
}
.menu-btn {
    cursor: pointer !important;
}
div#fixed-menu-btn{
    position:absolute;
    top:0;
    right:4px;
    display:flex;
    align-items:center;
    justify-content: flex-end !important;
    font-size:14px;
}
div#fixed-menu-btn img{
    height:1.1em;
    padding-right:4px;
}
div#contact-links>div:last-child{
    justify-content: flex-end;
}
a.email, a.phone{
    display:flex;
    align-items:center;
    cursor:pointer;
    z-index: 1001;
    top:4px;
}
#phone{
    width:36px;
    height:auto;
    vertical-align:middle;
    margin-right:8px;
}
#email{
    vertical-align:middle;
    width:36px;
    height:auto;
    margin-left:8px;
}
#phonenum, #emailaddr{
    display:none;
    color:black;
    font-size:12px;
}
#menu{
    display:none;
}
nav{
    z-index: 5000;
    background-color:rgba(70,70,90,1);
}
.nav-item:not(.email){
    background-color:rgba(70,70,90,1);
    transition:all 1s;
    height:30px;
    line-height:30px;
    vertical-align:middle;
}
.nav-item:not(.email):hover{
    background-color:rgba(90,90,110,1);
    cursor:pointer;
}

section, .bg{
    position:relative;
    width:100%;
    min-height:100%;
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    background-attachment:fixed;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover;
}

aside{
    background-color:rgba(100,100,120,1);
    color:white;
    font-style: italic;
    padding:40px;
    display:flex;
    flex-direction:column;
    font-size:16px;
    align-items:center;
}
aside>div{
    width:300px;
}
aside>.qauth{
    padding-right:20px;
    display:block !important;
    margin-top:6px;
    font-style:normal;
    font-size:14px;
    text-align:right;
}

#logo-lg{
    width:120px;
    height:auto;
}

section>header>h1{
    margin:38px 6px 38px 6px;
    font-size:30px;
    padding:12px;
    border-radius:8px;
    background-color:rgba(70,70,90,1);
    /*border-bottom:1px solid rgba(255,255,255,1);*/
}
header.main{
    position:relative;
    min-height:100%;
    width:100%;
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items:center;
}
header.main>div{
    position:relative;
    height:50%;
    width:100%;
    display:flex;
    flex-direction:column;
    align-items: center;
}
header.main>div:nth-child(1){
    background-color:rgba(255,255,255,0.90);
}
header.main>div:nth-child(1)>*{
    display:flex;
    flex-grow:1;
    flex-direction:column;
    justify-content:flex-end;
}
header.main>div:first-child>:last-child h1{
    font-size:28px;
    color:rgba(50,50,70,1);
}
header.main>div:last-child h3::after{
    content:'Fine Woodworking'
}
header.main>div:nth-child(2){
    justify-content:flex-start;
    width:100%;
    font-size:14px;
    line-height:22px;
    align-items:center;
}
header.main>div:nth-child(2)>div{
    display:block;
    width:100%;
    background-color:rgba(50,50,70,1);
    position:relative;
}
article, form{
    position:relative;
    padding:30px 20px 62px 20px;
    background-color:rgba(255,255,255,0.95);
    margin:20px 20px;
    color:rgba(70,70,90,1);
    max-width:800px;
    opacity:1;
    transition:margin 1.5s, opacity 3s;
    border-radius:40px 0 80px 0;
}
form{
    padding:30px 4px 62px 4px;
}
article.hidden{
    /*opacity:0.01;*/
    /*margin-left:-2000px;*/
}

article h2{
    margin-bottom:20px;
}
div#menu-btn{
    display:inline-block;
    position:absolute;
    right:3px;
    top:0;
    padding:5px 5px;
    font-size:12px;
    height:100%;
    line-height:100%;
    cursor:pointer;
}
.menu-icon{
    height:1em;
    vertical-align: bottom;
}

.image-loader{
    position:fixed;
    top:0;
    left:0;
    z-index: -10;
    width:10px;
    height:10px;
}

#bg-1{
    background-image:url('bg1.jpg');
    height:100%;
    min-height:100%;
}
#section-1{
    background-image:url('bg2.jpg');
}
#section-2{
    background-image:url('bg3.jpg');
}
#section-3{
    background-image:url('bg4.jpg');
}
#section-4{
    background-image:url('bg5.jpg');
}

.flex-container{
    display:flex;
    flex-flow: row wrap;
    justify-content:center;
    align-items: center;
}
.flex-container img{
    height:100%;
    max-width:300px;
    max-height:300px;
}

input, textarea{
    padding:5px;
    font-size:16px;
    font-family:Arial;
    margin:6px 6px;

}

article.testimonial header{
    font-size:22px;
}
figure, figcaption{
    margin:0;
    flex:1 30%;
}
figure img{
    max-width:250px !important;
    height:auto !important;
}
figcaption{
    min-width:50%;
    margin-top:16px;
    padding:12px;
}

#fixed-head-container{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;
    z-index:900;
    background-color:white;
}

#fixed-head>div:first-child{
    height:55px;
    color:rgba(70,70,90,1);
    letter-spacing: 4px;
    font-variant: small-caps;
    font-weight: bold;
    font-size:20px;
    text-align:center;
    line-height:55px;
    vertical-align:middle;
    padding-left:6px;
    background-color:white;
}
#fixed-head>div:last-child{
    box-shadow:0 6px 10px rgba(0,0,0,0.5);
    min-height:25px;
    position:relative;
    line-height:25px;
    vertical-align:middle;
    color:white;
    background-color:rgba(50,50,70,1);
}

#fixed-head>div:last-child>span::after{
    content:'Fine Woodworking';
}

.fixed-nav{
    position:fixed;
    top:80px;
    right:0;
    width:250px;
}

.header-img{
    border:1px solid silver;
    padding:12px;
}
.header-img img{
    width:90% !important;
    height:auto !important;
    max-width:none !important;
}
.header-img figcaption{
    font-size:12px;
    margin-top:8px;
    padding:0;
}

@media(min-width:420px){
    #fixed-head>div:first-child{
        letter-spacing:6px;
        font-size:28px;
    }
    header.main>div:first-child>:last-child h1{
        font-size:32px;
    }
}

@media(min-width:540px){

    header.main>div:nth-child(2){
        font-size:18px;
        line-height:32px;
        align-items:center;
    }
    div#menu-btn{
        font-size:18px;
        height:100%;
        line-height:100%;
    }
    #fixed-head>div:last-child{
        min-height:35px;
        line-height:35px;
        font-size:20px;
    }
    .fixed-nav{
        position:fixed !important;
        top:90px;
    }
    div#fixed-menu-btn {
        font-size: 18px;
    }

    div#contact-links{
        flex-direction:column;
    }
    div#contact-links>div{
        justify-content: flex-end;
        display:flex;
        width:100%;
        height:50%;
        padding-top:4px;
        padding-right:4px;
    }
    #phone, #email{
        width:24px;
        height:auto;
        top:4px;
        right:4px;
    }
    #email{
        margin-right:8px;
    }
    #phonenum, #emailaddr{
        display:initial;
        font-size:16px;
    }
    nav{
        position: absolute;
        right:0;
        width:300px;
    }
    #fixed-head>div:first-child{
        text-align:left;
        font-size:34px;
    }
    #fixed-head>div:last-child>span::after{
        content:'Fine Woodworking & Carpentry';
    }

    header.main>div:first-child>:last-child h1{
        font-size:36px;
    }
    header.main>div:last-child h3::after{
        content:'Fine Woodworking & Carpentry'
    }
    .testimonial .flex-container{
        flex-direction:row;
    }
    .ul-parent{
        width:70%;
        margin-left:15%;
    }
}

@media(min-width:800px){
    article{
        font-size:20px;
    }
    figure img {
        max-width: 350px !important;
    }
    aside{
        font-size:24px;

    }
    aside>div{
        width:500px;
    }
    aside>.qauth{
        font-size:20px;
    }
    .ul-parent{
        width:60%;
        margin-left:20%;
    }
}
@media(min-width:1000px) {
    header.main>div:first-child>:last-child h1{
        font-size:42px;
    }

    #fixed-head>div:first-child{
        text-align:center;
        font-size:38px;
    }
    .ul-parent{
        width:50%;
        margin-left:25%;
    }
}