/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
*{
    box-sizing: border-box;
}
body{
    
}

header{
    margin: auto;
    height: 200px;
    width: 100%;
    max-width: 1200px;
    min-width: 1200px;
}
header .line{
    width: 100%;
    height: 80px;
    border-bottom: 5px solid #78B000;
    position: relative;
}
header .line .logo{
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 240px;
    height: 60px;
    background: white url(../img/logo.png) center center no-repeat;
}

header nav{
    width: 100%;
    height: 60px;
    line-height: 60px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
header nav a{
    text-decoration: none; 
    margin-right: 40px;
    color: #78B000;
}
header nav a:hover{
    text-decoration: underline;
}

.big-nav{
    width: 100%;
    margin: auto;
    max-width: 1200px;
    min-width: 1200px;
    display: flex;
    justify-content: space-between;
}
.big-nav a{
    width: 30%;
    margin-right: 50px;
    background: red;
    height: 400px;
    background: #EBEBEB;
    padding: 230px 50px 50px 50px;
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-decoration: none;
    color: #484646;

}
.big-nav a:last-child{
    margin-right: 0;
}
.big-nav a.bzop{
    background: #EBEBEb url(../img/bzop.svg) left 50px top 90px / 120px no-repeat;
}
.big-nav a.po{
    background: #EBEBEb url(../img/po.svg) left 50px top 90px / 120px no-repeat;
}
.big-nav a.more-services{
    background: #EBEBEb url(../img/more.svg) left 50px top 90px / 120px no-repeat;
}



section#bzop,
section#po,
section#more-services{
    width: 100%;
    max-width: 1200px;
    min-width: 1200px;
    background: #EBEBEb;
    border-top: 10px solid #EBEBEb;
    padding: 50px;
    margin:auto;
    margin-top: 100px;
    overflow: hidden;
}

section#bzop{
    border-top: 10px solid #74AA00;   
}

section#po{
    border-top: 10px solid #DD1818;
}

section#more-services{
    border-top: 10px solid #B718DD;
}

section .section-name{
    width: 300px;
    height: 300px;
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    display: inline-block;
    float: left;
    padding-top: 150px;
}
#bzop .section-name{

    background: #EBEBEb url(../img/bzop.svg) left top / 120px no-repeat;
}
#po .section-name{
    background: #EBEBEb url(../img/po.svg) left top  / 120px no-repeat;
}
#more-services .section-name{
    background: #EBEBEb url(../img/more.svg) left top  / 120px no-repeat;
}
section ul{
    display: inline-block;
    float: left;
    width: 350px;
}
section ul:last-child{
    float: right;
    list-style-type: none;
}
section ul li{
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    line-height: 21px;
    padding-bottom: 20px;
    position: relative;

}
section ul li::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    border-radius: 50%;
    background: red;
    left: -20px;
    top: 5px;
}
section#bzop ul li::before {
    background: #74AA00;    
}

section#more-services ul li::before {
    background: #B718DD;    
}

section#contact{
    width: 100%;
    max-width: 1200px;
    min-width: 1200px;
    background: #EBEBEb url(../img/contact.svg) left 50px top 50px / 120px no-repeat;
    overflow: hidden;
    margin:auto;
    margin-top: 100px; 
    padding: 50px;
}

section#contact ul{
    float: left;
    list-style-type: none;
}
section#contact ul li{
    padding-bottom: 0;    
}
section#contact ul li:nth-child(4){
    padding-bottom: 20px;
}
section#contact ul li::before{
    background: black;    
}
section#contact img{
    width: 300px;
    margin-top: 30px;
}
section#contact iframe{
    float: right;
}
footer{
    width: 100%;
    height: 50px;
    line-height: 50px;
    ont-size: 16px;
    font-family: 'Roboto', sans-serif;
    text-align: center; 
}

@media only screen and (max-width: 425px)  {
    nav,
    section.big-nav,
    section#bzop,
    section#po,
    section#more-services{
        display: none;
    }
    header{
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 100px;
    }
    section#contact{
        margin-top: 0;
        width: 100%;
        min-width: 100%;
        max-width: 100%;   
    }
    section#contact .section-name{
        height: auto;
    }
    section#contact ul{
        padding-left: 0;
    }
    section#contact ul img{
        width:425px;
        position: relative;
        left: -50px;
    }
    section#contact ul li:before{
        display: none;
    }
    section#contact iframe{
        width: 100% !important;
    }

}







/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
