/*! 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;
    background-color: #153b53;
    background-image: url('../img/padrao.png');
}

body {
    background-color: transparent;
}


/*
 * 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;
}

a {
    color: inherit;
    text-decoration: underline;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Bold.woff2') format('woff2'), url('../fonts/Gotham-Bold.woff') format('woff'), url('../fonts/Gotham-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Pro';
    src: url('../fonts/NeoSansPro-BoldItalic.woff2') format('woff2'), url('../fonts/NeoSansPro-BoldItalic.woff') format('woff'), url('../fonts/NeoSansPro-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Neo Sans Pro';
    src: url('../fonts/NeoSansPro-LightItalic.woff2') format('woff2'), url('../fonts/NeoSansPro-LightItalic.woff') format('woff'), url('../fonts/NeoSansPro-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Neo Sans Pro Ultra';
    src: url('../fonts/NeoSansPro-Ultra.woff2') format('woff2'), url('../fonts/NeoSansPro-Ultra.woff') format('woff'), url('../fonts/NeoSansPro-Ultra.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Pro';
    src: url('../fonts/NeoSansPro-Italic.woff2') format('woff2'), url('../fonts/NeoSansPro-Italic.woff') format('woff'), url('../fonts/NeoSansPro-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Neo Sans Pro';
    src: url('../fonts/NeoSansPro-Regular.woff2') format('woff2'), url('../fonts/NeoSansPro-Regular.woff') format('woff'), url('../fonts/NeoSansPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Pro';
    src: url('../fonts/NeoSansPro-Medium.woff2') format('woff2'), url('../fonts/NeoSansPro-Medium.woff') format('woff'), url('../fonts/NeoSansPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Pro';
    src: url('../fonts/NeoSansPro-Bold.woff2') format('woff2'), url('../fonts/NeoSansPro-Bold.woff') format('woff'), url('../fonts/NeoSansPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Pro';
    src: url('../fonts/NeoSansPro-Light.woff2') format('woff2'), url('../fonts/NeoSansPro-Light.woff') format('woff'), url('../fonts/NeoSansPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
.home {
    background-image:url(../img/bg-img.jpg);
    background-repeat:no-repeat;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    overflow:hidden;
}
.historia {
    background-image:url(../img/bg-img-historia.jpg);
    background-repeat:no-repeat;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    overflow:hidden;
}
.bg {
    min-height: 100vh;
    overflow: hidden;
     padding-bottom: 160px;
   
}

.footer {
    position:absolute;
    bottom:0;
    left: 0;
    right: 0;
}
.historia-container .footer {
    position: fixed;
}
.code-header h3 {
    font-family: 'Neo Sans Pro';
    font-size: 0.9rem;
}

.form-div {
    font-family: 'Neo Sans Pro';
    background-image: url(../img/bg-form.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
}

.carousel-item img {
    width: 38%;
}

.code-header p {
    font-family: 'Neo Sans Pro';
}

.form-center {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding-top: 15%;
    width: 70%;
}

.form-control {
    height: 30px;
}

#codigo {
    background-image: url(../img/input-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: center;
    border: none;
    color: white;
    padding: 0 10% 0 28%;
    font-size: 12px;
}

h4 {
    font-size: 2rem;
    font-family: 'Gotham';
}
h1 {
     font-family: 'Neo Sans Pro';
}
.form-div p {
    font-size: 0.7rem;
}

.modal-body {
    padding: 0;
}

.video2.disabled,
.video3.disabled,
.video4.disabled {
    pointer-events: none;
    cursor: default;
}

.small-text {
    font-size: 1.0rem;
}
.modal-content {
    background: none;
    border:none;
}
.close {
    color: #fff;
    text-shadow: none;
    opacity: 1;
}
@media (min-width: 320px) {
    h4 {
        font-size: 0.7rem;
    }
    p {
    font-size: 0.65rem;
}
    .small-text {
        font-size: 0.4rem;
    }


    .form-div p {
        font-size: 0.65rem;
    }
    .disclaimer {
        font-size: 0.4rem;
    }
    .ecra-p {
        font-size: 0.8rem;
    }
}

@media (min-width: 375px) {

	.video .bg, .codigo-video .bg {
     	padding-bottom: 0px;
	}

    h4 {
        font-size: 0.8rem;
    }
        p {
    font-size: 0.73rem;
}
    .small-text {
        font-size: 0.5rem;
    }
.ecra-p {
        font-size: 0.95rem;
    }
 .form-div p {
        font-size: 0.75rem;
    }
    .form-center {
        width: 60%;
    }
    .form-control {
        height: 33px;
    }
    .carousel-item img {
        width: 50%;
    }
}

@media (min-width: 450px) {
    h4 {
        font-size: 1.3rem;
    }
    .carousel-item img {
        width: 50%;
    }

	.video .bg, .codigo-video .bg {
     	padding-bottom: 0px;
	}
}

@media (min-width: 576px) {
    .form-div p {
        font-size: 1.2rem;
    }
    .carousel-item img {
        width: 75%;
    }
}

@media (min-width: 768px) {
    h4 {
        font-size: 1.3rem;
    }
        p {
    font-size: 1.2rem;
}

    .small-text {
        font-size: 0.9rem;
    }

    .form-div p {
        font-size: 1.3rem;
    }
    .form-control {
        height: 48px;
    }
    #codigo {
        font-size: 18px;
    }
    .code-header p {
        font-size: 1.2rem;
    }
    .code-header h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 992px) {
    .carousel-item img {
        width: 100%;
    }
    .code-header p {
        font-size: 2rem;
    }
           p {
    font-size: 1.7rem;
}
    .small-text {
        font-size: 1.0rem;
    }
    .code-header h3 {
        font-size: 2rem;
    }
    h4 {
        font-size: 2rem;
    }
    .form-div p {
        font-size: 1.8rem;
    }
    .form-control {
        height: 73px;
    }
    #codigo {
        font-size: 27px;
    }
}

@media (min-width: 1200px) {
   
}


/* ==========================================================================
   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;
    }
}