@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400|Playfair+Display:400,700,400italic|Libre+Baskerville:400,700,400italic|Muli:300,400|Open+Sans:400,300,700|Oswald:400,700|Raleway:400,100,300,700|Montserrat:400,700|Merriweather:400,300,300italic,400italic,700|Bree+Serif|Vollkorn:400italic,400,700|Abril+Fatface|Cardo:400,400italic);

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
    font-family: 'oswald';
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

.oswald{font-family: 'Oswald'}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}



/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #d9ecd0;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: white;
    color: #1f8dd6;
    border-radius: 5px;
    font-size: 120%;
}


/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}
.home-menu {
    background: #2D3E50;
}
.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: #f0ad00;
    font-family: 'oswald';
    font-weight: 400;
    font-size: 100%;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
    color: #6FBEF3;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #AECFE5;
}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
    background-size: cover;
    background-image: url(https://source.unsplash.com/oKoX0oJj53U/1600x900);
    background-repeat: no-repeat;
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 88%;
    top: 0;
    left: 0;
    position: fixed !important;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 150px; left: 0; bottom: 0; right: 0;
    text-align: center;
    
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: white;
    border: 0px solid white;
    padding: 1em 1.6em;
    font-weight: 150;
    border-radius: 5px;
    line-height: 1em;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: white;
    font-family: 'oswald';
    letter-spacing: 0.05em;
    opacity: 0.8;
    position:absolute;
    width:100%;
    bottom:0;
    text-align:center;
}

.splash-parrafing {
    color: #2d3e50;
    font-family: 'oswald';
    letter-spacing: 0.05em;
    opacity: 0.8;
}


/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top: 87%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;

}

/* We want to give the content area some more padding */
.content {
    padding: 1em 1em 3em;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #1f8dd6;
}
    .content-subhead i {
        margin-right: 7px;
    }

/* This is the class used for the dark-background areas. */
.ribbon {
    background: #2d3e50;
    color: #aaa;
}

/* This is the class used for the footer */
.footer {
    background: #2D3E50;
    font-family: 'oswald';
    position: fixed;
    bottom: 0;
    width: 100%;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }
        .home-menu ul {
            float: right;
        }

    /* We increase the height of the splash-container */
/*    .splash-container {
        height: 500px;
    }*/

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 500%;
    }
}


/* -- THE "ERROR" SECTION --
*
*/
    .error {
        text-align: center;
        font-family: 'Gilda Display', serif;

        width: 100%;
        height: 120px;
        margin: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: -60px;
        right: 0;
        -webkit-animation: noise-3 1s linear infinite;
        animation: noise-3 1s linear infinite;
    }

    body:after {
        content: 'Defense Security';
        font-size: 150px;

        text-align: center;
        width: 550px;
        margin: auto;
        position: absolute;
        top: 25%;
        bottom: 0;
        left: 0;
        right: 35%;
        opacity: 0;
        color: #FFFFFF;
        -webkit-animation: noise-1 .2s linear infinite;
        animation: noise-1 .2s linear infinite;
    }

    body:before {
        content: 'Defense Security';
        font-size: 150px;

        text-align: center;
        width: 550px;
        margin: auto;
        position: absolute;
        top: 25%;
        bottom: 0;
        left: 0;
        right: 35%;
        opacity: 0;
        color: #FFFFFF;
        -webkit-animation: noise-2 .2s linear infinite;
        animation: noise-2 .2s linear infinite;
    }

    @-webkit-keyframes noise-1 {
        0%, 20%, 40%, 60%, 70%, 90% {
            opacity: 0;
        }
        10% {
            opacity: .1;
        }
        50% {
            opacity: .5;
            left: -16px;
        }
        80% {
            opacity: .3;
        }
        100% {
            opacity: .6;
            left: 2px;
        }
    }

    @keyframes noise-1 {
        0%, 20%, 40%, 60%, 70%, 90% {
            opacity: 0;
        }
        10% {
            opacity: .1;
        }
        50% {
            opacity: .5;
            left: -16px;
        }
        80% {
            opacity: .3;
        }
        100% {
            opacity: .6;
            left: 2px;
        }
    }

    @-webkit-keyframes noise-2 {
        0%, 20%, 40%, 60%, 70%, 90% {
            opacity: 0;
        }
        10% {
            opacity: .1;
        }
        50% {
            opacity: .5;
            left: 16px;
        }
        80% {
            opacity: .3;
        }
        100% {
            opacity: .6;
            left: -2px;
        }
    }

    @keyframes noise-2 {
        0%, 20%, 40%, 60%, 70%, 90% {
            opacity: 0;
        }
        10% {
            opacity: .1;
        }
        50% {
            opacity: .5;
            left: 16px;
        }
        80% {
            opacity: .3;
        }
        100% {
            opacity: .6;
            left: -2px;
        }
    }

    @-webkit-keyframes noise {
        0%, 3%, 5%, 42%, 44%, 100% {
            opacity: 1;
            -webkit-transform: scaleY(1);
            transform: scaleY(1);
        }
        4.3% {
            opacity: 1;
            -webkit-transform: scaleY(1.7);
            transform: scaleY(1.7);
        }
        43% {
            opacity: 1;
            -webkit-transform: scaleX(1.5);
            transform: scaleX(1.5);
        }
    }

    @keyframes noise {
        0%, 3%, 5%, 42%, 44%, 100% {
            opacity: 1;
            -webkit-transform: scaleY(1);
            transform: scaleY(1);
        }
        4.3% {
            opacity: 1;
            -webkit-transform: scaleY(1.7);
            transform: scaleY(1.7);
        }
        43% {
            opacity: 1;
            -webkit-transform: scaleX(1.5);
            transform: scaleX(1.5);
        }
    }

    @-webkit-keyframes noise-3 {
        0%, 3%, 5%, 42%, 44%, 100% {
            opacity: 1;
            -webkit-transform: scaleY(1);
            transform: scaleY(1);
        }
        4.3% {
            opacity: 1;
            -webkit-transform: scaleY(4);
            transform: scaleY(4);
        }
        43% {
            opacity: 1;
            -webkit-transform: scaleX(10) rotate(60deg);
            transform: scaleX(10) rotate(60deg);
        }
    }

    @keyframes noise-3 {
        0%, 3%, 5%, 42%, 44%, 100% {
            opacity: 1;
            -webkit-transform: scaleY(1);
            transform: scaleY(1);
        }
        4.3% {
            opacity: 1;
            -webkit-transform: scaleY(4);
            transform: scaleY(4);
        }
        43% {
            opacity: 1;
            -webkit-transform: scaleX(10) rotate(60deg);
            transform: scaleX(10) rotate(60deg);
        }
    }

span {
    font-size: 52px;
    font-family: 'oswald'
}


/* -- THE BOX SECTION --
*
*/

.box_nome {
    border: 1px dotted white;
    display: inline-block;
    max-width: 550px;
    padding: 20px;
    word-break: break-all; /* optional */
}

/* -- THE LAST SECTION --
*
*/
section:nth-of-type(3n+1){
    background-size: cover;
}
section:nth-of-type(1){
    background-image: url(https://source.unsplash.com/AeRhS3H8ys0/1920x1376);
}
section{
    height: 600px;
    padding: 3rem 0;
    position: relative;
}
section:before{
    content: attr(data-description);
    font-size: 0.9rem;
    font-family: 'oswald';
    color: #fff;
    position: absolute;
    z-index: 20;
    left: 2rem;
    top: 2rem;
}
.wrapper{
    max-width: 53.33rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    transform: translateY(-50%);
    top:50%;
    text-align: center;
}
.wrapper.large-wrap{max-width: 100%;}
.gigantic{font-size: 11rem;}
.bold{font-weight: 700;}
.thin{font-weight: 100;}
.light{font-weight: 300;}
.regular{font-weight: 400;}
.bold{font-weight: 700;}
.italic{font-style: italic;}
.normal{font-style: normal;}
.ls-small{letter-spacing: 2px;}
.ls-medium{letter-spacing: 4px;}
.ls-large{letter-spacing: 8px;}
.ls-xlarge{letter-spacing: 12px;}
.uppercase{text-transform: uppercase;}
.color-emphasis-1{color: #FF4056}
.color-emphasis-2{color: #000;}
.color-emphasis-3{color: #60547c}
.text-overlay:before{
    content: attr(data-text);
    z-index: 99;
    width: 98%;
    height: 50px;
    background-color: hsla(0,0%,0%,0.6);
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 50px;
    text-align: center;
    color:#f0ad00;
    font-family: 'bree serif';
    font-style: normal;
    font-size: 1.3rem;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
}
